Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse

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 from a ListAuthorizedViews request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse

Returns a new instance of GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse.



6818
6819
6820
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6818

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

Instance Attribute Details

#authorized_viewsArray<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView>

The AuthorizedViews under the parent. Corresponds to the JSON property authorizedViews



6810
6811
6812
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6810

def authorized_views
  @authorized_views
end

#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)


6816
6817
6818
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6816

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6823
6824
6825
6826
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6823

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