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
Profile settings
Instance Attribute Summary collapse
-
#friends_list_visibility ⇒ String
Corresponds to the JSON property
friendsListVisibility
. -
#kind ⇒ String
Uniquely identifies the type of this resource.
-
#profile_visible ⇒ Boolean
(also: #profile_visible?)
Whether the player's profile is visible to the currently signed in player.
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.
2327 2328 2329 |
# File 'generated/google/apis/games_v1/classes.rb', line 2327 def initialize(**args) update!(**args) end |
Instance Attribute Details
#friends_list_visibility ⇒ String
Corresponds to the JSON property friendsListVisibility
2313 2314 2315 |
# File 'generated/google/apis/games_v1/classes.rb', line 2313 def friends_list_visibility @friends_list_visibility end |
#kind ⇒ String
Uniquely identifies the type of this resource. Value is always the fixed
string games#profileSettings
.
Corresponds to the JSON property kind
2319 2320 2321 |
# File 'generated/google/apis/games_v1/classes.rb', line 2319 def kind @kind end |
#profile_visible ⇒ Boolean Also known as: profile_visible?
Whether the player's profile is visible to the currently signed in player.
Corresponds to the JSON property profileVisible
2324 2325 2326 |
# File 'generated/google/apis/games_v1/classes.rb', line 2324 def profile_visible @profile_visible end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2332 2333 2334 2335 2336 |
# File 'generated/google/apis/games_v1/classes.rb', line 2332 def update!(**args) @friends_list_visibility = args[:friends_list_visibility] if args.key?(:friends_list_visibility) @kind = args[:kind] if args.key?(:kind) @profile_visible = args[:profile_visible] if args.key?(:profile_visible) end |