Class: Google::Apis::ComputeAlpha::SetCommonInstanceMetadataOperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::SetCommonInstanceMetadataOperationMetadata
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Overview
Encapsulates partial completion metadata for SetCommonInstanceMetadata. Will be propagated on Operation.metadata as per go/partial-completion-api-clean. See go/gce-aips/2822 for API council results.
Instance Attribute Summary collapse
-
#client_operation_id ⇒ String
Corresponds to the JSON property
clientOperationId
. -
#per_location_operations ⇒ Hash<String,Google::Apis::ComputeAlpha::SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo>
Corresponds to the JSON property
perLocationOperations
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SetCommonInstanceMetadataOperationMetadata
constructor
A new instance of SetCommonInstanceMetadataOperationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SetCommonInstanceMetadataOperationMetadata
Returns a new instance of SetCommonInstanceMetadataOperationMetadata.
43120 43121 43122 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 43120 def initialize(**args) update!(**args) end |
Instance Attribute Details
#client_operation_id ⇒ String
Corresponds to the JSON property clientOperationId
43113 43114 43115 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 43113 def client_operation_id @client_operation_id end |
#per_location_operations ⇒ Hash<String,Google::Apis::ComputeAlpha::SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo>
Corresponds to the JSON property perLocationOperations
43118 43119 43120 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 43118 def per_location_operations @per_location_operations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
43125 43126 43127 43128 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 43125 def update!(**args) @client_operation_id = args[:client_operation_id] if args.key?(:client_operation_id) @per_location_operations = args[:per_location_operations] if args.key?(:per_location_operations) end |