Class: Google::Apis::SurveysV2::MobileAppPanelsListResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/surveys_v2/classes.rb,
generated/google/apis/surveys_v2/representations.rb,
generated/google/apis/surveys_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ MobileAppPanelsListResponse

Returns a new instance of MobileAppPanelsListResponse



134
135
136
# File 'generated/google/apis/surveys_v2/classes.rb', line 134

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#page_infoGoogle::Apis::SurveysV2::PageInfo

Corresponds to the JSON property pageInfo



116
117
118
# File 'generated/google/apis/surveys_v2/classes.rb', line 116

def page_info
  @page_info
end

#request_idString

Unique request ID used for logging and debugging. Please include in any error reporting or troubleshooting requests. Corresponds to the JSON property requestId

Returns:

  • (String)


122
123
124
# File 'generated/google/apis/surveys_v2/classes.rb', line 122

def request_id
  @request_id
end

#resourcesArray<Google::Apis::SurveysV2::MobileAppPanel>

An individual predefined panel of Opinion Rewards mobile users. Corresponds to the JSON property resources



127
128
129
# File 'generated/google/apis/surveys_v2/classes.rb', line 127

def resources
  @resources
end

#token_paginationGoogle::Apis::SurveysV2::TokenPagination

Corresponds to the JSON property tokenPagination



132
133
134
# File 'generated/google/apis/surveys_v2/classes.rb', line 132

def token_pagination
  @token_pagination
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



139
140
141
142
143
144
# File 'generated/google/apis/surveys_v2/classes.rb', line 139

def update!(**args)
  @page_info = args[:page_info] if args.key?(:page_info)
  @request_id = args[:request_id] if args.key?(:request_id)
  @resources = args[:resources] if args.key?(:resources)
  @token_pagination = args[:token_pagination] if args.key?(:token_pagination)
end