Class: Google::Apis::GamesManagementV1management::ProfileSettings
- Inherits:
-
Object
- Object
- Google::Apis::GamesManagementV1management::ProfileSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/games_management_v1management/classes.rb,
generated/google/apis/games_management_v1management/representations.rb,
generated/google/apis/games_management_v1management/representations.rb
Overview
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.
Constructor Details
#initialize(**args) ⇒ ProfileSettings
Returns a new instance of ProfileSettings.
463 464 465 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 463 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Uniquely identifies the type of this resource. Value is always the fixed
string gamesManagement#profileSettings
.
Corresponds to the JSON property kind
455 456 457 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 455 def kind @kind end |
#profile_visible ⇒ Boolean Also known as: profile_visible?
Corresponds to the JSON property profileVisible
460 461 462 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 460 def profile_visible @profile_visible end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
468 469 470 471 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 468 def update!(**args) @kind = args[:kind] if args.key?(:kind) @profile_visible = args[:profile_visible] if args.key?(:profile_visible) end |