Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1ReportResultsMetadata

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

The features describing the data. Returned by CloudChannelReportsService. RunReportJob and CloudChannelReportsService.FetchReportResults.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudChannelV1alpha1ReportResultsMetadata

Returns a new instance of GoogleCloudChannelV1alpha1ReportResultsMetadata.



3853
3854
3855
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3853

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

Instance Attribute Details

#date_rangeGoogle::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1DateRange

A representation of usage or invoice date ranges. Corresponds to the JSON property dateRange



3835
3836
3837
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3835

def date_range
  @date_range
end

#preceding_date_rangeGoogle::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1DateRange

A representation of usage or invoice date ranges. Corresponds to the JSON property precedingDateRange



3840
3841
3842
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3840

def preceding_date_range
  @preceding_date_range
end

#reportGoogle::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1Report

The ID and description of a report that was used to generate report data. For example, "GCP Daily Spend", "Google Workspace License Activity", etc. Corresponds to the JSON property report



3846
3847
3848
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3846

def report
  @report
end

#row_countFixnum

The total number of rows of data in the final report. Corresponds to the JSON property rowCount

Returns:

  • (Fixnum)


3851
3852
3853
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3851

def row_count
  @row_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3858
3859
3860
3861
3862
3863
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3858

def update!(**args)
  @date_range = args[:date_range] if args.key?(:date_range)
  @preceding_date_range = args[:preceding_date_range] if args.key?(:preceding_date_range)
  @report = args[:report] if args.key?(:report)
  @row_count = args[:row_count] if args.key?(:row_count)
end