Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAssetPolicySummary
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAssetPolicySummary
- 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.
Instance Attribute Summary collapse
-
#approval_status ⇒ String
Output only.
-
#policy_topic_entries ⇒ Array<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonPolicyTopicEntry>
Output only.
-
#review_status ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesAssetPolicySummary
constructor
A new instance of GoogleAdsSearchads360V23ResourcesAssetPolicySummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesAssetPolicySummary
Returns a new instance of GoogleAdsSearchads360V23ResourcesAssetPolicySummary.
23109 23110 23111 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 23109 def initialize(**args) update!(**args) end |
Instance Attribute Details
#approval_status ⇒ String
Output only. The overall approval status of this asset, calculated based on
the status of its individual policy topic entries.
Corresponds to the JSON property approvalStatus
23097 23098 23099 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 23097 def approval_status @approval_status end |
#policy_topic_entries ⇒ Array<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonPolicyTopicEntry>
Output only. The list of policy findings for this asset.
Corresponds to the JSON property policyTopicEntries
23102 23103 23104 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 23102 def policy_topic_entries @policy_topic_entries end |
#review_status ⇒ String
Output only. Where in the review process this asset is.
Corresponds to the JSON property reviewStatus
23107 23108 23109 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 23107 def review_status @review_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
23114 23115 23116 23117 23118 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 23114 def update!(**args) @approval_status = args[:approval_status] if args.key?(:approval_status) @policy_topic_entries = args[:policy_topic_entries] if args.key?(:policy_topic_entries) @review_status = args[:review_status] if args.key?(:review_status) end |