Class: Google::Apis::GamesV1::ProfileSettings
- Inherits:
-
Object
- Object
- Google::Apis::GamesV1::ProfileSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/games_v1/classes.rb,
generated/google/apis/games_v1/representations.rb,
generated/google/apis/games_v1/representations.rb
Overview
This is a JSON template for profile settings
Instance Attribute Summary collapse
-
#kind ⇒ String
Uniquely identifies the type of this resource.
-
#profile_visible ⇒ Boolean
(also: #profile_visible?)
Corresponds to the JSON property
profileVisible
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProfileSettings
constructor
A new instance of ProfileSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ProfileSettings
Returns a new instance of ProfileSettings.
2677 2678 2679 |
# File 'generated/google/apis/games_v1/classes.rb', line 2677 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Uniquely identifies the type of this resource. Value is always the fixed
string games#profileSettings.
Corresponds to the JSON property kind
2669 2670 2671 |
# File 'generated/google/apis/games_v1/classes.rb', line 2669 def kind @kind end |
#profile_visible ⇒ Boolean Also known as: profile_visible?
Corresponds to the JSON property profileVisible
2674 2675 2676 |
# File 'generated/google/apis/games_v1/classes.rb', line 2674 def profile_visible @profile_visible end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2682 2683 2684 2685 |
# File 'generated/google/apis/games_v1/classes.rb', line 2682 def update!(**args) @kind = args[:kind] if args.key?(:kind) @profile_visible = args[:profile_visible] if args.key?(:profile_visible) end |