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.
171 172 173 |
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 171 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
163 164 165 |
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 163 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
169 170 171 |
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 169 def language_code @language_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
176 177 178 179 |
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 176 def update!(**args) @context = args[:context] if args.key?(:context) @language_code = args[:language_code] if args.key?(:language_code) end |