class Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest

The request used for `UpdateInstance`.

Attributes

instance[RW]

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

logging_enabled[RW]

Deprecated, use instance.logging_enabled instead. Whether to enable Stackdriver logging for this instance. Corresponds to the JSON property `loggingEnabled` @return [Boolean]

logging_enabled?[RW]

Deprecated, use instance.logging_enabled instead. Whether to enable Stackdriver logging for this instance. Corresponds to the JSON property `loggingEnabled` @return [Boolean]

name[RW]

Deprecated, use instance.Name instead. Name of the instance to update. Format: `projects//instances/`. Corresponds to the JSON property `name` @return [String]

update_mask[RW]

The update mask applies to instance. For the `FieldMask` definition, see https: //developers.google.com/protocol-buffers/docs/reference/google.protobuf# fieldmask If an empty update_mask is provided, only the non-default valued field in the worker pool field will be updated. Note that in order to update a field to the default value (zero, false, empty string) an explicit update_mask must be provided. Corresponds to the JSON property `updateMask` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/remotebuildexecution_v1alpha/classes.rb, line 2252
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 2257
def update!(**args)
  @instance = args[:instance] if args.key?(:instance)
  @logging_enabled = args[:logging_enabled] if args.key?(:logging_enabled)
  @name = args[:name] if args.key?(:name)
  @update_mask = args[:update_mask] if args.key?(:update_mask)
end