Class: Google::Apis::ContentV2_1::ShoppingAdsProgramStatus
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::ShoppingAdsProgramStatus
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Overview
Response message for GetShoppingAdsProgramStatus.
Instance Attribute Summary collapse
-
#region_statuses ⇒ Array<Google::Apis::ContentV2_1::ShoppingAdsProgramStatusRegionStatus>
Status of the program in each region.
-
#state ⇒ String
If program is successfully onboarded for at least one region.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ShoppingAdsProgramStatus
constructor
A new instance of ShoppingAdsProgramStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ShoppingAdsProgramStatus
Returns a new instance of ShoppingAdsProgramStatus.
14560 14561 14562 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 14560 def initialize(**args) update!(**args) end |
Instance Attribute Details
#region_statuses ⇒ Array<Google::Apis::ContentV2_1::ShoppingAdsProgramStatusRegionStatus>
Status of the program in each region. Regions with the same status and review
eligibility are grouped together in regionCodes.
Corresponds to the JSON property regionStatuses
14553 14554 14555 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 14553 def region_statuses @region_statuses end |
#state ⇒ String
If program is successfully onboarded for at least one region.
Corresponds to the JSON property state
14558 14559 14560 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 14558 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14565 14566 14567 14568 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 14565 def update!(**args) @region_statuses = args[:region_statuses] if args.key?(:region_statuses) @state = args[:state] if args.key?(:state) end |