Types for Google Cloud Vpcaccess v1 API¶
- class google.cloud.vpcaccess_v1.types.Connector(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Definition of a Serverless VPC Access connector.
- ip_cidr_range¶
The range of internal addresses that follows RFC 4632 notation. Example:
10.132.0.0/28
.- Type
- state¶
Output only. State of the VPC access connector.
- subnet¶
The subnet in which to house the VPC Access Connector.
- class State(value)[source]¶
Bases:
proto.enums.Enum
State of a connector.
- Values:
- STATE_UNSPECIFIED (0):
Invalid state.
- READY (1):
Connector is deployed and ready to receive traffic.
- CREATING (2):
An Insert operation is in progress. Transient condition.
- DELETING (3):
A Delete operation is in progress. Transient condition.
- ERROR (4):
Connector is in a bad state, manual deletion recommended.
- UPDATING (5):
The connector is being updated.
- class Subnet(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
The subnet in which to house the connector
- name¶
Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName}
- Type
- class google.cloud.vpcaccess_v1.types.CreateConnectorRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request for creating a Serverless VPC Access connector.
- parent¶
Required. The project and location in which the configuration should be created, specified in the format
projects/*/locations/*
.- Type
- connector¶
Required. Resource to create.
- class google.cloud.vpcaccess_v1.types.DeleteConnectorRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request for deleting a Serverless VPC Access connector.
- class google.cloud.vpcaccess_v1.types.GetConnectorRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request for getting a Serverless VPC Access connector.
- class google.cloud.vpcaccess_v1.types.ListConnectorsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request for listing Serverless VPC Access connectors in a location.
- class google.cloud.vpcaccess_v1.types.ListConnectorsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Response for listing Serverless VPC Access connectors.
- connectors¶
List of Serverless VPC Access connectors.
- Type
MutableSequence[google.cloud.vpcaccess_v1.types.Connector]
- class google.cloud.vpcaccess_v1.types.OperationMetadata(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Metadata for google.longrunning.Operation.
- method¶
Output only. Method that initiated the operation e.g. google.cloud.vpcaccess.v1.Connectors.CreateConnector.
- Type
- create_time¶
Output only. Time when the operation was created.
- end_time¶
Output only. Time when the operation completed.