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.



3182
3183
3184
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3182

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



3164
3165
3166
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3164

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)


3173
3174
3175
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3173

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)


3180
3181
3182
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3180

def language_code
  @language_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3187
3188
3189
3190
3191
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 3187

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