Class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetInstanceRequest

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

The request used for GetInstance.

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) ⇒ GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetInstanceRequest

Returns a new instance of GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetInstanceRequest.



2509
2510
2511
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2509

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

Instance Attribute Details

#nameString

Name of the instance to retrieve. Format: projects/[PROJECT_ID]/instances/[INSTANCE_ID]. Corresponds to the JSON property name

Returns:

  • (String)


2507
2508
2509
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2507

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2514
2515
2516
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2514

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