Get
|
|||||
|
|
Gets a single monitored resource descriptor. This method does not require a Stackdriver account
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- View and manage your data across Google Cloud Platform services
- View and write monitoring data for all of your Google and third-party Cloud and API projects
- View monitoring data for all of your Google Cloud and third-party projects
- Publish metric data to your Google Cloud projects
Input
This building block consumes 1 input parameters
Name | Format | Description |
---|---|---|
name Required |
STRING |
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 |
= Parameter name
= Format
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 |
Output
This building block provides 9 output parameters
Name | Format | Description |
---|---|---|
displayName |
STRING |
Optional. A concise name for the monitored resource type that might be displayed in user interfaces. It should be a Title Cased Noun Phrase, without any article or other determiners. For example, "Google Cloud SQL Database" |
description |
STRING |
Optional. A detailed description of the monitored resource type that might be used in documentation |
launchStage |
ENUMERATION |
Optional. The launch stage of the monitored resource definition |
labels[] |
OBJECT |
A description of a label |
labels[].valueType |
ENUMERATION |
The type of data that can be assigned to the label |
labels[].key |
STRING |
The label key |
labels[].description |
STRING |
A human-readable description for the label |
name |
STRING |
Optional. The resource name of the monitored resource descriptor: "projects/{project_id}/monitoredResourceDescriptors/{type}" where {type} is the value of the type field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format "monitoredResourceDescriptors/{type}" |
type |
STRING |
Required. The monitored resource type. For example, the type "cloudsql_database" represents databases in Google Cloud SQL. The maximum length of this value is 256 characters |
= Parameter name
= Format
displayName STRING Optional. A concise name for the monitored resource type that might be displayed in user interfaces. It should be a Title Cased Noun Phrase, without any article or other determiners. For example, "Google Cloud SQL Database" |
description STRING Optional. A detailed description of the monitored resource type that might be used in documentation |
launchStage ENUMERATION Optional. The launch stage of the monitored resource definition |
labels[] OBJECT A description of a label |
labels[].valueType ENUMERATION The type of data that can be assigned to the label |
labels[].key STRING The label key |
labels[].description STRING A human-readable description for the label |
name STRING Optional. The resource name of the monitored resource descriptor: "projects/{project_id}/monitoredResourceDescriptors/{type}" where {type} is the value of the type field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format "monitoredResourceDescriptors/{type}" |
type STRING Required. The monitored resource type. For example, the type "cloudsql_database" represents databases in Google Cloud SQL. The maximum length of this value is 256 characters |