Volver al catálogo

Google Cloud Logging

google_cloud_logging

Google Cloud Logging stores, searches, analyzes, monitors, and manages log data and logging configuration for Google Cloud resources.

Acciones
64
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (64)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Cancel OperationGOOGLE_CLOUD_LOGGING_CANCEL_OPERATIONAcción

Start best-effort cancellation of a Cloud Logging long-running operation using explicit parent, location, and operation IDs.

Parámetros de entrada

  • parent_idstringObligatorio

    Explicit project, folder, organization, or billing account ID without a collection prefix. It must not contain '/', '..', or '%'.

  • location_idstringObligatorio

    Explicit Logging location ID without a parent resource path. It must not contain '/', '..', or '%'.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the operation.

    projectsfoldersorganizationsbillingAccounts
  • operation_idstringObligatorio

    Explicit long-running operation ID without its parent resource path. It must not contain '/', '..', or '%'.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Copy Log EntriesGOOGLE_CLOUD_LOGGING_COPY_LOG_ENTRIESAcción

Start a long-running copy of matching entries from a Cloud Logging log bucket to a Cloud Storage bucket.

Parámetros de entrada

  • namestringObligatorio

    Full source log bucket resource name, for example projects/my-project/locations/global/buckets/my-source-bucket.

  • filterstring

    Filter selecting the log entries to copy. An empty or omitted filter matches all entries in the source bucket.

  • destinationstringObligatorio

    Cloud Storage destination in storage.googleapis.com/GCS_BUCKET format.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create ExclusionGOOGLE_CLOUD_LOGGING_CREATE_EXCLUSIONAcción

Create one exclusion under an explicit Google Cloud parent resource.

Parámetros de entrada

  • filterstringObligatorio

    Advanced logs filter matching the log entries to exclude.

  • disabledboolean

    Whether the exclusion is disabled and therefore excludes no log entries.

  • parent_idstringObligatorio

    Explicit project, folder, organization, or billing account ID without a collection prefix. The ID must not contain '/', '..', or '%'.

  • descriptionstring

    Optional human-readable description of the exclusion.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection in which to create the exclusion.

    projectsfoldersorganizationsbillingAccounts
  • exclusion_idstring

    Optional client-assigned exclusion ID without a parent resource path. It must start with an alphanumeric character and must not contain '/', '..', or '%'.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Log BucketGOOGLE_CLOUD_LOGGING_CREATE_LOG_BUCKETAcción

Create a Cloud Logging bucket under an explicit parent and location.

Parámetros de entrada

  • lockedboolean

    Whether to lock the bucket. A locked bucket's retention period cannot be changed, and it can be deleted only when empty.

  • bucket_idstringObligatorio

    Client-assigned bucket ID. It must start with an alphanumeric character, contain only letters, digits, underscores, hyphens, or periods, and must not contain '..' or '%'.

  • parent_idstringObligatorio

    ID of the parent project, folder, organization, or billing account without a collection prefix. It must not contain '/', '..', or '%'.

  • descriptionstring

    Human-readable description of the bucket.

  • location_idstringObligatorio

    Logging location ID without a parent resource path. It must not contain '/', '..', or '%'.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection in which to create the bucket.

    projectsfoldersorganizationsbillingAccounts
  • cmek_settingsobject

    Customer-managed encryption key settings for new log entries.

  • index_configsobject[]

    Indexed LogEntry fields and their data types.

  • retention_daysinteger

    Number of days to retain logs. Use zero at creation time to select the provider default of 30 days.

  • analytics_enabledboolean

    Whether to enable Log Analytics; once enabled it cannot be disabled.

  • restricted_fieldsstring[]

    LogEntry field paths whose values are denied access in this bucket.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Log Bucket AsynchronouslyGOOGLE_CLOUD_LOGGING_CREATE_LOG_BUCKET_ASYNCAcción

Start asynchronous creation of a Cloud Logging bucket under an explicit Google Cloud parent and location.

Parámetros de entrada

  • lockedboolean

    Whether to lock the bucket's retention period after creation.

  • bucket_idstringObligatorio

    Client-assigned bucket ID. It must start with an alphanumeric character, contain only letters, digits, underscores, hyphens, or periods, and must not contain '..'.

  • parent_idstringObligatorio

    Explicit project, folder, organization, or billing account ID without a collection prefix. It must not contain '/', '..', or '%'.

  • descriptionstring

    Human-readable description of the log bucket.

  • location_idstringObligatorio

    Explicit Logging location ID without a parent resource path. It must not contain '/', '..', or '%'.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection in which to create the bucket.

    projectsfoldersorganizationsbillingAccounts
  • cmek_settingsobject

    Customer-managed encryption key configuration for new log entries.

  • index_configsobject[]

    Indexed LogEntry fields and their data types.

  • retention_daysinteger

    Retention period in days. Use 0 at creation time for the provider default of 30 days; positive values must be at least 1.

  • analytics_enabledboolean

    Whether to enable Log Analytics; once enabled, it cannot be disabled.

  • restricted_fieldsstring[]

    LogEntry field paths whose values are denied access in this bucket.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Log LinkGOOGLE_CLOUD_LOGGING_CREATE_LOG_LINKAcción

Start asynchronous creation of a BigQuery-linked dataset for an explicit Cloud Logging bucket.

Parámetros de entrada

  • link_idstringObligatorio

    Client-assigned link ID containing only alphanumeric characters and underscores, with at most 100 characters.

  • bucket_idstringObligatorio

    Explicit log bucket ID without a parent resource path. It must not contain '/', '..', or '%'.

  • parent_idstringObligatorio

    Explicit project, folder, organization, or billing account ID without a collection prefix. It must not contain '/', '..', or '%'.

  • descriptionstring

    Optional description of the link, with at most 8,000 characters.

  • location_idstringObligatorio

    Explicit Logging location ID without a parent resource path. It must not contain '/', '..', or '%'.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the log bucket.

    projectsfoldersorganizationsbillingAccounts
  • bigquery_datasetobject

    Optional empty BigQuery dataset configuration. Cloud Logging creates the dataset and assigns its output-only dataset ID from link_id.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Log MetricGOOGLE_CLOUD_LOGGING_CREATE_LOG_METRICAcción

Create a logs-based metric in an explicit Google Cloud project.

Parámetros de entrada

  • filterstringObligatorio

    Advanced logs filter used to match log entries.

  • disabledboolean

    Whether the metric is disabled and generates no points.

  • metric_idstringObligatorio

    Client-assigned log-based metric ID without a project resource path. Use decoded slash-separated hierarchy segments when needed.

  • project_idstringObligatorio

    Google Cloud project ID or numeric project number without the projects/ prefix.

  • bucket_namestring

    Log bucket resource name that owns this metric; it must be in the same project.

  • descriptionstring

    Human-readable description of the metric.

  • bucket_optionsobject

    Histogram bucket boundaries required by a distribution metric.

  • value_extractorstring

    EXTRACT or REGEXP_EXTRACT expression used by a distribution metric.

  • label_extractorsobject

    Map of metric label keys to EXTRACT or REGEXP_EXTRACT expressions.

  • metric_descriptorobject

    Metric schema; omit it to create the default DELTA INT64 counter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Log ScopeGOOGLE_CLOUD_LOGGING_CREATE_LOG_SCOPEAcción

Create one log scope under an explicit Google Cloud parent and location.

Parámetros de entrada

  • parent_idstringObligatorio

    Explicit project, folder, or organization ID without a collection prefix. It must not contain '/', '..', or '%'.

  • descriptionstring

    Optional description of the log scope, with at most 8,000 characters.

  • location_idstringObligatorio

    Explicit Logging location ID without a parent resource path. It must not contain '/', '..', or '%'.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection in which to create the log scope.

    projectsfoldersorganizations
  • log_scope_idstringObligatorio

    Client-assigned log scope ID. It must start with an alphanumeric character and contain only letters, digits, underscores, hyphens, or periods. It must not contain '..' or '%'.

  • resource_namesstring[]Obligatorio

    Project or project log-view resource names included in the log scope. Use projects/PROJECT_ID or projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_ID. At most 5 entries may be projects and at most 100 resources may be supplied in total.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Log ViewGOOGLE_CLOUD_LOGGING_CREATE_LOG_VIEWAcción

Create one view over log entries in an explicit Cloud Logging bucket.

Parámetros de entrada

  • filterstring

    Optional conjunction of SOURCE(), resource.type, or LOG_ID() clauses that restricts which bucket entries are visible in the view.

  • view_idstringObligatorio

    Client-assigned view ID containing only letters, digits, underscores, and hyphens, with at most 100 characters.

  • bucket_idstringObligatorio

    Explicit log bucket ID without a parent resource path. It must not contain '/', '..', or '%'.

  • parent_idstringObligatorio

    Explicit project, folder, organization, or billing account ID without a collection prefix. It must not contain '/', '..', or '%'.

  • descriptionstring

    Optional human-readable description of the log view.

  • location_idstringObligatorio

    Explicit Logging location ID without a parent resource path. It must not contain '/', '..', or '%'.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the log bucket.

    projectsfoldersorganizationsbillingAccounts

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Saved QueryGOOGLE_CLOUD_LOGGING_CREATE_SAVED_QUERYAcción

Create one saved query under an explicit Google Cloud parent and location.

Parámetros de entrada

  • parent_idstringObligatorio

    Explicit project, folder, organization, or billing account ID without a collection prefix. It must not contain '/', '..', or '%'.

  • visibilitystringObligatorioenum

    Required ownership visibility: PRIVATE for its creator or SHARED for the project.

    PRIVATESHARED
  • descriptionstring

    Optional human-readable description of the saved query.

  • location_idstringObligatorio

    Explicit Logging location ID without a parent resource path. It must not contain '/', '..', or '%'.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the saved query.

    projectsfoldersorganizationsbillingAccounts
  • display_namestringObligatorio

    Required user-facing title for the saved query.

  • logging_queryobject

    Optional query executable in Logs Explorer or through the Logging API.

  • saved_query_idstring

    Optional client-assigned saved query ID. It must start with an alphanumeric character and contain only letters, digits, underscores, hyphens, or periods. Omit it to let Cloud Logging generate an ID.

  • ops_analytics_queryobject

    Optional query executable in Log Analytics.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create SinkGOOGLE_CLOUD_LOGGING_CREATE_SINKAcción

Create a Cloud Logging sink under an explicit parent resource.

Parámetros de entrada

  • filterstring

    Optional advanced logs filter selecting entries to export.

  • sink_idstring

    Optional client-assigned sink ID without a parent resource path. It must start with an alphanumeric character and must not contain '/', '..', or '%'.

  • disabledboolean

    Whether the sink is disabled and exports no log entries.

  • parent_idstringObligatorio

    Explicit project, folder, organization, or billing account ID without a collection prefix. It must not contain '/', '..', or '%'.

  • exclusionsobject[]

    Optional exclusion filters applied after the sink filter.

  • descriptionstring

    Optional human-readable sink description of at most 8,000 characters.

  • destinationstringObligatorio

    Export destination, such as a Cloud Storage bucket, BigQuery dataset, Pub/Sub topic, Cloud project, or Cloud Logging bucket resource.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection in which to create the sink.

    projectsfoldersorganizationsbillingAccounts
  • bigquery_optionsobject

    Options for a sink whose destination is a BigQuery dataset.

  • include_childrenboolean

    Whether an organization- or folder-owned sink can export matching entries from child resources.

  • intercept_childrenboolean

    Whether an organization- or folder-owned aggregated sink intercepts matching entries from child resources.

  • custom_writer_identitystring

    Optional caller-provided writer service account in serviceAccount:name@example.com format. It is supported only for a destination log bucket in a different project.

  • unique_writer_identityboolean

    Whether Cloud Logging should return a service-agent writer identity instead of the legacy shared identity where applicable.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete ExclusionGOOGLE_CLOUD_LOGGING_DELETE_EXCLUSIONAcción

Delete one Cloud Logging exclusion identified by explicit parent and exclusion IDs.

Parámetros de entrada

  • parent_idstringObligatorio

    Explicit project, folder, organization, or billing account ID without a collection prefix. It must not contain '/', '..', or '%'.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the exclusion.

    projectsfoldersorganizationsbillingAccounts
  • exclusion_idstringObligatorio

    Explicit log exclusion ID without its parent resource path. It must not contain '/', '..', or '%'.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete LogGOOGLE_CLOUD_LOGGING_DELETE_LOGAcción

Delete all entries in one log from the global _Default Log Bucket under an explicit project, folder, organization, or billing account.

Parámetros de entrada

  • log_idstring

    Simple decoded log ID without the parent resource path. Use log_id_segments for IDs containing separators. Do not pass a slash or pre-encoded value.

  • parent_idstringObligatorio

    ID of the parent project, folder, organization, or billing account. Do not include the collection prefix.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the log.

    projectsfoldersorganizationsbillingAccounts
  • log_id_segmentsstring[]

    Decoded components of a slash-separated log ID. Each component must be non-empty and must not contain '/', '..', or '%'. Use this instead of log_id for IDs such as ['cloudaudit.googleapis.com', 'activity'].

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Log BucketGOOGLE_CLOUD_LOGGING_DELETE_LOG_BUCKETAcción

Delete one Cloud Logging log bucket using explicit parent, location, and bucket identifiers. The bucket enters DELETE_REQUESTED state and is permanently purged after the provider's recovery period.

Parámetros de entrada

  • bucket_idstringObligatorio

    Explicit log bucket ID without its parent resource path. It must not contain '/', '..', or '%'.

  • parent_idstringObligatorio

    Explicit project, folder, organization, or billing account ID without a collection prefix. It must not contain '/', '..', or '%'.

  • location_idstringObligatorio

    Explicit Logging location ID without a parent resource path. It must not contain '/', '..', or '%'.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the log bucket.

    projectsfoldersorganizationsbillingAccounts

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Log LinkGOOGLE_CLOUD_LOGGING_DELETE_LOG_LINKAcción

Start asynchronous deletion of one Cloud Logging log link and its corresponding BigQuery linked dataset using explicit resource IDs.

Parámetros de entrada

  • link_idstringObligatorio

    Explicit log link ID without a bucket resource path. It must not contain '/', '..', or '%'.

  • bucket_idstringObligatorio

    Explicit log bucket ID without a parent resource path. It must not contain '/', '..', or '%'.

  • parent_idstringObligatorio

    Explicit project, folder, organization, or billing account ID without a collection prefix. It must not contain '/', '..', or '%'.

  • location_idstringObligatorio

    Explicit Logging location ID without a parent resource path. It must not contain '/', '..', or '%'.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the log link.

    projectsfoldersorganizationsbillingAccounts

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Log MetricGOOGLE_CLOUD_LOGGING_DELETE_LOG_METRICAcción

Delete a project log-based metric using explicit project and metric IDs.

Parámetros de entrada

  • metric_idstringObligatorio

    Decoded log-based metric ID without the project resource path.

  • project_idstringObligatorio

    Google Cloud project ID. Do not include the projects/ prefix.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Log ScopeGOOGLE_CLOUD_LOGGING_DELETE_LOG_SCOPEAcción

Delete one Cloud Logging log scope using explicit parent, location, and log scope identifiers.

Parámetros de entrada

  • parent_idstringObligatorio

    Explicit project, folder, or organization ID without a collection prefix. It must not contain '/', '..', or '%'.

  • location_idstringObligatorio

    Explicit Logging location ID without a parent resource path. It must not contain '/', '..', or '%'.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the log scope.

    projectsfoldersorganizations
  • log_scope_idstringObligatorio

    Explicit log scope ID without its location resource path. It must not contain '/', '..', or '%'.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Log ViewGOOGLE_CLOUD_LOGGING_DELETE_LOG_VIEWAcción

Delete one Cloud Logging log view using explicit parent, location, bucket, and view identifiers.

Parámetros de entrada

  • view_idstringObligatorio

    Explicit log view ID without its bucket resource path. It must not contain '/', '..', or '%'.

  • bucket_idstringObligatorio

    Explicit log bucket ID without its parent resource path. It must not contain '/', '..', or '%'.

  • parent_idstringObligatorio

    Explicit project, folder, organization, or billing account ID without a collection prefix. It must not contain '/', '..', or '%'.

  • location_idstringObligatorio

    Explicit Logging location ID without a parent resource path. It must not contain '/', '..', or '%'.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the log view.

    projectsfoldersorganizationsbillingAccounts

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Saved QueryGOOGLE_CLOUD_LOGGING_DELETE_SAVED_QUERYAcción

Delete one Cloud Logging saved query using explicit parent, location, and saved query identifiers.

Parámetros de entrada

  • parent_idstringObligatorio

    Explicit project, folder, organization, or billing account ID without a collection prefix. It must not contain '/', '..', or '%'.

  • location_idstringObligatorio

    Explicit Logging location ID without a parent resource path. It must not contain '/', '..', or '%'.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the saved query.

    projectsfoldersorganizationsbillingAccounts
  • saved_query_idstringObligatorio

    Explicit saved query ID without its location resource path. It must not contain '/', '..', or '%'.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete SinkGOOGLE_CLOUD_LOGGING_DELETE_SINKAcción

Delete one Cloud Logging sink under an explicit project, folder, organization, or billing account. If the sink has a unique writer identity, Google also deletes that service account.

Parámetros de entrada

  • sink_idstringObligatorio

    Log sink ID. Do not include the parent resource path.

  • parent_idstringObligatorio

    ID of the parent project, folder, organization, or billing account. Do not include the collection prefix.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the sink.

    projectsfoldersorganizationsbillingAccounts

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get CMEK SettingsGOOGLE_CLOUD_LOGGING_GET_CMEK_SETTINGSAcción

Get Cloud Logging CMEK settings for an explicit parent resource.

Parámetros de entrada

  • parent_idstringObligatorio

    ID of the parent project, folder, organization, or billing account. Do not include the collection prefix.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the CMEK settings.

    projectsfoldersorganizationsbillingAccounts

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get ExclusionGOOGLE_CLOUD_LOGGING_GET_EXCLUSIONAcción

Get one Cloud Logging exclusion by its explicit parent and resource IDs.

Parámetros de entrada

  • parent_idstringObligatorio

    ID of the parent project, folder, organization, or billing account. Do not include the collection prefix.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the exclusion.

    projectsfoldersorganizationsbillingAccounts
  • exclusion_idstringObligatorio

    Log exclusion ID. Do not include the parent resource path.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get LocationGOOGLE_CLOUD_LOGGING_GET_LOCATIONAcción

Get one Logging API location under an explicit Google Cloud parent.

Parámetros de entrada

  • parent_idstringObligatorio

    ID of the parent project, folder, organization, or billing account. Do not include the collection prefix.

  • location_idstringObligatorio

    Canonical Logging location ID without a parent resource path.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the location.

    projectsfoldersorganizationsbillingAccounts

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Log BucketGOOGLE_CLOUD_LOGGING_GET_LOG_BUCKETAcción

Get one Cloud Logging log bucket using explicit parent, location, and bucket identifiers.

Parámetros de entrada

  • bucket_idstringObligatorio

    Log bucket ID without the parent resource path.

  • parent_idstringObligatorio

    ID of the parent project, folder, organization, or billing account. Do not include the collection prefix.

  • location_idstringObligatorio

    Logging location ID without a parent resource path.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the log bucket.

    projectsfoldersorganizationsbillingAccounts

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Log LinkGOOGLE_CLOUD_LOGGING_GET_LOG_LINKAcción

Get one Cloud Logging log link using explicit parent and resource IDs.

Parámetros de entrada

  • link_idstringObligatorio

    Log link ID without the bucket resource path.

  • bucket_idstringObligatorio

    Log bucket ID without the parent resource path.

  • parent_idstringObligatorio

    ID of the parent project, folder, organization, or billing account. Do not include the collection prefix.

  • location_idstringObligatorio

    Logging location ID without a parent resource path.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the log link.

    projectsfoldersorganizationsbillingAccounts

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Log MetricGOOGLE_CLOUD_LOGGING_GET_LOG_METRICAcción

Get a project log-based metric using explicit project and metric IDs.

Parámetros de entrada

  • metric_idstringObligatorio

    Decoded log-based metric ID without the project resource path.

  • project_idstringObligatorio

    Google Cloud project ID. Do not include the projects/ prefix.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Log ScopeGOOGLE_CLOUD_LOGGING_GET_LOG_SCOPEAcción

Get one log scope by its explicit parent and resource IDs.

Parámetros de entrada

  • parent_idstringObligatorio

    ID of the parent project, folder, or organization. Do not include the collection prefix.

  • location_idstringObligatorio

    Logging location ID without a parent resource path.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the log scope.

    projectsfoldersorganizations
  • log_scope_idstringObligatorio

    Log scope ID without the location resource path.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Log ViewGOOGLE_CLOUD_LOGGING_GET_LOG_VIEWAcción

Get one Cloud Logging log view by its explicit parent and resource IDs.

Parámetros de entrada

  • view_idstringObligatorio

    Log view ID without the bucket resource path.

  • bucket_idstringObligatorio

    Log bucket ID without the parent resource path.

  • parent_idstringObligatorio

    ID of the parent project, folder, organization, or billing account. Do not include the collection prefix.

  • location_idstringObligatorio

    Logging location ID without a parent resource path.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the log view.

    projectsfoldersorganizationsbillingAccounts

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Log View IAM PolicyGOOGLE_CLOUD_LOGGING_GET_LOG_VIEW_IAM_POLICYAcción

Get the IAM access policy for an explicit Cloud Logging log view.

Parámetros de entrada

  • optionsobject

    Optional settings controlling the IAM policy version returned.

  • view_idstringObligatorio

    Log view ID without the bucket resource path.

  • bucket_idstringObligatorio

    Log bucket ID without the parent resource path.

  • parent_idstringObligatorio

    ID of the parent project, folder, or organization. Do not include the collection prefix.

  • location_idstringObligatorio

    Logging location ID without a parent resource path.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the log view.

    projectsfoldersorganizations

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get OperationGOOGLE_CLOUD_LOGGING_GET_OPERATIONAcción

Get the latest state of a Cloud Logging long-running operation using explicit parent, location, and operation IDs.

Parámetros de entrada

  • parent_idstringObligatorio

    ID of the parent project, folder, organization, or billing account. Do not include the collection prefix.

  • location_idstringObligatorio

    Logging location ID without a parent resource path.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the operation.

    projectsfoldersorganizationsbillingAccounts
  • operation_idstringObligatorio

    Long-running operation ID returned by an asynchronous Cloud Logging action. Do not include the operation resource path.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Saved QueryGOOGLE_CLOUD_LOGGING_GET_SAVED_QUERYAcción

Get one saved query by its explicit parent and resource IDs.

Parámetros de entrada

  • parent_idstringObligatorio

    ID of the parent project, folder, organization, or billing account. Do not include the collection prefix.

  • location_idstringObligatorio

    Logging location ID without a parent resource path.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the saved query.

    projectsfoldersorganizationsbillingAccounts
  • saved_query_idstringObligatorio

    Saved query ID without the location resource path.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get SettingsGOOGLE_CLOUD_LOGGING_GET_SETTINGSAcción

Get Cloud Logging settings for an explicit Google Cloud parent resource.

Parámetros de entrada

  • parent_idstringObligatorio

    ID of the parent project, folder, organization, or billing account. Do not include the collection prefix.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the settings.

    projectsfoldersorganizationsbillingAccounts

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get SinkGOOGLE_CLOUD_LOGGING_GET_SINKAcción

Get one Cloud Logging sink by its explicit parent and sink IDs.

Parámetros de entrada

  • sink_idstringObligatorio

    Log sink ID. Do not include the parent resource path.

  • parent_idstringObligatorio

    ID of the parent project, folder, organization, or billing account. Do not include the collection prefix.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the sink.

    projectsfoldersorganizationsbillingAccounts

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List ExclusionsGOOGLE_CLOUD_LOGGING_LIST_EXCLUSIONSAcción

List one page of exclusions on the _Default sink for an explicit Google Cloud project, folder, organization, or billing account.

Parámetros de entrada

  • page_sizeinteger

    Maximum exclusions to return in this page. Google may apply a lower endpoint-specific limit.

  • parent_idstringObligatorio

    ID of the parent project, folder, organization, or billing account. Do not include the collection prefix.

  • next_cursorstring

    Opaque next_cursor returned by the previous call. Keep the parent and page_size unchanged when continuing.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the exclusions.

    projectsfoldersorganizationsbillingAccounts

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List LocationsGOOGLE_CLOUD_LOGGING_LIST_LOCATIONSAcción

List one page of Cloud Logging API locations under an explicit Google Cloud project, folder, organization, or billing account.

Parámetros de entrada

  • filterstring

    AIP-160 filter narrowing the returned locations, such as displayName=tokyo.

  • page_sizeinteger

    Maximum locations to return in this page. Google may apply a lower endpoint-specific limit.

  • parent_idstringObligatorio

    ID of the parent project, folder, organization, or billing account. Do not include the collection prefix.

  • next_cursorstring

    Opaque next_cursor returned by the previous call. Keep the parent, filter, extra_location_types, and page_size unchanged when continuing.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection whose locations are listed.

    projectsfoldersorganizationsbillingAccounts
  • extra_location_typesstring

    Additional location type requested from Google. Omit unless Google documents a supported value for the target resource.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Log BucketsGOOGLE_CLOUD_LOGGING_LIST_LOG_BUCKETSAcción

List one page of Cloud Logging buckets in an explicit project, folder, organization, or billing account location.

Parámetros de entrada

  • page_sizeinteger

    Maximum log buckets to return in this page. Google may apply a lower endpoint-specific limit.

  • parent_idstringObligatorio

    ID of the parent project, folder, organization, or billing account. Do not include the collection prefix.

  • location_idstringObligatorio

    Logging location ID, such as global. Use '-' to list buckets across all locations.

  • next_cursorstring

    Opaque next_cursor returned by the previous call. Keep parent_type, parent_id, location_id, and page_size unchanged when continuing.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the log buckets.

    projectsfoldersorganizationsbillingAccounts

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Or Poll Log EntriesGOOGLE_CLOUD_LOGGING_LIST_LOG_ENTRIESAcción

List one page of matching Cloud Logging entries, or repeatedly call the same entries.list query for bounded tail-like behavior without using entries.tail.

Parámetros de entrada

  • filterstring

    Cloud Logging query filter. An empty or omitted filter matches all entries.

  • order_bystringenum

    Result order. Use timestamp desc for recently ingested entries; omit for Google's timestamp asc default.

    timestamp asctimestamp desc
  • page_sizeinteger

    Maximum number of log entries to return in this page.

  • next_cursorstring

    Opaque next_cursor returned by a previous call. Omit for the first page.

  • resource_namesobject[]Obligatorio

    One to 100 explicit resource containers or log views to search. Each selector keeps resource IDs separate from the constructed Google resource name.

  • poll_timeout_secondsinteger

    Repeat entries.list until entries arrive or this many seconds elapse. Set to 0 for one list call.

  • poll_interval_secondsnumber

    Seconds between entries.list calls while bounded polling is enabled.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Log LinksGOOGLE_CLOUD_LOGGING_LIST_LOG_LINKSAcción

List one page of Cloud Logging links for an explicit project, folder, organization, or billing account log bucket.

Parámetros de entrada

  • bucket_idstringObligatorio

    Log bucket ID without the parent resource path.

  • page_sizeinteger

    Maximum log links to return in this page. Google may apply a lower endpoint-specific limit.

  • parent_idstringObligatorio

    ID of the parent project, folder, organization, or billing account. Do not include the collection prefix.

  • location_idstringObligatorio

    Logging location ID without a parent resource path.

  • next_cursorstring

    Opaque next_cursor returned by the previous call. Keep parent_type, parent_id, location_id, bucket_id, and page_size unchanged when continuing.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the log bucket.

    projectsfoldersorganizationsbillingAccounts

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Log MetricsGOOGLE_CLOUD_LOGGING_LIST_LOG_METRICSAcción

List one page of logs-based metrics in an explicit Google Cloud project.

Parámetros de entrada

  • page_sizeinteger

    Maximum metrics to return in this page. Google may apply a lower endpoint-specific limit.

  • project_idstringObligatorio

    Google Cloud project ID containing the metrics; omit the projects/ prefix.

  • next_cursorstring

    Opaque next_cursor returned by the previous call. Keep project_id and page_size unchanged when continuing.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List LogsGOOGLE_CLOUD_LOGGING_LIST_LOGSAcción

List one page of Cloud Logging log names in an explicit Google Cloud project, folder, organization, or billing account.

Parámetros de entrada

  • page_sizeinteger

    Maximum log names to return in this page. Google may apply a lower endpoint-specific limit.

  • parent_idstringObligatorio

    ID of the parent project, folder, organization, or billing account. Do not include the collection prefix.

  • next_cursorstring

    Opaque next_cursor returned by the previous call. Keep parent_type, parent_id, resource_names, and page_size unchanged when continuing.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection whose logs are listed.

    projectsfoldersorganizationsbillingAccounts
  • resource_namesstring[]

    Optional project, folder, organization, billing account, or log-view resource names to include. The parent resource is always included.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Log ScopesGOOGLE_CLOUD_LOGGING_LIST_LOG_SCOPESAcción

List one page of Cloud Logging log scopes in an explicit project, folder, or organization location.

Parámetros de entrada

  • page_sizeinteger

    Maximum log scopes to return in this page. Google may apply a lower endpoint-specific limit.

  • parent_idstringObligatorio

    ID of the parent project, folder, or organization. Do not include the collection prefix.

  • location_idstringObligatorio

    Logging location ID. Log scopes are available in the global location.

  • next_cursorstring

    Opaque next_cursor returned by the previous call. Keep parent_type, parent_id, location_id, and page_size unchanged when continuing.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the log scopes.

    projectsfoldersorganizations

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Log ViewsGOOGLE_CLOUD_LOGGING_LIST_LOG_VIEWSAcción

List one page of Cloud Logging views for an explicit project, folder, organization, or billing account log bucket.

Parámetros de entrada

  • bucket_idstringObligatorio

    Log bucket ID without the parent resource path.

  • page_sizeinteger

    Maximum log views to return in this page. Google may apply a lower endpoint-specific limit.

  • parent_idstringObligatorio

    ID of the parent project, folder, organization, or billing account. Do not include the collection prefix.

  • location_idstringObligatorio

    Logging location ID, such as global, or '-' where the list method supports the wildcard.

  • next_cursorstring

    Opaque next_cursor returned by the previous call. Keep parent_type, parent_id, location_id, bucket_id, and page_size unchanged when continuing.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the log bucket.

    projectsfoldersorganizationsbillingAccounts

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Monitored Resource DescriptorsGOOGLE_CLOUD_LOGGING_LIST_MONITORED_RESOURCE_DESCRIPTORSAcción

List one page of monitored resource descriptor types available to Google Cloud Logging.

Parámetros de entrada

  • page_sizeinteger

    Maximum monitored resource descriptors to return in this page. Google may apply a lower endpoint-specific limit.

  • next_cursorstring

    Opaque next_cursor returned by the previous call. Keep page_size unchanged when continuing.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List OperationsGOOGLE_CLOUD_LOGGING_LIST_OPERATIONSAcción

List one page of Cloud Logging long-running operations for an explicit Google Cloud parent and location.

Parámetros de entrada

  • filterstring

    Google long-running operations filter. Cloud Logging requires an operation request type; defaults to CopyLogEntries, the operation created by this toolkit.

  • page_sizeinteger

    Maximum operations to return in this page. Google may apply a lower endpoint-specific limit.

  • parent_idstringObligatorio

    ID of the parent project, folder, organization, or billing account. Do not include the collection prefix.

  • location_idstringObligatorio

    Logging location ID, such as global, or '-' to read across locations when the endpoint supports it.

  • next_cursorstring

    Opaque next_cursor returned by the previous call. Keep all other request parameters unchanged when continuing.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the operations.

    projectsfoldersorganizationsbillingAccounts
  • return_partial_successboolean

    Return reachable operations and identify unreachable resources when reading across locations. Omit unless the endpoint supports it.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Recent QueriesGOOGLE_CLOUD_LOGGING_LIST_RECENT_QUERIESAcción

List one page of queries run by the current user in the last approximately 30 days for an explicit Google Cloud parent and Logging location.

Parámetros de entrada

  • filterstring

    Optional recent-query type filter. Google accepts type("Logging") or type("OpsAnalytics").

  • page_sizeinteger

    Maximum recent queries to return in this page. Google may apply a lower endpoint-specific limit.

  • parent_idstringObligatorio

    ID of the parent project, folder, organization, or billing account. Do not include the collection prefix.

  • location_idstringObligatorio

    Logging location ID, such as global, or '-' to list recent queries across all locations.

  • next_cursorstring

    Opaque next_cursor returned by the previous call. Keep parent_type, parent_id, location_id, filter, and page_size unchanged when continuing.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection whose recent queries are listed.

    projectsfoldersorganizationsbillingAccounts

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Saved QueriesGOOGLE_CLOUD_LOGGING_LIST_SAVED_QUERIESAcción

List one page of Cloud Logging saved queries in an explicit project, folder, organization, or billing account location.

Parámetros de entrada

  • filterstring

    Optional filter by query type, visibility, or both, such as type("Logging") AND visibility = PRIVATE.

  • page_sizeinteger

    Maximum saved queries to return in this page. Google may apply a lower endpoint-specific limit.

  • parent_idstringObligatorio

    ID of the parent project, folder, organization, or billing account. Do not include the collection prefix.

  • location_idstringObligatorio

    Logging location ID, such as global, or '-' to list saved queries across all locations.

  • next_cursorstring

    Opaque next_cursor returned by the previous call. Keep parent_type, parent_id, location_id, filter, and page_size unchanged when continuing.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the saved queries.

    projectsfoldersorganizationsbillingAccounts

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List SinksGOOGLE_CLOUD_LOGGING_LIST_SINKSAcción

List one page of Cloud Logging sinks for an explicit project, folder, organization, or billing account.

Parámetros de entrada

  • filterstringenum

    Scope filter supported by Cloud Logging. Omit it or pass an empty string for the DEFAULT scope.

    in_scope("ALL")in_scope("ANCESTOR")in_scope("DEFAULT")
  • page_sizeinteger

    Maximum sinks to return in this page. Google may apply a lower endpoint-specific limit.

  • parent_idstringObligatorio

    ID of the parent project, folder, organization, or billing account. Do not include the collection prefix.

  • next_cursorstring

    Opaque next_cursor returned by the previous call. Keep parent_type, parent_id, filter, and page_size unchanged when continuing.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the sinks.

    projectsfoldersorganizationsbillingAccounts

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List View LogsGOOGLE_CLOUD_LOGGING_LIST_VIEW_LOGSAcción

List one page of Cloud Logging log names visible through an explicit log view.

Parámetros de entrada

  • view_idstringObligatorio

    Log view ID without the bucket resource path.

  • bucket_idstringObligatorio

    Log bucket ID without the parent resource path.

  • page_sizeinteger

    Maximum log names to return in this page. Google may apply a lower endpoint-specific limit.

  • parent_idstringObligatorio

    ID of the parent project, folder, organization, or billing account. Do not include the collection prefix.

  • location_idstringObligatorio

    Logging location ID without a parent resource path.

  • next_cursorstring

    Opaque next_cursor returned by the previous call. Keep parent_type, parent_id, location_id, bucket_id, view_id, resource_names, and page_size unchanged when continuing.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the log view.

    projectsfoldersorganizationsbillingAccounts
  • resource_namesstring[]

    Optional project, folder, organization, billing account, or log-view resource names to include. The requested view is always included.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Patch SinkGOOGLE_CLOUD_LOGGING_PATCH_SINKAcción

Patch selected fields of one Cloud Logging sink under an explicit project, folder, organization, or billing account.

Parámetros de entrada

  • filterstring

    Optional advanced logs filter selecting entries to export.

  • sink_idstringObligatorio

    Log sink ID without its parent resource path. It must not contain '/', '..', or '%'.

  • disabledboolean

    Whether the sink is disabled and exports no log entries.

  • parent_idstringObligatorio

    Project, folder, organization, or billing account ID without its collection prefix. It must not contain '/', '..', or '%'.

  • exclusionsobject[]

    Optional exclusions whose matching entries must not be exported.

  • descriptionstring

    Optional sink description, with at most 8,000 characters.

  • destinationstringObligatorio

    Required export destination, such as a Cloud Storage bucket, BigQuery dataset, Pub/Sub topic, Cloud project, or Logging bucket resource.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the sink.

    projectsfoldersorganizationsbillingAccounts
  • update_maskstring

    Optional comma-separated field mask selecting sink fields to overwrite, such as 'filter,description'. Name and output-only fields cannot be updated.

  • bigquery_optionsobject

    Optional settings for a sink exporting to BigQuery.

  • include_childrenboolean

    Whether an organization or folder sink can export entries owned by descendant resources.

  • intercept_childrenboolean

    Whether this organization or folder sink intercepts matching logs from child resources. Requires include_children and a project destination.

  • custom_writer_identitystring

    Optional caller-provided service account identity used to write to a log bucket in another project, in serviceAccount:email format.

  • unique_writer_identityboolean

    Whether Cloud Logging should assign a unique service-agent writer identity when the existing sink does not already use one.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Replace SinkGOOGLE_CLOUD_LOGGING_REPLACE_SINKAcción

Replace a Cloud Logging sink under an explicit Google Cloud parent.

Parámetros de entrada

  • filterstring

    Optional advanced logs filter selecting entries exported by the sink.

  • sink_idstringObligatorio

    Explicit log sink ID without its parent resource path. It must not contain '/', '..', or '%'.

  • disabledboolean

    Whether the sink is disabled and exports no log entries.

  • parent_idstringObligatorio

    Explicit project, folder, organization, or billing account ID without a collection prefix. It must not contain '/', '..', or '%'.

  • exclusionsobject[]

    Optional exclusion filters whose matching entries are not exported.

  • descriptionstring

    Optional sink description of at most 8,000 characters.

  • destinationstringObligatorio

    Required export destination, such as a Cloud Storage bucket, BigQuery dataset, Pub/Sub topic, Cloud project, or Logging bucket resource.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the sink.

    projectsfoldersorganizationsbillingAccounts
  • update_maskstring

    Optional comma-separated field mask selecting sink fields to overwrite. Name and output-only fields cannot be updated.

  • bigquery_optionsobject

    Optional settings for a sink whose destination is BigQuery.

  • include_childrenboolean

    Whether an organization- or folder-owned sink can export logs from its child resources.

  • intercept_childrenboolean

    Whether an organization- or folder-owned sink intercepts matching logs from child resources. Requires include_children and a project destination.

  • custom_writer_identitystring

    Optional caller-provided service account identity used to write to a cross-project Logging bucket, formatted as serviceAccount:email.

  • unique_writer_identityboolean

    Whether Cloud Logging should use a service agent as the sink writer identity. Changing true back to false is not supported.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Log View IAM PolicyGOOGLE_CLOUD_LOGGING_SET_LOG_VIEW_IAM_POLICYAcción

Replace the IAM policy on one Cloud Logging log view under an explicit project, folder, or organization resource.

Parámetros de entrada

  • policyobjectObligatorio

    Complete IAM policy that replaces the log view's existing policy.

  • view_idstringObligatorio

    Log view ID without its bucket resource path. It must not contain '/', '..', or '%'.

  • bucket_idstringObligatorio

    Log bucket ID without its parent resource path. It must not contain '/', '..', or '%'.

  • parent_idstringObligatorio

    Project, folder, or organization ID without its collection prefix. It must not contain '/', '..', or '%'.

  • location_idstringObligatorio

    Logging location ID without a resource path. It must not contain '/', '..', or '%'.

  • parent_typestringObligatorioenum

    Documented Google Cloud parent collection containing the log view.

    projectsfoldersorganizations
  • update_maskstring

    Optional policy field mask. When omitted, Cloud IAM uses 'bindings,etag'.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Tail Log Entries With Bounded List PollingGOOGLE_CLOUD_LOGGING_TAIL_LOG_ENTRIESAcción

Safely emulate the documented Cloud Logging entries.tail operation with finite entries.list polling from a receive timestamp captured when the action starts. Mercury's buffered unary transport cannot consume the bidirectional tail stream or preserve partial stream messages, so this action never dispatches entries:tail or returns older matching history. It returns matching entries in ascending timestamp order, a page cursor, and whether the bounded polling window expired.

Parámetros de entrada

  • filterstring

    Cloud Logging query filter. An empty or omitted filter matches all entries.

  • page_sizeinteger

    Maximum number of entries returned by each entries.list polling request.

  • buffer_windowstring

    The documented entries.tail buffer duration from 0s through 60s. The entries.list endpoint has no bufferWindow field, so this is never sent to Google; when poll_interval_seconds is omitted, it selects the polling interval, clamped to the safe 1 through 30 second range.

  • resource_namesobject[]Obligatorio

    Explicit resource containers or log views to tail. Each selector keeps the parent and optional view path IDs separate.

  • poll_timeout_secondsinteger

    Stop polling entries.list after this many seconds if no entries arrive. Set to 0 for one request.

  • poll_interval_secondsnumber

    Seconds between entries.list requests. Omit to derive it from buffer_window, or use 2 seconds when both are omitted.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Test Log View IAM PermissionsGOOGLE_CLOUD_LOGGING_TEST_LOG_VIEW_IAM_PERMISSIONSAcción

Return the requested IAM permissions the caller has on an explicit Cloud Logging log view. Do not use this fail-open API for authorization checks.

Parámetros de entrada

  • view_idstringObligatorio

    Log view ID without the bucket resource path. It must not contain '/', '..', or '%'.

  • bucket_idstringObligatorio

    Log bucket ID without a parent resource path. It must not contain '/', '..', or '%'.

  • parent_idstringObligatorio

    Project, folder, or organization ID without a collection prefix. It must not contain '/', '..', or '%'.

  • location_idstringObligatorio

    Logging location ID without a parent resource path. It must not contain '/', '..', or '%'.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the log view.

    projectsfoldersorganizations
  • permissionsstring[]

    IAM permissions to test. Wildcards such as '*' or 'logging.*' are not supported by Google IAM.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Undelete Log BucketGOOGLE_CLOUD_LOGGING_UNDELETE_LOG_BUCKETAcción

Restore a Cloud Logging bucket within its seven-day deletion grace period using explicit parent, location, and bucket IDs.

Parámetros de entrada

  • bucket_idstringObligatorio

    Log bucket ID without its parent resource path.

  • parent_idstringObligatorio

    ID of the parent project, folder, organization, or billing account. Do not include the collection prefix.

  • location_idstringObligatorio

    Logging location ID without a resource path.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the log bucket.

    projectsfoldersorganizationsbillingAccounts

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update CMEK SettingsGOOGLE_CLOUD_LOGGING_UPDATE_CMEK_SETTINGSAcción

Patch Cloud Logging CMEK settings for a Google Cloud organization.

Parámetros de entrada

  • parent_idstringObligatorio

    Organization ID only, without the 'organizations/' collection prefix.

  • parent_typestringObligatorio

    Google Cloud parent resource collection. CMEK updates currently support organizations only.

  • update_maskstring

    Field mask identifying fields to update, for example 'kmsKeyName'.

  • kms_key_namestring

    Cloud KMS key resource name. Use an empty string to disable CMEK for the Log Router.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update ExclusionGOOGLE_CLOUD_LOGGING_UPDATE_EXCLUSIONAcción

Patch selected fields of one Cloud Logging exclusion under an explicit Google Cloud parent resource.

Parámetros de entrada

  • filterstringObligatorio

    Advanced logs filter matching entries to exclude.

  • disabledboolean

    Whether this exclusion is disabled and excludes no log entries.

  • parent_idstringObligatorio

    ID of the parent project, folder, organization, or billing account. Do not include the collection prefix.

  • descriptionstring

    Optional description of the exclusion.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the exclusion.

    projectsfoldersorganizationsbillingAccounts
  • update_maskstringObligatorio

    Required non-empty, comma-separated field mask selecting fields to change, for example 'filter,description'.

  • exclusion_idstringObligatorio

    Log exclusion ID without its parent resource path.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Log BucketGOOGLE_CLOUD_LOGGING_UPDATE_LOG_BUCKETAcción

Synchronously patch selected fields of a Cloud Logging bucket under an explicit parent and location.

Parámetros de entrada

  • lockedboolean

    Whether to lock the bucket. A locked bucket's retention period cannot be changed, and the bucket can be deleted only when empty.

  • bucket_idstringObligatorio

    Log bucket ID without its parent resource path.

  • parent_idstringObligatorio

    ID of the parent project, folder, organization, or billing account. Do not include the collection prefix.

  • descriptionstring

    Description of the log bucket.

  • location_idstringObligatorio

    Logging location ID without a resource path.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the log bucket.

    projectsfoldersorganizationsbillingAccounts
  • update_maskstringObligatorio

    Required comma-separated field mask selecting bucket fields to overwrite. The name and output-only fields cannot be updated.

  • cmek_settingsobject

    Customer-managed encryption key settings for new entries in the bucket.

  • index_configsobject[]

    Indexed LogEntry fields and their data types.

  • retention_daysinteger

    Number of days to retain logs; the minimum retention period is one day.

  • analytics_enabledboolean

    Whether to enable Log Analytics. Once enabled, Log Analytics cannot be disabled.

  • restricted_fieldsstring[]

    LogEntry field paths whose values are denied access in this bucket.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Log Bucket AsynchronouslyGOOGLE_CLOUD_LOGGING_UPDATE_LOG_BUCKET_ASYNCAcción

Start an asynchronous update of selected fields on a Cloud Logging bucket under an explicit parent and location.

Parámetros de entrada

  • lockedboolean

    Whether to lock the bucket. A locked bucket's retention period cannot be changed, and the bucket can be deleted only when empty.

  • bucket_idstringObligatorio

    Explicit log bucket ID without its parent resource path. It must not contain '/', '..', or '%'.

  • parent_idstringObligatorio

    Explicit project, folder, organization, or billing account ID without a collection prefix. It must not contain '/', '..', or '%'.

  • descriptionstring

    Human-readable description of the log bucket.

  • location_idstringObligatorio

    Explicit Logging location ID without a parent resource path. It must not contain '/', '..', or '%'.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the log bucket.

    projectsfoldersorganizationsbillingAccounts
  • update_maskstringObligatorio

    Required comma-separated field mask selecting bucket fields to overwrite. The name and output-only fields cannot be updated.

  • cmek_settingsobject

    Customer-managed encryption key settings for new entries in the bucket.

  • index_configsobject[]

    Indexed LogEntry fields and their data types.

  • retention_daysinteger

    Number of days to retain logs; the minimum retention period is one day.

  • analytics_enabledboolean

    Whether to enable Log Analytics. Once enabled, Log Analytics cannot be disabled.

  • restricted_fieldsstring[]

    LogEntry field paths whose values are denied access in this bucket.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Log MetricGOOGLE_CLOUD_LOGGING_UPDATE_LOG_METRICAcción

Update a project log-based metric using explicit project and metric IDs.

Parámetros de entrada

  • filterstringObligatorio

    Advanced logs filter used to select matching log entries.

  • disabledboolean

    Whether the metric is disabled and generates no points.

  • metric_idstringObligatorio

    Decoded log-based metric ID without its project resource path.

  • project_idstringObligatorio

    Google Cloud project ID without the 'projects/' prefix.

  • bucket_namestring

    Resource name of the project Log Bucket that owns this metric.

  • descriptionstring

    Description of the metric for use in documentation.

  • bucket_optionsobject

    Histogram bucket boundaries for a distribution metric.

  • value_extractorstring

    Value extraction expression for a distribution metric.

  • label_extractorsobject

    Map of metric label keys to log-field extraction expressions.

  • metric_descriptorobject

    Metric kind, value type, labels, and unit for this log-based metric.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Log ScopeGOOGLE_CLOUD_LOGGING_UPDATE_LOG_SCOPEAcción

Patch selected fields of one Cloud Logging log scope under an explicit project, folder, or organization.

Parámetros de entrada

  • parent_idstringObligatorio

    Project, folder, or organization ID without its collection prefix. The ID must not contain '/', '..', or '%'.

  • descriptionstring

    Optional description of the log scope.

  • location_idstringObligatorio

    Logging location ID without a resource path. Log scopes are available only in the global location.

  • parent_typestringObligatorioenum

    Google Cloud parent collection containing the log scope.

    projectsfoldersorganizations
  • update_maskstring

    Optional comma-separated field mask selecting supplied log scope fields to overwrite, such as 'description' or 'resourceNames'. The name and output-only fields cannot be updated.

  • log_scope_idstringObligatorio

    Log scope ID without its parent resource path. The ID must not contain '/', '..', or '%'.

  • resource_namesstring[]

    Resource names included in the scope when selected by update_mask. Each value is a project resource such as projects/my-project or a log view resource. A scope can contain at most 100 resources.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Log ViewGOOGLE_CLOUD_LOGGING_UPDATE_LOG_VIEWAcción

Patch selected fields of one Cloud Logging log view under an explicit parent, location, and bucket.

Parámetros de entrada

  • filterstring

    Optional conjunction-only filter restricting which bucket log entries are visible in this view.

  • view_idstringObligatorio

    Log view ID without its bucket resource path. It must not contain '/', '..', or '%'.

  • bucket_idstringObligatorio

    Log bucket ID without its parent resource path. It must not contain '/', '..', or '%'.

  • parent_idstringObligatorio

    Project, folder, organization, or billing account ID without its collection prefix. It must not contain '/', '..', or '%'.

  • descriptionstring

    Optional description of the log view.

  • location_idstringObligatorio

    Logging location ID without a resource path. It must not contain '/', '..', or '%'.

  • parent_typestringObligatorioenum

    Google Cloud parent resource collection containing the log view.

    projectsfoldersorganizationsbillingAccounts
  • update_maskstring

    Optional comma-separated field mask selecting supplied view fields to overwrite, such as 'filter' or 'description'. The name and output-only fields cannot be updated.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Saved QueryGOOGLE_CLOUD_LOGGING_UPDATE_SAVED_QUERYAcción

Patch selected fields of one Cloud Logging saved query under an explicit parent and location; update_mask controls which supplied values change.

Parámetros de entrada

  • parent_idstringObligatorio

    Project, folder, organization, or billing account ID without its collection prefix. It must not contain '/', '..', or '%'.

  • visibilitystringenum

    Visibility and ownership of the saved query.

    VISIBILITY_UNSPECIFIEDPRIVATESHARED
  • descriptionstring

    Optional human-readable description of the saved query.

  • location_idstringObligatorio

    Logging location ID without a resource path. It must not contain '/', '..', or '%'.

  • parent_typestringObligatorioenum

    Google Cloud parent collection containing the saved query.

    projectsfoldersorganizationsbillingAccounts
  • update_maskstringObligatorio

    Required non-empty field mask relative to the saved query. Use '*' for all mutable fields or comma-separated paths such as 'description,query.filter'.

  • display_namestring

    User-specified title for the saved query.

  • logging_queryobject

    Optional query executable in Logs Explorer or through the Logging API.

  • saved_query_idstringObligatorio

    Saved query ID without its location resource path. It must not contain '/', '..', or '%'.

  • ops_analytics_queryobject

    Optional query executable in Log Analytics.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update SettingsGOOGLE_CLOUD_LOGGING_UPDATE_SETTINGSAcción

Patch Cloud Logging settings for an explicit folder or organization.

Parámetros de entrada

  • parent_idstringObligatorio

    Explicit folder or organization ID without a collection prefix. The ID must not contain '/', '..', or '%'.

  • parent_typestringObligatorioenum

    Google Cloud parent collection containing the settings.

    foldersorganizations
  • update_maskstring

    Optional comma-separated field mask identifying settings fields to overwrite, for example 'kmsKeyName'. Output-only fields cannot be updated.

  • kms_key_namestring

    Optional Cloud KMS key resource name. Set an empty string to disable CMEK for the Log Router.

  • storage_locationstring

    Optional storage location for _Default and _Required buckets of newly created projects and folders.

  • default_sink_configobject

    Optional override for the built-in _Default sink configuration.

  • disable_default_sinkboolean

    Whether _Default sinks in newly created projects and folders should be created disabled.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Write Log EntriesGOOGLE_CLOUD_LOGGING_WRITE_LOG_ENTRIESAcción

Write a batch of log entries to Google Cloud Logging.

Parámetros de entrada

  • labelsobject

    Default labels added when an entry does not already define the same key.

  • dry_runboolean

    Validate normally without persisting or exporting the entries when true.

  • entriesobject[]Obligatorio

    Log entries to send, capped at 1,000 per call to bound validation cost.

  • log_namestring

    Default full log resource name for entries that omit log_name. The log ID portion must be URL-encoded.

  • resourceobject

    Default monitored resource for entries that omit their own resource.

  • partial_successboolean

    Write valid entries even when other entries fail with permanent errors.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not