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.



1137
1138
1139
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1137

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)


1128
1129
1130
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1128

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)


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

def page_token
  @page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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