Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAssetFieldTypePolicySummary

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 policy information for an asset under AssetFieldType context.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesAssetFieldTypePolicySummary

Returns a new instance of GoogleAdsSearchads360V23ResourcesAssetFieldTypePolicySummary.



22513
22514
22515
# File 'lib/google/apis/searchads360_v23/classes.rb', line 22513

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

Instance Attribute Details

#asset_field_typeString

Output only. FieldType of this asset. Corresponds to the JSON property assetFieldType

Returns:

  • (String)


22501
22502
22503
# File 'lib/google/apis/searchads360_v23/classes.rb', line 22501

def asset_field_type
  @asset_field_type
end

#asset_sourceString

Output only. Source of this asset. Corresponds to the JSON property assetSource

Returns:

  • (String)


22506
22507
22508
# File 'lib/google/apis/searchads360_v23/classes.rb', line 22506

def asset_source
  @asset_source
end

#policy_summary_infoGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAssetPolicySummary

Contains policy information for an asset. Corresponds to the JSON property policySummaryInfo



22511
22512
22513
# File 'lib/google/apis/searchads360_v23/classes.rb', line 22511

def policy_summary_info
  @policy_summary_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22518
22519
22520
22521
22522
# File 'lib/google/apis/searchads360_v23/classes.rb', line 22518

def update!(**args)
  @asset_field_type = args[:asset_field_type] if args.key?(:asset_field_type)
  @asset_source = args[:asset_source] if args.key?(:asset_source)
  @policy_summary_info = args[:policy_summary_info] if args.key?(:policy_summary_info)
end