REST Resource: projects.locations.serviceBindings

Stay organized with collections Save and categorize content based on your preferences.

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,
  "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/*

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.

getIamPolicy

Gets the access control policy for a resource.

list

Lists ServiceBinding in a given project and location.

setIamPolicy

Sets the access control policy on the specified resource.

testIamPermissions

Returns permissions that a caller has on the specified resource.