Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerResult

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 customer mutate.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesMutateCustomerResult

Returns a new instance of GoogleAdsSearchads360V23ServicesMutateCustomerResult.



49426
49427
49428
# File 'lib/google/apis/searchads360_v23/classes.rb', line 49426

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

Instance Attribute Details

#customerGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCustomer

A customer. Corresponds to the JSON property customer



49419
49420
49421
# File 'lib/google/apis/searchads360_v23/classes.rb', line 49419

def customer
  @customer
end

#resource_nameString

Returned for successful operations. Corresponds to the JSON property resourceName

Returns:

  • (String)


49424
49425
49426
# File 'lib/google/apis/searchads360_v23/classes.rb', line 49424

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



49431
49432
49433
49434
# File 'lib/google/apis/searchads360_v23/classes.rb', line 49431

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