Class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/remotebuildexecution_v2/classes.rb,
generated/google/apis/remotebuildexecution_v2/representations.rb,
generated/google/apis/remotebuildexecution_v2/representations.rb
Overview
The request used for UpdateInstance
.
Instance Attribute Summary collapse
-
#logging_enabled ⇒ Boolean
(also: #logging_enabled?)
Whether to enable Stackdriver logging for this instance.
-
#name ⇒ String
Name of the instance to update.
-
#update_mask ⇒ String
The fields to update.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest
constructor
A new instance of GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest
Returns a new instance of GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest.
2710 2711 2712 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2710 def initialize(**args) update!(**args) end |
Instance Attribute Details
#logging_enabled ⇒ Boolean Also known as: logging_enabled?
Whether to enable Stackdriver logging for this instance.
Corresponds to the JSON property loggingEnabled
2696 2697 2698 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2696 def logging_enabled @logging_enabled end |
#name ⇒ String
Name of the instance to update.
Format: projects/[PROJECT_ID]/instances/[INSTANCE_ID]
.
Corresponds to the JSON property name
2703 2704 2705 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2703 def name @name end |
#update_mask ⇒ String
The fields to update.
Corresponds to the JSON property updateMask
2708 2709 2710 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2708 def update_mask @update_mask end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2715 2716 2717 2718 2719 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2715 def update!(**args) @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 |