class Google::Apis::GameservicesV1::Realm

A realm resource.

Attributes

create_time[RW]

Output only. The creation time. Corresponds to the JSON property `createTime` @return [String]

description[RW]

Human readable description of the realm. Corresponds to the JSON property `description` @return [String]

etag[RW]

ETag of the resource. Corresponds to the JSON property `etag` @return [String]

labels[RW]

The labels associated with this realm. Each label is a key-value pair. Corresponds to the JSON property `labels` @return [Hash<String,String>]

name[RW]

The resource name of the realm, in the following form: `projects/`project`/ locations/`location`/realms/`realm“. For example, `projects/my-project/ locations/`location`/realms/my-realm`. Corresponds to the JSON property `name` @return [String]

time_zone[RW]

Required. Time zone where all policies targeting this realm are evaluated. The value of this field must be from the IANA time zone database: www.iana. org/time-zones. Corresponds to the JSON property `timeZone` @return [String]

update_time[RW]

Output only. The last-modified time. Corresponds to the JSON property `updateTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/gameservices_v1/classes.rb, line 1779
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/gameservices_v1/classes.rb, line 1784
def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @etag = args[:etag] if args.key?(:etag)
  @labels = args[:labels] if args.key?(:labels)
  @name = args[:name] if args.key?(:name)
  @time_zone = args[:time_zone] if args.key?(:time_zone)
  @update_time = args[:update_time] if args.key?(:update_time)
end