Class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/remotebuildexecution_v2/classes.rb,
lib/google/apis/remotebuildexecution_v2/representations.rb,
lib/google/apis/remotebuildexecution_v2/representations.rb
Overview
The request used for UpdateInstance
.
Instance Attribute Summary collapse
-
#instance ⇒ Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance
Instance conceptually encapsulates all Remote Build Execution resources for remote builds.
-
#logging_enabled ⇒ Boolean
(also: #logging_enabled?)
Deprecated, use instance.logging_enabled instead.
-
#name ⇒ String
Deprecated, use instance.Name instead.
-
#update_mask ⇒ String
The update mask applies to instance.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest
constructor
A new instance of GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest
Returns a new instance of GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest.
2936 2937 2938 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2936 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance ⇒ Google::Apis::RemotebuildexecutionV2::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
2911 2912 2913 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2911 def instance @instance end |
#logging_enabled ⇒ Boolean Also known as: logging_enabled?
Deprecated, use instance.logging_enabled instead. Whether to enable
Stackdriver logging for this instance.
Corresponds to the JSON property loggingEnabled
2917 2918 2919 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2917 def logging_enabled @logging_enabled end |
#name ⇒ String
Deprecated, use instance.Name instead. Name of the instance to update. Format:
projects/[PROJECT_ID]/instances/[INSTANCE_ID]
.
Corresponds to the JSON property name
2924 2925 2926 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2924 def name @name end |
#update_mask ⇒ String
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
2934 2935 2936 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2934 def update_mask @update_mask end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2941 2942 2943 2944 2945 2946 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2941 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 |