Class: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2OutputSymlink
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2OutputSymlink
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/remotebuildexecution_v1alpha/classes.rb,
lib/google/apis/remotebuildexecution_v1alpha/representations.rb,
lib/google/apis/remotebuildexecution_v1alpha/representations.rb
Overview
An OutputSymlink
is similar to a Symlink, but it is used as an output in an
ActionResult
. OutputSymlink
is binary-compatible with SymlinkNode
.
Instance Attribute Summary collapse
-
#node_properties ⇒ Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2NodeProperties
Node properties for FileNodes, DirectoryNodes, and SymlinkNodes.
-
#path ⇒ String
The full path of the symlink relative to the working directory, including the filename.
-
#target ⇒ String
The target path of the symlink.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BuildBazelRemoteExecutionV2OutputSymlink
constructor
A new instance of BuildBazelRemoteExecutionV2OutputSymlink.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BuildBazelRemoteExecutionV2OutputSymlink
Returns a new instance of BuildBazelRemoteExecutionV2OutputSymlink.
1205 1206 1207 |
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1205 def initialize(**args) update!(**args) end |
Instance Attribute Details
#node_properties ⇒ Google::Apis::RemotebuildexecutionV1alpha::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
1187 1188 1189 |
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1187 def node_properties @node_properties end |
#path ⇒ String
The full path of the symlink relative to the working directory, including the
filename. The path separator is a forward slash /
. Since this is a relative
path, it MUST NOT begin with a leading forward slash.
Corresponds to the JSON property path
1194 1195 1196 |
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1194 def path @path 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.
Corresponds to the JSON property target
1203 1204 1205 |
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1203 def target @target end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1210 1211 1212 1213 1214 |
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1210 def update!(**args) @node_properties = args[:node_properties] if args.key?(:node_properties) @path = args[:path] if args.key?(:path) @target = args[:target] if args.key?(:target) end |