ServiceConnectionPolicy(mapping=None, *, ignore_unknown_fields=False, **kwargs)The ServiceConnectionPolicy resource.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
|---|---|
| Name | Description |
name |
str
Immutable. The name of a ServiceConnectionPolicy. Format: projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy} See: https://google.aip.dev/122#fields-representing-resource-names |
create_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. Time when the ServiceConnectionPolicy was created. |
update_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. Time when the ServiceConnectionPolicy was updated. |
labels |
MutableMapping[str, str]
User-defined labels. |
description |
str
A description of this resource. |
network |
str
The resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}. |
service_class |
str
The service class identifier for which this ServiceConnectionPolicy is for. The service class identifier is a unique, symbolic representation of a ServiceClass. It is provided by the Service Producer. Google services have a prefix of gcp or google-cloud. For example, gcp-memorystore-redis or google-cloud-sql. 3rd party services do not. For example, test-service-a3dfcx. |
infrastructure |
google.cloud.networkconnectivity_v1.types.Infrastructure
Output only. The type of underlying resources used to create the connection. |
psc_config |
google.cloud.networkconnectivity_v1.types.ServiceConnectionPolicy.PscConfig
Configuration used for Private Service Connect connections. Used when Infrastructure is PSC. |
psc_connections |
MutableSequence[google.cloud.networkconnectivity_v1.types.ServiceConnectionPolicy.PscConnection]
Output only. [Output only] Information about each Private Service Connect connection. |
etag |
str
Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. This field is a member of oneof_ _etag.
|
Classes
LabelsEntry
LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)The abstract base class for a message.
| Parameters | |
|---|---|
| Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |
PscConfig
PscConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
PscConnection
PscConnection(mapping=None, *, ignore_unknown_fields=False, **kwargs)Information about a specific Private Service Connect connection.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
State
State(value)The state of the PSC connection. We reserve the right to add more states without notice in the future. Users should not use exhaustive switch statements on this enum. See https://google.aip.dev/216.