Class: Google::Apis::DeploymentmanagerV2::InstancesBulkInsertOperationMetadata

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) ⇒ InstancesBulkInsertOperationMetadata

Returns a new instance of InstancesBulkInsertOperationMetadata.



895
896
897
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 895

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

Instance Attribute Details

#machine_typeString

[Output Only] The machine type of the VMs that were created used internally only by KCP flex bulk insert. Corresponds to the JSON property machineType

Returns:

  • (String)


887
888
889
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 887

def machine_type
  @machine_type
end

#per_location_statusHash<String,Google::Apis::DeploymentmanagerV2::BulkInsertOperationStatus>

Status information per location (location name is key). Example key: zones/us- central1-a Corresponds to the JSON property perLocationStatus



893
894
895
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 893

def per_location_status
  @per_location_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



900
901
902
903
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 900

def update!(**args)
  @machine_type = args[:machine_type] if args.key?(:machine_type)
  @per_location_status = args[:per_location_status] if args.key?(:per_location_status)
end