Class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance
- 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
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.
Instance Attribute Summary collapse
-
#location ⇒ String
The location is a GCP region.
-
#logging_enabled ⇒ Boolean
(also: #logging_enabled?)
Output only.
-
#name ⇒ String
Output only.
-
#state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance
constructor
A new instance of GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance
Returns a new instance of GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance
1743 1744 1745 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1743 def initialize(**args) update!(**args) end |
Instance Attribute Details
#location ⇒ String
The location is a GCP region. Currently only us-central1 is supported.
Corresponds to the JSON property location
1722 1723 1724 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1722 def location @location end |
#logging_enabled ⇒ Boolean Also known as: logging_enabled?
Output only. Whether stack driver logging is enabled for the instance.
Corresponds to the JSON property loggingEnabled
1727 1728 1729 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1727 def logging_enabled @logging_enabled end |
#name ⇒ String
Output only. Instance resource name formatted as:
projects/[PROJECT_ID]/instances/[INSTANCE_ID].
Name should not be populated when creating an instance since it is provided
in the instance_id field.
Corresponds to the JSON property name
1736 1737 1738 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1736 def name @name end |
#state ⇒ String
Output only. State of the instance.
Corresponds to the JSON property state
1741 1742 1743 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1741 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1748 1749 1750 1751 1752 1753 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1748 def update!(**args) @location = args[:location] if args.key?(:location) @logging_enabled = args[:logging_enabled] if args.key?(:logging_enabled) @name = args[:name] if args.key?(:name) @state = args[:state] if args.key?(:state) end |