Class: Google::Apis::ConsumersurveysV2::MobileAppPanel

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
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

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

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

#countryString

Corresponds to the JSON property country

Returns:

  • (String)


57
58
59
# File 'generated/google/apis/consumersurveys_v2/classes.rb', line 57

def country
  @country
end

#is_public_panelBoolean Also known as: is_public_panel?

Corresponds to the JSON property isPublicPanel

Returns:

  • (Boolean)


62
63
64
# File 'generated/google/apis/consumersurveys_v2/classes.rb', line 62

def is_public_panel
  @is_public_panel
end

#languageString

Corresponds to the JSON property language

Returns:

  • (String)


68
69
70
# File 'generated/google/apis/consumersurveys_v2/classes.rb', line 68

def language
  @language
end

#mobile_app_panel_idString

Corresponds to the JSON property mobileAppPanelId

Returns:

  • (String)


73
74
75
# File 'generated/google/apis/consumersurveys_v2/classes.rb', line 73

def mobile_app_panel_id
  @mobile_app_panel_id
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


78
79
80
# File 'generated/google/apis/consumersurveys_v2/classes.rb', line 78

def name
  @name
end

#ownersArray<String>

Corresponds to the JSON property owners

Returns:

  • (Array<String>)


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