models.gcp_params module

class models.gcp_params.GcpParams(instance_id=None, region=None, subnet_id=None, virtual_private_cloud_id=None)[source]

Bases: object

Implementation of the ‘GcpParams’ model.

Specifies various resources when converting and deploying a VM to GCP.

Attributes:
instance_id (long|int): Specifies id of the GCP instance type in which

to deploy the VM.

region (long|int): Specifies id of the GCP region in which to deploy

the VM.

subnet_id (long|int): Specifies id of the subnet within above VPC. virtual_private_cloud_id (long|int): Specifies id of the Virtual

Private Cloud to chose for the instance type.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.