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.



37445
37446
37447
# File 'lib/google/apis/searchads360_v23/classes.rb', line 37445

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


37443
37444
37445
# File 'lib/google/apis/searchads360_v23/classes.rb', line 37443

def dimensions
  @dimensions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



37450
37451
37452
# File 'lib/google/apis/searchads360_v23/classes.rb', line 37450

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