Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesAudienceInsightsDimensions

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

A collection of dimensions to be used for generating insights.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesAudienceInsightsDimensions

Returns a new instance of GoogleAdsSearchads360V23ServicesAudienceInsightsDimensions.



37310
37311
37312
# File 'lib/google/apis/searchads360_v23/classes.rb', line 37310

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

Instance Attribute Details

#dimensionsArray<String>

Required. A list of dimensions. Corresponds to the JSON property dimensions

Returns:

  • (Array<String>)


37308
37309
37310
# File 'lib/google/apis/searchads360_v23/classes.rb', line 37308

def dimensions
  @dimensions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



37315
37316
37317
# File 'lib/google/apis/searchads360_v23/classes.rb', line 37315

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