Class: Google::Apis::ContentV2_1::RequestReviewFreeListingsRequest

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

Request message for the RequestReviewFreeListings Program method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RequestReviewFreeListingsRequest

Returns a new instance of RequestReviewFreeListingsRequest.



12272
12273
12274
# File 'lib/google/apis/content_v2_1/classes.rb', line 12272

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

Instance Attribute Details

#region_codeString

The code ISO 3166-1 alpha-2 of the country for which review is to be requested. Corresponds to the JSON property regionCode

Returns:

  • (String)


12270
12271
12272
# File 'lib/google/apis/content_v2_1/classes.rb', line 12270

def region_code
  @region_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12277
12278
12279
# File 'lib/google/apis/content_v2_1/classes.rb', line 12277

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