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.



37517
37518
37519
# File 'lib/google/apis/searchads360_v23/classes.rb', line 37517

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>)


37515
37516
37517
# File 'lib/google/apis/searchads360_v23/classes.rb', line 37515

def dimensions
  @dimensions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



37522
37523
37524
# File 'lib/google/apis/searchads360_v23/classes.rb', line 37522

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