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.



1360
1361
1362
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1360

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)


1345
1346
1347
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1345

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)


1352
1353
1354
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1352

def page_token
  @page_token
end

#partition_keysArray<String>

Optional. List of keys specifying which report partitions to return. If empty, returns all partitions. Corresponds to the JSON property partitionKeys

Returns:

  • (Array<String>)


1358
1359
1360
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1358

def partition_keys
  @partition_keys
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1365
1366
1367
1368
1369
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1365

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