Class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance
- 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
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
-
#feature_policy ⇒ Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy
FeaturePolicy defines features allowed to be used on RBE instances, as well as instance-wide behavior changes that take effect without opt-in or opt-out at usage time.
-
#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.
Constructor Details
#initialize(**args) ⇒ GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance
Returns a new instance of GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance.
2046 2047 2048 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 2046 def initialize(**args) update!(**args) end |
Instance Attribute Details
#feature_policy ⇒ Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy
FeaturePolicy defines features allowed to be used on RBE instances, as well as
instance-wide behavior changes that take effect without opt-in or opt-out at
usage time.
Corresponds to the JSON property featurePolicy
2021 2022 2023 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 2021 def feature_policy @feature_policy end |
#location ⇒ String
The location is a GCP region. Currently only us-central1 is supported.
Corresponds to the JSON property location
2026 2027 2028 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 2026 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
2031 2032 2033 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 2031 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
2039 2040 2041 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 2039 def name @name end |
#state ⇒ String
Output only. State of the instance.
Corresponds to the JSON property state
2044 2045 2046 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 2044 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2051 2052 2053 2054 2055 2056 2057 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 2051 def update!(**args) @feature_policy = args[:feature_policy] if args.key?(:feature_policy) @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 |