Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAssetSet

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

An asset set representing a collection of assets. Use AssetSetAsset to link an asset to the asset set.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesAssetSet

Returns a new instance of GoogleAdsSearchads360V0ResourcesAssetSet.



5162
5163
5164
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5162

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

Instance Attribute Details

#idFixnum

Output only. The ID of the asset set. Corresponds to the JSON property id

Returns:

  • (Fixnum)


5154
5155
5156
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5154

def id
  @id
end

#resource_nameString

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`

Returns:

  • (String)


5160
5161
5162
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5160

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5167
5168
5169
5170
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5167

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