Class: Google::Apis::RemotebuildexecutionV1::BuildBazelRemoteExecutionV2SymlinkNode
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV1::BuildBazelRemoteExecutionV2SymlinkNode
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/remotebuildexecution_v1/classes.rb,
lib/google/apis/remotebuildexecution_v1/representations.rb,
lib/google/apis/remotebuildexecution_v1/representations.rb
Overview
A SymlinkNode represents a symbolic link.
Instance Attribute Summary collapse
-
#name ⇒ String
The name of the symlink.
-
#node_properties ⇒ Google::Apis::RemotebuildexecutionV1::BuildBazelRemoteExecutionV2NodeProperties
Node properties for FileNodes, DirectoryNodes, and SymlinkNodes.
-
#target ⇒ String
The target path of the symlink.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BuildBazelRemoteExecutionV2SymlinkNode
constructor
A new instance of BuildBazelRemoteExecutionV2SymlinkNode.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BuildBazelRemoteExecutionV2SymlinkNode
Returns a new instance of BuildBazelRemoteExecutionV2SymlinkNode.
1358 1359 1360 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1358 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The name of the symlink.
Corresponds to the JSON property name
1338 1339 1340 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1338 def name @name end |
#node_properties ⇒ Google::Apis::RemotebuildexecutionV1::BuildBazelRemoteExecutionV2NodeProperties
Node properties for FileNodes, DirectoryNodes, and SymlinkNodes. The server is
responsible for specifying the properties that it accepts.
Corresponds to the JSON property nodeProperties
1344 1345 1346 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1344 def node_properties @node_properties end |
#target ⇒ String
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
1356 1357 1358 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1356 def target @target end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1363 1364 1365 1366 1367 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1363 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 |