Class: Google::Apis::ConsumersurveysV2::SurveysListResponse
- Inherits:
-
Object
- Object
- Google::Apis::ConsumersurveysV2::SurveysListResponse
- 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
-
#page_info ⇒ Google::Apis::ConsumersurveysV2::PageInfo
Corresponds to the JSON property
pageInfo
. -
#request_id ⇒ String
Unique request ID used for logging and debugging.
-
#resources ⇒ Array<Google::Apis::ConsumersurveysV2::Survey>
An individual survey resource.
-
#token_pagination ⇒ Google::Apis::ConsumersurveysV2::TokenPagination
Corresponds to the JSON property
tokenPagination
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SurveysListResponse
constructor
A new instance of SurveysListResponse.
-
#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) ⇒ SurveysListResponse
Returns a new instance of SurveysListResponse
637 638 639 |
# File 'generated/google/apis/consumersurveys_v2/classes.rb', line 637 def initialize(**args) update!(**args) end |
Instance Attribute Details
#page_info ⇒ Google::Apis::ConsumersurveysV2::PageInfo
Corresponds to the JSON property pageInfo
619 620 621 |
# File 'generated/google/apis/consumersurveys_v2/classes.rb', line 619 def page_info @page_info end |
#request_id ⇒ String
Unique request ID used for logging and debugging. Please include in any error
reporting or troubleshooting requests.
Corresponds to the JSON property requestId
625 626 627 |
# File 'generated/google/apis/consumersurveys_v2/classes.rb', line 625 def request_id @request_id end |
#resources ⇒ Array<Google::Apis::ConsumersurveysV2::Survey>
An individual survey resource.
Corresponds to the JSON property resources
630 631 632 |
# File 'generated/google/apis/consumersurveys_v2/classes.rb', line 630 def resources @resources end |
#token_pagination ⇒ Google::Apis::ConsumersurveysV2::TokenPagination
Corresponds to the JSON property tokenPagination
635 636 637 |
# File 'generated/google/apis/consumersurveys_v2/classes.rb', line 635 def token_pagination @token_pagination end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
642 643 644 645 646 647 |
# File 'generated/google/apis/consumersurveys_v2/classes.rb', line 642 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 |