Class: Google::Apis::DeploymentmanagerAlpha::InstancesBulkInsertOperationMetadata

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstancesBulkInsertOperationMetadata

Returns a new instance of InstancesBulkInsertOperationMetadata.



1248
1249
1250
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 1248

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)


1240
1241
1242
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 1240

def machine_type
  @machine_type
end

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

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



1246
1247
1248
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 1246

def per_location_status
  @per_location_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1253
1254
1255
1256
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 1253

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