Class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2SymlinkNode

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ BuildBazelRemoteExecutionV2SymlinkNode

Returns a new instance of BuildBazelRemoteExecutionV2SymlinkNode.



1971
1972
1973
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1971

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

Instance Attribute Details

#nameString

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

Returns:

  • (String)


1959
1960
1961
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1959

def name
  @name
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)


1969
1970
1971
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1969

def target
  @target
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1976
1977
1978
1979
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1976

def update!(**args)
  @name = args[:name] if args.key?(:name)
  @target = args[:target] if args.key?(:target)
end