Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1FetchReportResultsRequest

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudchannel_v1/classes.rb,
lib/google/apis/cloudchannel_v1/representations.rb,
lib/google/apis/cloudchannel_v1/representations.rb

Overview

Request message for CloudChannelReportsService.FetchReportResults.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudChannelV1FetchReportResultsRequest

Returns a new instance of GoogleCloudChannelV1FetchReportResultsRequest.



1144
1145
1146
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1144

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

Instance Attribute Details

#page_sizeFixnum

Optional. Requested page size of the report. The server may return fewer results than requested. If you don't specify a page size, the server uses a sensible default (may change over time). The maximum value is 30,000; the server will change larger values to 30,000. Corresponds to the JSON property pageSize

Returns:

  • (Fixnum)


1135
1136
1137
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1135

def page_size
  @page_size
end

#page_tokenString

Optional. A token that specifies a page of results beyond the first page. Obtained through FetchReportResultsResponse.next_page_token of the previous CloudChannelReportsService.FetchReportResults call. Corresponds to the JSON property pageToken

Returns:

  • (String)


1142
1143
1144
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1142

def page_token
  @page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1149
1150
1151
1152
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1149

def update!(**args)
  @page_size = args[:page_size] if args.key?(:page_size)
  @page_token = args[:page_token] if args.key?(:page_token)
end