Class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/remotebuildexecution_v1/classes.rb,
lib/google/apis/remotebuildexecution_v1/representations.rb,
lib/google/apis/remotebuildexecution_v1/representations.rb
Overview
The request used for CreateInstance.
Instance Attribute Summary collapse
-
#instance ⇒ Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance
Instance conceptually encapsulates all Remote Build Execution resources for remote builds.
-
#instance_id ⇒ String
ID of the created instance.
-
#parent ⇒ String
Resource name of the project containing the instance.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest
constructor
A new instance of GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest
Returns a new instance of GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest.
1866 1867 1868 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1866 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance ⇒ Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance
Instance conceptually encapsulates all Remote Build Execution resources for
remote builds. An instance consists of storage and compute resources (for
example, ContentAddressableStorage, ActionCache, WorkerPools) used for
running remote builds. All Remote Build Execution API calls are scoped to an
instance.
Corresponds to the JSON property instance
1851 1852 1853 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1851 def instance @instance end |
#instance_id ⇒ String
ID of the created instance. A valid instance_id must: be 6-50 characters
long, contain only lowercase letters, digits, hyphens and underscores, start
with a lowercase letter, and end with a lowercase letter or a digit.
Corresponds to the JSON property instanceId
1858 1859 1860 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1858 def instance_id @instance_id end |
#parent ⇒ String
Resource name of the project containing the instance. Format: projects/[
PROJECT_ID].
Corresponds to the JSON property parent
1864 1865 1866 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1864 def parent @parent end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1871 1872 1873 1874 1875 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1871 def update!(**args) @instance = args[:instance] if args.key?(:instance) @instance_id = args[:instance_id] if args.key?(:instance_id) @parent = args[:parent] if args.key?(:parent) end |