Class: Google::Apis::DeploymentmanagerV2::SetCommonInstanceMetadataOperationMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/deploymentmanager_v2/classes.rb,
lib/google/apis/deploymentmanager_v2/representations.rb,
lib/google/apis/deploymentmanager_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SetCommonInstanceMetadataOperationMetadata

Returns a new instance of SetCommonInstanceMetadataOperationMetadata.



1639
1640
1641
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 1639

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

Instance Attribute Details

#client_operation_idString

[Output Only] The client operation id. Corresponds to the JSON property clientOperationId

Returns:

  • (String)


1631
1632
1633
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 1631

def client_operation_id
  @client_operation_id
end

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

[Output Only] Status information per location (location name is key). Example key: zones/us-central1-a Corresponds to the JSON property perLocationOperations



1637
1638
1639
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 1637

def per_location_operations
  @per_location_operations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1644
1645
1646
1647
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 1644

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