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.
5074 5075 5076 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5074 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
5066 5067 5068 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5066 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 propertyresourceName`
5072 5073 5074 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5072 def resource_name @resource_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5079 5080 5081 5082 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5079 def update!(**args) @id = args[:id] if args.key?(:id) @resource_name = args[:resource_name] if args.key?(:resource_name) end |