Class: Google::Apis::MybusinessverificationsV1::FetchVerificationOptionsRequest
- Inherits:
-
Object
- Object
- Google::Apis::MybusinessverificationsV1::FetchVerificationOptionsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/mybusinessverifications_v1/classes.rb,
lib/google/apis/mybusinessverifications_v1/representations.rb,
lib/google/apis/mybusinessverifications_v1/representations.rb
Overview
Request message for Verifications.FetchVerificationOptions.
Instance Attribute Summary collapse
-
#context ⇒ Google::Apis::MybusinessverificationsV1::ServiceBusinessContext
Additional data for service business verification.
-
#language_code ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FetchVerificationOptionsRequest
constructor
A new instance of FetchVerificationOptionsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FetchVerificationOptionsRequest
Returns a new instance of FetchVerificationOptionsRequest.
165 166 167 |
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 165 def initialize(**args) update!(**args) end |
Instance Attribute Details
#context ⇒ Google::Apis::MybusinessverificationsV1::ServiceBusinessContext
Additional data for service business verification.
Corresponds to the JSON property context
157 158 159 |
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 157 def context @context end |
#language_code ⇒ String
Required. The BCP 47 language code representing the language that is to be
used for the verification process. Available options vary by language.
Corresponds to the JSON property languageCode
163 164 165 |
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 163 def language_code @language_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
170 171 172 173 |
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 170 def update!(**args) @context = args[:context] if args.key?(:context) @language_code = args[:language_code] if args.key?(:language_code) end |