Class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetInstanceRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/remotebuildexecution_v1/classes.rb,
generated/google/apis/remotebuildexecution_v1/representations.rb,
generated/google/apis/remotebuildexecution_v1/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.


1831
1832
1833
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 1831

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)

1829
1830
1831
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 1829

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1836
1837
1838
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 1836

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