Class: Google::Apis::SurveysV2::SurveysListResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::SurveysV2::SurveysListResponse
 
- 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
- 
  
    
      #page_info  ⇒ Google::Apis::SurveysV2::PageInfo 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property pageInfo.
- 
  
    
      #request_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Unique request ID used for logging and debugging. 
- 
  
    
      #resources  ⇒ Array<Google::Apis::SurveysV2::Survey> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    An individual survey resource. 
- 
  
    
      #token_pagination  ⇒ Google::Apis::SurveysV2::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 Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SurveysListResponse
Returns a new instance of SurveysListResponse
| 591 592 593 | # File 'generated/google/apis/surveys_v2/classes.rb', line 591 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#page_info ⇒ Google::Apis::SurveysV2::PageInfo
Corresponds to the JSON property pageInfo
| 573 574 575 | # File 'generated/google/apis/surveys_v2/classes.rb', line 573 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
| 579 580 581 | # File 'generated/google/apis/surveys_v2/classes.rb', line 579 def request_id @request_id end | 
#resources ⇒ Array<Google::Apis::SurveysV2::Survey>
An individual survey resource.
Corresponds to the JSON property resources
| 584 585 586 | # File 'generated/google/apis/surveys_v2/classes.rb', line 584 def resources @resources end | 
#token_pagination ⇒ Google::Apis::SurveysV2::TokenPagination
Corresponds to the JSON property tokenPagination
| 589 590 591 | # File 'generated/google/apis/surveys_v2/classes.rb', line 589 def token_pagination @token_pagination end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 596 597 598 599 600 601 | # File 'generated/google/apis/surveys_v2/classes.rb', line 596 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 |