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.



51696
51697
51698
# File 'lib/google/apis/searchads360_v23/classes.rb', line 51696

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

Instance Attribute Details

#resource_nameString

Returned for successful operations. Corresponds to the JSON property resourceName

Returns:

  • (String)


51689
51690
51691
# File 'lib/google/apis/searchads360_v23/classes.rb', line 51689

def resource_name
  @resource_name
end

#shared_criterionGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesSharedCriterion

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



51694
51695
51696
# File 'lib/google/apis/searchads360_v23/classes.rb', line 51694

def shared_criterion
  @shared_criterion
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



51701
51702
51703
51704
# File 'lib/google/apis/searchads360_v23/classes.rb', line 51701

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