REST Resource: projects.locations.serviceBindings

Resource: ServiceBinding

ServiceBinding is the resource that defines a Service Directory Service to be used in a BackendService resource.

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

string

Required. Name of the ServiceBinding resource. It matches pattern projects/*/locations/global/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.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

updateTime

string (Timestamp format)

Output only. The timestamp when the resource was updated.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

service

string

Required. The full Service Directory Service name of the format projects/*/locations/*/namespaces/*/services/*

serviceId

string

Output only. The unique identifier of the Service Directory Service against which the Service Binding 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.

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.