Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListViewsResponse

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

Overview

The response of listing views.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1ListViewsResponse

Returns a new instance of GoogleCloudContactcenterinsightsV1ListViewsResponse.



2472
2473
2474
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2472

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

Instance Attribute Details

#next_page_tokenString

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


2465
2466
2467
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2465

def next_page_token
  @next_page_token
end

#viewsArray<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View>

The views that match the request. Corresponds to the JSON property views



2470
2471
2472
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2470

def views
  @views
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2477
2478
2479
2480
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2477

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