Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1FetchReportResultsResponse

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

Response message for CloudChannelReportsService.FetchReportResults. Contains a tabular representation of the report results.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudChannelV1FetchReportResultsResponse

Returns a new instance of GoogleCloudChannelV1FetchReportResultsResponse.



1171
1172
1173
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1171

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

Instance Attribute Details

#next_page_tokenString

Pass this token to FetchReportResultsRequest.page_token to retrieve the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1157
1158
1159
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1157

def next_page_token
  @next_page_token
end

#report_metadataGoogle::Apis::CloudchannelV1::GoogleCloudChannelV1ReportResultsMetadata

The features describing the data. Returned by CloudChannelReportsService. RunReportJob and CloudChannelReportsService.FetchReportResults. Corresponds to the JSON property reportMetadata



1163
1164
1165
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1163

def 
  @report_metadata
end

#rowsArray<Google::Apis::CloudchannelV1::GoogleCloudChannelV1Row>

The report's lists of values. Each row follows the settings and ordering of the columns from report_metadata. Corresponds to the JSON property rows



1169
1170
1171
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1169

def rows
  @rows
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1176
1177
1178
1179
1180
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1176

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @report_metadata = args[:report_metadata] if args.key?(:report_metadata)
  @rows = args[:rows] if args.key?(:rows)
end