class Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2SymlinkNode

A `SymlinkNode` represents a symbolic link.

Attributes

name[RW]

The name of the symlink. Corresponds to the JSON property `name` @return [String]

node_properties[RW]

Node properties for FileNodes, DirectoryNodes, and SymlinkNodes. The server is responsible for specifying the properties that it accepts. Corresponds to the JSON property `nodeProperties` @return [Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperties]

target[RW]

The target path of the symlink. The path separator is a forward slash `/`. The target path can be relative to the parent directory of the symlink or it can be an absolute path starting with `/`. Support for absolute paths can be checked using the Capabilities API. `..` components are allowed anywhere in the target path as logical canonicalization may lead to different behavior in the presence of directory symlinks (e.g. `foo/../bar` may not be the same as ` bar`). To reduce potential cache misses, canonicalization is still recommended where this is possible without impacting correctness. Corresponds to the JSON property `target` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/remotebuildexecution_v2/classes.rb, line 2014
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/remotebuildexecution_v2/classes.rb, line 2019
def update!(**args)
  @name = args[:name] if args.key?(:name)
  @node_properties = args[:node_properties] if args.key?(:node_properties)
  @target = args[:target] if args.key?(:target)
end