ServiceBinding(mapping=None, *, ignore_unknown_fields=False, **kwargs)ServiceBinding can be used to:
- Bind a Service Directory Service to be used in a BackendService resource. This feature will be deprecated soon.
- Bind a Private Service Connect producer service to be used in consumer Cloud Service Mesh or Application Load Balancers.
- Bind a Cloud Run service to be used in consumer Cloud Service Mesh or Application Load Balancers.
Attributes |
|
|---|---|
| Name | Description |
name |
str
Identifier. Name of the ServiceBinding resource. It matches pattern projects/*/locations/*/serviceBindings/.
|
description |
str
Optional. A free-text description of the resource. Max length 1024 characters. |
create_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp when the resource was created. |
update_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp when the resource was updated. |
service |
str
Optional. The full Service Directory Service name of the format projects/*/locations/*/namespaces/*/services/*.
This field is for Service Directory integration which will
be deprecated soon.
|
service_id |
str
Output only. The unique identifier of the Service Directory Service against which the ServiceBinding resource is validated. This is populated when the Service Binding resource is used in another resource (like Backend Service). This is of the UUID4 format. This field is for Service Directory integration which will be deprecated soon. |
labels |
MutableMapping[str, str]
Optional. Set of label tags associated with the ServiceBinding resource. |
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 |