Constructor
new RecommenderClient(optionsopt, gaxInstanceopt)
Construct an instance of RecommenderClient.
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
|
||||||||||||||||||||||||||||||||||||||||||||||||
gaxInstance |
gax |
<optional> |
loaded instance of |
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
billingAccountLocationInsightTypeConfigPath(billing_account, location, insight_type) → {string}
Return a fully-qualified billingAccountLocationInsightTypeConfig resource name string.
Parameters:
Name | Type | Description |
---|---|---|
billing_account |
string | |
location |
string | |
insight_type |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
billingAccountLocationInsightTypeInsightPath(billing_account, location, insight_type, insight) → {string}
Return a fully-qualified billingAccountLocationInsightTypeInsight resource name string.
Parameters:
Name | Type | Description |
---|---|---|
billing_account |
string | |
location |
string | |
insight_type |
string | |
insight |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
billingAccountLocationInsightTypePath(billing_account, location, insight_type) → {string}
Return a fully-qualified billingAccountLocationInsightType resource name string.
Parameters:
Name | Type | Description |
---|---|---|
billing_account |
string | |
location |
string | |
insight_type |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
billingAccountLocationRecommenderConfigPath(billing_account, location, recommender) → {string}
Return a fully-qualified billingAccountLocationRecommenderConfig resource name string.
Parameters:
Name | Type | Description |
---|---|---|
billing_account |
string | |
location |
string | |
recommender |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
billingAccountLocationRecommenderPath(billing_account, location, recommender) → {string}
Return a fully-qualified billingAccountLocationRecommender resource name string.
Parameters:
Name | Type | Description |
---|---|---|
billing_account |
string | |
location |
string | |
recommender |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
billingAccountLocationRecommenderRecommendationPath(billing_account, location, recommender, recommendation) → {string}
Return a fully-qualified billingAccountLocationRecommenderRecommendation resource name string.
Parameters:
Name | Type | Description |
---|---|---|
billing_account |
string | |
location |
string | |
recommender |
string | |
recommendation |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
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. |
folderLocationInsightTypeInsightPath(folder, location, insight_type, insight) → {string}
Return a fully-qualified folderLocationInsightTypeInsight resource name string.
Parameters:
Name | Type | Description |
---|---|---|
folder |
string | |
location |
string | |
insight_type |
string | |
insight |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
folderLocationInsightTypePath(folder, location, insight_type) → {string}
Return a fully-qualified folderLocationInsightType resource name string.
Parameters:
Name | Type | Description |
---|---|---|
folder |
string | |
location |
string | |
insight_type |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
folderLocationRecommenderPath(folder, location, recommender) → {string}
Return a fully-qualified folderLocationRecommender resource name string.
Parameters:
Name | Type | Description |
---|---|---|
folder |
string | |
location |
string | |
recommender |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
folderLocationRecommenderRecommendationPath(folder, location, recommender, recommendation) → {string}
Return a fully-qualified folderLocationRecommenderRecommendation resource name string.
Parameters:
Name | Type | Description |
---|---|---|
folder |
string | |
location |
string | |
recommender |
string | |
recommendation |
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. |
listInsightsAsync(request, optionsopt) → {Object}
Equivalent to listInsights
, 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 Insight. 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
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The container resource on which to execute the request.
* Acceptable formats:
* * `projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]`
* * `projects/[PROJECT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]`
* LOCATION here refers to GCP Locations:
* https://cloud.google.com/about/locations/
* INSIGHT_TYPE_ID refers to supported insight types:
* https://cloud.google.com/recommender/docs/insights/insight-types.
*/
// const parent = 'abc123'
/**
* Optional. The maximum number of results to return from this request.
* Non-positive values are ignored. If not specified, the server will
* determine the number of results to return.
*/
// const pageSize = 1234
/**
* Optional. If present, retrieves the next batch of results from the
* preceding call to this method. `page_token` must be the value of
* `next_page_token` from the previous response. The values of other method
* parameters must be identical to those in the previous call.
*/
// const pageToken = 'abc123'
/**
* Optional. Filter expression to restrict the insights returned. Supported
* filter fields:
* * `stateInfo.state`
* * `insightSubtype`
* * `severity`
* * `targetResources`
* Examples:
* * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED`
* * `insightSubtype = PERMISSIONS_USAGE`
* * `severity = CRITICAL OR severity = HIGH`
* * `targetResources :
* //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1`
* * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)`
* The max allowed filter length is 500 characters.
* (These expressions are based on the filter language described at
* https://google.aip.dev/160)
*/
// const filter = 'abc123'
// Imports the Recommender library
const {RecommenderClient} = require('@google-cloud/recommender').v1;
// Instantiates a client
const recommenderClient = new RecommenderClient();
async function callListInsights() {
// Construct request
const request = {
parent,
};
// Run request
const iterable = await recommenderClient.listInsightsAsync(request);
for await (const response of iterable) {
console.log(response);
}
}
callListInsights();
listInsightsStream(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 Insight 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 |
listRecommendationsAsync(request, optionsopt) → {Object}
Equivalent to listRecommendations
, 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 Recommendation. 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
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The container resource on which to execute the request.
* Acceptable formats:
* * `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]`
* * `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]`
* LOCATION here refers to GCP Locations:
* https://cloud.google.com/about/locations/
* RECOMMENDER_ID refers to supported recommenders:
* https://cloud.google.com/recommender/docs/recommenders.
*/
// const parent = 'abc123'
/**
* Optional. The maximum number of results to return from this request.
* Non-positive values are ignored. If not specified, the server will
* determine the number of results to return.
*/
// const pageSize = 1234
/**
* Optional. If present, retrieves the next batch of results from the
* preceding call to this method. `page_token` must be the value of
* `next_page_token` from the previous response. The values of other method
* parameters must be identical to those in the previous call.
*/
// const pageToken = 'abc123'
/**
* Filter expression to restrict the recommendations returned. Supported
* filter fields:
* * `state_info.state`
* * `recommenderSubtype`
* * `priority`
* * `targetResources`
* Examples:
* * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED`
* * `recommenderSubtype = REMOVE_ROLE OR recommenderSubtype = REPLACE_ROLE`
* * `priority = P1 OR priority = P2`
* * `targetResources :
* //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1`
* * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)`
* The max allowed filter length is 500 characters.
* (These expressions are based on the filter language described at
* https://google.aip.dev/160)
*/
// const filter = 'abc123'
// Imports the Recommender library
const {RecommenderClient} = require('@google-cloud/recommender').v1;
// Instantiates a client
const recommenderClient = new RecommenderClient();
async function callListRecommendations() {
// Construct request
const request = {
parent,
};
// Run request
const iterable = await recommenderClient.listRecommendationsAsync(request);
for await (const response of iterable) {
console.log(response);
}
}
callListRecommendations();
listRecommendationsStream(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 Recommendation 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 |
matchBillingAccountFromBillingAccountLocationInsightTypeConfigName(billingAccountLocationInsightTypeConfigName) → {string}
Parse the billing_account from BillingAccountLocationInsightTypeConfig resource.
Parameters:
Name | Type | Description |
---|---|---|
billingAccountLocationInsightTypeConfigName |
string |
A fully-qualified path representing billing_account_location_insight_type_config resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the billing_account. |
matchBillingAccountFromBillingAccountLocationInsightTypeInsightName(billingAccountLocationInsightTypeInsightName) → {string}
Parse the billing_account from BillingAccountLocationInsightTypeInsight resource.
Parameters:
Name | Type | Description |
---|---|---|
billingAccountLocationInsightTypeInsightName |
string |
A fully-qualified path representing billing_account_location_insight_type_insight resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the billing_account. |
matchBillingAccountFromBillingAccountLocationInsightTypeName(billingAccountLocationInsightTypeName) → {string}
Parse the billing_account from BillingAccountLocationInsightType resource.
Parameters:
Name | Type | Description |
---|---|---|
billingAccountLocationInsightTypeName |
string |
A fully-qualified path representing billing_account_location_insight_type resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the billing_account. |
matchBillingAccountFromBillingAccountLocationRecommenderConfigName(billingAccountLocationRecommenderConfigName) → {string}
Parse the billing_account from BillingAccountLocationRecommenderConfig resource.
Parameters:
Name | Type | Description |
---|---|---|
billingAccountLocationRecommenderConfigName |
string |
A fully-qualified path representing billing_account_location_recommender_config resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the billing_account. |
matchBillingAccountFromBillingAccountLocationRecommenderName(billingAccountLocationRecommenderName) → {string}
Parse the billing_account from BillingAccountLocationRecommender resource.
Parameters:
Name | Type | Description |
---|---|---|
billingAccountLocationRecommenderName |
string |
A fully-qualified path representing billing_account_location_recommender resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the billing_account. |
matchBillingAccountFromBillingAccountLocationRecommenderRecommendationName(billingAccountLocationRecommenderRecommendationName) → {string}
Parse the billing_account from BillingAccountLocationRecommenderRecommendation resource.
Parameters:
Name | Type | Description |
---|---|---|
billingAccountLocationRecommenderRecommendationName |
string |
A fully-qualified path representing billing_account_location_recommender_recommendation resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the billing_account. |
matchFolderFromFolderLocationInsightTypeInsightName(folderLocationInsightTypeInsightName) → {string}
Parse the folder from FolderLocationInsightTypeInsight resource.
Parameters:
Name | Type | Description |
---|---|---|
folderLocationInsightTypeInsightName |
string |
A fully-qualified path representing folder_location_insight_type_insight resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the folder. |
matchFolderFromFolderLocationInsightTypeName(folderLocationInsightTypeName) → {string}
Parse the folder from FolderLocationInsightType resource.
Parameters:
Name | Type | Description |
---|---|---|
folderLocationInsightTypeName |
string |
A fully-qualified path representing folder_location_insight_type resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the folder. |
matchFolderFromFolderLocationRecommenderName(folderLocationRecommenderName) → {string}
Parse the folder from FolderLocationRecommender resource.
Parameters:
Name | Type | Description |
---|---|---|
folderLocationRecommenderName |
string |
A fully-qualified path representing folder_location_recommender resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the folder. |
matchFolderFromFolderLocationRecommenderRecommendationName(folderLocationRecommenderRecommendationName) → {string}
Parse the folder from FolderLocationRecommenderRecommendation resource.
Parameters:
Name | Type | Description |
---|---|---|
folderLocationRecommenderRecommendationName |
string |
A fully-qualified path representing folder_location_recommender_recommendation resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the folder. |
matchInsightFromBillingAccountLocationInsightTypeInsightName(billingAccountLocationInsightTypeInsightName) → {string}
Parse the insight from BillingAccountLocationInsightTypeInsight resource.
Parameters:
Name | Type | Description |
---|---|---|
billingAccountLocationInsightTypeInsightName |
string |
A fully-qualified path representing billing_account_location_insight_type_insight resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the insight. |
matchInsightFromFolderLocationInsightTypeInsightName(folderLocationInsightTypeInsightName) → {string}
Parse the insight from FolderLocationInsightTypeInsight resource.
Parameters:
Name | Type | Description |
---|---|---|
folderLocationInsightTypeInsightName |
string |
A fully-qualified path representing folder_location_insight_type_insight resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the insight. |
matchInsightFromOrganizationLocationInsightTypeInsightName(organizationLocationInsightTypeInsightName) → {string}
Parse the insight from OrganizationLocationInsightTypeInsight resource.
Parameters:
Name | Type | Description |
---|---|---|
organizationLocationInsightTypeInsightName |
string |
A fully-qualified path representing organization_location_insight_type_insight resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the insight. |
matchInsightFromProjectLocationInsightTypeInsightName(projectLocationInsightTypeInsightName) → {string}
Parse the insight from ProjectLocationInsightTypeInsight resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationInsightTypeInsightName |
string |
A fully-qualified path representing project_location_insight_type_insight resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the insight. |
matchInsightTypeFromBillingAccountLocationInsightTypeConfigName(billingAccountLocationInsightTypeConfigName) → {string}
Parse the insight_type from BillingAccountLocationInsightTypeConfig resource.
Parameters:
Name | Type | Description |
---|---|---|
billingAccountLocationInsightTypeConfigName |
string |
A fully-qualified path representing billing_account_location_insight_type_config resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the insight_type. |
matchInsightTypeFromBillingAccountLocationInsightTypeInsightName(billingAccountLocationInsightTypeInsightName) → {string}
Parse the insight_type from BillingAccountLocationInsightTypeInsight resource.
Parameters:
Name | Type | Description |
---|---|---|
billingAccountLocationInsightTypeInsightName |
string |
A fully-qualified path representing billing_account_location_insight_type_insight resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the insight_type. |
matchInsightTypeFromBillingAccountLocationInsightTypeName(billingAccountLocationInsightTypeName) → {string}
Parse the insight_type from BillingAccountLocationInsightType resource.
Parameters:
Name | Type | Description |
---|---|---|
billingAccountLocationInsightTypeName |
string |
A fully-qualified path representing billing_account_location_insight_type resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the insight_type. |
matchInsightTypeFromFolderLocationInsightTypeInsightName(folderLocationInsightTypeInsightName) → {string}
Parse the insight_type from FolderLocationInsightTypeInsight resource.
Parameters:
Name | Type | Description |
---|---|---|
folderLocationInsightTypeInsightName |
string |
A fully-qualified path representing folder_location_insight_type_insight resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the insight_type. |
matchInsightTypeFromFolderLocationInsightTypeName(folderLocationInsightTypeName) → {string}
Parse the insight_type from FolderLocationInsightType resource.
Parameters:
Name | Type | Description |
---|---|---|
folderLocationInsightTypeName |
string |
A fully-qualified path representing folder_location_insight_type resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the insight_type. |
matchInsightTypeFromOrganizationLocationInsightTypeConfigName(organizationLocationInsightTypeConfigName) → {string}
Parse the insight_type from OrganizationLocationInsightTypeConfig resource.
Parameters:
Name | Type | Description |
---|---|---|
organizationLocationInsightTypeConfigName |
string |
A fully-qualified path representing organization_location_insight_type_config resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the insight_type. |
matchInsightTypeFromOrganizationLocationInsightTypeInsightName(organizationLocationInsightTypeInsightName) → {string}
Parse the insight_type from OrganizationLocationInsightTypeInsight resource.
Parameters:
Name | Type | Description |
---|---|---|
organizationLocationInsightTypeInsightName |
string |
A fully-qualified path representing organization_location_insight_type_insight resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the insight_type. |
matchInsightTypeFromOrganizationLocationInsightTypeName(organizationLocationInsightTypeName) → {string}
Parse the insight_type from OrganizationLocationInsightType resource.
Parameters:
Name | Type | Description |
---|---|---|
organizationLocationInsightTypeName |
string |
A fully-qualified path representing organization_location_insight_type resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the insight_type. |
matchInsightTypeFromProjectLocationInsightTypeConfigName(projectLocationInsightTypeConfigName) → {string}
Parse the insight_type from ProjectLocationInsightTypeConfig resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationInsightTypeConfigName |
string |
A fully-qualified path representing project_location_insight_type_config resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the insight_type. |
matchInsightTypeFromProjectLocationInsightTypeInsightName(projectLocationInsightTypeInsightName) → {string}
Parse the insight_type from ProjectLocationInsightTypeInsight resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationInsightTypeInsightName |
string |
A fully-qualified path representing project_location_insight_type_insight resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the insight_type. |
matchInsightTypeFromProjectLocationInsightTypeName(projectLocationInsightTypeName) → {string}
Parse the insight_type from ProjectLocationInsightType resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationInsightTypeName |
string |
A fully-qualified path representing project_location_insight_type resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the insight_type. |
matchLocationFromBillingAccountLocationInsightTypeConfigName(billingAccountLocationInsightTypeConfigName) → {string}
Parse the location from BillingAccountLocationInsightTypeConfig resource.
Parameters:
Name | Type | Description |
---|---|---|
billingAccountLocationInsightTypeConfigName |
string |
A fully-qualified path representing billing_account_location_insight_type_config resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromBillingAccountLocationInsightTypeInsightName(billingAccountLocationInsightTypeInsightName) → {string}
Parse the location from BillingAccountLocationInsightTypeInsight resource.
Parameters:
Name | Type | Description |
---|---|---|
billingAccountLocationInsightTypeInsightName |
string |
A fully-qualified path representing billing_account_location_insight_type_insight resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromBillingAccountLocationInsightTypeName(billingAccountLocationInsightTypeName) → {string}
Parse the location from BillingAccountLocationInsightType resource.
Parameters:
Name | Type | Description |
---|---|---|
billingAccountLocationInsightTypeName |
string |
A fully-qualified path representing billing_account_location_insight_type resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromBillingAccountLocationRecommenderConfigName(billingAccountLocationRecommenderConfigName) → {string}
Parse the location from BillingAccountLocationRecommenderConfig resource.
Parameters:
Name | Type | Description |
---|---|---|
billingAccountLocationRecommenderConfigName |
string |
A fully-qualified path representing billing_account_location_recommender_config resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromBillingAccountLocationRecommenderName(billingAccountLocationRecommenderName) → {string}
Parse the location from BillingAccountLocationRecommender resource.
Parameters:
Name | Type | Description |
---|---|---|
billingAccountLocationRecommenderName |
string |
A fully-qualified path representing billing_account_location_recommender resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromBillingAccountLocationRecommenderRecommendationName(billingAccountLocationRecommenderRecommendationName) → {string}
Parse the location from BillingAccountLocationRecommenderRecommendation resource.
Parameters:
Name | Type | Description |
---|---|---|
billingAccountLocationRecommenderRecommendationName |
string |
A fully-qualified path representing billing_account_location_recommender_recommendation resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromFolderLocationInsightTypeInsightName(folderLocationInsightTypeInsightName) → {string}
Parse the location from FolderLocationInsightTypeInsight resource.
Parameters:
Name | Type | Description |
---|---|---|
folderLocationInsightTypeInsightName |
string |
A fully-qualified path representing folder_location_insight_type_insight resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromFolderLocationInsightTypeName(folderLocationInsightTypeName) → {string}
Parse the location from FolderLocationInsightType resource.
Parameters:
Name | Type | Description |
---|---|---|
folderLocationInsightTypeName |
string |
A fully-qualified path representing folder_location_insight_type resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromFolderLocationRecommenderName(folderLocationRecommenderName) → {string}
Parse the location from FolderLocationRecommender resource.
Parameters:
Name | Type | Description |
---|---|---|
folderLocationRecommenderName |
string |
A fully-qualified path representing folder_location_recommender resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromFolderLocationRecommenderRecommendationName(folderLocationRecommenderRecommendationName) → {string}
Parse the location from FolderLocationRecommenderRecommendation resource.
Parameters:
Name | Type | Description |
---|---|---|
folderLocationRecommenderRecommendationName |
string |
A fully-qualified path representing folder_location_recommender_recommendation resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromOrganizationLocationInsightTypeConfigName(organizationLocationInsightTypeConfigName) → {string}
Parse the location from OrganizationLocationInsightTypeConfig resource.
Parameters:
Name | Type | Description |
---|---|---|
organizationLocationInsightTypeConfigName |
string |
A fully-qualified path representing organization_location_insight_type_config resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromOrganizationLocationInsightTypeInsightName(organizationLocationInsightTypeInsightName) → {string}
Parse the location from OrganizationLocationInsightTypeInsight resource.
Parameters:
Name | Type | Description |
---|---|---|
organizationLocationInsightTypeInsightName |
string |
A fully-qualified path representing organization_location_insight_type_insight resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromOrganizationLocationInsightTypeName(organizationLocationInsightTypeName) → {string}
Parse the location from OrganizationLocationInsightType resource.
Parameters:
Name | Type | Description |
---|---|---|
organizationLocationInsightTypeName |
string |
A fully-qualified path representing organization_location_insight_type resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromOrganizationLocationRecommenderConfigName(organizationLocationRecommenderConfigName) → {string}
Parse the location from OrganizationLocationRecommenderConfig resource.
Parameters:
Name | Type | Description |
---|---|---|
organizationLocationRecommenderConfigName |
string |
A fully-qualified path representing organization_location_recommender_config resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromOrganizationLocationRecommenderName(organizationLocationRecommenderName) → {string}
Parse the location from OrganizationLocationRecommender resource.
Parameters:
Name | Type | Description |
---|---|---|
organizationLocationRecommenderName |
string |
A fully-qualified path representing organization_location_recommender resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromOrganizationLocationRecommenderRecommendationName(organizationLocationRecommenderRecommendationName) → {string}
Parse the location from OrganizationLocationRecommenderRecommendation resource.
Parameters:
Name | Type | Description |
---|---|---|
organizationLocationRecommenderRecommendationName |
string |
A fully-qualified path representing organization_location_recommender_recommendation resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromProjectLocationInsightTypeConfigName(projectLocationInsightTypeConfigName) → {string}
Parse the location from ProjectLocationInsightTypeConfig resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationInsightTypeConfigName |
string |
A fully-qualified path representing project_location_insight_type_config resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromProjectLocationInsightTypeInsightName(projectLocationInsightTypeInsightName) → {string}
Parse the location from ProjectLocationInsightTypeInsight resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationInsightTypeInsightName |
string |
A fully-qualified path representing project_location_insight_type_insight resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromProjectLocationInsightTypeName(projectLocationInsightTypeName) → {string}
Parse the location from ProjectLocationInsightType resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationInsightTypeName |
string |
A fully-qualified path representing project_location_insight_type resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromProjectLocationRecommenderConfigName(projectLocationRecommenderConfigName) → {string}
Parse the location from ProjectLocationRecommenderConfig resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationRecommenderConfigName |
string |
A fully-qualified path representing project_location_recommender_config resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromProjectLocationRecommenderName(projectLocationRecommenderName) → {string}
Parse the location from ProjectLocationRecommender resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationRecommenderName |
string |
A fully-qualified path representing project_location_recommender resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromProjectLocationRecommenderRecommendationName(projectLocationRecommenderRecommendationName) → {string}
Parse the location from ProjectLocationRecommenderRecommendation resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationRecommenderRecommendationName |
string |
A fully-qualified path representing project_location_recommender_recommendation resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchOrganizationFromOrganizationLocationInsightTypeConfigName(organizationLocationInsightTypeConfigName) → {string}
Parse the organization from OrganizationLocationInsightTypeConfig resource.
Parameters:
Name | Type | Description |
---|---|---|
organizationLocationInsightTypeConfigName |
string |
A fully-qualified path representing organization_location_insight_type_config resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the organization. |
matchOrganizationFromOrganizationLocationInsightTypeInsightName(organizationLocationInsightTypeInsightName) → {string}
Parse the organization from OrganizationLocationInsightTypeInsight resource.
Parameters:
Name | Type | Description |
---|---|---|
organizationLocationInsightTypeInsightName |
string |
A fully-qualified path representing organization_location_insight_type_insight resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the organization. |
matchOrganizationFromOrganizationLocationInsightTypeName(organizationLocationInsightTypeName) → {string}
Parse the organization from OrganizationLocationInsightType resource.
Parameters:
Name | Type | Description |
---|---|---|
organizationLocationInsightTypeName |
string |
A fully-qualified path representing organization_location_insight_type resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the organization. |
matchOrganizationFromOrganizationLocationRecommenderConfigName(organizationLocationRecommenderConfigName) → {string}
Parse the organization from OrganizationLocationRecommenderConfig resource.
Parameters:
Name | Type | Description |
---|---|---|
organizationLocationRecommenderConfigName |
string |
A fully-qualified path representing organization_location_recommender_config resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the organization. |
matchOrganizationFromOrganizationLocationRecommenderName(organizationLocationRecommenderName) → {string}
Parse the organization from OrganizationLocationRecommender resource.
Parameters:
Name | Type | Description |
---|---|---|
organizationLocationRecommenderName |
string |
A fully-qualified path representing organization_location_recommender resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the organization. |
matchOrganizationFromOrganizationLocationRecommenderRecommendationName(organizationLocationRecommenderRecommendationName) → {string}
Parse the organization from OrganizationLocationRecommenderRecommendation resource.
Parameters:
Name | Type | Description |
---|---|---|
organizationLocationRecommenderRecommendationName |
string |
A fully-qualified path representing organization_location_recommender_recommendation resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the organization. |
matchProjectFromProjectLocationInsightTypeConfigName(projectLocationInsightTypeConfigName) → {string}
Parse the project from ProjectLocationInsightTypeConfig resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationInsightTypeConfigName |
string |
A fully-qualified path representing project_location_insight_type_config resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchProjectFromProjectLocationInsightTypeInsightName(projectLocationInsightTypeInsightName) → {string}
Parse the project from ProjectLocationInsightTypeInsight resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationInsightTypeInsightName |
string |
A fully-qualified path representing project_location_insight_type_insight resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchProjectFromProjectLocationInsightTypeName(projectLocationInsightTypeName) → {string}
Parse the project from ProjectLocationInsightType resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationInsightTypeName |
string |
A fully-qualified path representing project_location_insight_type resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchProjectFromProjectLocationRecommenderConfigName(projectLocationRecommenderConfigName) → {string}
Parse the project from ProjectLocationRecommenderConfig resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationRecommenderConfigName |
string |
A fully-qualified path representing project_location_recommender_config resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchProjectFromProjectLocationRecommenderName(projectLocationRecommenderName) → {string}
Parse the project from ProjectLocationRecommender resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationRecommenderName |
string |
A fully-qualified path representing project_location_recommender resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchProjectFromProjectLocationRecommenderRecommendationName(projectLocationRecommenderRecommendationName) → {string}
Parse the project from ProjectLocationRecommenderRecommendation resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationRecommenderRecommendationName |
string |
A fully-qualified path representing project_location_recommender_recommendation resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchRecommendationFromBillingAccountLocationRecommenderRecommendationName(billingAccountLocationRecommenderRecommendationName) → {string}
Parse the recommendation from BillingAccountLocationRecommenderRecommendation resource.
Parameters:
Name | Type | Description |
---|---|---|
billingAccountLocationRecommenderRecommendationName |
string |
A fully-qualified path representing billing_account_location_recommender_recommendation resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the recommendation. |
matchRecommendationFromFolderLocationRecommenderRecommendationName(folderLocationRecommenderRecommendationName) → {string}
Parse the recommendation from FolderLocationRecommenderRecommendation resource.
Parameters:
Name | Type | Description |
---|---|---|
folderLocationRecommenderRecommendationName |
string |
A fully-qualified path representing folder_location_recommender_recommendation resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the recommendation. |
matchRecommendationFromOrganizationLocationRecommenderRecommendationName(organizationLocationRecommenderRecommendationName) → {string}
Parse the recommendation from OrganizationLocationRecommenderRecommendation resource.
Parameters:
Name | Type | Description |
---|---|---|
organizationLocationRecommenderRecommendationName |
string |
A fully-qualified path representing organization_location_recommender_recommendation resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the recommendation. |
matchRecommendationFromProjectLocationRecommenderRecommendationName(projectLocationRecommenderRecommendationName) → {string}
Parse the recommendation from ProjectLocationRecommenderRecommendation resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationRecommenderRecommendationName |
string |
A fully-qualified path representing project_location_recommender_recommendation resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the recommendation. |
matchRecommenderFromBillingAccountLocationRecommenderConfigName(billingAccountLocationRecommenderConfigName) → {string}
Parse the recommender from BillingAccountLocationRecommenderConfig resource.
Parameters:
Name | Type | Description |
---|---|---|
billingAccountLocationRecommenderConfigName |
string |
A fully-qualified path representing billing_account_location_recommender_config resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the recommender. |
matchRecommenderFromBillingAccountLocationRecommenderName(billingAccountLocationRecommenderName) → {string}
Parse the recommender from BillingAccountLocationRecommender resource.
Parameters:
Name | Type | Description |
---|---|---|
billingAccountLocationRecommenderName |
string |
A fully-qualified path representing billing_account_location_recommender resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the recommender. |
matchRecommenderFromBillingAccountLocationRecommenderRecommendationName(billingAccountLocationRecommenderRecommendationName) → {string}
Parse the recommender from BillingAccountLocationRecommenderRecommendation resource.
Parameters:
Name | Type | Description |
---|---|---|
billingAccountLocationRecommenderRecommendationName |
string |
A fully-qualified path representing billing_account_location_recommender_recommendation resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the recommender. |
matchRecommenderFromFolderLocationRecommenderName(folderLocationRecommenderName) → {string}
Parse the recommender from FolderLocationRecommender resource.
Parameters:
Name | Type | Description |
---|---|---|
folderLocationRecommenderName |
string |
A fully-qualified path representing folder_location_recommender resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the recommender. |
matchRecommenderFromFolderLocationRecommenderRecommendationName(folderLocationRecommenderRecommendationName) → {string}
Parse the recommender from FolderLocationRecommenderRecommendation resource.
Parameters:
Name | Type | Description |
---|---|---|
folderLocationRecommenderRecommendationName |
string |
A fully-qualified path representing folder_location_recommender_recommendation resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the recommender. |
matchRecommenderFromOrganizationLocationRecommenderConfigName(organizationLocationRecommenderConfigName) → {string}
Parse the recommender from OrganizationLocationRecommenderConfig resource.
Parameters:
Name | Type | Description |
---|---|---|
organizationLocationRecommenderConfigName |
string |
A fully-qualified path representing organization_location_recommender_config resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the recommender. |
matchRecommenderFromOrganizationLocationRecommenderName(organizationLocationRecommenderName) → {string}
Parse the recommender from OrganizationLocationRecommender resource.
Parameters:
Name | Type | Description |
---|---|---|
organizationLocationRecommenderName |
string |
A fully-qualified path representing organization_location_recommender resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the recommender. |
matchRecommenderFromOrganizationLocationRecommenderRecommendationName(organizationLocationRecommenderRecommendationName) → {string}
Parse the recommender from OrganizationLocationRecommenderRecommendation resource.
Parameters:
Name | Type | Description |
---|---|---|
organizationLocationRecommenderRecommendationName |
string |
A fully-qualified path representing organization_location_recommender_recommendation resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the recommender. |
matchRecommenderFromProjectLocationRecommenderConfigName(projectLocationRecommenderConfigName) → {string}
Parse the recommender from ProjectLocationRecommenderConfig resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationRecommenderConfigName |
string |
A fully-qualified path representing project_location_recommender_config resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the recommender. |
matchRecommenderFromProjectLocationRecommenderName(projectLocationRecommenderName) → {string}
Parse the recommender from ProjectLocationRecommender resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationRecommenderName |
string |
A fully-qualified path representing project_location_recommender resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the recommender. |
matchRecommenderFromProjectLocationRecommenderRecommendationName(projectLocationRecommenderRecommendationName) → {string}
Parse the recommender from ProjectLocationRecommenderRecommendation resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationRecommenderRecommendationName |
string |
A fully-qualified path representing project_location_recommender_recommendation resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the recommender. |
organizationLocationInsightTypeConfigPath(organization, location, insight_type) → {string}
Return a fully-qualified organizationLocationInsightTypeConfig resource name string.
Parameters:
Name | Type | Description |
---|---|---|
organization |
string | |
location |
string | |
insight_type |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
organizationLocationInsightTypeInsightPath(organization, location, insight_type, insight) → {string}
Return a fully-qualified organizationLocationInsightTypeInsight resource name string.
Parameters:
Name | Type | Description |
---|---|---|
organization |
string | |
location |
string | |
insight_type |
string | |
insight |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
organizationLocationInsightTypePath(organization, location, insight_type) → {string}
Return a fully-qualified organizationLocationInsightType resource name string.
Parameters:
Name | Type | Description |
---|---|---|
organization |
string | |
location |
string | |
insight_type |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
organizationLocationRecommenderConfigPath(organization, location, recommender) → {string}
Return a fully-qualified organizationLocationRecommenderConfig resource name string.
Parameters:
Name | Type | Description |
---|---|---|
organization |
string | |
location |
string | |
recommender |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
organizationLocationRecommenderPath(organization, location, recommender) → {string}
Return a fully-qualified organizationLocationRecommender resource name string.
Parameters:
Name | Type | Description |
---|---|---|
organization |
string | |
location |
string | |
recommender |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
organizationLocationRecommenderRecommendationPath(organization, location, recommender, recommendation) → {string}
Return a fully-qualified organizationLocationRecommenderRecommendation resource name string.
Parameters:
Name | Type | Description |
---|---|---|
organization |
string | |
location |
string | |
recommender |
string | |
recommendation |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
projectLocationInsightTypeConfigPath(project, location, insight_type) → {string}
Return a fully-qualified projectLocationInsightTypeConfig resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string | |
location |
string | |
insight_type |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
projectLocationInsightTypeInsightPath(project, location, insight_type, insight) → {string}
Return a fully-qualified projectLocationInsightTypeInsight resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string | |
location |
string | |
insight_type |
string | |
insight |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
projectLocationInsightTypePath(project, location, insight_type) → {string}
Return a fully-qualified projectLocationInsightType resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string | |
location |
string | |
insight_type |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
projectLocationRecommenderConfigPath(project, location, recommender) → {string}
Return a fully-qualified projectLocationRecommenderConfig resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string | |
location |
string | |
recommender |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
projectLocationRecommenderPath(project, location, recommender) → {string}
Return a fully-qualified projectLocationRecommender resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string | |
location |
string | |
recommender |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
projectLocationRecommenderRecommendationPath(project, location, recommender, recommendation) → {string}
Return a fully-qualified projectLocationRecommenderRecommendation resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string | |
location |
string | |
recommender |
string | |
recommendation |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |