class Google::Apis::ServicedirectoryV1::Namespace
A container for services. Namespaces allow administrators to group services together and define permissions for a collection of services.
Attributes
labels[RW]
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. Corresponds to the JSON property ‘labels` @return [Hash<String,String>]
name[RW]
Immutable. The resource name for the namespace in the format ‘projects/*/ locations//namespaces/`. Corresponds to the JSON property `name` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/servicedirectory_v1/classes.rb, line 444 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/servicedirectory_v1/classes.rb, line 449 def update!(**args) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) end