Class: Google::Apis::ContentV2_1::FreeListingsProgramStatus
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::FreeListingsProgramStatus
- 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 GetFreeListingsProgramStatus.
Instance Attribute Summary collapse
-
#global_state ⇒ String
State of the program.
-
#region_statuses ⇒ Array<Google::Apis::ContentV2_1::FreeListingsProgramStatusRegionStatus>
Status of the program in each region.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FreeListingsProgramStatus
constructor
A new instance of FreeListingsProgramStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FreeListingsProgramStatus
Returns a new instance of FreeListingsProgramStatus.
4800 4801 4802 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 4800 def initialize(**args) update!(**args) end |
Instance Attribute Details
#global_state ⇒ String
State of the program. ENABLED
if there are offers for at least one region.
Corresponds to the JSON property globalState
4792 4793 4794 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 4792 def global_state @global_state end |
#region_statuses ⇒ Array<Google::Apis::ContentV2_1::FreeListingsProgramStatusRegionStatus>
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
4798 4799 4800 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 4798 def region_statuses @region_statuses end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4805 4806 4807 4808 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 4805 def update!(**args) @global_state = args[:global_state] if args.key?(:global_state) @region_statuses = args[:region_statuses] if args.key?(:region_statuses) end |