Skip to content

gcp get-log-resources

Get resource descriptors

Description

get resource descriptors for gcp logs

Synopsis

gcp get-log-resources
    [--site <site>]

Arguments

site - (string)

     Site where this command will be executed
     Example: --site "site-1"
     Default: input.site      Attributes: optional

Examples

Input:

x=! gcp get-log-resources
Output:
[
  {
    "type": "aiplatform.googleapis.com/Endpoint",
    "display_name": "Vertex AI Endpoint",
    "description": "A Vertex AI API Endpoint where Models are deployed into it.",
    "labels": [
      {
        "key": "resource_container",
        "description": "The identifier of the GCP Project owning the Endpoint."
      },
      {
        "key": "location",
        "description": "The region in which the service is running."
      },
      {
        "key": "endpoint_id",
        "description": "The ID of the Endpoint."
      }
    ],
    "launch_stage": 3
  }
]

Access Control

To use this command, you need access to the following:

Field Value
Action "read"
Service Type "gcp"
Service Instance
Namespace
Object Type "logs"
Object ID

Please see Access Control for details.