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.



50388
50389
50390
# File 'lib/google/apis/searchads360_v23/classes.rb', line 50388

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

Instance Attribute Details

#labelGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesLabel

A label. Corresponds to the JSON property label



50381
50382
50383
# File 'lib/google/apis/searchads360_v23/classes.rb', line 50381

def label
  @label
end

#resource_nameString

Returned for successful operations. Corresponds to the JSON property resourceName

Returns:

  • (String)


50386
50387
50388
# File 'lib/google/apis/searchads360_v23/classes.rb', line 50386

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



50393
50394
50395
50396
# File 'lib/google/apis/searchads360_v23/classes.rb', line 50393

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