Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCustomerAsset
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCustomerAsset
- 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
A link between a customer and an asset.
Instance Attribute Summary collapse
-
#asset ⇒ String
Required.
-
#resource_name ⇒ String
Immutable.
-
#status ⇒ String
Status of the customer asset.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesCustomerAsset
constructor
A new instance of GoogleAdsSearchads360V0ResourcesCustomerAsset.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesCustomerAsset
Returns a new instance of GoogleAdsSearchads360V0ResourcesCustomerAsset.
6721 6722 6723 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6721 def initialize(**args) update!(**args) end |
Instance Attribute Details
#asset ⇒ String
Required. Immutable. The asset which is linked to the customer.
Corresponds to the JSON property asset
6707 6708 6709 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6707 def asset @asset end |
#resource_name ⇒ String
Immutable. The resource name of the customer asset. CustomerAsset resource
names have the form: customers/customer_id/customerAssets/asset_id~
field_type`
Corresponds to the JSON propertyresourceName`
6714 6715 6716 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6714 def resource_name @resource_name end |
#status ⇒ String
Status of the customer asset.
Corresponds to the JSON property status
6719 6720 6721 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6719 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6726 6727 6728 6729 6730 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6726 def update!(**args) @asset = args[:asset] if args.key?(:asset) @resource_name = args[:resource_name] if args.key?(:resource_name) @status = args[:status] if args.key?(:status) end |