GKE Hub V1 API - Class Google::Cloud::GkeHub::V1::MembershipBinding (v2.5.0)

Reference documentation and code samples for the GKE Hub V1 API class Google::Cloud::GkeHub::V1::MembershipBinding.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#delete_time

def delete_time() -> ::Google::Protobuf::Timestamp
Returns

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels for this MembershipBinding.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels for this MembershipBinding.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels for this MembershipBinding.

#name

def name() -> ::String
Returns
  • (::String) — The resource name for the membershipbinding itself projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The resource name for the membershipbinding itself projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}
Returns
  • (::String) — The resource name for the membershipbinding itself projects/{project}/locations/{location}/memberships/{membership}/bindings/{membershipbinding}

#scope

def scope() -> ::String
Returns
  • (::String) — A Scope resource name in the format projects/*/locations/*/scopes/*.

#scope=

def scope=(value) -> ::String
Parameter
  • value (::String) — A Scope resource name in the format projects/*/locations/*/scopes/*.
Returns
  • (::String) — A Scope resource name in the format projects/*/locations/*/scopes/*.

#state

def state() -> ::Google::Cloud::GkeHub::V1::MembershipBindingLifecycleState
Returns

#uid

def uid() -> ::String
Returns
  • (::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.

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns