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.



50460
50461
50462
# File 'lib/google/apis/searchads360_v23/classes.rb', line 50460

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

Instance Attribute Details

#labelGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesLabel

A label. Corresponds to the JSON property label



50453
50454
50455
# File 'lib/google/apis/searchads360_v23/classes.rb', line 50453

def label
  @label
end

#resource_nameString

Returned for successful operations. Corresponds to the JSON property resourceName

Returns:

  • (String)


50458
50459
50460
# File 'lib/google/apis/searchads360_v23/classes.rb', line 50458

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



50465
50466
50467
50468
# File 'lib/google/apis/searchads360_v23/classes.rb', line 50465

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