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 eligibilityStatus will go from
WARNING
toDISAPPROVED
. -
#eligibility_status ⇒ String
Eligibility status of the standard free listing program.
-
#onboarding_issues ⇒ Array<String>
Issues that must be fixed to be eligible for review.
-
#region_codes ⇒ Array<String>
The two-letter ISO 3166-1 alpha-2 codes for all the regions with the same
eligibilityStatus
andreviewEligibility
. -
#review_eligibility_status ⇒ String
If a program is eligible for review in a specific region.
-
#review_ineligibility_reason ⇒ String
Review ineligibility reason if account is not eligible for review.
-
#review_ineligibility_reason_description ⇒ String
Reason a program in a specific region isn’t eligible for review.
-
#review_ineligibility_reason_details ⇒ Google::Apis::ContentV2_1::FreeListingsProgramStatusReviewIneligibilityReasonDetails
Additional details for review ineligibility reasons.
-
#review_issues ⇒ Array<String>
Issues evaluated in the 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.
4867 4868 4869 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 4867 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disapproval_date ⇒ String
Date by which eligibilityStatus will go from WARNING
to DISAPPROVED
. Only
visible when your eligibilityStatus is WARNING. In ISO 8601 format: YYYY-MM-DD
.
Corresponds to the JSON property disapprovalDate
4820 4821 4822 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 4820 def disapproval_date @disapproval_date end |
#eligibility_status ⇒ String
Eligibility status of the standard free listing program.
Corresponds to the JSON property eligibilityStatus
4825 4826 4827 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 4825 def eligibility_status @eligibility_status end |
#onboarding_issues ⇒ Array<String>
Issues that must be fixed to be eligible for review.
Corresponds to the JSON property onboardingIssues
4830 4831 4832 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 4830 def onboarding_issues @onboarding_issues 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
4837 4838 4839 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 4837 def region_codes @region_codes end |
#review_eligibility_status ⇒ String
If a program is eligible for review in a specific region. Only visible if
eligibilityStatus
is DISAPPROVED
.
Corresponds to the JSON property reviewEligibilityStatus
4843 4844 4845 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 4843 def review_eligibility_status @review_eligibility_status end |
#review_ineligibility_reason ⇒ String
Review ineligibility reason if account is not eligible for review.
Corresponds to the JSON property reviewIneligibilityReason
4848 4849 4850 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 4848 def review_ineligibility_reason @review_ineligibility_reason end |
#review_ineligibility_reason_description ⇒ String
Reason a program in a specific region isn’t eligible for review. Only visible
if reviewEligibilityStatus
is INELIGIBLE
.
Corresponds to the JSON property reviewIneligibilityReasonDescription
4854 4855 4856 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 4854 def review_ineligibility_reason_description @review_ineligibility_reason_description end |
#review_ineligibility_reason_details ⇒ Google::Apis::ContentV2_1::FreeListingsProgramStatusReviewIneligibilityReasonDetails
Additional details for review ineligibility reasons.
Corresponds to the JSON property reviewIneligibilityReasonDetails
4859 4860 4861 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 4859 def review_ineligibility_reason_details @review_ineligibility_reason_details end |
#review_issues ⇒ Array<String>
Issues evaluated in the review process. Fix all issues before requesting a
review.
Corresponds to the JSON property reviewIssues
4865 4866 4867 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 4865 def review_issues @review_issues end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 4872 def update!(**args) @disapproval_date = args[:disapproval_date] if args.key?(:disapproval_date) @eligibility_status = args[:eligibility_status] if args.key?(:eligibility_status) @onboarding_issues = args[:onboarding_issues] if args.key?(:onboarding_issues) @region_codes = args[:region_codes] if args.key?(:region_codes) @review_eligibility_status = args[:review_eligibility_status] if args.key?(:review_eligibility_status) @review_ineligibility_reason = args[:review_ineligibility_reason] if args.key?(:review_ineligibility_reason) @review_ineligibility_reason_description = args[:review_ineligibility_reason_description] if args.key?(:review_ineligibility_reason_description) @review_ineligibility_reason_details = args[:review_ineligibility_reason_details] if args.key?(:review_ineligibility_reason_details) @review_issues = args[:review_issues] if args.key?(:review_issues) end |