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.
23049 23050 23051 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 23049 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
23037 23038 23039 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 23037 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
23042 23043 23044 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 23042 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
23047 23048 23049 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 23047 def review_status @review_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
23054 23055 23056 23057 23058 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 23054 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 |