Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonAssetUsage
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonAssetUsage
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb
Overview
Contains the usage information of the asset.
Instance Attribute Summary collapse
-
#asset ⇒ String
Resource name of the asset.
-
#served_asset_field_type ⇒ String
The served field type of the asset.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonAssetUsage
constructor
A new instance of GoogleAdsSearchads360V23CommonAssetUsage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonAssetUsage
Returns a new instance of GoogleAdsSearchads360V23CommonAssetUsage.
1473 1474 1475 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1473 def initialize(**args) update!(**args) end |
Instance Attribute Details
#asset ⇒ String
Resource name of the asset.
Corresponds to the JSON property asset
1466 1467 1468 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1466 def asset @asset end |
#served_asset_field_type ⇒ String
The served field type of the asset.
Corresponds to the JSON property servedAssetFieldType
1471 1472 1473 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1471 def served_asset_field_type @served_asset_field_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1478 1479 1480 1481 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1478 def update!(**args) @asset = args[:asset] if args.key?(:asset) @served_asset_field_type = args[:served_asset_field_type] if args.key?(:served_asset_field_type) end |