Contact Center AI Insights V1 API - Class Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::ServiceStub (v0.14.0)

Reference documentation and code samples for the Contact Center AI Insights V1 API class Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::ServiceStub.

REST service stub for the ContactCenterInsights service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.

Inherits

  • Object

Methods

#bulk_analyze_conversations

def bulk_analyze_conversations(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the bulk_analyze_conversations REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#calculate_issue_model_stats

def calculate_issue_model_stats(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ContactCenterInsights::V1::CalculateIssueModelStatsResponse

Baseline implementation for the calculate_issue_model_stats REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#calculate_stats

def calculate_stats(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ContactCenterInsights::V1::CalculateStatsResponse

Baseline implementation for the calculate_stats REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_analysis

def create_analysis(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_analysis REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_conversation

def create_conversation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ContactCenterInsights::V1::Conversation

Baseline implementation for the create_conversation REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_issue_model

def create_issue_model(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_issue_model REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_phrase_matcher

def create_phrase_matcher(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ContactCenterInsights::V1::PhraseMatcher

Baseline implementation for the create_phrase_matcher REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_view

def create_view(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ContactCenterInsights::V1::View

Baseline implementation for the create_view REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_analysis

def delete_analysis(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_analysis REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_conversation

def delete_conversation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_conversation REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_issue

def delete_issue(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_issue REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_issue_model

def delete_issue_model(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_issue_model REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_phrase_matcher

def delete_phrase_matcher(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_phrase_matcher REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_view

def delete_view(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_view REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#deploy_issue_model

def deploy_issue_model(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the deploy_issue_model REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#export_insights_data

def export_insights_data(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the export_insights_data REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_analysis

def get_analysis(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ContactCenterInsights::V1::Analysis

Baseline implementation for the get_analysis REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_conversation

def get_conversation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ContactCenterInsights::V1::Conversation

Baseline implementation for the get_conversation REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_issue

def get_issue(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ContactCenterInsights::V1::Issue

Baseline implementation for the get_issue REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_issue_model

def get_issue_model(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ContactCenterInsights::V1::IssueModel

Baseline implementation for the get_issue_model REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_phrase_matcher

def get_phrase_matcher(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ContactCenterInsights::V1::PhraseMatcher

Baseline implementation for the get_phrase_matcher REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_settings

def get_settings(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ContactCenterInsights::V1::Settings

Baseline implementation for the get_settings REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_view

def get_view(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ContactCenterInsights::V1::View

Baseline implementation for the get_view REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#ingest_conversations

def ingest_conversations(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the ingest_conversations REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#initialize

def initialize(endpoint:, credentials:) -> ServiceStub
Returns

#list_analyses

def list_analyses(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ContactCenterInsights::V1::ListAnalysesResponse

Baseline implementation for the list_analyses REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_conversations

def list_conversations(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ContactCenterInsights::V1::ListConversationsResponse

Baseline implementation for the list_conversations REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_issue_models

def list_issue_models(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ContactCenterInsights::V1::ListIssueModelsResponse

Baseline implementation for the list_issue_models REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_issues

def list_issues(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ContactCenterInsights::V1::ListIssuesResponse

Baseline implementation for the list_issues REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_phrase_matchers

def list_phrase_matchers(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ContactCenterInsights::V1::ListPhraseMatchersResponse

Baseline implementation for the list_phrase_matchers REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_views

def list_views(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ContactCenterInsights::V1::ListViewsResponse

Baseline implementation for the list_views REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#undeploy_issue_model

def undeploy_issue_model(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the undeploy_issue_model REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_conversation

def update_conversation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ContactCenterInsights::V1::Conversation

Baseline implementation for the update_conversation REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_issue

def update_issue(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ContactCenterInsights::V1::Issue

Baseline implementation for the update_issue REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_issue_model

def update_issue_model(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ContactCenterInsights::V1::IssueModel

Baseline implementation for the update_issue_model REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_phrase_matcher

def update_phrase_matcher(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ContactCenterInsights::V1::PhraseMatcher

Baseline implementation for the update_phrase_matcher REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_settings

def update_settings(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ContactCenterInsights::V1::Settings

Baseline implementation for the update_settings REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_view

def update_view(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ContactCenterInsights::V1::View

Baseline implementation for the update_view REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#upload_conversation

def upload_conversation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the upload_conversation REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)