Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb

Overview

Response message for BenchmarksService.GenerateBenchmarksMetrics.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsResponse

Returns a new instance of GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsResponse.



40684
40685
40686
# File 'lib/google/apis/searchads360_v23/classes.rb', line 40684

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

Instance Attribute Details

#average_benchmarks_metricsGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMetrics

All metrics returned against a criteria. Corresponds to the JSON property averageBenchmarksMetrics



40677
40678
40679
# File 'lib/google/apis/searchads360_v23/classes.rb', line 40677

def average_benchmarks_metrics
  @average_benchmarks_metrics
end

#customer_metricsGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMetrics

All metrics returned against a criteria. Corresponds to the JSON property customerMetrics



40682
40683
40684
# File 'lib/google/apis/searchads360_v23/classes.rb', line 40682

def customer_metrics
  @customer_metrics
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



40689
40690
40691
40692
# File 'lib/google/apis/searchads360_v23/classes.rb', line 40689

def update!(**args)
  @average_benchmarks_metrics = args[:average_benchmarks_metrics] if args.key?(:average_benchmarks_metrics)
  @customer_metrics = args[:customer_metrics] if args.key?(:customer_metrics)
end