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.



2813
2814
2815
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2813

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



2795
2796
2797
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2795

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)


2804
2805
2806
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2804

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)


2811
2812
2813
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2811

def language_code
  @language_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2818
2819
2820
2821
2822
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2818

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