Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1RunReportJobRequest

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.RunReportJob.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudChannelV1RunReportJobRequest

Returns a new instance of GoogleCloudChannelV1RunReportJobRequest.



2748
2749
2750
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2748

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

Instance Attribute Details

#date_rangeGoogle::Apis::CloudchannelV1::GoogleCloudChannelV1DateRange

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



2730
2731
2732
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2730

def date_range
  @date_range
end

#filterString

Optional. A structured string that defines conditions on dimension columns to restrict the report output. Filters support logical operators (AND, OR, NOT) and conditional operators (=, !=, <, >, <=, and >=) using column_id as keys. For example: (customer:"accounts/C123abc/customers/S456def" OR customer:" accounts/C123abc/customers/S789ghi") AND invoice_start_date.year >= 2022 Corresponds to the JSON property filter

Returns:

  • (String)


2739
2740
2741
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2739

def filter
  @filter
end

#language_codeString

Optional. The BCP-47 language code, such as "en-US". If specified, the response is localized to the corresponding language code if the original data sources support it. Default is "en-US". Corresponds to the JSON property languageCode

Returns:

  • (String)


2746
2747
2748
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2746

def language_code
  @language_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2753
2754
2755
2756
2757
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2753

def update!(**args)
  @date_range = args[:date_range] if args.key?(:date_range)
  @filter = args[:filter] if args.key?(:filter)
  @language_code = args[:language_code] if args.key?(:language_code)
end