class Google::Apis::GamesV1::ProfileSettings
Profile settings
Attributes
friends_list_visibility[RW]
Corresponds to the JSON property `friendsListVisibility` @return [String]
kind[RW]
Uniquely identifies the type of this resource. Value is always the fixed string `games#profileSettings`. Corresponds to the JSON property `kind` @return [String]
profile_visible[RW]
Whether the player's profile is visible to the currently signed in player. Corresponds to the JSON property `profileVisible` @return [Boolean]
profile_visible?[RW]
Whether the player's profile is visible to the currently signed in player. Corresponds to the JSON property `profileVisible` @return [Boolean]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/games_v1/classes.rb, line 2297 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/games_v1/classes.rb, line 2302 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