Class: Google::Apis::MybusinessverificationsV1::Verification
- Inherits:
-
Object
- Object
- Google::Apis::MybusinessverificationsV1::Verification
- 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
A verification represents a verification attempt on a location.
Instance Attribute Summary collapse
-
#announcement ⇒ String
Optional.
-
#create_time ⇒ String
The timestamp when the verification is requested.
-
#method_prop ⇒ String
The method of the verification.
-
#name ⇒ String
Resource name of the verification.
-
#state ⇒ String
The state of the verification.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Verification
constructor
A new instance of Verification.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Verification
Returns a new instance of Verification.
432 433 434 |
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 432 def initialize(**args) update!(**args) end |
Instance Attribute Details
#announcement ⇒ String
Optional. Response announcement set only if the method is VETTED_PARTNER.
Corresponds to the JSON property announcement
410 411 412 |
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 410 def announcement @announcement end |
#create_time ⇒ String
The timestamp when the verification is requested.
Corresponds to the JSON property createTime
415 416 417 |
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 415 def create_time @create_time end |
#method_prop ⇒ String
The method of the verification.
Corresponds to the JSON property method
420 421 422 |
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 420 def method_prop @method_prop end |
#name ⇒ String
Resource name of the verification.
Corresponds to the JSON property name
425 426 427 |
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 425 def name @name end |
#state ⇒ String
The state of the verification.
Corresponds to the JSON property state
430 431 432 |
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 430 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
437 438 439 440 441 442 443 |
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 437 def update!(**args) @announcement = args[:announcement] if args.key?(:announcement) @create_time = args[:create_time] if args.key?(:create_time) @method_prop = args[:method_prop] if args.key?(:method_prop) @name = args[:name] if args.key?(:name) @state = args[:state] if args.key?(:state) end |