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.



48658
48659
48660
# File 'lib/google/apis/searchads360_v23/classes.rb', line 48658

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

Instance Attribute Details

#customerGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCustomer

A customer. Corresponds to the JSON property customer



48651
48652
48653
# File 'lib/google/apis/searchads360_v23/classes.rb', line 48651

def customer
  @customer
end

#resource_nameString

Returned for successful operations. Corresponds to the JSON property resourceName

Returns:

  • (String)


48656
48657
48658
# File 'lib/google/apis/searchads360_v23/classes.rb', line 48656

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



48663
48664
48665
48666
# File 'lib/google/apis/searchads360_v23/classes.rb', line 48663

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