Class: Google::Apis::MybusinessverificationsV1::ListVerificationsResponse

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

Response message for Verifications.ListVerifications.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListVerificationsResponse

Returns a new instance of ListVerificationsResponse.



217
218
219
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 217

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#next_page_tokenString

If the number of verifications exceeded the requested page size, this field will be populated with a token to fetch the next page of verification on a subsequent call. If there are no more attributes, this field will not be present in the response. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


210
211
212
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 210

def next_page_token
  @next_page_token
end

#verificationsArray<Google::Apis::MybusinessverificationsV1::Verification>

List of the verifications. Corresponds to the JSON property verifications



215
216
217
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 215

def verifications
  @verifications
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



222
223
224
225
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 222

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