Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAssetSet
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAssetSet
- 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
An asset set representing a collection of assets. Use AssetSetAsset to link an asset to the asset set.
Instance Attribute Summary collapse
-
#id ⇒ Fixnum
Output only.
-
#resource_name ⇒ String
Immutable.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesAssetSet
constructor
A new instance of GoogleAdsSearchads360V0ResourcesAssetSet.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesAssetSet
Returns a new instance of GoogleAdsSearchads360V0ResourcesAssetSet.
5249 5250 5251 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5249 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ Fixnum
Output only. The ID of the asset set.
Corresponds to the JSON property id
5241 5242 5243 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5241 def id @id end |
#resource_name ⇒ String
Immutable. The resource name of the asset set. Asset set resource names have
the form: customers/
customer_id/assetSets/
asset_set_id`
Corresponds to the JSON property
resourceName`
5247 5248 5249 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5247 def resource_name @resource_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5254 5255 5256 5257 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5254 def update!(**args) @id = args[:id] if args.key?(:id) @resource_name = args[:resource_name] if args.key?(:resource_name) end |