Class: Google::Apis::ContactcenteraiplatformV1alpha1::ListContactCentersResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb,
lib/google/apis/contactcenteraiplatform_v1alpha1/representations.rb,
lib/google/apis/contactcenteraiplatform_v1alpha1/representations.rb

Overview

Message for response to listing ContactCenters

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListContactCentersResponse

Returns a new instance of ListContactCentersResponse.



406
407
408
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 406

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

Instance Attribute Details

#contact_centersArray<Google::Apis::ContactcenteraiplatformV1alpha1::ContactCenter>

The list of ContactCenter Corresponds to the JSON property contactCenters



394
395
396
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 394

def contact_centers
  @contact_centers
end

#next_page_tokenString

A token identifying a page of results the server should return. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


399
400
401
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 399

def next_page_token
  @next_page_token
end

#unreachableArray<String>

Locations that could not be reached. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


404
405
406
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 404

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



411
412
413
414
415
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 411

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