Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateLabelResult

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 a label mutate.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesMutateLabelResult

Returns a new instance of GoogleAdsSearchads360V23ServicesMutateLabelResult.



49692
49693
49694
# File 'lib/google/apis/searchads360_v23/classes.rb', line 49692

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

Instance Attribute Details

#labelGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesLabel

A label. Corresponds to the JSON property label



49685
49686
49687
# File 'lib/google/apis/searchads360_v23/classes.rb', line 49685

def label
  @label
end

#resource_nameString

Returned for successful operations. Corresponds to the JSON property resourceName

Returns:

  • (String)


49690
49691
49692
# File 'lib/google/apis/searchads360_v23/classes.rb', line 49690

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



49697
49698
49699
49700
# File 'lib/google/apis/searchads360_v23/classes.rb', line 49697

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