Constructor
new ContactCenterInsightsClient(optionsopt)
Construct an instance of ContactCenterInsightsClient.
Parameters:
| Name | Type | Attributes | Description | ||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
<optional> |
The configuration object. The options accepted by the constructor are described in detail in this document. The common options are: Properties
|
Members
apiEndpoint
The DNS address for this API service - same as servicePath(), exists for compatibility reasons.
port
The port for this API service.
scopes
The scopes needed to make gRPC calls for every method defined in this service.
servicePath
The DNS address for this API service.
Methods
analysisPath(project, location, conversation, analysis) → {string}
Return a fully-qualified analysis resource name string.
Parameters:
| Name | Type | Description |
|---|---|---|
project |
string | |
location |
string | |
conversation |
string | |
analysis |
string |
Returns:
| Type | Description |
|---|---|
| string |
Resource name string. |
(async) checkCreateAnalysisProgress(name) → {Promise}
Check the status of the long running operation returned by createAnalysis().
Parameters:
| Name | Type | Description |
|---|---|---|
name |
String |
The operation name that will be passed. |
Returns:
| Type | Description |
|---|---|
| Promise |
|
Example
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The parent resource of the analysis.
*/
// const parent = 'abc123'
/**
* Required. The analysis to create.
*/
// const analysis = {}
// Imports the Contactcenterinsights library
const {ContactCenterInsightsClient} = require('@google-cloud/contact-center-insights').v1;
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
async function callCreateAnalysis() {
// Construct request
const request = {
parent,
analysis,
};
// Run request
const [operation] = await contactcenterinsightsClient.createAnalysis(request);
const [response] = await operation.promise();
console.log(response);
}
callCreateAnalysis();
(async) checkCreateIssueModelProgress(name) → {Promise}
Check the status of the long running operation returned by createIssueModel().
Parameters:
| Name | Type | Description |
|---|---|---|
name |
String |
The operation name that will be passed. |
Returns:
| Type | Description |
|---|---|
| Promise |
|
Example
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The parent resource of the issue model.
*/
// const parent = 'abc123'
/**
* Required. The issue model to create.
*/
// const issueModel = {}
// Imports the Contactcenterinsights library
const {ContactCenterInsightsClient} = require('@google-cloud/contact-center-insights').v1;
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
async function callCreateIssueModel() {
// Construct request
const request = {
parent,
issueModel,
};
// Run request
const [operation] = await contactcenterinsightsClient.createIssueModel(request);
const [response] = await operation.promise();
console.log(response);
}
callCreateIssueModel();
(async) checkDeleteIssueModelProgress(name) → {Promise}
Check the status of the long running operation returned by deleteIssueModel().
Parameters:
| Name | Type | Description |
|---|---|---|
name |
String |
The operation name that will be passed. |
Returns:
| Type | Description |
|---|---|
| Promise |
|
Example
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The name of the issue model to delete.
*/
// const name = 'abc123'
// Imports the Contactcenterinsights library
const {ContactCenterInsightsClient} = require('@google-cloud/contact-center-insights').v1;
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
async function callDeleteIssueModel() {
// Construct request
const request = {
name,
};
// Run request
const [operation] = await contactcenterinsightsClient.deleteIssueModel(request);
const [response] = await operation.promise();
console.log(response);
}
callDeleteIssueModel();
(async) checkDeployIssueModelProgress(name) → {Promise}
Check the status of the long running operation returned by deployIssueModel().
Parameters:
| Name | Type | Description |
|---|---|---|
name |
String |
The operation name that will be passed. |
Returns:
| Type | Description |
|---|---|
| Promise |
|
Example
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The issue model to deploy.
*/
// const name = 'abc123'
// Imports the Contactcenterinsights library
const {ContactCenterInsightsClient} = require('@google-cloud/contact-center-insights').v1;
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
async function callDeployIssueModel() {
// Construct request
const request = {
name,
};
// Run request
const [operation] = await contactcenterinsightsClient.deployIssueModel(request);
const [response] = await operation.promise();
console.log(response);
}
callDeployIssueModel();
(async) checkExportInsightsDataProgress(name) → {Promise}
Check the status of the long running operation returned by exportInsightsData().
Parameters:
| Name | Type | Description |
|---|---|---|
name |
String |
The operation name that will be passed. |
Returns:
| Type | Description |
|---|---|
| Promise |
|
Example
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Specified if sink is a BigQuery table.
*/
// const bigQueryDestination = {}
/**
* Required. The parent resource to export data from.
*/
// const parent = 'abc123'
/**
* A filter to reduce results to a specific subset. Useful for exporting
* conversations with specific properties.
*/
// const filter = 'abc123'
/**
* A fully qualified KMS key name for BigQuery tables protected by CMEK.
* Format:
* projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}
*/
// const kmsKey = 'abc123'
/**
* Options for what to do if the destination table already exists.
*/
// const writeDisposition = {}
// Imports the Contactcenterinsights library
const {ContactCenterInsightsClient} = require('@google-cloud/contact-center-insights').v1;
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
async function callExportInsightsData() {
// Construct request
const request = {
parent,
};
// Run request
const [operation] = await contactcenterinsightsClient.exportInsightsData(request);
const [response] = await operation.promise();
console.log(response);
}
callExportInsightsData();
(async) checkUndeployIssueModelProgress(name) → {Promise}
Check the status of the long running operation returned by undeployIssueModel().
Parameters:
| Name | Type | Description |
|---|---|---|
name |
String |
The operation name that will be passed. |
Returns:
| Type | Description |
|---|---|
| Promise |
|
Example
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The issue model to undeploy.
*/
// const name = 'abc123'
// Imports the Contactcenterinsights library
const {ContactCenterInsightsClient} = require('@google-cloud/contact-center-insights').v1;
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
async function callUndeployIssueModel() {
// Construct request
const request = {
name,
};
// Run request
const [operation] = await contactcenterinsightsClient.undeployIssueModel(request);
const [response] = await operation.promise();
console.log(response);
}
callUndeployIssueModel();
close() → {Promise}
Terminate the gRPC channel and close the client.
The client will no longer be usable and all future behavior is undefined.
Returns:
| Type | Description |
|---|---|
| Promise |
A promise that resolves when the client is closed. |
conversationPath(project, location, conversation) → {string}
Return a fully-qualified conversation resource name string.
Parameters:
| Name | Type | Description |
|---|---|---|
project |
string | |
location |
string | |
conversation |
string |
Returns:
| Type | Description |
|---|---|
| string |
Resource name string. |
getProjectId() → {Promise}
Return the project ID used by this class.
Returns:
| Type | Description |
|---|---|
| Promise |
A promise that resolves to string containing the project ID. |
initialize() → {Promise}
Initialize the client. Performs asynchronous operations (such as authentication) and prepares the client. This function will be called automatically when any class method is called for the first time, but if you need to initialize it before calling an actual method, feel free to call initialize() directly.
You can await on this method if you want to make sure the client is initialized.
Returns:
| Type | Description |
|---|---|
| Promise |
A promise that resolves to an authenticated service stub. |
issueModelPath(project, location, issue_model) → {string}
Return a fully-qualified issueModel resource name string.
Parameters:
| Name | Type | Description |
|---|---|---|
project |
string | |
location |
string | |
issue_model |
string |
Returns:
| Type | Description |
|---|---|
| string |
Resource name string. |
issuePath(project, location, issue_model, issue) → {string}
Return a fully-qualified issue resource name string.
Parameters:
| Name | Type | Description |
|---|---|---|
project |
string | |
location |
string | |
issue_model |
string | |
issue |
string |
Returns:
| Type | Description |
|---|---|
| string |
Resource name string. |
listAnalysesAsync(request, optionsopt) → {Object}
Equivalent to listAnalyses, but returns an iterable object.
for-await-of syntax is used with the iterable to get response elements on-demand.
Parameters:
| Name | Type | Attributes | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
request |
Object |
The request object that will be sent. Properties
|
||||||||||||||||
options |
object |
<optional> |
Call options. See CallOptions for more details. |
Returns:
| Type | Description |
|---|---|
| Object |
An iterable Object that allows async iteration. When you iterate the returned iterable, each element will be an object representing Analysis. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the documentation for more details and examples. |
Example
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The parent resource of the analyses.
*/
// const parent = 'abc123'
/**
* The maximum number of analyses to return in the response. If this
* value is zero, the service will select a default size. A call might return
* fewer objects than requested. A non-empty `next_page_token` in the response
* indicates that more data is available.
*/
// const pageSize = 1234
/**
* The value returned by the last `ListAnalysesResponse`; indicates
* that this is a continuation of a prior `ListAnalyses` call and
* the system should return the next page of data.
*/
// const pageToken = 'abc123'
/**
* A filter to reduce results to a specific subset. Useful for querying
* conversations with specific properties.
*/
// const filter = 'abc123'
// Imports the Contactcenterinsights library
const {ContactCenterInsightsClient} = require('@google-cloud/contact-center-insights').v1;
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
async function callListAnalyses() {
// Construct request
const request = {
parent,
};
// Run request
const iterable = await contactcenterinsightsClient.listAnalysesAsync(request);
for await (const response of iterable) {
console.log(response);
}
}
callListAnalyses();
listAnalysesStream(request, optionsopt) → {Stream}
Equivalent to method.name.toCamelCase(), but returns a NodeJS Stream object.
Parameters:
| Name | Type | Attributes | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
request |
Object |
The request object that will be sent. Properties
|
||||||||||||||||
options |
object |
<optional> |
Call options. See CallOptions for more details. |
Returns:
| Type | Description |
|---|---|
| Stream |
An object stream which emits an object representing Analysis on 'data' event.
The client library will perform auto-pagination by default: it will call the API as many
times as needed. Note that it can affect your quota.
We recommend using |
listConversationsAsync(request, optionsopt) → {Object}
Equivalent to listConversations, but returns an iterable object.
for-await-of syntax is used with the iterable to get response elements on-demand.
Parameters:
| Name | Type | Attributes | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
request |
Object |
The request object that will be sent. Properties
|
|||||||||||||||||||
options |
object |
<optional> |
Call options. See CallOptions for more details. |
Returns:
| Type | Description |
|---|---|
| Object |
An iterable Object that allows async iteration. When you iterate the returned iterable, each element will be an object representing Conversation. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the documentation for more details and examples. |
Example
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The parent resource of the conversation.
*/
// const parent = 'abc123'
/**
* The maximum number of conversations to return in the response. A valid page
* size ranges from 0 to 1,000 inclusive. If the page size is zero or
* unspecified, a default page size of 100 will be chosen. Note that a call
* might return fewer results than the requested page size.
*/
// const pageSize = 1234
/**
* The value returned by the last `ListConversationsResponse`. This value
* indicates that this is a continuation of a prior `ListConversations` call
* and that the system should return the next page of data.
*/
// const pageToken = 'abc123'
/**
* A filter to reduce results to a specific subset. Useful for querying
* conversations with specific properties.
*/
// const filter = 'abc123'
/**
* The level of details of the conversation. Default is `BASIC`.
*/
// const view = {}
// Imports the Contactcenterinsights library
const {ContactCenterInsightsClient} = require('@google-cloud/contact-center-insights').v1;
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
async function callListConversations() {
// Construct request
const request = {
parent,
};
// Run request
const iterable = await contactcenterinsightsClient.listConversationsAsync(request);
for await (const response of iterable) {
console.log(response);
}
}
callListConversations();
listConversationsStream(request, optionsopt) → {Stream}
Equivalent to method.name.toCamelCase(), but returns a NodeJS Stream object.
Parameters:
| Name | Type | Attributes | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
request |
Object |
The request object that will be sent. Properties
|
|||||||||||||||||||
options |
object |
<optional> |
Call options. See CallOptions for more details. |
Returns:
| Type | Description |
|---|---|
| Stream |
An object stream which emits an object representing Conversation on 'data' event.
The client library will perform auto-pagination by default: it will call the API as many
times as needed. Note that it can affect your quota.
We recommend using |
listPhraseMatchersAsync(request, optionsopt) → {Object}
Equivalent to listPhraseMatchers, but returns an iterable object.
for-await-of syntax is used with the iterable to get response elements on-demand.
Parameters:
| Name | Type | Attributes | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
request |
Object |
The request object that will be sent. Properties
|
||||||||||||||||
options |
object |
<optional> |
Call options. See CallOptions for more details. |
Returns:
| Type | Description |
|---|---|
| Object |
An iterable Object that allows async iteration. When you iterate the returned iterable, each element will be an object representing PhraseMatcher. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the documentation for more details and examples. |
Example
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The parent resource of the phrase matcher.
*/
// const parent = 'abc123'
/**
* The maximum number of phrase matchers to return in the response. If this
* value is zero, the service will select a default size. A call might return
* fewer objects than requested. A non-empty `next_page_token` in the response
* indicates that more data is available.
*/
// const pageSize = 1234
/**
* The value returned by the last `ListPhraseMatchersResponse`. This value
* indicates that this is a continuation of a prior `ListPhraseMatchers` call
* and that the system should return the next page of data.
*/
// const pageToken = 'abc123'
/**
* A filter to reduce results to a specific subset. Useful for querying
* phrase matchers with specific properties.
*/
// const filter = 'abc123'
// Imports the Contactcenterinsights library
const {ContactCenterInsightsClient} = require('@google-cloud/contact-center-insights').v1;
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
async function callListPhraseMatchers() {
// Construct request
const request = {
parent,
};
// Run request
const iterable = await contactcenterinsightsClient.listPhraseMatchersAsync(request);
for await (const response of iterable) {
console.log(response);
}
}
callListPhraseMatchers();
listPhraseMatchersStream(request, optionsopt) → {Stream}
Equivalent to method.name.toCamelCase(), but returns a NodeJS Stream object.
Parameters:
| Name | Type | Attributes | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
request |
Object |
The request object that will be sent. Properties
|
||||||||||||||||
options |
object |
<optional> |
Call options. See CallOptions for more details. |
Returns:
| Type | Description |
|---|---|
| Stream |
An object stream which emits an object representing PhraseMatcher on 'data' event.
The client library will perform auto-pagination by default: it will call the API as many
times as needed. Note that it can affect your quota.
We recommend using |
listViewsAsync(request, optionsopt) → {Object}
Equivalent to listViews, but returns an iterable object.
for-await-of syntax is used with the iterable to get response elements on-demand.
Parameters:
| Name | Type | Attributes | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
request |
Object |
The request object that will be sent. Properties
|
|||||||||||||
options |
object |
<optional> |
Call options. See CallOptions for more details. |
Returns:
| Type | Description |
|---|---|
| Object |
An iterable Object that allows async iteration. When you iterate the returned iterable, each element will be an object representing View. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the documentation for more details and examples. |
Example
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The parent resource of the views.
*/
// const parent = 'abc123'
/**
* The maximum number of views to return in the response. If this
* value is zero, the service will select a default size. A call may return
* fewer objects than requested. A non-empty `next_page_token` in the response
* indicates that more data is available.
*/
// const pageSize = 1234
/**
* The value returned by the last `ListViewsResponse`; indicates
* that this is a continuation of a prior `ListViews` call and
* the system should return the next page of data.
*/
// const pageToken = 'abc123'
// Imports the Contactcenterinsights library
const {ContactCenterInsightsClient} = require('@google-cloud/contact-center-insights').v1;
// Instantiates a client
const contactcenterinsightsClient = new ContactCenterInsightsClient();
async function callListViews() {
// Construct request
const request = {
parent,
};
// Run request
const iterable = await contactcenterinsightsClient.listViewsAsync(request);
for await (const response of iterable) {
console.log(response);
}
}
callListViews();
listViewsStream(request, optionsopt) → {Stream}
Equivalent to method.name.toCamelCase(), but returns a NodeJS Stream object.
Parameters:
| Name | Type | Attributes | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
request |
Object |
The request object that will be sent. Properties
|
|||||||||||||
options |
object |
<optional> |
Call options. See CallOptions for more details. |
Returns:
| Type | Description |
|---|---|
| Stream |
An object stream which emits an object representing View on 'data' event.
The client library will perform auto-pagination by default: it will call the API as many
times as needed. Note that it can affect your quota.
We recommend using |
locationPath(project, location) → {string}
Return a fully-qualified location resource name string.
Parameters:
| Name | Type | Description |
|---|---|---|
project |
string | |
location |
string |
Returns:
| Type | Description |
|---|---|
| string |
Resource name string. |
matchAnalysisFromAnalysisName(analysisName) → {string}
Parse the analysis from Analysis resource.
Parameters:
| Name | Type | Description |
|---|---|---|
analysisName |
string |
A fully-qualified path representing Analysis resource. |
Returns:
| Type | Description |
|---|---|
| string |
A string representing the analysis. |
matchConversationFromAnalysisName(analysisName) → {string}
Parse the conversation from Analysis resource.
Parameters:
| Name | Type | Description |
|---|---|---|
analysisName |
string |
A fully-qualified path representing Analysis resource. |
Returns:
| Type | Description |
|---|---|
| string |
A string representing the conversation. |
matchConversationFromConversationName(conversationName) → {string}
Parse the conversation from Conversation resource.
Parameters:
| Name | Type | Description |
|---|---|---|
conversationName |
string |
A fully-qualified path representing Conversation resource. |
Returns:
| Type | Description |
|---|---|
| string |
A string representing the conversation. |
matchIssueFromIssueName(issueName) → {string}
Parse the issue from Issue resource.
Parameters:
| Name | Type | Description |
|---|---|---|
issueName |
string |
A fully-qualified path representing Issue resource. |
Returns:
| Type | Description |
|---|---|
| string |
A string representing the issue. |
matchIssueModelFromIssueModelName(issueModelName) → {string}
Parse the issue_model from IssueModel resource.
Parameters:
| Name | Type | Description |
|---|---|---|
issueModelName |
string |
A fully-qualified path representing IssueModel resource. |
Returns:
| Type | Description |
|---|---|
| string |
A string representing the issue_model. |
matchIssueModelFromIssueName(issueName) → {string}
Parse the issue_model from Issue resource.
Parameters:
| Name | Type | Description |
|---|---|---|
issueName |
string |
A fully-qualified path representing Issue resource. |
Returns:
| Type | Description |
|---|---|
| string |
A string representing the issue_model. |
matchLocationFromAnalysisName(analysisName) → {string}
Parse the location from Analysis resource.
Parameters:
| Name | Type | Description |
|---|---|---|
analysisName |
string |
A fully-qualified path representing Analysis resource. |
Returns:
| Type | Description |
|---|---|
| string |
A string representing the location. |
matchLocationFromConversationName(conversationName) → {string}
Parse the location from Conversation resource.
Parameters:
| Name | Type | Description |
|---|---|---|
conversationName |
string |
A fully-qualified path representing Conversation resource. |
Returns:
| Type | Description |
|---|---|
| string |
A string representing the location. |
matchLocationFromIssueModelName(issueModelName) → {string}
Parse the location from IssueModel resource.
Parameters:
| Name | Type | Description |
|---|---|---|
issueModelName |
string |
A fully-qualified path representing IssueModel resource. |
Returns:
| Type | Description |
|---|---|
| string |
A string representing the location. |
matchLocationFromIssueName(issueName) → {string}
Parse the location from Issue resource.
Parameters:
| Name | Type | Description |
|---|---|---|
issueName |
string |
A fully-qualified path representing Issue resource. |
Returns:
| Type | Description |
|---|---|
| string |
A string representing the location. |
matchLocationFromLocationName(locationName) → {string}
Parse the location from Location resource.
Parameters:
| Name | Type | Description |
|---|---|---|
locationName |
string |
A fully-qualified path representing Location resource. |
Returns:
| Type | Description |
|---|---|
| string |
A string representing the location. |
matchLocationFromPhraseMatcherName(phraseMatcherName) → {string}
Parse the location from PhraseMatcher resource.
Parameters:
| Name | Type | Description |
|---|---|---|
phraseMatcherName |
string |
A fully-qualified path representing PhraseMatcher resource. |
Returns:
| Type | Description |
|---|---|
| string |
A string representing the location. |
matchLocationFromSettingsName(settingsName) → {string}
Parse the location from Settings resource.
Parameters:
| Name | Type | Description |
|---|---|---|
settingsName |
string |
A fully-qualified path representing Settings resource. |
Returns:
| Type | Description |
|---|---|
| string |
A string representing the location. |
matchLocationFromViewName(viewName) → {string}
Parse the location from View resource.
Parameters:
| Name | Type | Description |
|---|---|---|
viewName |
string |
A fully-qualified path representing View resource. |
Returns:
| Type | Description |
|---|---|
| string |
A string representing the location. |
matchPhraseMatcherFromPhraseMatcherName(phraseMatcherName) → {string}
Parse the phrase_matcher from PhraseMatcher resource.
Parameters:
| Name | Type | Description |
|---|---|---|
phraseMatcherName |
string |
A fully-qualified path representing PhraseMatcher resource. |
Returns:
| Type | Description |
|---|---|
| string |
A string representing the phrase_matcher. |
matchProjectFromAnalysisName(analysisName) → {string}
Parse the project from Analysis resource.
Parameters:
| Name | Type | Description |
|---|---|---|
analysisName |
string |
A fully-qualified path representing Analysis resource. |
Returns:
| Type | Description |
|---|---|
| string |
A string representing the project. |
matchProjectFromConversationName(conversationName) → {string}
Parse the project from Conversation resource.
Parameters:
| Name | Type | Description |
|---|---|---|
conversationName |
string |
A fully-qualified path representing Conversation resource. |
Returns:
| Type | Description |
|---|---|
| string |
A string representing the project. |
matchProjectFromIssueModelName(issueModelName) → {string}
Parse the project from IssueModel resource.
Parameters:
| Name | Type | Description |
|---|---|---|
issueModelName |
string |
A fully-qualified path representing IssueModel resource. |
Returns:
| Type | Description |
|---|---|
| string |
A string representing the project. |
matchProjectFromIssueName(issueName) → {string}
Parse the project from Issue resource.
Parameters:
| Name | Type | Description |
|---|---|---|
issueName |
string |
A fully-qualified path representing Issue resource. |
Returns:
| Type | Description |
|---|---|
| string |
A string representing the project. |
matchProjectFromLocationName(locationName) → {string}
Parse the project from Location resource.
Parameters:
| Name | Type | Description |
|---|---|---|
locationName |
string |
A fully-qualified path representing Location resource. |
Returns:
| Type | Description |
|---|---|
| string |
A string representing the project. |
matchProjectFromPhraseMatcherName(phraseMatcherName) → {string}
Parse the project from PhraseMatcher resource.
Parameters:
| Name | Type | Description |
|---|---|---|
phraseMatcherName |
string |
A fully-qualified path representing PhraseMatcher resource. |
Returns:
| Type | Description |
|---|---|
| string |
A string representing the project. |
matchProjectFromSettingsName(settingsName) → {string}
Parse the project from Settings resource.
Parameters:
| Name | Type | Description |
|---|---|---|
settingsName |
string |
A fully-qualified path representing Settings resource. |
Returns:
| Type | Description |
|---|---|
| string |
A string representing the project. |
matchProjectFromViewName(viewName) → {string}
Parse the project from View resource.
Parameters:
| Name | Type | Description |
|---|---|---|
viewName |
string |
A fully-qualified path representing View resource. |
Returns:
| Type | Description |
|---|---|
| string |
A string representing the project. |
matchViewFromViewName(viewName) → {string}
Parse the view from View resource.
Parameters:
| Name | Type | Description |
|---|---|---|
viewName |
string |
A fully-qualified path representing View resource. |
Returns:
| Type | Description |
|---|---|
| string |
A string representing the view. |
phraseMatcherPath(project, location, phrase_matcher) → {string}
Return a fully-qualified phraseMatcher resource name string.
Parameters:
| Name | Type | Description |
|---|---|---|
project |
string | |
location |
string | |
phrase_matcher |
string |
Returns:
| Type | Description |
|---|---|
| string |
Resource name string. |
settingsPath(project, location) → {string}
Return a fully-qualified settings resource name string.
Parameters:
| Name | Type | Description |
|---|---|---|
project |
string | |
location |
string |
Returns:
| Type | Description |
|---|---|
| string |
Resource name string. |
viewPath(project, location, view) → {string}
Return a fully-qualified view resource name string.
Parameters:
| Name | Type | Description |
|---|---|---|
project |
string | |
location |
string | |
view |
string |
Returns:
| Type | Description |
|---|---|
| string |
Resource name string. |