Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExportAnalyticsMetricsRequest
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExportAnalyticsMetricsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/retail_v2beta/classes.rb,
lib/google/apis/retail_v2beta/representations.rb,
lib/google/apis/retail_v2beta/representations.rb
Overview
Request message for the ExportAnalyticsMetrics
method.
Instance Attribute Summary collapse
-
#filter ⇒ String
A filtering expression to specify restrictions on returned metrics.
-
#output_config ⇒ Google::Apis::RetailV2beta::GoogleCloudRetailV2betaOutputConfig
The output configuration setting.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2betaExportAnalyticsMetricsRequest
constructor
A new instance of GoogleCloudRetailV2betaExportAnalyticsMetricsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2betaExportAnalyticsMetricsRequest
Returns a new instance of GoogleCloudRetailV2betaExportAnalyticsMetricsRequest.
3820 3821 3822 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 3820 def initialize(**args) update!(**args) end |
Instance Attribute Details
#filter ⇒ String
A filtering expression to specify restrictions on returned metrics. The
expression is a sequence of terms. Each term applies a restriction to the
returned metrics. Use this expression to restrict results to a specific time
range. Currently we expect only one types of fields: * timestamp
: This can
be specified twice, once with a less than operator and once with a greater
than operator. The timestamp
restriction should result in one, contiguous,
valid, timestamp
range. Some examples of valid filters expressions: *
Example 1: timestamp > "2012-04-23T18:25:43.511Z" timestamp < "2012-04-23T18:
30:43.511Z"
* Example 2: timestamp > "2012-04-23T18:25:43.511Z"
Corresponds to the JSON property filter
3813 3814 3815 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 3813 def filter @filter end |
#output_config ⇒ Google::Apis::RetailV2beta::GoogleCloudRetailV2betaOutputConfig
The output configuration setting.
Corresponds to the JSON property outputConfig
3818 3819 3820 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 3818 def output_config @output_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3825 3826 3827 3828 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 3825 def update!(**args) @filter = args[:filter] if args.key?(:filter) @output_config = args[:output_config] if args.key?(:output_config) end |