Class: Google::Apis::ContentV2_1::FreeListingsProgramStatusRegionStatus
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::FreeListingsProgramStatusRegionStatus
- 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
Status of program and region.
Instance Attribute Summary collapse
-
#disapproval_date ⇒ String
Date by which
eligibility_statuswill go fromWARNINGtoDISAPPROVED. -
#eligibility_status ⇒ String
Eligibility status of the standard free listing program.
-
#enhanced_eligibility_status ⇒ String
Eligibility status of the enhanced free listing program.
-
#ineligibility_reason ⇒ String
Reason if a program in a given country is not eligible for review.
-
#region_codes ⇒ Array<String>
The two-letter ISO 3166-1 alpha-2 codes for all the regions with the same
eligibilityStatusandreviewEligibility. -
#review_eligibility_status ⇒ String
If a program in a given country is eligible for review.
-
#review_issues ⇒ Array<String>
These issues will be evaluated in review process.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FreeListingsProgramStatusRegionStatus
constructor
A new instance of FreeListingsProgramStatusRegionStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FreeListingsProgramStatusRegionStatus
Returns a new instance of FreeListingsProgramStatusRegionStatus.
3320 3321 3322 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 3320 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disapproval_date ⇒ String
Date by which eligibility_status will go from WARNING to DISAPPROVED. It
will be present when eligibility_status is WARNING. Date will be provided
in ISO 8601 format i.e. YYYY-MM-DD
Corresponds to the JSON property disapprovalDate
3283 3284 3285 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 3283 def disapproval_date @disapproval_date end |
#eligibility_status ⇒ String
Eligibility status of the standard free listing program.
Corresponds to the JSON property eligibilityStatus
3288 3289 3290 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 3288 def eligibility_status @eligibility_status end |
#enhanced_eligibility_status ⇒ String
Eligibility status of the enhanced free listing program.
Corresponds to the JSON property enhancedEligibilityStatus
3293 3294 3295 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 3293 def enhanced_eligibility_status @enhanced_eligibility_status end |
#ineligibility_reason ⇒ String
Reason if a program in a given country is not eligible for review. Populated
only if review_eligibility_status is INELIGIBLE.
Corresponds to the JSON property ineligibilityReason
3299 3300 3301 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 3299 def ineligibility_reason @ineligibility_reason end |
#region_codes ⇒ Array<String>
The two-letter ISO 3166-1 alpha-2 codes for all the regions with the same eligibilityStatus and
reviewEligibility.
Corresponds to the JSON property regionCodes
3306 3307 3308 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 3306 def region_codes @region_codes end |
#review_eligibility_status ⇒ String
If a program in a given country is eligible for review. It will be present
only if eligibility status is DISAPPROVED.
Corresponds to the JSON property reviewEligibilityStatus
3312 3313 3314 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 3312 def review_eligibility_status @review_eligibility_status end |
#review_issues ⇒ Array<String>
These issues will be evaluated in review process. Fix all the issues before
requesting the review.
Corresponds to the JSON property reviewIssues
3318 3319 3320 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 3318 def review_issues @review_issues end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3325 3326 3327 3328 3329 3330 3331 3332 3333 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 3325 def update!(**args) @disapproval_date = args[:disapproval_date] if args.key?(:disapproval_date) @eligibility_status = args[:eligibility_status] if args.key?(:eligibility_status) @enhanced_eligibility_status = args[:enhanced_eligibility_status] if args.key?(:enhanced_eligibility_status) @ineligibility_reason = args[:ineligibility_reason] if args.key?(:ineligibility_reason) @region_codes = args[:region_codes] if args.key?(:region_codes) @review_eligibility_status = args[:review_eligibility_status] if args.key?(:review_eligibility_status) @review_issues = args[:review_issues] if args.key?(:review_issues) end |