Class: Google::Apis::ComputeAlpha::SetCommonInstanceMetadataOperationMetadata

Inherits:
Object
  • Object
show all
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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SetCommonInstanceMetadataOperationMetadata

Returns a new instance of SetCommonInstanceMetadataOperationMetadata.



43908
43909
43910
# File 'lib/google/apis/compute_alpha/classes.rb', line 43908

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#client_operation_idString

Corresponds to the JSON property clientOperationId

Returns:

  • (String)


43901
43902
43903
# File 'lib/google/apis/compute_alpha/classes.rb', line 43901

def client_operation_id
  @client_operation_id
end

#per_location_operationsHash<String,Google::Apis::ComputeAlpha::SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo>

Corresponds to the JSON property perLocationOperations



43906
43907
43908
# File 'lib/google/apis/compute_alpha/classes.rb', line 43906

def per_location_operations
  @per_location_operations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



43913
43914
43915
43916
# File 'lib/google/apis/compute_alpha/classes.rb', line 43913

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