Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateSharedCriterionResult

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

The result for the shared criterion mutate.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesMutateSharedCriterionResult

Returns a new instance of GoogleAdsSearchads360V23ServicesMutateSharedCriterionResult.



50937
50938
50939
# File 'lib/google/apis/searchads360_v23/classes.rb', line 50937

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

Instance Attribute Details

#resource_nameString

Returned for successful operations. Corresponds to the JSON property resourceName

Returns:

  • (String)


50930
50931
50932
# File 'lib/google/apis/searchads360_v23/classes.rb', line 50930

def resource_name
  @resource_name
end

#shared_criterionGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesSharedCriterion

A criterion belonging to a shared set. Corresponds to the JSON property sharedCriterion



50935
50936
50937
# File 'lib/google/apis/searchads360_v23/classes.rb', line 50935

def shared_criterion
  @shared_criterion
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



50942
50943
50944
50945
# File 'lib/google/apis/searchads360_v23/classes.rb', line 50942

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