Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonAssetUsage

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonAssetUsage

Returns a new instance of GoogleAdsSearchads360V23CommonAssetUsage.



1413
1414
1415
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1413

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

Instance Attribute Details

#assetString

Resource name of the asset. Corresponds to the JSON property asset

Returns:

  • (String)


1406
1407
1408
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1406

def asset
  @asset
end

#served_asset_field_typeString

The served field type of the asset. Corresponds to the JSON property servedAssetFieldType

Returns:

  • (String)


1411
1412
1413
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1411

def served_asset_field_type
  @served_asset_field_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1418
1419
1420
1421
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1418

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