Service Directory V1 API - Class Google::Cloud::ServiceDirectory::V1::Namespace (v0.9.0)

Reference documentation and code samples for the Service Directory V1 API class Google::Cloud::ServiceDirectory::V1::Namespace.

A container for services. Namespaces allow administrators to group services together and define permissions for a collection of services.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Resource labels associated with this namespace. No more than 64 user labels can be associated with a given resource. Label keys and values can be no longer than 63 characters.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. Resource labels associated with this namespace. No more than 64 user labels can be associated with a given resource. Label keys and values can be no longer than 63 characters.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Resource labels associated with this namespace. No more than 64 user labels can be associated with a given resource. Label keys and values can be no longer than 63 characters.

#name

def name() -> ::String
Returns
  • (::String) — Immutable. The resource name for the namespace in the format projects/*/locations/*/namespaces/*.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Immutable. The resource name for the namespace in the format projects/*/locations/*/namespaces/*.
Returns
  • (::String) — Immutable. The resource name for the namespace in the format projects/*/locations/*/namespaces/*.

#uid

def uid() -> ::String
Returns
  • (::String) — Output only. The globally unique identifier of the namespace in the UUID4 format.