Class: Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2SymlinkNode

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/remotebuildexecution_v1alpha/classes.rb,
generated/google/apis/remotebuildexecution_v1alpha/representations.rb,
generated/google/apis/remotebuildexecution_v1alpha/representations.rb

Overview

A SymlinkNode represents a symbolic link.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BuildBazelRemoteExecutionV2SymlinkNode

Returns a new instance of BuildBazelRemoteExecutionV2SymlinkNode.



1282
1283
1284
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1282

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#nameString

The name of the symlink. Corresponds to the JSON property name

Returns:

  • (String)


1265
1266
1267
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1265

def name
  @name
end

#node_propertiesArray<Google::Apis::RemotebuildexecutionV1alpha::BuildBazelRemoteExecutionV2NodeProperty>

The node properties of the SymlinkNode. Corresponds to the JSON property nodeProperties



1270
1271
1272
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1270

def node_properties
  @node_properties
end

#targetString

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

Returns:

  • (String)


1280
1281
1282
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1280

def target
  @target
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1287
1288
1289
1290
1291
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1287

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