Class: Google::Apis::GameservicesV1beta::Realm
- Inherits:
-
Object
- Object
- Google::Apis::GameservicesV1beta::Realm
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gameservices_v1beta/classes.rb,
lib/google/apis/gameservices_v1beta/representations.rb,
lib/google/apis/gameservices_v1beta/representations.rb
Overview
A realm resource.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Human readable description of the realm.
-
#etag ⇒ String
ETag of the resource.
-
#labels ⇒ Hash<String,String>
The labels associated with this realm.
-
#name ⇒ String
The resource name of the realm, in the following form:
projects/project/ locations/location/realms/realm``. -
#time_zone ⇒ String
Required.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Realm
constructor
A new instance of Realm.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Realm
Returns a new instance of Realm.
1777 1778 1779 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 1777 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The creation time.
Corresponds to the JSON property createTime
1741 1742 1743 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 1741 def create_time @create_time end |
#description ⇒ String
Human readable description of the realm.
Corresponds to the JSON property description
1746 1747 1748 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 1746 def description @description end |
#etag ⇒ String
ETag of the resource.
Corresponds to the JSON property etag
1751 1752 1753 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 1751 def etag @etag end |
#labels ⇒ Hash<String,String>
The labels associated with this realm. Each label is a key-value pair.
Corresponds to the JSON property labels
1756 1757 1758 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 1756 def labels @labels end |
#name ⇒ String
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 propertyname`
1763 1764 1765 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 1763 def name @name end |
#time_zone ⇒ String
Required. Time zone where all policies targeting this realm are evaluated. The
value of this field must be from the IANA time zone database: https://www.iana.
org/time-zones.
Corresponds to the JSON property timeZone
1770 1771 1772 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 1770 def time_zone @time_zone end |
#update_time ⇒ String
Output only. The last-modified time.
Corresponds to the JSON property updateTime
1775 1776 1777 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 1775 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1782 1783 1784 1785 1786 1787 1788 1789 1790 |
# File 'lib/google/apis/gameservices_v1beta/classes.rb', line 1782 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 |