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.



1401
1402
1403
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1401

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)


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

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)


1393
1394
1395
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1393

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


1399
1400
1401
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1399

def partition_keys
  @partition_keys
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1406
1407
1408
1409
1410
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1406

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