Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1RunReportJobRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudchannelV1::GoogleCloudChannelV1RunReportJobRequest
- 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
-
#date_range ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1DateRange
A representation of usage or invoice date ranges.
-
#filter ⇒ String
Optional.
-
#language_code ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudChannelV1RunReportJobRequest
constructor
A new instance of GoogleCloudChannelV1RunReportJobRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudChannelV1RunReportJobRequest
Returns a new instance of GoogleCloudChannelV1RunReportJobRequest.
3222 3223 3224 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3222 def initialize(**args) update!(**args) end |
Instance Attribute Details
#date_range ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1DateRange
A representation of usage or invoice date ranges.
Corresponds to the JSON property dateRange
3204 3205 3206 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3204 def date_range @date_range end |
#filter ⇒ String
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
3213 3214 3215 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3213 def filter @filter end |
#language_code ⇒ String
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
3220 3221 3222 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3220 def language_code @language_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3227 3228 3229 3230 3231 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3227 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 |