Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCustomerAssetSet

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/searchads360_v0/classes.rb,
lib/google/apis/searchads360_v0/representations.rb,
lib/google/apis/searchads360_v0/representations.rb

Overview

CustomerAssetSet is the linkage between a customer and an asset set. Adding a CustomerAssetSet links an asset set with a customer.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesCustomerAssetSet

Returns a new instance of GoogleAdsSearchads360V0ResourcesCustomerAssetSet.



6924
6925
6926
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6924

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

Instance Attribute Details

#asset_setString

Immutable. The asset set which is linked to the customer. Corresponds to the JSON property assetSet

Returns:

  • (String)


6905
6906
6907
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6905

def asset_set
  @asset_set
end

#customerString

Immutable. The customer to which this asset set is linked. Corresponds to the JSON property customer

Returns:

  • (String)


6910
6911
6912
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6910

def customer
  @customer
end

#resource_nameString

Immutable. The resource name of the customer asset set. Asset set asset resource names have the form: customers/customer_id/customerAssetSets/ asset_set_id` Corresponds to the JSON propertyresourceName`

Returns:

  • (String)


6917
6918
6919
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6917

def resource_name
  @resource_name
end

#statusString

Output only. The status of the customer asset set asset. Read-only. Corresponds to the JSON property status

Returns:

  • (String)


6922
6923
6924
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6922

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6929
6930
6931
6932
6933
6934
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6929

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