REST Resource: projects.locations.memberships.bindings

Resource: MembershipBinding

MembershipBinding is a subresource of a Membership, representing what Fleet Scopes (or other, future Fleet resources) a Membership is bound to.

JSON representation
{
  "name": string,
  "uid": string,
  "createTime": string,
  "updateTime": string,
  "deleteTime": string,
  "state": {
    object (MembershipBindingLifecycleState)
  },
  "labels": {
    string: string,
    ...
  },

  // Union field target can be only one of the following:
  "scope": string
  // End of list of possible types for union field target.
}
Fields
name

string

The resource name for the membershipbinding itself projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}

uid

string

Output only. Google-generated UUID for this resource. This is unique across all membershipbinding resources. If a membershipbinding resource is deleted and another resource with the same name is created, it gets a different uid.

createTime

string (Timestamp format)

Output only. When the membership binding 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. When the membership binding was last 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".

deleteTime

string (Timestamp format)

Output only. When the membership binding was deleted.

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".

state

object (MembershipBindingLifecycleState)

Output only. State of the membership binding resource.

labels

map (key: string, value: string)

Optional. Labels for this MembershipBinding.

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

Union field target. What type of membershipbinding this is. target can be only one of the following:
scope

string

A Scope resource name in the format projects/*/locations/*/scopes/*.

MembershipBindingLifecycleState

MembershipBindingLifecycleState describes the state of a Binding resource.

JSON representation
{
  "code": enum (MembershipBindingLifecycleState.Code)
}
Fields
code

enum (MembershipBindingLifecycleState.Code)

Output only. The current state of the MembershipBinding resource.

MembershipBindingLifecycleState.Code

Code describes the state of a MembershipBinding resource.

Enums
CODE_UNSPECIFIED The code is not set.
CREATING The membershipbinding is being created.
READY The membershipbinding active.
DELETING The membershipbinding is being deleted.
UPDATING The membershipbinding is being updated.

Methods

create

Creates a MembershipBinding.

delete

Deletes a MembershipBinding.

get

Returns the details of a MembershipBinding.

list

Lists MembershipBindings.

patch

Updates a MembershipBinding.