MetricServiceClient

MetricServiceClient

Manages metric descriptors, monitored resource descriptors, and time series data.

Constructor

new MetricServiceClient(optionsopt)

Construct an instance of MetricServiceClient.

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
Name Type Attributes Description
credentials object <optional>

Credentials object.

Properties
Name Type Attributes Description
client_email string <optional>
private_key string <optional>
email string <optional>

Account email address. Required when using a .pem or .p12 keyFilename.

keyFilename string <optional>

Full path to the a .json, .pem, or .p12 key downloaded from the Google Developers Console. If you provide a path to a JSON file, the projectId option below is not necessary. NOTE: .pem and .p12 require you to specify options.email as well.

port number <optional>

The port on which to connect to the remote host.

projectId string <optional>

The project ID from the Google Developer's Console, e.g. 'grape-spaceship-123'. We will also check the environment variable GCLOUD_PROJECT for your project ID. If your app is running in an environment which supports Application Default Credentials, your project ID will be detected automatically.

apiEndpoint string <optional>

The domain name of the API remote host.

clientConfig gax.ClientConfig <optional>

Client configuration override. Follows the structure of gapicConfig.

fallback boolean <optional>

Use HTTP fallback mode. In fallback mode, a special browser-compatible transport implementation is used instead of gRPC transport. In browser context (if the window object is defined) the fallback mode is enabled automatically; set options.fallback to false if you need to override this behavior.

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

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.

createMetricDescriptor(request, optionsopt) → {Promise}

Creates a new metric descriptor. User-created metric descriptors define custom metrics.

Parameters:
Name Type Attributes Description
request Object

The request object that will be sent.

Properties
Name Type Description
name string

Required. The project on which to execute the request. The format is:

  projects/[PROJECT_ID_OR_NUMBER]
metricDescriptor google.api.MetricDescriptor

Required. The new custom metric descriptor.

options object <optional>

Call options. See CallOptions for more details.

Returns:
Type Description
Promise
  • The promise which resolves to an array. The first element of the array is an object representing MetricDescriptor. Please see the documentation for more details and examples.
Example
const [response] = await client.createMetricDescriptor(request);

createTimeSeries(request, optionsopt) → {Promise}

Creates or adds data to one or more time series. The response is empty if all time series in the request were written. If any time series could not be written, a corresponding failure message is included in the error response.

Parameters:
Name Type Attributes Description
request Object

The request object that will be sent.

Properties
Name Type Description
name string

Required. The project on which to execute the request. The format is:

  projects/[PROJECT_ID_OR_NUMBER]
timeSeries Array.<number>

Required. The new data to be added to a list of time series. Adds at most one data point to each of several time series. The new data point must be more recent than any other point in its time series. Each TimeSeries value must fully specify a unique time series by supplying all label values for the metric and the monitored resource.

The maximum number of TimeSeries objects per Create request is 200.

options object <optional>

Call options. See CallOptions for more details.

Returns:
Type Description
Promise
  • The promise which resolves to an array. The first element of the array is an object representing Empty. Please see the documentation for more details and examples.
Example
const [response] = await client.createTimeSeries(request);

deleteMetricDescriptor(request, optionsopt) → {Promise}

Deletes a metric descriptor. Only user-created custom metrics can be deleted.

Parameters:
Name Type Attributes Description
request Object

The request object that will be sent.

Properties
Name Type Description
name string

Required. The metric descriptor on which to execute the request. The format is:

  projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]

An example of [METRIC_ID] is: "custom.googleapis.com/my_test_metric".

options object <optional>

Call options. See CallOptions for more details.

Returns:
Type Description
Promise
  • The promise which resolves to an array. The first element of the array is an object representing Empty. Please see the documentation for more details and examples.
Example
const [response] = await client.deleteMetricDescriptor(request);

folderAlertPolicyConditionPath(folder, alert_policy, condition) → {string}

Return a fully-qualified folderAlertPolicyCondition resource name string.

Parameters:
Name Type Description
folder string
alert_policy string
condition string
Returns:
Type Description
string

Resource name string.

folderAlertPolicyPath(folder, alert_policy) → {string}

Return a fully-qualified folderAlertPolicy resource name string.

Parameters:
Name Type Description
folder string
alert_policy string
Returns:
Type Description
string

Resource name string.

folderChannelDescriptorPath(folder, channel_descriptor) → {string}

Return a fully-qualified folderChannelDescriptor resource name string.

Parameters:
Name Type Description
folder string
channel_descriptor string
Returns:
Type Description
string

Resource name string.

folderGroupPath(folder, group) → {string}

Return a fully-qualified folderGroup resource name string.

Parameters:
Name Type Description
folder string
group string
Returns:
Type Description
string

Resource name string.

folderMetricDescriptorPath(folder, metric_descriptor) → {string}

Return a fully-qualified folderMetricDescriptor resource name string.

Parameters:
Name Type Description
folder string
metric_descriptor string
Returns:
Type Description
string

Resource name string.

folderMonitoredResourceDescriptorPath(folder, monitored_resource_descriptor) → {string}

Return a fully-qualified folderMonitoredResourceDescriptor resource name string.

Parameters:
Name Type Description
folder string
monitored_resource_descriptor string
Returns:
Type Description
string

Resource name string.

folderNotificationChannelPath(folder, notification_channel) → {string}

Return a fully-qualified folderNotificationChannel resource name string.

Parameters:
Name Type Description
folder string
notification_channel string
Returns:
Type Description
string

Resource name string.

folderServicePath(folder, service) → {string}

Return a fully-qualified folderService resource name string.

Parameters:
Name Type Description
folder string
service string
Returns:
Type Description
string

Resource name string.

folderServiceServiceLevelObjectivePath(folder, service, service_level_objective) → {string}

Return a fully-qualified folderServiceServiceLevelObjective resource name string.

Parameters:
Name Type Description
folder string
service string
service_level_objective string
Returns:
Type Description
string

Resource name string.

folderUptimeCheckConfigPath(folder, uptime_check_config) → {string}

Return a fully-qualified folderUptimeCheckConfig resource name string.

Parameters:
Name Type Description
folder string
uptime_check_config string
Returns:
Type Description
string

Resource name string.

getMetricDescriptor(request, optionsopt) → {Promise}

Gets a single metric descriptor. This method does not require a Workspace.

Parameters:
Name Type Attributes Description
request Object

The request object that will be sent.

Properties
Name Type Description
name string

Required. The metric descriptor on which to execute the request. The format is:

  projects/[PROJECT_ID_OR_NUMBER]/metricDescriptors/[METRIC_ID]

An example value of [METRIC_ID] is "compute.googleapis.com/instance/disk/read_bytes_count".

options object <optional>

Call options. See CallOptions for more details.

Returns:
Type Description
Promise
  • The promise which resolves to an array. The first element of the array is an object representing MetricDescriptor. Please see the documentation for more details and examples.
Example
const [response] = await client.getMetricDescriptor(request);

getMonitoredResourceDescriptor(request, optionsopt) → {Promise}

Gets a single monitored resource descriptor. This method does not require a Workspace.

Parameters:
Name Type Attributes Description
request Object

The request object that will be sent.

Properties
Name Type Description
name string

Required. The monitored resource descriptor to get. The format is:

  projects/[PROJECT_ID_OR_NUMBER]/monitoredResourceDescriptors/[RESOURCE_TYPE]

The [RESOURCE_TYPE] is a predefined type, such as cloudsql_database.

options object <optional>

Call options. See CallOptions for more details.

Returns:
Type Description
Promise
Example
const [response] = await client.getMonitoredResourceDescriptor(request);

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.

listMetricDescriptors(request, optionsopt) → {Promise}

Lists metric descriptors that match a filter. This method does not require a Workspace.

Parameters:
Name Type Attributes Description
request Object

The request object that will be sent.

Properties
Name Type Description
name string

Required. The project on which to execute the request. The format is:

  projects/[PROJECT_ID_OR_NUMBER]
filter string

If this field is empty, all custom and system-defined metric descriptors are returned. Otherwise, the filter specifies which metric descriptors are to be returned. For example, the following filter matches all custom metrics:

  metric.type = starts_with("custom.googleapis.com/")
pageSize number

A positive number that is the maximum number of results to return.

pageToken string

If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.

options object <optional>

Call options. See CallOptions for more details.

Returns:
Type Description
Promise
  • The promise which resolves to an array. The first element of the array is Array of MetricDescriptor. The client library will perform auto-pagination by default: it will call the API as many times as needed and will merge results from all the pages into this array. Note that it can affect your quota. We recommend using listMetricDescriptorsAsync() method described below for async iteration which you can stop as needed. Please see the documentation for more details and examples.

listMetricDescriptorsAsync(request, optionsopt) → {Object}

Equivalent to listMetricDescriptors, 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
Name Type Description
name string

Required. The project on which to execute the request. The format is:

  projects/[PROJECT_ID_OR_NUMBER]
filter string

If this field is empty, all custom and system-defined metric descriptors are returned. Otherwise, the filter specifies which metric descriptors are to be returned. For example, the following filter matches all custom metrics:

  metric.type = starts_with("custom.googleapis.com/")
pageSize number

A positive number that is the maximum number of results to return.

pageToken string

If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.

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 MetricDescriptor. 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
const iterable = client.listMetricDescriptorsAsync(request);
for await (const response of iterable) {
  // process response
}

listMetricDescriptorsStream(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
Name Type Description
name string

Required. The project on which to execute the request. The format is:

  projects/[PROJECT_ID_OR_NUMBER]
filter string

If this field is empty, all custom and system-defined metric descriptors are returned. Otherwise, the filter specifies which metric descriptors are to be returned. For example, the following filter matches all custom metrics:

  metric.type = starts_with("custom.googleapis.com/")
pageSize number

A positive number that is the maximum number of results to return.

pageToken string

If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.

options object <optional>

Call options. See CallOptions for more details.

Returns:
Type Description
Stream

An object stream which emits an object representing MetricDescriptor 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 listMetricDescriptorsAsync() method described below for async iteration which you can stop as needed. Please see the documentation for more details and examples.

listMonitoredResourceDescriptors(request, optionsopt) → {Promise}

Lists monitored resource descriptors that match a filter. This method does not require a Workspace.

Parameters:
Name Type Attributes Description
request Object

The request object that will be sent.

Properties
Name Type Description
name string

Required. The project on which to execute the request. The format is:

  projects/[PROJECT_ID_OR_NUMBER]
filter string

An optional filter describing the descriptors to be returned. The filter can reference the descriptor's type and labels. For example, the following filter returns only Google Compute Engine descriptors that have an id label:

  resource.type = starts_with("gce_") AND resource.label:id
pageSize number

A positive number that is the maximum number of results to return.

pageToken string

If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.

options object <optional>

Call options. See CallOptions for more details.

Returns:
Type Description
Promise
  • The promise which resolves to an array. The first element of the array is Array of MonitoredResourceDescriptor. The client library will perform auto-pagination by default: it will call the API as many times as needed and will merge results from all the pages into this array. Note that it can affect your quota. We recommend using listMonitoredResourceDescriptorsAsync() method described below for async iteration which you can stop as needed. Please see the documentation for more details and examples.

listMonitoredResourceDescriptorsAsync(request, optionsopt) → {Object}

Equivalent to listMonitoredResourceDescriptors, 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
Name Type Description
name string

Required. The project on which to execute the request. The format is:

  projects/[PROJECT_ID_OR_NUMBER]
filter string

An optional filter describing the descriptors to be returned. The filter can reference the descriptor's type and labels. For example, the following filter returns only Google Compute Engine descriptors that have an id label:

  resource.type = starts_with("gce_") AND resource.label:id
pageSize number

A positive number that is the maximum number of results to return.

pageToken string

If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.

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 MonitoredResourceDescriptor. 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
const iterable = client.listMonitoredResourceDescriptorsAsync(request);
for await (const response of iterable) {
  // process response
}

listMonitoredResourceDescriptorsStream(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
Name Type Description
name string

Required. The project on which to execute the request. The format is:

  projects/[PROJECT_ID_OR_NUMBER]
filter string

An optional filter describing the descriptors to be returned. The filter can reference the descriptor's type and labels. For example, the following filter returns only Google Compute Engine descriptors that have an id label:

  resource.type = starts_with("gce_") AND resource.label:id
pageSize number

A positive number that is the maximum number of results to return.

pageToken string

If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.

options object <optional>

Call options. See CallOptions for more details.

Returns:
Type Description
Stream

An object stream which emits an object representing MonitoredResourceDescriptor 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 listMonitoredResourceDescriptorsAsync() method described below for async iteration which you can stop as needed. Please see the documentation for more details and examples.

listTimeSeries(request, optionsopt) → {Promise}

Lists time series that match a filter. This method does not require a Workspace.

Parameters:
Name Type Attributes Description
request Object

The request object that will be sent.

Properties
Name Type Description
name string

Required. The project, organization or folder on which to execute the request. The format is:

  projects/[PROJECT_ID_OR_NUMBER]
  organizations/[ORGANIZATION_ID]
  folders/[FOLDER_ID]
filter string

Required. A monitoring filter that specifies which time series should be returned. The filter must specify a single metric type, and can additionally specify metric labels and other information. For example:

  metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
      metric.labels.instance_name = "my-instance-name"
interval google.monitoring.v3.TimeInterval

Required. The time interval for which results should be returned. Only time series that contain data points in the specified interval are included in the response.

aggregation google.monitoring.v3.Aggregation

Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series across specified labels.

By default (if no aggregation is explicitly specified), the raw time series data is returned.

secondaryAggregation google.monitoring.v3.Aggregation

Apply a second aggregation after aggregation is applied. May only be specified if aggregation is specified.

orderBy string

Unsupported: must be left blank. The points in each time series are currently returned in reverse time order (most recent to oldest).

view google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView

Required. Specifies which information is returned about the time series.

pageSize number

A positive number that is the maximum number of results to return. If page_size is empty or more than 100,000 results, the effective page_size is 100,000 results. If view is set to FULL, this is the maximum number of Points returned. If view is set to HEADERS, this is the maximum number of TimeSeries returned.

pageToken string

If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.

options object <optional>

Call options. See CallOptions for more details.

Returns:
Type Description
Promise
  • The promise which resolves to an array. The first element of the array is Array of TimeSeries. The client library will perform auto-pagination by default: it will call the API as many times as needed and will merge results from all the pages into this array. Note that it can affect your quota. We recommend using listTimeSeriesAsync() method described below for async iteration which you can stop as needed. Please see the documentation for more details and examples.

listTimeSeriesAsync(request, optionsopt) → {Object}

Equivalent to listTimeSeries, 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
Name Type Description
name string

Required. The project, organization or folder on which to execute the request. The format is:

  projects/[PROJECT_ID_OR_NUMBER]
  organizations/[ORGANIZATION_ID]
  folders/[FOLDER_ID]
filter string

Required. A monitoring filter that specifies which time series should be returned. The filter must specify a single metric type, and can additionally specify metric labels and other information. For example:

  metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
      metric.labels.instance_name = "my-instance-name"
interval google.monitoring.v3.TimeInterval

Required. The time interval for which results should be returned. Only time series that contain data points in the specified interval are included in the response.

aggregation google.monitoring.v3.Aggregation

Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series across specified labels.

By default (if no aggregation is explicitly specified), the raw time series data is returned.

secondaryAggregation google.monitoring.v3.Aggregation

Apply a second aggregation after aggregation is applied. May only be specified if aggregation is specified.

orderBy string

Unsupported: must be left blank. The points in each time series are currently returned in reverse time order (most recent to oldest).

view google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView

Required. Specifies which information is returned about the time series.

pageSize number

A positive number that is the maximum number of results to return. If page_size is empty or more than 100,000 results, the effective page_size is 100,000 results. If view is set to FULL, this is the maximum number of Points returned. If view is set to HEADERS, this is the maximum number of TimeSeries returned.

pageToken string

If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.

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 TimeSeries. 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
const iterable = client.listTimeSeriesAsync(request);
for await (const response of iterable) {
  // process response
}

listTimeSeriesStream(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
Name Type Description
name string

Required. The project, organization or folder on which to execute the request. The format is:

  projects/[PROJECT_ID_OR_NUMBER]
  organizations/[ORGANIZATION_ID]
  folders/[FOLDER_ID]
filter string

Required. A monitoring filter that specifies which time series should be returned. The filter must specify a single metric type, and can additionally specify metric labels and other information. For example:

  metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
      metric.labels.instance_name = "my-instance-name"
interval google.monitoring.v3.TimeInterval

Required. The time interval for which results should be returned. Only time series that contain data points in the specified interval are included in the response.

aggregation google.monitoring.v3.Aggregation

Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series across specified labels.

By default (if no aggregation is explicitly specified), the raw time series data is returned.

secondaryAggregation google.monitoring.v3.Aggregation

Apply a second aggregation after aggregation is applied. May only be specified if aggregation is specified.

orderBy string

Unsupported: must be left blank. The points in each time series are currently returned in reverse time order (most recent to oldest).

view google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView

Required. Specifies which information is returned about the time series.

pageSize number

A positive number that is the maximum number of results to return. If page_size is empty or more than 100,000 results, the effective page_size is 100,000 results. If view is set to FULL, this is the maximum number of Points returned. If view is set to HEADERS, this is the maximum number of TimeSeries returned.

pageToken string

If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.

options object <optional>

Call options. See CallOptions for more details.

Returns:
Type Description
Stream

An object stream which emits an object representing TimeSeries 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 listTimeSeriesAsync() method described below for async iteration which you can stop as needed. Please see the documentation for more details and examples.

matchAlertPolicyFromFolderAlertPolicyConditionName(folderAlertPolicyConditionName) → {string}

Parse the alert_policy from FolderAlertPolicyCondition resource.

Parameters:
Name Type Description
folderAlertPolicyConditionName string

A fully-qualified path representing folder_alert_policy_condition resource.

Returns:
Type Description
string

A string representing the alert_policy.

matchAlertPolicyFromFolderAlertPolicyName(folderAlertPolicyName) → {string}

Parse the alert_policy from FolderAlertPolicy resource.

Parameters:
Name Type Description
folderAlertPolicyName string

A fully-qualified path representing folder_alert_policy resource.

Returns:
Type Description
string

A string representing the alert_policy.

matchAlertPolicyFromOrganizationAlertPolicyConditionName(organizationAlertPolicyConditionName) → {string}

Parse the alert_policy from OrganizationAlertPolicyCondition resource.

Parameters:
Name Type Description
organizationAlertPolicyConditionName string

A fully-qualified path representing organization_alert_policy_condition resource.

Returns:
Type Description
string

A string representing the alert_policy.

matchAlertPolicyFromOrganizationAlertPolicyName(organizationAlertPolicyName) → {string}

Parse the alert_policy from OrganizationAlertPolicy resource.

Parameters:
Name Type Description
organizationAlertPolicyName string

A fully-qualified path representing organization_alert_policy resource.

Returns:
Type Description
string

A string representing the alert_policy.

matchAlertPolicyFromProjectAlertPolicyConditionName(projectAlertPolicyConditionName) → {string}

Parse the alert_policy from ProjectAlertPolicyCondition resource.

Parameters:
Name Type Description
projectAlertPolicyConditionName string

A fully-qualified path representing project_alert_policy_condition resource.

Returns:
Type Description
string

A string representing the alert_policy.

matchAlertPolicyFromProjectAlertPolicyName(projectAlertPolicyName) → {string}

Parse the alert_policy from ProjectAlertPolicy resource.

Parameters:
Name Type Description
projectAlertPolicyName string

A fully-qualified path representing project_alert_policy resource.

Returns:
Type Description
string

A string representing the alert_policy.

matchChannelDescriptorFromFolderChannelDescriptorName(folderChannelDescriptorName) → {string}

Parse the channel_descriptor from FolderChannelDescriptor resource.

Parameters:
Name Type Description
folderChannelDescriptorName string

A fully-qualified path representing folder_channel_descriptor resource.

Returns:
Type Description
string

A string representing the channel_descriptor.

matchChannelDescriptorFromOrganizationChannelDescriptorName(organizationChannelDescriptorName) → {string}

Parse the channel_descriptor from OrganizationChannelDescriptor resource.

Parameters:
Name Type Description
organizationChannelDescriptorName string

A fully-qualified path representing organization_channel_descriptor resource.

Returns:
Type Description
string

A string representing the channel_descriptor.

matchChannelDescriptorFromProjectChannelDescriptorName(projectChannelDescriptorName) → {string}

Parse the channel_descriptor from ProjectChannelDescriptor resource.

Parameters:
Name Type Description
projectChannelDescriptorName string

A fully-qualified path representing project_channel_descriptor resource.

Returns:
Type Description
string

A string representing the channel_descriptor.

matchConditionFromFolderAlertPolicyConditionName(folderAlertPolicyConditionName) → {string}

Parse the condition from FolderAlertPolicyCondition resource.

Parameters:
Name Type Description
folderAlertPolicyConditionName string

A fully-qualified path representing folder_alert_policy_condition resource.

Returns:
Type Description
string

A string representing the condition.

matchConditionFromOrganizationAlertPolicyConditionName(organizationAlertPolicyConditionName) → {string}

Parse the condition from OrganizationAlertPolicyCondition resource.

Parameters:
Name Type Description
organizationAlertPolicyConditionName string

A fully-qualified path representing organization_alert_policy_condition resource.

Returns:
Type Description
string

A string representing the condition.

matchConditionFromProjectAlertPolicyConditionName(projectAlertPolicyConditionName) → {string}

Parse the condition from ProjectAlertPolicyCondition resource.

Parameters:
Name Type Description
projectAlertPolicyConditionName string

A fully-qualified path representing project_alert_policy_condition resource.

Returns:
Type Description
string

A string representing the condition.

matchFolderFromFolderAlertPolicyConditionName(folderAlertPolicyConditionName) → {string}

Parse the folder from FolderAlertPolicyCondition resource.

Parameters:
Name Type Description
folderAlertPolicyConditionName string

A fully-qualified path representing folder_alert_policy_condition resource.

Returns:
Type Description
string

A string representing the folder.

matchFolderFromFolderAlertPolicyName(folderAlertPolicyName) → {string}

Parse the folder from FolderAlertPolicy resource.

Parameters:
Name Type Description
folderAlertPolicyName string

A fully-qualified path representing folder_alert_policy resource.

Returns:
Type Description
string

A string representing the folder.

matchFolderFromFolderChannelDescriptorName(folderChannelDescriptorName) → {string}

Parse the folder from FolderChannelDescriptor resource.

Parameters:
Name Type Description
folderChannelDescriptorName string

A fully-qualified path representing folder_channel_descriptor resource.

Returns:
Type Description
string

A string representing the folder.

matchFolderFromFolderGroupName(folderGroupName) → {string}

Parse the folder from FolderGroup resource.

Parameters:
Name Type Description
folderGroupName string

A fully-qualified path representing folder_group resource.

Returns:
Type Description
string

A string representing the folder.

matchFolderFromFolderMetricDescriptorName(folderMetricDescriptorName) → {string}

Parse the folder from FolderMetricDescriptor resource.

Parameters:
Name Type Description
folderMetricDescriptorName string

A fully-qualified path representing folder_metric_descriptor resource.

Returns:
Type Description
string

A string representing the folder.

matchFolderFromFolderMonitoredResourceDescriptorName(folderMonitoredResourceDescriptorName) → {string}

Parse the folder from FolderMonitoredResourceDescriptor resource.

Parameters:
Name Type Description
folderMonitoredResourceDescriptorName string

A fully-qualified path representing folder_monitored_resource_descriptor resource.

Returns:
Type Description
string

A string representing the folder.

matchFolderFromFolderNotificationChannelName(folderNotificationChannelName) → {string}

Parse the folder from FolderNotificationChannel resource.

Parameters:
Name Type Description
folderNotificationChannelName string

A fully-qualified path representing folder_notification_channel resource.

Returns:
Type Description
string

A string representing the folder.

matchFolderFromFolderServiceName(folderServiceName) → {string}

Parse the folder from FolderService resource.

Parameters:
Name Type Description
folderServiceName string

A fully-qualified path representing folder_service resource.

Returns:
Type Description
string

A string representing the folder.

matchFolderFromFolderServiceServiceLevelObjectiveName(folderServiceServiceLevelObjectiveName) → {string}

Parse the folder from FolderServiceServiceLevelObjective resource.

Parameters:
Name Type Description
folderServiceServiceLevelObjectiveName string

A fully-qualified path representing folder_service_service_level_objective resource.

Returns:
Type Description
string

A string representing the folder.

matchFolderFromFolderUptimeCheckConfigName(folderUptimeCheckConfigName) → {string}

Parse the folder from FolderUptimeCheckConfig resource.

Parameters:
Name Type Description
folderUptimeCheckConfigName string

A fully-qualified path representing folder_uptime_check_config resource.

Returns:
Type Description
string

A string representing the folder.

matchGroupFromFolderGroupName(folderGroupName) → {string}

Parse the group from FolderGroup resource.

Parameters:
Name Type Description
folderGroupName string

A fully-qualified path representing folder_group resource.

Returns:
Type Description
string

A string representing the group.

matchGroupFromOrganizationGroupName(organizationGroupName) → {string}

Parse the group from OrganizationGroup resource.

Parameters:
Name Type Description
organizationGroupName string

A fully-qualified path representing organization_group resource.

Returns:
Type Description
string

A string representing the group.

matchGroupFromProjectGroupName(projectGroupName) → {string}

Parse the group from ProjectGroup resource.

Parameters:
Name Type Description
projectGroupName string

A fully-qualified path representing project_group resource.

Returns:
Type Description
string

A string representing the group.

matchMetricDescriptorFromFolderMetricDescriptorName(folderMetricDescriptorName) → {string}

Parse the metric_descriptor from FolderMetricDescriptor resource.

Parameters:
Name Type Description
folderMetricDescriptorName string

A fully-qualified path representing folder_metric_descriptor resource.

Returns:
Type Description
string

A string representing the metric_descriptor.

matchMetricDescriptorFromOrganizationMetricDescriptorName(organizationMetricDescriptorName) → {string}

Parse the metric_descriptor from OrganizationMetricDescriptor resource.

Parameters:
Name Type Description
organizationMetricDescriptorName string

A fully-qualified path representing organization_metric_descriptor resource.

Returns:
Type Description
string

A string representing the metric_descriptor.

matchMetricDescriptorFromProjectMetricDescriptorName(projectMetricDescriptorName) → {string}

Parse the metric_descriptor from ProjectMetricDescriptor resource.

Parameters:
Name Type Description
projectMetricDescriptorName string

A fully-qualified path representing project_metric_descriptor resource.

Returns:
Type Description
string

A string representing the metric_descriptor.

matchMonitoredResourceDescriptorFromFolderMonitoredResourceDescriptorName(folderMonitoredResourceDescriptorName) → {string}

Parse the monitored_resource_descriptor from FolderMonitoredResourceDescriptor resource.

Parameters:
Name Type Description
folderMonitoredResourceDescriptorName string

A fully-qualified path representing folder_monitored_resource_descriptor resource.

Returns:
Type Description
string

A string representing the monitored_resource_descriptor.

matchMonitoredResourceDescriptorFromOrganizationMonitoredResourceDescriptorName(organizationMonitoredResourceDescriptorName) → {string}

Parse the monitored_resource_descriptor from OrganizationMonitoredResourceDescriptor resource.

Parameters:
Name Type Description
organizationMonitoredResourceDescriptorName string

A fully-qualified path representing organization_monitored_resource_descriptor resource.

Returns:
Type Description
string

A string representing the monitored_resource_descriptor.

matchMonitoredResourceDescriptorFromProjectMonitoredResourceDescriptorName(projectMonitoredResourceDescriptorName) → {string}

Parse the monitored_resource_descriptor from ProjectMonitoredResourceDescriptor resource.

Parameters:
Name Type Description
projectMonitoredResourceDescriptorName string

A fully-qualified path representing project_monitored_resource_descriptor resource.

Returns:
Type Description
string

A string representing the monitored_resource_descriptor.

matchNotificationChannelFromFolderNotificationChannelName(folderNotificationChannelName) → {string}

Parse the notification_channel from FolderNotificationChannel resource.

Parameters:
Name Type Description
folderNotificationChannelName string

A fully-qualified path representing folder_notification_channel resource.

Returns:
Type Description
string

A string representing the notification_channel.

matchNotificationChannelFromOrganizationNotificationChannelName(organizationNotificationChannelName) → {string}

Parse the notification_channel from OrganizationNotificationChannel resource.

Parameters:
Name Type Description
organizationNotificationChannelName string

A fully-qualified path representing organization_notification_channel resource.

Returns:
Type Description
string

A string representing the notification_channel.

matchNotificationChannelFromProjectNotificationChannelName(projectNotificationChannelName) → {string}

Parse the notification_channel from ProjectNotificationChannel resource.

Parameters:
Name Type Description
projectNotificationChannelName string

A fully-qualified path representing project_notification_channel resource.

Returns:
Type Description
string

A string representing the notification_channel.

matchOrganizationFromOrganizationAlertPolicyConditionName(organizationAlertPolicyConditionName) → {string}

Parse the organization from OrganizationAlertPolicyCondition resource.

Parameters:
Name Type Description
organizationAlertPolicyConditionName string

A fully-qualified path representing organization_alert_policy_condition resource.

Returns:
Type Description
string

A string representing the organization.

matchOrganizationFromOrganizationAlertPolicyName(organizationAlertPolicyName) → {string}

Parse the organization from OrganizationAlertPolicy resource.

Parameters:
Name Type Description
organizationAlertPolicyName string

A fully-qualified path representing organization_alert_policy resource.

Returns:
Type Description
string

A string representing the organization.

matchOrganizationFromOrganizationChannelDescriptorName(organizationChannelDescriptorName) → {string}

Parse the organization from OrganizationChannelDescriptor resource.

Parameters:
Name Type Description
organizationChannelDescriptorName string

A fully-qualified path representing organization_channel_descriptor resource.

Returns:
Type Description
string

A string representing the organization.

matchOrganizationFromOrganizationGroupName(organizationGroupName) → {string}

Parse the organization from OrganizationGroup resource.

Parameters:
Name Type Description
organizationGroupName string

A fully-qualified path representing organization_group resource.

Returns:
Type Description
string

A string representing the organization.

matchOrganizationFromOrganizationMetricDescriptorName(organizationMetricDescriptorName) → {string}

Parse the organization from OrganizationMetricDescriptor resource.

Parameters:
Name Type Description
organizationMetricDescriptorName string

A fully-qualified path representing organization_metric_descriptor resource.

Returns:
Type Description
string

A string representing the organization.

matchOrganizationFromOrganizationMonitoredResourceDescriptorName(organizationMonitoredResourceDescriptorName) → {string}

Parse the organization from OrganizationMonitoredResourceDescriptor resource.

Parameters:
Name Type Description
organizationMonitoredResourceDescriptorName string

A fully-qualified path representing organization_monitored_resource_descriptor resource.

Returns:
Type Description
string

A string representing the organization.

matchOrganizationFromOrganizationNotificationChannelName(organizationNotificationChannelName) → {string}

Parse the organization from OrganizationNotificationChannel resource.

Parameters:
Name Type Description
organizationNotificationChannelName string

A fully-qualified path representing organization_notification_channel resource.

Returns:
Type Description
string

A string representing the organization.

matchOrganizationFromOrganizationServiceName(organizationServiceName) → {string}

Parse the organization from OrganizationService resource.

Parameters:
Name Type Description
organizationServiceName string

A fully-qualified path representing organization_service resource.

Returns:
Type Description
string

A string representing the organization.

matchOrganizationFromOrganizationServiceServiceLevelObjectiveName(organizationServiceServiceLevelObjectiveName) → {string}

Parse the organization from OrganizationServiceServiceLevelObjective resource.

Parameters:
Name Type Description
organizationServiceServiceLevelObjectiveName string

A fully-qualified path representing organization_service_service_level_objective resource.

Returns:
Type Description
string

A string representing the organization.

matchOrganizationFromOrganizationUptimeCheckConfigName(organizationUptimeCheckConfigName) → {string}

Parse the organization from OrganizationUptimeCheckConfig resource.

Parameters:
Name Type Description
organizationUptimeCheckConfigName string

A fully-qualified path representing organization_uptime_check_config resource.

Returns:
Type Description
string

A string representing the organization.

matchProjectFromProjectAlertPolicyConditionName(projectAlertPolicyConditionName) → {string}

Parse the project from ProjectAlertPolicyCondition resource.

Parameters:
Name Type Description
projectAlertPolicyConditionName string

A fully-qualified path representing project_alert_policy_condition resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromProjectAlertPolicyName(projectAlertPolicyName) → {string}

Parse the project from ProjectAlertPolicy resource.

Parameters:
Name Type Description
projectAlertPolicyName string

A fully-qualified path representing project_alert_policy resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromProjectChannelDescriptorName(projectChannelDescriptorName) → {string}

Parse the project from ProjectChannelDescriptor resource.

Parameters:
Name Type Description
projectChannelDescriptorName string

A fully-qualified path representing project_channel_descriptor resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromProjectGroupName(projectGroupName) → {string}

Parse the project from ProjectGroup resource.

Parameters:
Name Type Description
projectGroupName string

A fully-qualified path representing project_group resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromProjectMetricDescriptorName(projectMetricDescriptorName) → {string}

Parse the project from ProjectMetricDescriptor resource.

Parameters:
Name Type Description
projectMetricDescriptorName string

A fully-qualified path representing project_metric_descriptor resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromProjectMonitoredResourceDescriptorName(projectMonitoredResourceDescriptorName) → {string}

Parse the project from ProjectMonitoredResourceDescriptor resource.

Parameters:
Name Type Description
projectMonitoredResourceDescriptorName string

A fully-qualified path representing project_monitored_resource_descriptor resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromProjectName(projectName) → {string}

Parse the project from Project resource.

Parameters:
Name Type Description
projectName string

A fully-qualified path representing Project resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromProjectNotificationChannelName(projectNotificationChannelName) → {string}

Parse the project from ProjectNotificationChannel resource.

Parameters:
Name Type Description
projectNotificationChannelName string

A fully-qualified path representing project_notification_channel resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromProjectServiceName(projectServiceName) → {string}

Parse the project from ProjectService resource.

Parameters:
Name Type Description
projectServiceName string

A fully-qualified path representing project_service resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromProjectServiceServiceLevelObjectiveName(projectServiceServiceLevelObjectiveName) → {string}

Parse the project from ProjectServiceServiceLevelObjective resource.

Parameters:
Name Type Description
projectServiceServiceLevelObjectiveName string

A fully-qualified path representing project_service_service_level_objective resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromProjectTimeSeriesName(projectTimeSeriesName) → {string}

Parse the project from ProjectTimeSeries resource.

Parameters:
Name Type Description
projectTimeSeriesName string

A fully-qualified path representing project_time_series resource.

Returns:
Type Description
string

A string representing the project.

matchProjectFromProjectUptimeCheckConfigName(projectUptimeCheckConfigName) → {string}

Parse the project from ProjectUptimeCheckConfig resource.

Parameters:
Name Type Description
projectUptimeCheckConfigName string

A fully-qualified path representing project_uptime_check_config resource.

Returns:
Type Description
string

A string representing the project.

matchServiceFromFolderServiceName(folderServiceName) → {string}

Parse the service from FolderService resource.

Parameters:
Name Type Description
folderServiceName string

A fully-qualified path representing folder_service resource.

Returns:
Type Description
string

A string representing the service.

matchServiceFromFolderServiceServiceLevelObjectiveName(folderServiceServiceLevelObjectiveName) → {string}

Parse the service from FolderServiceServiceLevelObjective resource.

Parameters:
Name Type Description
folderServiceServiceLevelObjectiveName string

A fully-qualified path representing folder_service_service_level_objective resource.

Returns:
Type Description
string

A string representing the service.

matchServiceFromOrganizationServiceName(organizationServiceName) → {string}

Parse the service from OrganizationService resource.

Parameters:
Name Type Description
organizationServiceName string

A fully-qualified path representing organization_service resource.

Returns:
Type Description
string

A string representing the service.

matchServiceFromOrganizationServiceServiceLevelObjectiveName(organizationServiceServiceLevelObjectiveName) → {string}

Parse the service from OrganizationServiceServiceLevelObjective resource.

Parameters:
Name Type Description
organizationServiceServiceLevelObjectiveName string

A fully-qualified path representing organization_service_service_level_objective resource.

Returns:
Type Description
string

A string representing the service.

matchServiceFromProjectServiceName(projectServiceName) → {string}

Parse the service from ProjectService resource.

Parameters:
Name Type Description
projectServiceName string

A fully-qualified path representing project_service resource.

Returns:
Type Description
string

A string representing the service.

matchServiceFromProjectServiceServiceLevelObjectiveName(projectServiceServiceLevelObjectiveName) → {string}

Parse the service from ProjectServiceServiceLevelObjective resource.

Parameters:
Name Type Description
projectServiceServiceLevelObjectiveName string

A fully-qualified path representing project_service_service_level_objective resource.

Returns:
Type Description
string

A string representing the service.

matchServiceLevelObjectiveFromFolderServiceServiceLevelObjectiveName(folderServiceServiceLevelObjectiveName) → {string}

Parse the service_level_objective from FolderServiceServiceLevelObjective resource.

Parameters:
Name Type Description
folderServiceServiceLevelObjectiveName string

A fully-qualified path representing folder_service_service_level_objective resource.

Returns:
Type Description
string

A string representing the service_level_objective.

matchServiceLevelObjectiveFromOrganizationServiceServiceLevelObjectiveName(organizationServiceServiceLevelObjectiveName) → {string}

Parse the service_level_objective from OrganizationServiceServiceLevelObjective resource.

Parameters:
Name Type Description
organizationServiceServiceLevelObjectiveName string

A fully-qualified path representing organization_service_service_level_objective resource.

Returns:
Type Description
string

A string representing the service_level_objective.

matchServiceLevelObjectiveFromProjectServiceServiceLevelObjectiveName(projectServiceServiceLevelObjectiveName) → {string}

Parse the service_level_objective from ProjectServiceServiceLevelObjective resource.

Parameters:
Name Type Description
projectServiceServiceLevelObjectiveName string

A fully-qualified path representing project_service_service_level_objective resource.

Returns:
Type Description
string

A string representing the service_level_objective.

matchTimeSeriesFromProjectTimeSeriesName(projectTimeSeriesName) → {string}

Parse the time_series from ProjectTimeSeries resource.

Parameters:
Name Type Description
projectTimeSeriesName string

A fully-qualified path representing project_time_series resource.

Returns:
Type Description
string

A string representing the time_series.

matchUptimeCheckConfigFromFolderUptimeCheckConfigName(folderUptimeCheckConfigName) → {string}

Parse the uptime_check_config from FolderUptimeCheckConfig resource.

Parameters:
Name Type Description
folderUptimeCheckConfigName string

A fully-qualified path representing folder_uptime_check_config resource.

Returns:
Type Description
string

A string representing the uptime_check_config.

matchUptimeCheckConfigFromOrganizationUptimeCheckConfigName(organizationUptimeCheckConfigName) → {string}

Parse the uptime_check_config from OrganizationUptimeCheckConfig resource.

Parameters:
Name Type Description
organizationUptimeCheckConfigName string

A fully-qualified path representing organization_uptime_check_config resource.

Returns:
Type Description
string

A string representing the uptime_check_config.

matchUptimeCheckConfigFromProjectUptimeCheckConfigName(projectUptimeCheckConfigName) → {string}

Parse the uptime_check_config from ProjectUptimeCheckConfig resource.

Parameters:
Name Type Description
projectUptimeCheckConfigName string

A fully-qualified path representing project_uptime_check_config resource.

Returns:
Type Description
string

A string representing the uptime_check_config.

organizationAlertPolicyConditionPath(organization, alert_policy, condition) → {string}

Return a fully-qualified organizationAlertPolicyCondition resource name string.

Parameters:
Name Type Description
organization string
alert_policy string
condition string
Returns:
Type Description
string

Resource name string.

organizationAlertPolicyPath(organization, alert_policy) → {string}

Return a fully-qualified organizationAlertPolicy resource name string.

Parameters:
Name Type Description
organization string
alert_policy string
Returns:
Type Description
string

Resource name string.

organizationChannelDescriptorPath(organization, channel_descriptor) → {string}

Return a fully-qualified organizationChannelDescriptor resource name string.

Parameters:
Name Type Description
organization string
channel_descriptor string
Returns:
Type Description
string

Resource name string.

organizationGroupPath(organization, group) → {string}

Return a fully-qualified organizationGroup resource name string.

Parameters:
Name Type Description
organization string
group string
Returns:
Type Description
string

Resource name string.

organizationMetricDescriptorPath(organization, metric_descriptor) → {string}

Return a fully-qualified organizationMetricDescriptor resource name string.

Parameters:
Name Type Description
organization string
metric_descriptor string
Returns:
Type Description
string

Resource name string.

organizationMonitoredResourceDescriptorPath(organization, monitored_resource_descriptor) → {string}

Return a fully-qualified organizationMonitoredResourceDescriptor resource name string.

Parameters:
Name Type Description
organization string
monitored_resource_descriptor string
Returns:
Type Description
string

Resource name string.

organizationNotificationChannelPath(organization, notification_channel) → {string}

Return a fully-qualified organizationNotificationChannel resource name string.

Parameters:
Name Type Description
organization string
notification_channel string
Returns:
Type Description
string

Resource name string.

organizationServicePath(organization, service) → {string}

Return a fully-qualified organizationService resource name string.

Parameters:
Name Type Description
organization string
service string
Returns:
Type Description
string

Resource name string.

organizationServiceServiceLevelObjectivePath(organization, service, service_level_objective) → {string}

Return a fully-qualified organizationServiceServiceLevelObjective resource name string.

Parameters:
Name Type Description
organization string
service string
service_level_objective string
Returns:
Type Description
string

Resource name string.

organizationUptimeCheckConfigPath(organization, uptime_check_config) → {string}

Return a fully-qualified organizationUptimeCheckConfig resource name string.

Parameters:
Name Type Description
organization string
uptime_check_config string
Returns:
Type Description
string

Resource name string.

projectAlertPolicyConditionPath(project, alert_policy, condition) → {string}

Return a fully-qualified projectAlertPolicyCondition resource name string.

Parameters:
Name Type Description
project string
alert_policy string
condition string
Returns:
Type Description
string

Resource name string.

projectAlertPolicyPath(project, alert_policy) → {string}

Return a fully-qualified projectAlertPolicy resource name string.

Parameters:
Name Type Description
project string
alert_policy string
Returns:
Type Description
string

Resource name string.

projectChannelDescriptorPath(project, channel_descriptor) → {string}

Return a fully-qualified projectChannelDescriptor resource name string.

Parameters:
Name Type Description
project string
channel_descriptor string
Returns:
Type Description
string

Resource name string.

projectGroupPath(project, group) → {string}

Return a fully-qualified projectGroup resource name string.

Parameters:
Name Type Description
project string
group string
Returns:
Type Description
string

Resource name string.

projectMetricDescriptorPath(project, metric_descriptor) → {string}

Return a fully-qualified projectMetricDescriptor resource name string.

Parameters:
Name Type Description
project string
metric_descriptor string
Returns:
Type Description
string

Resource name string.

projectMonitoredResourceDescriptorPath(project, monitored_resource_descriptor) → {string}

Return a fully-qualified projectMonitoredResourceDescriptor resource name string.

Parameters:
Name Type Description
project string
monitored_resource_descriptor string
Returns:
Type Description
string

Resource name string.

projectNotificationChannelPath(project, notification_channel) → {string}

Return a fully-qualified projectNotificationChannel resource name string.

Parameters:
Name Type Description
project string
notification_channel string
Returns:
Type Description
string

Resource name string.

projectPath(project) → {string}

Return a fully-qualified project resource name string.

Parameters:
Name Type Description
project string
Returns:
Type Description
string

Resource name string.

projectServicePath(project, service) → {string}

Return a fully-qualified projectService resource name string.

Parameters:
Name Type Description
project string
service string
Returns:
Type Description
string

Resource name string.

projectServiceServiceLevelObjectivePath(project, service, service_level_objective) → {string}

Return a fully-qualified projectServiceServiceLevelObjective resource name string.

Parameters:
Name Type Description
project string
service string
service_level_objective string
Returns:
Type Description
string

Resource name string.

projectTimeSeriesPath(project, time_series) → {string}

Return a fully-qualified projectTimeSeries resource name string.

Parameters:
Name Type Description
project string
time_series string
Returns:
Type Description
string

Resource name string.

projectUptimeCheckConfigPath(project, uptime_check_config) → {string}

Return a fully-qualified projectUptimeCheckConfig resource name string.

Parameters:
Name Type Description
project string
uptime_check_config string
Returns:
Type Description
string

Resource name string.