Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesMutateCustomerAssetResult

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesMutateCustomerAssetResult

Returns a new instance of GoogleAdsSearchads360V23ServicesMutateCustomerAssetResult.



47927
47928
47929
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47927

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

Instance Attribute Details

#customer_assetGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesCustomerAsset

A link between a customer and an asset. Corresponds to the JSON property customerAsset



47920
47921
47922
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47920

def customer_asset
  @customer_asset
end

#resource_nameString

Returned for successful operations. Corresponds to the JSON property resourceName

Returns:

  • (String)


47925
47926
47927
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47925

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



47932
47933
47934
47935
# File 'lib/google/apis/searchads360_v23/classes.rb', line 47932

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