Class: Google::Apis::ConsumersurveysV2::MobileAppPanel
- Inherits:
-
Object
- Object
- Google::Apis::ConsumersurveysV2::MobileAppPanel
- Defined in:
- generated/google/apis/consumersurveys_v2/classes.rb,
generated/google/apis/consumersurveys_v2/representations.rb,
generated/google/apis/consumersurveys_v2/representations.rb
Instance Attribute Summary collapse
-
#country ⇒ String
Corresponds to the JSON property
country
. -
#is_public_panel ⇒ Boolean
(also: #is_public_panel?)
Corresponds to the JSON property
isPublicPanel
. -
#language ⇒ String
Corresponds to the JSON property
language
. -
#mobile_app_panel_id ⇒ String
Corresponds to the JSON property
mobileAppPanelId
. -
#name ⇒ String
Corresponds to the JSON property
name
. -
#owners ⇒ Array<String>
Corresponds to the JSON property
owners
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MobileAppPanel
constructor
A new instance of MobileAppPanel.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ MobileAppPanel
Returns a new instance of MobileAppPanel
85 86 87 |
# File 'generated/google/apis/consumersurveys_v2/classes.rb', line 85 def initialize(**args) update!(**args) end |
Instance Attribute Details
#country ⇒ String
Corresponds to the JSON property country
57 58 59 |
# File 'generated/google/apis/consumersurveys_v2/classes.rb', line 57 def country @country end |
#is_public_panel ⇒ Boolean Also known as: is_public_panel?
Corresponds to the JSON property isPublicPanel
62 63 64 |
# File 'generated/google/apis/consumersurveys_v2/classes.rb', line 62 def is_public_panel @is_public_panel end |
#language ⇒ String
Corresponds to the JSON property language
68 69 70 |
# File 'generated/google/apis/consumersurveys_v2/classes.rb', line 68 def language @language end |
#mobile_app_panel_id ⇒ String
Corresponds to the JSON property mobileAppPanelId
73 74 75 |
# File 'generated/google/apis/consumersurveys_v2/classes.rb', line 73 def mobile_app_panel_id @mobile_app_panel_id end |
#name ⇒ String
Corresponds to the JSON property name
78 79 80 |
# File 'generated/google/apis/consumersurveys_v2/classes.rb', line 78 def name @name end |
#owners ⇒ Array<String>
Corresponds to the JSON property owners
83 84 85 |
# File 'generated/google/apis/consumersurveys_v2/classes.rb', line 83 def owners @owners end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
90 91 92 93 94 95 96 97 |
# File 'generated/google/apis/consumersurveys_v2/classes.rb', line 90 def update!(**args) @country = args[:country] if args.key?(:country) @is_public_panel = args[:is_public_panel] if args.key?(:is_public_panel) @language = args[:language] if args.key?(:language) @mobile_app_panel_id = args[:mobile_app_panel_id] if args.key?(:mobile_app_panel_id) @name = args[:name] if args.key?(:name) @owners = args[:owners] if args.key?(:owners) end |