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.



1381
1382
1383
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1381

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)


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

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)


1373
1374
1375
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1373

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>)


1379
1380
1381
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1379

def partition_keys
  @partition_keys
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1386
1387
1388
1389
1390
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1386

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