Class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2SymlinkNode
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2SymlinkNode
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/remotebuildexecution_v2/classes.rb,
lib/google/apis/remotebuildexecution_v2/representations.rb,
lib/google/apis/remotebuildexecution_v2/representations.rb
Overview
A SymlinkNode
represents a symbolic link.
Instance Attribute Summary collapse
-
#name ⇒ String
The name of the symlink.
-
#node_properties ⇒ Google::Apis::RemotebuildexecutionV2::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.
2014 2015 2016 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2014 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The name of the symlink.
Corresponds to the JSON property name
1994 1995 1996 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1994 def name @name end |
#node_properties ⇒ Google::Apis::RemotebuildexecutionV2::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
2000 2001 2002 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2000 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
2012 2013 2014 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2012 def target @target end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2019 2020 2021 2022 2023 |
# 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 |