Class ContactCenterInsightsClient (2.33.0)

An API that lets users analyze and explore their business conversation data.

Equality

Instances of this class created via copy-construction or copy-assignment always compare equal. Instances created with equal std::shared_ptr<*Connection> objects compare equal. Objects that compare equal share the same underlying resources.

Performance

Creating a new instance of this class is a relatively expensive operation, new objects establish new connections to the service. In contrast, copy-construction, move-construction, and the corresponding assignment operations are relatively efficient as the copies share all underlying resources.

Thread Safety

Concurrent access to different instances of this class, even if they compare equal, is guaranteed to work. Two or more threads operating on the same instance of this class is not guaranteed to work. Since copy-construction and move-construction is a relatively efficient operation, consider using such a copy when using this class from multiple threads.

Constructors

ContactCenterInsightsClient(ContactCenterInsightsClient const &)

Copy and move support

Parameter
Name Description
ContactCenterInsightsClient const &

ContactCenterInsightsClient(ContactCenterInsightsClient &&)

Copy and move support

Parameter
Name Description
ContactCenterInsightsClient &&

ContactCenterInsightsClient(std::shared_ptr< ContactCenterInsightsConnection >, Options)

Parameters
Name Description
connection std::shared_ptr< ContactCenterInsightsConnection >
opts Options

Operators

operator=(ContactCenterInsightsClient const &)

Copy and move support

Parameter
Name Description
ContactCenterInsightsClient const &
Returns
Type Description
ContactCenterInsightsClient &

operator=(ContactCenterInsightsClient &&)

Copy and move support

Parameter
Name Description
ContactCenterInsightsClient &&
Returns
Type Description
ContactCenterInsightsClient &

Functions

CreateConversation(std::string const &, google::cloud::contactcenterinsights::v1::Conversation const &, std::string const &, Options)

Creates a conversation.

Note that this method does not support audio transcription or redaction. Use conversations.upload instead.

Parameters
Name Description
parent std::string const &

Required. The parent resource of the conversation.

conversation google::cloud::contactcenterinsights::v1::Conversation const &

Required. The conversation resource to create.

conversation_id std::string const &

A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used.
This value should be 4-64 characters and must match the regular expression ^[a-z0-9-]{4,64}$. Valid characters are [a-z][0-9]-

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::Conversation >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.Conversation) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

CreateConversation(google::cloud::contactcenterinsights::v1::CreateConversationRequest const &, Options)

Creates a conversation.

Note that this method does not support audio transcription or redaction. Use conversations.upload instead.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::CreateConversationRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.CreateConversationRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::Conversation >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.Conversation) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

UploadConversation(google::cloud::contactcenterinsights::v1::UploadConversationRequest const &, Options)

Create a long-running conversation upload operation.

This method differs from CreateConversation by allowing audio transcription and optional DLP redaction.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::UploadConversationRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.UploadConversationRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::Conversation > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.contactcenterinsights.v1.Conversation proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

UploadConversation(NoAwaitTag, google::cloud::contactcenterinsights::v1::UploadConversationRequest const &, Options)

Create a long-running conversation upload operation.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::contactcenterinsights::v1::UploadConversationRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

UploadConversation(google::longrunning::Operation const &, Options)

Create a long-running conversation upload operation.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::Conversation > >

UpdateConversation(google::cloud::contactcenterinsights::v1::Conversation const &, google::protobuf::FieldMask const &, Options)

Updates a conversation.

Parameters
Name Description
conversation google::cloud::contactcenterinsights::v1::Conversation const &

Required. The new values for the conversation.

update_mask google::protobuf::FieldMask const &

The list of fields to be updated. All possible fields can be updated by passing *, or a subset of the following updateable fields can be provided:

  • agent_id
  • language_code
  • labels
  • metadata
  • quality_metadata
  • call_metadata
  • start_time
  • expire_time or ttl
  • data_source.gcs_source.audio_uri or data_source.dialogflow_source.audio_uri
opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::Conversation >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.Conversation) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

UpdateConversation(google::cloud::contactcenterinsights::v1::UpdateConversationRequest const &, Options)

Updates a conversation.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::UpdateConversationRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.UpdateConversationRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::Conversation >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.Conversation) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetConversation(std::string const &, Options)

Gets a conversation.

Parameters
Name Description
name std::string const &

Required. The name of the conversation to get.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::Conversation >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.Conversation) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetConversation(google::cloud::contactcenterinsights::v1::GetConversationRequest const &, Options)

Gets a conversation.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::GetConversationRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.GetConversationRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::Conversation >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.Conversation) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

ListConversations(std::string const &, Options)

Lists conversations.

Parameters
Name Description
parent std::string const &

Required. The parent resource of the conversation.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::contactcenterinsights::v1::Conversation >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.contactcenterinsights.v1.Conversation, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

ListConversations(google::cloud::contactcenterinsights::v1::ListConversationsRequest, Options)

Lists conversations.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::ListConversationsRequest

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.ListConversationsRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::contactcenterinsights::v1::Conversation >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.contactcenterinsights.v1.Conversation, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

DeleteConversation(std::string const &, Options)

Deletes a conversation.

Parameters
Name Description
name std::string const &

Required. The name of the conversation to delete.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
Status

a Status object. If the request failed, the status contains the details of the failure.

DeleteConversation(google::cloud::contactcenterinsights::v1::DeleteConversationRequest const &, Options)

Deletes a conversation.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::DeleteConversationRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.DeleteConversationRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
Status

a Status object. If the request failed, the status contains the details of the failure.

CreateAnalysis(std::string const &, google::cloud::contactcenterinsights::v1::Analysis const &, Options)

Creates an analysis.

The long running operation is done when the analysis has completed.

Parameters
Name Description
parent std::string const &

Required. The parent resource of the analysis.

analysis google::cloud::contactcenterinsights::v1::Analysis const &

Required. The analysis to create.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::Analysis > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.contactcenterinsights.v1.Analysis proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

CreateAnalysis(NoAwaitTag, std::string const &, google::cloud::contactcenterinsights::v1::Analysis const &, Options)

Creates an analysis.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
parent std::string const &
analysis google::cloud::contactcenterinsights::v1::Analysis const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

CreateAnalysis(google::cloud::contactcenterinsights::v1::CreateAnalysisRequest const &, Options)

Creates an analysis.

The long running operation is done when the analysis has completed.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::CreateAnalysisRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.CreateAnalysisRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::Analysis > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.contactcenterinsights.v1.Analysis proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

CreateAnalysis(NoAwaitTag, google::cloud::contactcenterinsights::v1::CreateAnalysisRequest const &, Options)

Creates an analysis.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::contactcenterinsights::v1::CreateAnalysisRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

CreateAnalysis(google::longrunning::Operation const &, Options)

Creates an analysis.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::Analysis > >

GetAnalysis(std::string const &, Options)

Gets an analysis.

Parameters
Name Description
name std::string const &

Required. The name of the analysis to get.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::Analysis >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.Analysis) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetAnalysis(google::cloud::contactcenterinsights::v1::GetAnalysisRequest const &, Options)

Gets an analysis.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::GetAnalysisRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.GetAnalysisRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::Analysis >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.Analysis) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

ListAnalyses(std::string const &, Options)

Lists analyses.

Parameters
Name Description
parent std::string const &

Required. The parent resource of the analyses.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::contactcenterinsights::v1::Analysis >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.contactcenterinsights.v1.Analysis, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

ListAnalyses(google::cloud::contactcenterinsights::v1::ListAnalysesRequest, Options)

Lists analyses.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::ListAnalysesRequest

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.ListAnalysesRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::contactcenterinsights::v1::Analysis >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.contactcenterinsights.v1.Analysis, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

DeleteAnalysis(std::string const &, Options)

Deletes an analysis.

Parameters
Name Description
name std::string const &

Required. The name of the analysis to delete.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
Status

a Status object. If the request failed, the status contains the details of the failure.

DeleteAnalysis(google::cloud::contactcenterinsights::v1::DeleteAnalysisRequest const &, Options)

Deletes an analysis.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::DeleteAnalysisRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
Status

a Status object. If the request failed, the status contains the details of the failure.

BulkAnalyzeConversations(std::string const &, std::string const &, float, Options)

Analyzes multiple conversations in a single request.

Parameters
Name Description
parent std::string const &

Required. The parent resource to create analyses in.

filter std::string const &

Required. Filter used to select the subset of conversations to analyze.

analysis_percentage float

Required. Percentage of selected conversation to analyze, between [0, 100].

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::BulkAnalyzeConversationsResponse > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

BulkAnalyzeConversations(NoAwaitTag, std::string const &, std::string const &, float, Options)

Analyzes multiple conversations in a single request.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
parent std::string const &
filter std::string const &
analysis_percentage float
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

BulkAnalyzeConversations(google::cloud::contactcenterinsights::v1::BulkAnalyzeConversationsRequest const &, Options)

Analyzes multiple conversations in a single request.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::BulkAnalyzeConversationsRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::BulkAnalyzeConversationsResponse > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

BulkAnalyzeConversations(NoAwaitTag, google::cloud::contactcenterinsights::v1::BulkAnalyzeConversationsRequest const &, Options)

Analyzes multiple conversations in a single request.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::contactcenterinsights::v1::BulkAnalyzeConversationsRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

BulkAnalyzeConversations(google::longrunning::Operation const &, Options)

Analyzes multiple conversations in a single request.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::BulkAnalyzeConversationsResponse > >

BulkDeleteConversations(std::string const &, std::string const &, Options)

Deletes multiple conversations in a single request.

Parameters
Name Description
parent std::string const &

Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location}

filter std::string const &

Filter used to select the subset of conversations to delete.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::BulkDeleteConversationsResponse > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.contactcenterinsights.v1.BulkDeleteConversationsResponse proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

BulkDeleteConversations(NoAwaitTag, std::string const &, std::string const &, Options)

Deletes multiple conversations in a single request.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
parent std::string const &
filter std::string const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

BulkDeleteConversations(google::cloud::contactcenterinsights::v1::BulkDeleteConversationsRequest const &, Options)

Deletes multiple conversations in a single request.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::BulkDeleteConversationsRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.BulkDeleteConversationsRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::BulkDeleteConversationsResponse > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.contactcenterinsights.v1.BulkDeleteConversationsResponse proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

BulkDeleteConversations(NoAwaitTag, google::cloud::contactcenterinsights::v1::BulkDeleteConversationsRequest const &, Options)

Deletes multiple conversations in a single request.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::contactcenterinsights::v1::BulkDeleteConversationsRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

BulkDeleteConversations(google::longrunning::Operation const &, Options)

Deletes multiple conversations in a single request.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::BulkDeleteConversationsResponse > >

IngestConversations(std::string const &, Options)

Imports conversations and processes them according to the user's configuration.

Parameters
Name Description
parent std::string const &

Required. The parent resource for new conversations.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::IngestConversationsResponse > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.contactcenterinsights.v1.IngestConversationsResponse proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

IngestConversations(NoAwaitTag, std::string const &, Options)

Imports conversations and processes them according to the user's configuration.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
parent std::string const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

IngestConversations(google::cloud::contactcenterinsights::v1::IngestConversationsRequest const &, Options)

Imports conversations and processes them according to the user's configuration.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::IngestConversationsRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.IngestConversationsRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::IngestConversationsResponse > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.contactcenterinsights.v1.IngestConversationsResponse proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

IngestConversations(NoAwaitTag, google::cloud::contactcenterinsights::v1::IngestConversationsRequest const &, Options)

Imports conversations and processes them according to the user's configuration.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::contactcenterinsights::v1::IngestConversationsRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

IngestConversations(google::longrunning::Operation const &, Options)

Imports conversations and processes them according to the user's configuration.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::IngestConversationsResponse > >

ExportInsightsData(std::string const &, Options)

Export insights data to a destination defined in the request body.

Parameters
Name Description
parent std::string const &

Required. The parent resource to export data from.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::ExportInsightsDataResponse > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

ExportInsightsData(NoAwaitTag, std::string const &, Options)

Export insights data to a destination defined in the request body.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
parent std::string const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

ExportInsightsData(google::cloud::contactcenterinsights::v1::ExportInsightsDataRequest const &, Options)

Export insights data to a destination defined in the request body.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::ExportInsightsDataRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::ExportInsightsDataResponse > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.contactcenterinsights.v1.ExportInsightsDataResponse proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

ExportInsightsData(NoAwaitTag, google::cloud::contactcenterinsights::v1::ExportInsightsDataRequest const &, Options)

Export insights data to a destination defined in the request body.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::contactcenterinsights::v1::ExportInsightsDataRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

ExportInsightsData(google::longrunning::Operation const &, Options)

Export insights data to a destination defined in the request body.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::ExportInsightsDataResponse > >

CreateIssueModel(std::string const &, google::cloud::contactcenterinsights::v1::IssueModel const &, Options)

Creates an issue model.

Parameters
Name Description
parent std::string const &

Required. The parent resource of the issue model.

issue_model google::cloud::contactcenterinsights::v1::IssueModel const &

Required. The issue model to create.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::IssueModel > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.contactcenterinsights.v1.IssueModel proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

CreateIssueModel(NoAwaitTag, std::string const &, google::cloud::contactcenterinsights::v1::IssueModel const &, Options)

Creates an issue model.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
parent std::string const &
issue_model google::cloud::contactcenterinsights::v1::IssueModel const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

CreateIssueModel(google::cloud::contactcenterinsights::v1::CreateIssueModelRequest const &, Options)

Creates an issue model.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::CreateIssueModelRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.CreateIssueModelRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::IssueModel > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.contactcenterinsights.v1.IssueModel proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

CreateIssueModel(NoAwaitTag, google::cloud::contactcenterinsights::v1::CreateIssueModelRequest const &, Options)

Creates an issue model.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::contactcenterinsights::v1::CreateIssueModelRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

CreateIssueModel(google::longrunning::Operation const &, Options)

Creates an issue model.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::IssueModel > >

UpdateIssueModel(google::cloud::contactcenterinsights::v1::IssueModel const &, google::protobuf::FieldMask const &, Options)

Updates an issue model.

Parameters
Name Description
issue_model google::cloud::contactcenterinsights::v1::IssueModel const &

Required. The new values for the issue model.

update_mask google::protobuf::FieldMask const &

The list of fields to be updated.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::IssueModel >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.IssueModel) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

UpdateIssueModel(google::cloud::contactcenterinsights::v1::UpdateIssueModelRequest const &, Options)

Updates an issue model.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::UpdateIssueModelRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.UpdateIssueModelRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::IssueModel >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.IssueModel) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetIssueModel(std::string const &, Options)

Gets an issue model.

Parameters
Name Description
name std::string const &

Required. The name of the issue model to get.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::IssueModel >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.IssueModel) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetIssueModel(google::cloud::contactcenterinsights::v1::GetIssueModelRequest const &, Options)

Gets an issue model.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::GetIssueModelRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.GetIssueModelRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::IssueModel >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.IssueModel) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

ListIssueModels(std::string const &, Options)

Lists issue models.

Parameters
Name Description
parent std::string const &

Required. The parent resource of the issue model.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::ListIssueModelsResponse >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.ListIssueModelsResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

ListIssueModels(google::cloud::contactcenterinsights::v1::ListIssueModelsRequest const &, Options)

Lists issue models.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::ListIssueModelsRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.ListIssueModelsRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::ListIssueModelsResponse >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.ListIssueModelsResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

DeleteIssueModel(std::string const &, Options)

Deletes an issue model.

Parameters
Name Description
name std::string const &

Required. The name of the issue model to delete.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::DeleteIssueModelMetadata > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

DeleteIssueModel(NoAwaitTag, std::string const &, Options)

Deletes an issue model.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
name std::string const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

DeleteIssueModel(google::cloud::contactcenterinsights::v1::DeleteIssueModelRequest const &, Options)

Deletes an issue model.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::DeleteIssueModelRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.DeleteIssueModelRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::DeleteIssueModelMetadata > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

DeleteIssueModel(NoAwaitTag, google::cloud::contactcenterinsights::v1::DeleteIssueModelRequest const &, Options)

Deletes an issue model.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::contactcenterinsights::v1::DeleteIssueModelRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

DeleteIssueModel(google::longrunning::Operation const &, Options)

Deletes an issue model.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::DeleteIssueModelMetadata > >

DeployIssueModel(std::string const &, Options)

Deploys an issue model.

Returns an error if a model is already deployed. An issue model can only be used in analysis after it has been deployed.

Parameters
Name Description
name std::string const &

Required. The issue model to deploy.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::DeployIssueModelResponse > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.contactcenterinsights.v1.DeployIssueModelResponse proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

DeployIssueModel(NoAwaitTag, std::string const &, Options)

Deploys an issue model.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
name std::string const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

DeployIssueModel(google::cloud::contactcenterinsights::v1::DeployIssueModelRequest const &, Options)

Deploys an issue model.

Returns an error if a model is already deployed. An issue model can only be used in analysis after it has been deployed.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::DeployIssueModelRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.DeployIssueModelRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::DeployIssueModelResponse > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.contactcenterinsights.v1.DeployIssueModelResponse proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

DeployIssueModel(NoAwaitTag, google::cloud::contactcenterinsights::v1::DeployIssueModelRequest const &, Options)

Deploys an issue model.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::contactcenterinsights::v1::DeployIssueModelRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

DeployIssueModel(google::longrunning::Operation const &, Options)

Deploys an issue model.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::DeployIssueModelResponse > >

UndeployIssueModel(std::string const &, Options)

Undeploys an issue model.

An issue model can not be used in analysis after it has been undeployed.

Parameters
Name Description
name std::string const &

Required. The issue model to undeploy.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::UndeployIssueModelResponse > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

UndeployIssueModel(NoAwaitTag, std::string const &, Options)

Undeploys an issue model.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
name std::string const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

UndeployIssueModel(google::cloud::contactcenterinsights::v1::UndeployIssueModelRequest const &, Options)

Undeploys an issue model.

An issue model can not be used in analysis after it has been undeployed.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::UndeployIssueModelRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.UndeployIssueModelRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::UndeployIssueModelResponse > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

UndeployIssueModel(NoAwaitTag, google::cloud::contactcenterinsights::v1::UndeployIssueModelRequest const &, Options)

Undeploys an issue model.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::contactcenterinsights::v1::UndeployIssueModelRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

UndeployIssueModel(google::longrunning::Operation const &, Options)

Undeploys an issue model.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::UndeployIssueModelResponse > >

ExportIssueModel(std::string const &, Options)

Exports an issue model to the provided destination.

Parameters
Name Description
name std::string const &

Required. The issue model to export.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::ExportIssueModelResponse > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.contactcenterinsights.v1.ExportIssueModelResponse proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

ExportIssueModel(NoAwaitTag, std::string const &, Options)

Exports an issue model to the provided destination.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
name std::string const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

ExportIssueModel(google::cloud::contactcenterinsights::v1::ExportIssueModelRequest const &, Options)

Exports an issue model to the provided destination.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::ExportIssueModelRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.ExportIssueModelRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::ExportIssueModelResponse > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.contactcenterinsights.v1.ExportIssueModelResponse proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

ExportIssueModel(NoAwaitTag, google::cloud::contactcenterinsights::v1::ExportIssueModelRequest const &, Options)

Exports an issue model to the provided destination.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::contactcenterinsights::v1::ExportIssueModelRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

ExportIssueModel(google::longrunning::Operation const &, Options)

Exports an issue model to the provided destination.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::ExportIssueModelResponse > >

ImportIssueModel(std::string const &, Options)

Imports an issue model from a Cloud Storage bucket.

Parameters
Name Description
parent std::string const &

Required. The parent resource of the issue model.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::ImportIssueModelResponse > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.contactcenterinsights.v1.ImportIssueModelResponse proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

ImportIssueModel(NoAwaitTag, std::string const &, Options)

Imports an issue model from a Cloud Storage bucket.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
parent std::string const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

ImportIssueModel(google::cloud::contactcenterinsights::v1::ImportIssueModelRequest const &, Options)

Imports an issue model from a Cloud Storage bucket.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::ImportIssueModelRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.ImportIssueModelRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::ImportIssueModelResponse > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.contactcenterinsights.v1.ImportIssueModelResponse proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

ImportIssueModel(NoAwaitTag, google::cloud::contactcenterinsights::v1::ImportIssueModelRequest const &, Options)

Imports an issue model from a Cloud Storage bucket.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::contactcenterinsights::v1::ImportIssueModelRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

ImportIssueModel(google::longrunning::Operation const &, Options)

Imports an issue model from a Cloud Storage bucket.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::ImportIssueModelResponse > >

GetIssue(std::string const &, Options)

Gets an issue.

Parameters
Name Description
name std::string const &

Required. The name of the issue to get.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::Issue >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.Issue) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetIssue(google::cloud::contactcenterinsights::v1::GetIssueRequest const &, Options)

Gets an issue.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::GetIssueRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.GetIssueRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::Issue >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.Issue) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

ListIssues(std::string const &, Options)

Lists issues.

Parameters
Name Description
parent std::string const &

Required. The parent resource of the issue.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::ListIssuesResponse >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.ListIssuesResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

ListIssues(google::cloud::contactcenterinsights::v1::ListIssuesRequest const &, Options)

Lists issues.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::ListIssuesRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.ListIssuesRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::ListIssuesResponse >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.ListIssuesResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

UpdateIssue(google::cloud::contactcenterinsights::v1::Issue const &, google::protobuf::FieldMask const &, Options)

Updates an issue.

Parameters
Name Description
issue google::cloud::contactcenterinsights::v1::Issue const &

Required. The new values for the issue.

update_mask google::protobuf::FieldMask const &

The list of fields to be updated.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::Issue >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.Issue) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

UpdateIssue(google::cloud::contactcenterinsights::v1::UpdateIssueRequest const &, Options)

Updates an issue.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::UpdateIssueRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.UpdateIssueRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::Issue >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.Issue) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

DeleteIssue(std::string const &, Options)

Deletes an issue.

Parameters
Name Description
name std::string const &

Required. The name of the issue to delete.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
Status

a Status object. If the request failed, the status contains the details of the failure.

DeleteIssue(google::cloud::contactcenterinsights::v1::DeleteIssueRequest const &, Options)

Deletes an issue.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::DeleteIssueRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.DeleteIssueRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
Status

a Status object. If the request failed, the status contains the details of the failure.

CalculateIssueModelStats(std::string const &, Options)

Gets an issue model's statistics.

Parameters
Name Description
issue_model std::string const &

Required. The resource name of the issue model to query against.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::CalculateIssueModelStatsResponse >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

CalculateIssueModelStats(google::cloud::contactcenterinsights::v1::CalculateIssueModelStatsRequest const &, Options)

Gets an issue model's statistics.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::CalculateIssueModelStatsRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::CalculateIssueModelStatsResponse >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

CreatePhraseMatcher(std::string const &, google::cloud::contactcenterinsights::v1::PhraseMatcher const &, Options)

Creates a phrase matcher.

Parameters
Name Description
parent std::string const &

Required. The parent resource of the phrase matcher. Required. The location to create a phrase matcher for. Format: projects/<ProjectID>/locations/<LocationID> or projects/<ProjectNumber>/locations/<LocationID>

phrase_matcher google::cloud::contactcenterinsights::v1::PhraseMatcher const &

Required. The phrase matcher resource to create.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::PhraseMatcher >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.PhraseMatcher) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

CreatePhraseMatcher(google::cloud::contactcenterinsights::v1::CreatePhraseMatcherRequest const &, Options)

Creates a phrase matcher.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::CreatePhraseMatcherRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::PhraseMatcher >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.PhraseMatcher) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetPhraseMatcher(std::string const &, Options)

Gets a phrase matcher.

Parameters
Name Description
name std::string const &

Required. The name of the phrase matcher to get.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::PhraseMatcher >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.PhraseMatcher) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetPhraseMatcher(google::cloud::contactcenterinsights::v1::GetPhraseMatcherRequest const &, Options)

Gets a phrase matcher.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::GetPhraseMatcherRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.GetPhraseMatcherRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::PhraseMatcher >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.PhraseMatcher) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

ListPhraseMatchers(std::string const &, Options)

Lists phrase matchers.

Parameters
Name Description
parent std::string const &

Required. The parent resource of the phrase matcher.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::contactcenterinsights::v1::PhraseMatcher >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.contactcenterinsights.v1.PhraseMatcher, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

ListPhraseMatchers(google::cloud::contactcenterinsights::v1::ListPhraseMatchersRequest, Options)

Lists phrase matchers.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::ListPhraseMatchersRequest

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.ListPhraseMatchersRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::contactcenterinsights::v1::PhraseMatcher >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.contactcenterinsights.v1.PhraseMatcher, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

DeletePhraseMatcher(std::string const &, Options)

Deletes a phrase matcher.

Parameters
Name Description
name std::string const &

Required. The name of the phrase matcher to delete.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
Status

a Status object. If the request failed, the status contains the details of the failure.

DeletePhraseMatcher(google::cloud::contactcenterinsights::v1::DeletePhraseMatcherRequest const &, Options)

Deletes a phrase matcher.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::DeletePhraseMatcherRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.DeletePhraseMatcherRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
Status

a Status object. If the request failed, the status contains the details of the failure.

UpdatePhraseMatcher(google::cloud::contactcenterinsights::v1::PhraseMatcher const &, google::protobuf::FieldMask const &, Options)

Updates a phrase matcher.

Parameters
Name Description
phrase_matcher google::cloud::contactcenterinsights::v1::PhraseMatcher const &

Required. The new values for the phrase matcher.

update_mask google::protobuf::FieldMask const &

The list of fields to be updated.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::PhraseMatcher >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.PhraseMatcher) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

UpdatePhraseMatcher(google::cloud::contactcenterinsights::v1::UpdatePhraseMatcherRequest const &, Options)

Updates a phrase matcher.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::UpdatePhraseMatcherRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.UpdatePhraseMatcherRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::PhraseMatcher >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.PhraseMatcher) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

CalculateStats(std::string const &, Options)

Gets conversation statistics.

Parameters
Name Description
location std::string const &

Required. The location of the conversations.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::CalculateStatsResponse >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.CalculateStatsResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

CalculateStats(google::cloud::contactcenterinsights::v1::CalculateStatsRequest const &, Options)

Gets conversation statistics.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::CalculateStatsRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.CalculateStatsRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::CalculateStatsResponse >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.CalculateStatsResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetSettings(std::string const &, Options)

Gets project-level settings.

Parameters
Name Description
name std::string const &

Required. The name of the settings resource to get.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::Settings >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.Settings) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetSettings(google::cloud::contactcenterinsights::v1::GetSettingsRequest const &, Options)

Gets project-level settings.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::GetSettingsRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.GetSettingsRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::Settings >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.Settings) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

UpdateSettings(google::cloud::contactcenterinsights::v1::Settings const &, google::protobuf::FieldMask const &, Options)

Updates project-level settings.

Parameters
Name Description
settings google::cloud::contactcenterinsights::v1::Settings const &

Required. The new settings values.

update_mask google::protobuf::FieldMask const &

Required. The list of fields to be updated.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::Settings >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.Settings) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

UpdateSettings(google::cloud::contactcenterinsights::v1::UpdateSettingsRequest const &, Options)

Updates project-level settings.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::UpdateSettingsRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.UpdateSettingsRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::Settings >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.Settings) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

CreateAnalysisRule(std::string const &, google::cloud::contactcenterinsights::v1::AnalysisRule const &, Options)

Creates a analysis rule.

Parameters
Name Description
parent std::string const &

Required. The parent resource of the analysis rule. Required. The location to create a analysis rule for. Format: projects/<ProjectID>/locations/<LocationID> or projects/<ProjectNumber>/locations/<LocationID>

analysis_rule google::cloud::contactcenterinsights::v1::AnalysisRule const &

Required. The analysis rule resource to create.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::AnalysisRule >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.AnalysisRule) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

CreateAnalysisRule(google::cloud::contactcenterinsights::v1::CreateAnalysisRuleRequest const &, Options)

Creates a analysis rule.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::CreateAnalysisRuleRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.CreateAnalysisRuleRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::AnalysisRule >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.AnalysisRule) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetAnalysisRule(std::string const &, Options)

Get a analysis rule.

Parameters
Name Description
name std::string const &

Required. The name of the AnalysisRule to get.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::AnalysisRule >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.AnalysisRule) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetAnalysisRule(google::cloud::contactcenterinsights::v1::GetAnalysisRuleRequest const &, Options)

Get a analysis rule.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::GetAnalysisRuleRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.GetAnalysisRuleRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::AnalysisRule >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.AnalysisRule) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

ListAnalysisRules(std::string const &, Options)

Lists analysis rules.

Parameters
Name Description
parent std::string const &

Required. The parent resource of the analysis rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::contactcenterinsights::v1::AnalysisRule >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.contactcenterinsights.v1.AnalysisRule, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

ListAnalysisRules(google::cloud::contactcenterinsights::v1::ListAnalysisRulesRequest, Options)

Lists analysis rules.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::ListAnalysisRulesRequest

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.ListAnalysisRulesRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::contactcenterinsights::v1::AnalysisRule >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.contactcenterinsights.v1.AnalysisRule, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

UpdateAnalysisRule(google::cloud::contactcenterinsights::v1::AnalysisRule const &, google::protobuf::FieldMask const &, Options)

Updates a analysis rule.

Parameters
Name Description
analysis_rule google::cloud::contactcenterinsights::v1::AnalysisRule const &

Required. The new analysis rule.

update_mask google::protobuf::FieldMask const &

Optional. The list of fields to be updated. If the update_mask is not provided, the update will be applied to all fields.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::AnalysisRule >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.AnalysisRule) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

UpdateAnalysisRule(google::cloud::contactcenterinsights::v1::UpdateAnalysisRuleRequest const &, Options)

Updates a analysis rule.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::UpdateAnalysisRuleRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.UpdateAnalysisRuleRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::AnalysisRule >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.AnalysisRule) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

DeleteAnalysisRule(std::string const &, Options)

Deletes a analysis rule.

Parameters
Name Description
name std::string const &

Required. The name of the analysis rule to delete.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
Status

a Status object. If the request failed, the status contains the details of the failure.

DeleteAnalysisRule(google::cloud::contactcenterinsights::v1::DeleteAnalysisRuleRequest const &, Options)

Deletes a analysis rule.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::DeleteAnalysisRuleRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.DeleteAnalysisRuleRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
Status

a Status object. If the request failed, the status contains the details of the failure.

GetEncryptionSpec(std::string const &, Options)

Gets location-level encryption key specification.

Parameters
Name Description
name std::string const &

Required. The name of the encryption spec resource to get.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::EncryptionSpec >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.EncryptionSpec) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetEncryptionSpec(google::cloud::contactcenterinsights::v1::GetEncryptionSpecRequest const &, Options)

Gets location-level encryption key specification.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::GetEncryptionSpecRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.GetEncryptionSpecRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::EncryptionSpec >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.EncryptionSpec) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

InitializeEncryptionSpec(google::cloud::contactcenterinsights::v1::EncryptionSpec const &, Options)

Initializes a location-level encryption key specification.

An error will result if the location has resources already created before the initialization. After the encryption specification is initialized at a location, it is immutable and all newly created resources under the location will be encrypted with the existing specification.

Parameters
Name Description
encryption_spec google::cloud::contactcenterinsights::v1::EncryptionSpec const &

Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kms_key_name field is left empty, no encryption will be enforced.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::InitializeEncryptionSpecResponse > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.contactcenterinsights.v1.InitializeEncryptionSpecResponse proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

InitializeEncryptionSpec(NoAwaitTag, google::cloud::contactcenterinsights::v1::EncryptionSpec const &, Options)

Initializes a location-level encryption key specification.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
encryption_spec google::cloud::contactcenterinsights::v1::EncryptionSpec const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

InitializeEncryptionSpec(google::cloud::contactcenterinsights::v1::InitializeEncryptionSpecRequest const &, Options)

Initializes a location-level encryption key specification.

An error will result if the location has resources already created before the initialization. After the encryption specification is initialized at a location, it is immutable and all newly created resources under the location will be encrypted with the existing specification.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::InitializeEncryptionSpecRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.InitializeEncryptionSpecRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::InitializeEncryptionSpecResponse > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.contactcenterinsights.v1.InitializeEncryptionSpecResponse proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

InitializeEncryptionSpec(NoAwaitTag, google::cloud::contactcenterinsights::v1::InitializeEncryptionSpecRequest const &, Options)

Initializes a location-level encryption key specification.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::contactcenterinsights::v1::InitializeEncryptionSpecRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

InitializeEncryptionSpec(google::longrunning::Operation const &, Options)

Initializes a location-level encryption key specification.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::InitializeEncryptionSpecResponse > >

CreateView(std::string const &, google::cloud::contactcenterinsights::v1::View const &, Options)

Creates a view.

Parameters
Name Description
parent std::string const &

Required. The parent resource of the view. Required. The location to create a view for. Format: projects/<ProjectID>/locations/<LocationID> or projects/<ProjectNumber>/locations/<LocationID>

view google::cloud::contactcenterinsights::v1::View const &

Required. The view resource to create.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::View >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.View) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

CreateView(google::cloud::contactcenterinsights::v1::CreateViewRequest const &, Options)

Creates a view.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::CreateViewRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.CreateViewRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::View >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.View) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetView(std::string const &, Options)

Gets a view.

Parameters
Name Description
name std::string const &

Required. The name of the view to get.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::View >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.View) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetView(google::cloud::contactcenterinsights::v1::GetViewRequest const &, Options)

Gets a view.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::GetViewRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.GetViewRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::View >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.View) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

ListViews(std::string const &, Options)

Lists views.

Parameters
Name Description
parent std::string const &

Required. The parent resource of the views.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::contactcenterinsights::v1::View >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.contactcenterinsights.v1.View, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

ListViews(google::cloud::contactcenterinsights::v1::ListViewsRequest, Options)

Lists views.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::ListViewsRequest

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.ListViewsRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::contactcenterinsights::v1::View >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.contactcenterinsights.v1.View, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

UpdateView(google::cloud::contactcenterinsights::v1::View const &, google::protobuf::FieldMask const &, Options)

Updates a view.

Parameters
Name Description
view google::cloud::contactcenterinsights::v1::View const &

Required. The new view.

update_mask google::protobuf::FieldMask const &

The list of fields to be updated.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::View >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.View) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

UpdateView(google::cloud::contactcenterinsights::v1::UpdateViewRequest const &, Options)

Updates a view.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::UpdateViewRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.UpdateViewRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::View >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.View) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

DeleteView(std::string const &, Options)

Deletes a view.

Parameters
Name Description
name std::string const &

Required. The name of the view to delete.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
Status

a Status object. If the request failed, the status contains the details of the failure.

DeleteView(google::cloud::contactcenterinsights::v1::DeleteViewRequest const &, Options)

Deletes a view.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::DeleteViewRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.DeleteViewRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
Status

a Status object. If the request failed, the status contains the details of the failure.

QueryMetrics(google::cloud::contactcenterinsights::v1::QueryMetricsRequest const &, Options)

Query metrics.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::QueryMetricsRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.QueryMetricsRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::QueryMetricsResponse > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.contactcenterinsights.v1.QueryMetricsResponse proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

QueryMetrics(NoAwaitTag, google::cloud::contactcenterinsights::v1::QueryMetricsRequest const &, Options)

Query metrics.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::contactcenterinsights::v1::QueryMetricsRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

QueryMetrics(google::longrunning::Operation const &, Options)

Query metrics.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::QueryMetricsResponse > >

CreateQaQuestion(std::string const &, google::cloud::contactcenterinsights::v1::QaQuestion const &, std::string const &, Options)

Create a QaQuestion.

Parameters
Name Description
parent std::string const &

Required. The parent resource of the QaQuestion.

qa_question google::cloud::contactcenterinsights::v1::QaQuestion const &

Required. The QaQuestion to create.

qa_question_id std::string const &

Optional. A unique ID for the new question. This ID will become the final component of the question's resource name. If no ID is specified, a server-generated ID will be used.
This value should be 4-64 characters and must match the regular expression ^[a-z0-9-]{4,64}$. Valid characters are [a-z][0-9]-.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::QaQuestion >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.QaQuestion) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

CreateQaQuestion(google::cloud::contactcenterinsights::v1::CreateQaQuestionRequest const &, Options)

Create a QaQuestion.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::CreateQaQuestionRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.CreateQaQuestionRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::QaQuestion >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.QaQuestion) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetQaQuestion(std::string const &, Options)

Gets a QaQuestion.

Parameters
Name Description
name std::string const &

Required. The name of the QaQuestion to get.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::QaQuestion >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.QaQuestion) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetQaQuestion(google::cloud::contactcenterinsights::v1::GetQaQuestionRequest const &, Options)

Gets a QaQuestion.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::GetQaQuestionRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.GetQaQuestionRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::QaQuestion >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.QaQuestion) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

UpdateQaQuestion(google::cloud::contactcenterinsights::v1::QaQuestion const &, google::protobuf::FieldMask const &, Options)

Updates a QaQuestion.

Parameters
Name Description
qa_question google::cloud::contactcenterinsights::v1::QaQuestion const &

Required. The QaQuestion to update.

update_mask google::protobuf::FieldMask const &

Required. The list of fields to be updated. All possible fields can be updated by passing *, or a subset of the following updateable fields can be provided:

  • abbreviation
  • answer_choices
  • answer_instructions
  • order
  • question_body
  • tags
opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::QaQuestion >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.QaQuestion) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

UpdateQaQuestion(google::cloud::contactcenterinsights::v1::UpdateQaQuestionRequest const &, Options)

Updates a QaQuestion.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::UpdateQaQuestionRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.UpdateQaQuestionRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::QaQuestion >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.QaQuestion) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

DeleteQaQuestion(std::string const &, Options)

Deletes a QaQuestion.

Parameters
Name Description
name std::string const &

Required. The name of the QaQuestion to delete.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
Status

a Status object. If the request failed, the status contains the details of the failure.

DeleteQaQuestion(google::cloud::contactcenterinsights::v1::DeleteQaQuestionRequest const &, Options)

Deletes a QaQuestion.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::DeleteQaQuestionRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.DeleteQaQuestionRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
Status

a Status object. If the request failed, the status contains the details of the failure.

ListQaQuestions(std::string const &, Options)

Lists QaQuestions.

Parameters
Name Description
parent std::string const &

Required. The parent resource of the questions.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::contactcenterinsights::v1::QaQuestion >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.contactcenterinsights.v1.QaQuestion, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

ListQaQuestions(google::cloud::contactcenterinsights::v1::ListQaQuestionsRequest, Options)

Lists QaQuestions.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::ListQaQuestionsRequest

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.ListQaQuestionsRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::contactcenterinsights::v1::QaQuestion >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.contactcenterinsights.v1.QaQuestion, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

CreateQaScorecard(std::string const &, google::cloud::contactcenterinsights::v1::QaScorecard const &, std::string const &, Options)

Create a QaScorecard.

Parameters
Name Description
parent std::string const &

Required. The parent resource of the QaScorecard.

qa_scorecard google::cloud::contactcenterinsights::v1::QaScorecard const &

Required. The QaScorecard to create.

qa_scorecard_id std::string const &

Optional. A unique ID for the new QaScorecard. This ID will become the final component of the QaScorecard's resource name. If no ID is specified, a server-generated ID will be used.
This value should be 4-64 characters and must match the regular expression ^[a-z0-9-]{4,64}$. Valid characters are [a-z][0-9]-.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::QaScorecard >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.QaScorecard) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

CreateQaScorecard(google::cloud::contactcenterinsights::v1::CreateQaScorecardRequest const &, Options)

Create a QaScorecard.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::CreateQaScorecardRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.CreateQaScorecardRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::QaScorecard >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.QaScorecard) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetQaScorecard(std::string const &, Options)

Gets a QaScorecard.

Parameters
Name Description
name std::string const &

Required. The name of the QaScorecard to get.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::QaScorecard >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.QaScorecard) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetQaScorecard(google::cloud::contactcenterinsights::v1::GetQaScorecardRequest const &, Options)

Gets a QaScorecard.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::GetQaScorecardRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.GetQaScorecardRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::QaScorecard >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.QaScorecard) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

UpdateQaScorecard(google::cloud::contactcenterinsights::v1::QaScorecard const &, google::protobuf::FieldMask const &, Options)

Updates a QaScorecard.

Parameters
Name Description
qa_scorecard google::cloud::contactcenterinsights::v1::QaScorecard const &

Required. The QaScorecard to update.

update_mask google::protobuf::FieldMask const &

Required. The list of fields to be updated. All possible fields can be updated by passing *, or a subset of the following updateable fields can be provided:

  • description
  • display_name
opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::QaScorecard >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.QaScorecard) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

UpdateQaScorecard(google::cloud::contactcenterinsights::v1::UpdateQaScorecardRequest const &, Options)

Updates a QaScorecard.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::UpdateQaScorecardRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.UpdateQaScorecardRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::QaScorecard >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.QaScorecard) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

DeleteQaScorecard(std::string const &, Options)

Deletes a QaScorecard.

Parameters
Name Description
name std::string const &

Required. The name of the QaScorecard to delete.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
Status

a Status object. If the request failed, the status contains the details of the failure.

DeleteQaScorecard(google::cloud::contactcenterinsights::v1::DeleteQaScorecardRequest const &, Options)

Deletes a QaScorecard.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::DeleteQaScorecardRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.DeleteQaScorecardRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
Status

a Status object. If the request failed, the status contains the details of the failure.

ListQaScorecards(std::string const &, Options)

Lists QaScorecards.

Parameters
Name Description
parent std::string const &

Required. The parent resource of the scorecards.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::contactcenterinsights::v1::QaScorecard >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.contactcenterinsights.v1.QaScorecard, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

ListQaScorecards(google::cloud::contactcenterinsights::v1::ListQaScorecardsRequest, Options)

Lists QaScorecards.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::ListQaScorecardsRequest

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.ListQaScorecardsRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::contactcenterinsights::v1::QaScorecard >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.contactcenterinsights.v1.QaScorecard, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

CreateQaScorecardRevision(std::string const &, google::cloud::contactcenterinsights::v1::QaScorecardRevision const &, std::string const &, Options)

Creates a QaScorecardRevision.

Parameters
Name Description
parent std::string const &

Required. The parent resource of the QaScorecardRevision.

qa_scorecard_revision google::cloud::contactcenterinsights::v1::QaScorecardRevision const &

Required. The QaScorecardRevision to create.

qa_scorecard_revision_id std::string const &

Optional. A unique ID for the new QaScorecardRevision. This ID will become the final component of the QaScorecardRevision's resource name. If no ID is specified, a server-generated ID will be used.
This value should be 4-64 characters and must match the regular expression ^[a-z0-9-]{4,64}$. Valid characters are [a-z][0-9]-.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::QaScorecardRevision >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.QaScorecardRevision) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

CreateQaScorecardRevision(google::cloud::contactcenterinsights::v1::CreateQaScorecardRevisionRequest const &, Options)

Creates a QaScorecardRevision.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::CreateQaScorecardRevisionRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.CreateQaScorecardRevisionRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::QaScorecardRevision >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.QaScorecardRevision) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetQaScorecardRevision(std::string const &, Options)

Gets a QaScorecardRevision.

Parameters
Name Description
name std::string const &

Required. The name of the QaScorecardRevision to get.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::QaScorecardRevision >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.QaScorecardRevision) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetQaScorecardRevision(google::cloud::contactcenterinsights::v1::GetQaScorecardRevisionRequest const &, Options)

Gets a QaScorecardRevision.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::GetQaScorecardRevisionRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.GetQaScorecardRevisionRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::QaScorecardRevision >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.QaScorecardRevision) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

TuneQaScorecardRevision(std::string const &, std::string const &, bool, Options)

Fine tune one or more QaModels.

Parameters
Name Description
parent std::string const &

Required. The parent resource for new fine tuning job instance.

filter std::string const &

Required. Filter for selecting the feedback labels that needs to be used for training. This filter can be used to limit the feedback labels used for tuning to a feedback labels created or updated for a specific time-window etc.

validate_only bool

Optional. Run in validate only mode, no fine tuning will actually run. Data quality validations like training data distributions will run. Even when set to false, the data quality validations will still run but once the validations complete we will proceed with the fine tune, if applicable.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::TuneQaScorecardRevisionResponse > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.contactcenterinsights.v1.TuneQaScorecardRevisionResponse proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

TuneQaScorecardRevision(NoAwaitTag, std::string const &, std::string const &, bool, Options)

Fine tune one or more QaModels.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
parent std::string const &
filter std::string const &
validate_only bool
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

TuneQaScorecardRevision(google::cloud::contactcenterinsights::v1::TuneQaScorecardRevisionRequest const &, Options)

Fine tune one or more QaModels.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::TuneQaScorecardRevisionRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.TuneQaScorecardRevisionRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::TuneQaScorecardRevisionResponse > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.contactcenterinsights.v1.TuneQaScorecardRevisionResponse proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

TuneQaScorecardRevision(NoAwaitTag, google::cloud::contactcenterinsights::v1::TuneQaScorecardRevisionRequest const &, Options)

Fine tune one or more QaModels.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::contactcenterinsights::v1::TuneQaScorecardRevisionRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

TuneQaScorecardRevision(google::longrunning::Operation const &, Options)

Fine tune one or more QaModels.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::TuneQaScorecardRevisionResponse > >

DeployQaScorecardRevision(google::cloud::contactcenterinsights::v1::DeployQaScorecardRevisionRequest const &, Options)

Deploy a QaScorecardRevision.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::DeployQaScorecardRevisionRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.DeployQaScorecardRevisionRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::QaScorecardRevision >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.QaScorecardRevision) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

UndeployQaScorecardRevision(google::cloud::contactcenterinsights::v1::UndeployQaScorecardRevisionRequest const &, Options)

Undeploy a QaScorecardRevision.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::UndeployQaScorecardRevisionRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.UndeployQaScorecardRevisionRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::QaScorecardRevision >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.QaScorecardRevision) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

DeleteQaScorecardRevision(std::string const &, Options)

Deletes a QaScorecardRevision.

Parameters
Name Description
name std::string const &

Required. The name of the QaScorecardRevision to delete.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
Status

a Status object. If the request failed, the status contains the details of the failure.

DeleteQaScorecardRevision(google::cloud::contactcenterinsights::v1::DeleteQaScorecardRevisionRequest const &, Options)

Deletes a QaScorecardRevision.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::DeleteQaScorecardRevisionRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.DeleteQaScorecardRevisionRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
Status

a Status object. If the request failed, the status contains the details of the failure.

ListQaScorecardRevisions(std::string const &, Options)

Lists all revisions under the parent QaScorecard.

Parameters
Name Description
parent std::string const &

Required. The parent resource of the scorecard revisions. To list all revisions of all scorecards, substitute the QaScorecard ID with a '-' character.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::contactcenterinsights::v1::QaScorecardRevision >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.contactcenterinsights.v1.QaScorecardRevision, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

ListQaScorecardRevisions(google::cloud::contactcenterinsights::v1::ListQaScorecardRevisionsRequest, Options)

Lists all revisions under the parent QaScorecard.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::ListQaScorecardRevisionsRequest

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.ListQaScorecardRevisionsRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::contactcenterinsights::v1::QaScorecardRevision >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.contactcenterinsights.v1.QaScorecardRevision, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

CreateFeedbackLabel(std::string const &, google::cloud::contactcenterinsights::v1::FeedbackLabel const &, std::string const &, Options)

Create feedback label.

Parameters
Name Description
parent std::string const &

Required. The parent resource of the feedback label.

feedback_label google::cloud::contactcenterinsights::v1::FeedbackLabel const &

Required. The feedback label to create.

feedback_label_id std::string const &

Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::FeedbackLabel >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.FeedbackLabel) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

CreateFeedbackLabel(google::cloud::contactcenterinsights::v1::CreateFeedbackLabelRequest const &, Options)

Create feedback label.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::CreateFeedbackLabelRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.CreateFeedbackLabelRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::FeedbackLabel >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.FeedbackLabel) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

ListFeedbackLabels(std::string const &, Options)

List feedback labels.

Parameters
Name Description
parent std::string const &

Required. The parent resource of the feedback labels.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::contactcenterinsights::v1::FeedbackLabel >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.contactcenterinsights.v1.FeedbackLabel, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

ListFeedbackLabels(google::cloud::contactcenterinsights::v1::ListFeedbackLabelsRequest, Options)

List feedback labels.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::ListFeedbackLabelsRequest

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.ListFeedbackLabelsRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::contactcenterinsights::v1::FeedbackLabel >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.contactcenterinsights.v1.FeedbackLabel, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

GetFeedbackLabel(std::string const &, Options)

Get feedback label.

Parameters
Name Description
name std::string const &

Required. The name of the feedback label to get.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::FeedbackLabel >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.FeedbackLabel) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetFeedbackLabel(google::cloud::contactcenterinsights::v1::GetFeedbackLabelRequest const &, Options)

Get feedback label.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::GetFeedbackLabelRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.GetFeedbackLabelRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::FeedbackLabel >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.FeedbackLabel) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

UpdateFeedbackLabel(google::cloud::contactcenterinsights::v1::FeedbackLabel const &, google::protobuf::FieldMask const &, Options)

Update feedback label.

Parameters
Name Description
feedback_label google::cloud::contactcenterinsights::v1::FeedbackLabel const &

Required. The feedback label to update.

update_mask google::protobuf::FieldMask const &

Required. The list of fields to be updated.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::FeedbackLabel >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.FeedbackLabel) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

UpdateFeedbackLabel(google::cloud::contactcenterinsights::v1::UpdateFeedbackLabelRequest const &, Options)

Update feedback label.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::UpdateFeedbackLabelRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.UpdateFeedbackLabelRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::FeedbackLabel >

the result of the RPC. The response message type (google.cloud.contactcenterinsights.v1.FeedbackLabel) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

DeleteFeedbackLabel(std::string const &, Options)

Delete feedback label.

Parameters
Name Description
name std::string const &

Required. The name of the feedback label to delete.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
Status

a Status object. If the request failed, the status contains the details of the failure.

DeleteFeedbackLabel(google::cloud::contactcenterinsights::v1::DeleteFeedbackLabelRequest const &, Options)

Delete feedback label.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::DeleteFeedbackLabelRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.DeleteFeedbackLabelRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
Status

a Status object. If the request failed, the status contains the details of the failure.

ListAllFeedbackLabels(std::string const &, Options)

List all feedback labels by project number.

Parameters
Name Description
parent std::string const &

Required. The parent resource of all feedback labels per project.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::contactcenterinsights::v1::FeedbackLabel >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.contactcenterinsights.v1.FeedbackLabel, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

ListAllFeedbackLabels(google::cloud::contactcenterinsights::v1::ListAllFeedbackLabelsRequest, Options)

List all feedback labels by project number.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::ListAllFeedbackLabelsRequest

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.ListAllFeedbackLabelsRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::cloud::contactcenterinsights::v1::FeedbackLabel >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.contactcenterinsights.v1.FeedbackLabel, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

BulkUploadFeedbackLabels(std::string const &, Options)

Upload feedback labels in bulk.

Parameters
Name Description
parent std::string const &

Required. The parent resource for new feedback labels.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::BulkUploadFeedbackLabelsResponse > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.contactcenterinsights.v1.BulkUploadFeedbackLabelsResponse proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

BulkUploadFeedbackLabels(NoAwaitTag, std::string const &, Options)

Upload feedback labels in bulk.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
parent std::string const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

BulkUploadFeedbackLabels(google::cloud::contactcenterinsights::v1::BulkUploadFeedbackLabelsRequest const &, Options)

Upload feedback labels in bulk.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::BulkUploadFeedbackLabelsRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.BulkUploadFeedbackLabelsRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::BulkUploadFeedbackLabelsResponse > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.contactcenterinsights.v1.BulkUploadFeedbackLabelsResponse proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

BulkUploadFeedbackLabels(NoAwaitTag, google::cloud::contactcenterinsights::v1::BulkUploadFeedbackLabelsRequest const &, Options)

Upload feedback labels in bulk.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::contactcenterinsights::v1::BulkUploadFeedbackLabelsRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

BulkUploadFeedbackLabels(google::longrunning::Operation const &, Options)

Upload feedback labels in bulk.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::BulkUploadFeedbackLabelsResponse > >

BulkDownloadFeedbackLabels(std::string const &, Options)

Download feedback labels in bulk.

Parameters
Name Description
parent std::string const &

Required. The parent resource for new feedback labels.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::BulkDownloadFeedbackLabelsResponse > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsResponse proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

BulkDownloadFeedbackLabels(NoAwaitTag, std::string const &, Options)

Download feedback labels in bulk.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
parent std::string const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

BulkDownloadFeedbackLabels(google::cloud::contactcenterinsights::v1::BulkDownloadFeedbackLabelsRequest const &, Options)

Download feedback labels in bulk.

Parameters
Name Description
request google::cloud::contactcenterinsights::v1::BulkDownloadFeedbackLabelsRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::BulkDownloadFeedbackLabelsResponse > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a google.cloud.contactcenterinsights.v1.BulkDownloadFeedbackLabelsResponse proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

BulkDownloadFeedbackLabels(NoAwaitTag, google::cloud::contactcenterinsights::v1::BulkDownloadFeedbackLabelsRequest const &, Options)

Download feedback labels in bulk.

Specifying the NoAwaitTag immediately returns the [google::longrunning::Operation] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.

Parameters
Name Description
NoAwaitTag
request google::cloud::contactcenterinsights::v1::BulkDownloadFeedbackLabelsRequest const &
opts Options
Returns
Type Description
StatusOr< google::longrunning::Operation >

BulkDownloadFeedbackLabels(google::longrunning::Operation const &, Options)

Download feedback labels in bulk.

This method accepts a google::longrunning::Operation that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.

Parameters
Name Description
operation google::longrunning::Operation const &
opts Options
Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::BulkDownloadFeedbackLabelsResponse > >

ListOperations(std::string const &, std::string const &, Options)

Lists operations that match the specified filter in the request.

If the server doesn't support this method, it returns UNIMPLEMENTED.

Parameters
Name Description
name std::string const &

The name of the operation's parent resource.

filter std::string const &

The standard list filter.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::longrunning::Operation >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.longrunning.Operation, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

ListOperations(google::longrunning::ListOperationsRequest, Options)

Lists operations that match the specified filter in the request.

If the server doesn't support this method, it returns UNIMPLEMENTED.

Parameters
Name Description
request google::longrunning::ListOperationsRequest

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.longrunning.ListOperationsRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StreamRange< google::longrunning::Operation >

a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.longrunning.Operation, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

GetOperation(std::string const &, Options)

Gets the latest state of a long-running operation.

Clients can use this method to poll the operation result at intervals as recommended by the API service.

Parameters
Name Description
name std::string const &

The name of the operation resource.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::longrunning::Operation >

the result of the RPC. The response message type (google.longrunning.Operation) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

GetOperation(google::longrunning::GetOperationRequest const &, Options)

Gets the latest state of a long-running operation.

Clients can use this method to poll the operation result at intervals as recommended by the API service.

Parameters
Name Description
request google::longrunning::GetOperationRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.longrunning.GetOperationRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
StatusOr< google::longrunning::Operation >

the result of the RPC. The response message type (google.longrunning.Operation) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the StatusOr contains the error details.

CancelOperation(std::string const &, Options)

Starts asynchronous cancellation on a long-running operation.

The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

Parameters
Name Description
name std::string const &

The name of the operation resource to be cancelled.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
Status

a Status object. If the request failed, the status contains the details of the failure.

CancelOperation(google::longrunning::CancelOperationRequest const &, Options)

Starts asynchronous cancellation on a long-running operation.

The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

Parameters
Name Description
request google::longrunning::CancelOperationRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.longrunning.CancelOperationRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
Type Description
Status

a Status object. If the request failed, the status contains the details of the failure.