models_v2.gcp_native_protection_group_object_params module

class models_v2.gcp_native_protection_group_object_params.GCPNativeProtectionGroupObjectParams(id=None, name=None)[source]

Bases: object

Implementation of the ‘GCP Native Protection Group Object Params.’ model.

Specifies the object parameters to create GCP Native Protection Group.

Attributes:

id (long|int): Specifies the id of the object. name (string): Specifies the name of the virtual machine.

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.