Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesParentalStatusView

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 parental status view.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesParentalStatusView

Returns a new instance of GoogleAdsSearchads360V23ResourcesParentalStatusView.



32209
32210
32211
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32209

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

Instance Attribute Details

#resource_nameString

Output only. The resource name of the parental status view. Parental Status view resource names have the form: customers/customer_id/ parentalStatusViews/ad_group_id~criterion_id` Corresponds to the JSON propertyresourceName`

Returns:

  • (String)


32207
32208
32209
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32207

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



32214
32215
32216
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32214

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