Class MembershipBinding (1.21.0)

MembershipBinding(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
scope str
A Scope resource name in the format projects/*/locations/*/scopes/*. This field is a member of oneof_ target.
name str
The resource name for the membershipbinding itself projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}
uid str
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.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. When the membership binding was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. When the membership binding was last updated.
delete_time google.protobuf.timestamp_pb2.Timestamp
Output only. When the membership binding was deleted.
state google.cloud.gkehub_v1.types.MembershipBindingLifecycleState
Output only. State of the membership binding resource.
labels MutableMapping[str, str]
Optional. Labels for this MembershipBinding.

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, .Message]

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 mapping is a mapping type or there are keyword parameters.