Class: Google::Apis::ContentV2_1::FreeListingsProgramStatus

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FreeListingsProgramStatus

Returns a new instance of FreeListingsProgramStatus.



3399
3400
3401
# File 'lib/google/apis/content_v2_1/classes.rb', line 3399

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#region_statusesArray<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



3392
3393
3394
# File 'lib/google/apis/content_v2_1/classes.rb', line 3392

def region_statuses
  @region_statuses
end

#stateString

If program is successfully onboarded for at least one region. Corresponds to the JSON property state

Returns:

  • (String)


3397
3398
3399
# File 'lib/google/apis/content_v2_1/classes.rb', line 3397

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3404
3405
3406
3407
# File 'lib/google/apis/content_v2_1/classes.rb', line 3404

def update!(**args)
  @region_statuses = args[:region_statuses] if args.key?(:region_statuses)
  @state = args[:state] if args.key?(:state)
end