Class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetInstanceRequest

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

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.



1812
1813
1814
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1812

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)


1810
1811
1812
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1810

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1817
1818
1819
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1817

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