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

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

Namespace represents a namespace across the Fleet

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

#labels=

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

#name

def name() -> ::String
Returns
  • (::String) — The resource name for the namespace projects/{project}/locations/{location}/namespaces/{namespace}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The resource name for the namespace projects/{project}/locations/{location}/namespaces/{namespace}
Returns
  • (::String) — The resource name for the namespace projects/{project}/locations/{location}/namespaces/{namespace}

#namespace_labels

def namespace_labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Namespace-level cluster namespace labels. These labels are applied to the related namespace of the member clusters bound to the parent Scope. Scope-level labels (namespace_labels in the Fleet Scope resource) take precedence over Namespace-level labels if they share a key. Keys and values must be Kubernetes-conformant.

#namespace_labels=

def namespace_labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. Namespace-level cluster namespace labels. These labels are applied to the related namespace of the member clusters bound to the parent Scope. Scope-level labels (namespace_labels in the Fleet Scope resource) take precedence over Namespace-level labels if they share a key. Keys and values must be Kubernetes-conformant.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Namespace-level cluster namespace labels. These labels are applied to the related namespace of the member clusters bound to the parent Scope. Scope-level labels (namespace_labels in the Fleet Scope resource) take precedence over Namespace-level labels if they share a key. Keys and values must be Kubernetes-conformant.

#scope

def scope() -> ::String
Returns
  • (::String) — Required. Scope associated with the namespace

#scope=

def scope=(value) -> ::String
Parameter
  • value (::String) — Required. Scope associated with the namespace
Returns
  • (::String) — Required. Scope associated with the namespace

#state

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

#uid

def uid() -> ::String
Returns
  • (::String) — Output only. Google-generated UUID for this resource. This is unique across all namespace resources. If a namespace 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