models_v2.gcpvpc_subnet_config module

class models_v2.gcpvpc_subnet_config.GCPVPCSubnetConfig(subnet_id=None, subnet_name=None, vpc_name=None)[source]

Bases: object

Implementation of the ‘GCP VPC Subnet Config’ model.

Specifies the group of a GCP VPC and the subnet in it.

Attributes:

subnet_id (long|int): Specifies the id of the subnet. subnet_name (string): Specifies the name of the subnet. vpc_name (string): Specifies the name of the vpc network.

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.