Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAssetSetAsset
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAssetSetAsset
- 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
AssetSetAsset is the link between an asset and an asset set. Adding an AssetSetAsset links an asset with an asset set.
Instance Attribute Summary collapse
-
#asset ⇒ String
Immutable.
-
#asset_set ⇒ String
Immutable.
-
#resource_name ⇒ String
Immutable.
-
#status ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesAssetSetAsset
constructor
A new instance of GoogleAdsSearchads360V0ResourcesAssetSetAsset.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesAssetSetAsset
Returns a new instance of GoogleAdsSearchads360V0ResourcesAssetSetAsset.
5182 5183 5184 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5182 def initialize(**args) update!(**args) end |
Instance Attribute Details
#asset ⇒ String
Immutable. The asset which this asset set asset is linking to.
Corresponds to the JSON property asset
5163 5164 5165 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5163 def asset @asset end |
#asset_set ⇒ String
Immutable. The asset set which this asset set asset is linking to.
Corresponds to the JSON property assetSet
5168 5169 5170 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5168 def asset_set @asset_set end |
#resource_name ⇒ String
Immutable. The resource name of the asset set asset. Asset set asset resource
names have the form: customers/customer_id/assetSetAssets/asset_set_id~
asset_id`
Corresponds to the JSON propertyresourceName`
5175 5176 5177 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5175 def resource_name @resource_name end |
#status ⇒ String
Output only. The status of the asset set asset. Read-only.
Corresponds to the JSON property status
5180 5181 5182 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5180 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5187 5188 5189 5190 5191 5192 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5187 def update!(**args) @asset = args[:asset] if args.key?(:asset) @asset_set = args[:asset_set] if args.key?(:asset_set) @resource_name = args[:resource_name] if args.key?(:resource_name) @status = args[:status] if args.key?(:status) end |