Class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2SymlinkNode
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2SymlinkNode
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/remotebuildexecution_v2/classes.rb,
generated/google/apis/remotebuildexecution_v2/representations.rb,
generated/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 ⇒ Array<Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperty>
The node properties of the SymlinkNode.
-
#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.
1903 1904 1905 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1903 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The name of the symlink.
Corresponds to the JSON property name
1886 1887 1888 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1886 def name @name end |
#node_properties ⇒ Array<Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2NodeProperty>
The node properties of the SymlinkNode.
Corresponds to the JSON property nodeProperties
1891 1892 1893 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1891 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. The canonical form forbids the substrings
/./
and //
in the target path. ..
components are allowed anywhere in the
target path.
Corresponds to the JSON property target
1901 1902 1903 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1901 def target @target end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1908 1909 1910 1911 1912 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1908 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 |