class Google::Apis::RemotebuildexecutionV1alpha::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.

Attributes

feature_policy[RW]

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` @return [Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy]

location[RW]

The location is a GCP region. Currently only `us-central1` is supported. Corresponds to the JSON property `location` @return [String]

logging_enabled[RW]

Output only. Whether stack driver logging is enabled for the instance. Corresponds to the JSON property `loggingEnabled` @return [Boolean]

logging_enabled?[RW]

Output only. Whether stack driver logging is enabled for the instance. Corresponds to the JSON property `loggingEnabled` @return [Boolean]

name[RW]

Output only. Instance resource name formatted as: `projects// instances/`. Name should not be populated when creating an instance since it is provided in the `instance_id` field. Corresponds to the JSON property `name` @return [String]

state[RW]

Output only. State of the instance. Corresponds to the JSON property `state` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/remotebuildexecution_v1alpha/classes.rb, line 2106
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/remotebuildexecution_v1alpha/classes.rb, line 2111
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