REST Resource: projects.locations.serviceBindings

Resource: ServiceBinding

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.

JSON representation
{
  "name": string,
  "description": string,
  "createTime": string,
  "updateTime": string,
  "service": string,
  "serviceId": string,
  "labels": {
    string: string,
    ...
  }
}
Fields
name

string

Identifier. Name of the ServiceBinding resource. It matches pattern projects/*/locations/*/serviceBindings/<service_binding_name>.

description

string

Optional. A free-text description of the resource. Max length 1024 characters.

createTime

string (Timestamp format)

Output only. The timestamp when the resource was created.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

updateTime

string (Timestamp format)

Output only. The timestamp when the resource was updated.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

service

string

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.

serviceId

string

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

map (key: string, value: string)

Optional. Set of label tags associated with the ServiceBinding resource.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

Methods

create

Creates a new ServiceBinding in a given project and location.

delete

Deletes a single ServiceBinding.

get

Gets details of a single ServiceBinding.

list

Lists ServiceBinding in a given project and location.