class Google::Apis::ServicedirectoryV1beta1::Namespace

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

Attributes

create_time[RW]

Output only. The timestamp when the namespace was created. Corresponds to the JSON property `createTime` @return [String]

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]

update_time[RW]

Output only. The timestamp when the namespace was last updated. Corresponds to the JSON property `updateTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/servicedirectory_v1beta1/classes.rb, line 464
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_v1beta1/classes.rb, line 469
def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @labels = args[:labels] if args.key?(:labels)
  @name = args[:name] if args.key?(:name)
  @update_time = args[:update_time] if args.key?(:update_time)
end