Class: Google::Apis::MybusinessverificationsV1::FetchVerificationOptionsRequest

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

Instance Method Summary collapse

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

#contextGoogle::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_codeString

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

Returns:

  • (String)


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