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.



170
171
172
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 170

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



162
163
164
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 162

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)


168
169
170
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 168

def language_code
  @language_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



175
176
177
178
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 175

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