Reference documentation and code samples for the Service Directory V1beta1 API class Google::Cloud::ServiceDirectory::V1beta1::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
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The timestamp when the namespace was created.
#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/*
.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The timestamp when the namespace was last updated.