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.



5249
5250
5251
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5249

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)


5241
5242
5243
# File 'lib/google/apis/searchads360_v0/classes.rb', line 5241

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)


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