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.



22660
22661
22662
# File 'lib/google/apis/searchads360_v23/classes.rb', line 22660

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)


22648
22649
22650
# File 'lib/google/apis/searchads360_v23/classes.rb', line 22648

def asset_field_type
  @asset_field_type
end

#asset_sourceString

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

Returns:

  • (String)


22653
22654
22655
# File 'lib/google/apis/searchads360_v23/classes.rb', line 22653

def asset_source
  @asset_source
end

#policy_summary_infoGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAssetPolicySummary

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



22658
22659
22660
# File 'lib/google/apis/searchads360_v23/classes.rb', line 22658

def policy_summary_info
  @policy_summary_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22665
22666
22667
22668
22669
# File 'lib/google/apis/searchads360_v23/classes.rb', line 22665

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