Class: Google::Cloud::ServiceDirectory::V1::Namespace

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/servicedirectory/v1/namespace.rb

Overview

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

Defined Under Namespace

Classes: LabelsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#labels::Google::Protobuf::Map{::String => ::String}

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



36
37
38
39
40
41
42
43
44
45
46
47
48
# File 'proto_docs/google/cloud/servicedirectory/v1/namespace.rb', line 36

class Namespace
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#name::String

Returns 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/*.



36
37
38
39
40
41
42
43
44
45
46
47
48
# File 'proto_docs/google/cloud/servicedirectory/v1/namespace.rb', line 36

class Namespace
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end