Cloud Logging API (logging:v2)

2023-02-24

20 new methods

Additions

    Methods
  • logging.organizations.locations.buckets.links.list

      Parameter Order : parent

      Flat Path : v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/links

      Description : Lists links.

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-platform.read-only
    • https://www.googleapis.com/auth/logging.admin
    • https://www.googleapis.com/auth/logging.read
    • HTTP Method : GET

      Path : v2/{+parent}/links

      Parameters :

        pageToken

          Location : query

          Description : Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response.

          Type : string

        parent

          Pattern : ^organizations/[^/]+/locations/[^/]+/buckets/[^/]+$

          Description : Required. The parent resource whose links are to be listed:"projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/" "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/" "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/

          Type : string

          Location : path

          Required : Yes

        pageSize

          Description : Optional. The maximum number of results to return from this request.

          Type : integer

          Format : int32

          Location : query

  • logging.organizations.locations.buckets.links.delete

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/logging.admin
    • Flat Path : v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/links/{linksId}

      Parameter Order : name

      Parameters :

        name

          Required : Yes

          Description : Required. The full resource name of the link to delete."projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID" "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID" "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"

          Pattern : ^organizations/[^/]+/locations/[^/]+/buckets/[^/]+/links/[^/]+$

          Location : path

          Type : string

      HTTP Method : DELETE

      Description : Deletes a link. This will also delete the corresponding BigQuery linked dataset.

      Path : v2/{+name}

  • logging.organizations.locations.buckets.links.get

  • logging.organizations.locations.buckets.links.create

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/logging.admin
    • Path : v2/{+parent}/links

      HTTP Method : POST

      Description : Asynchronously creates linked dataset in BigQuery which makes it possible to use BugQuery to read the logs stored in the bucket. A bucket may currently only contain one link.

      Parameter Order : parent

      Flat Path : v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/links

      Parameters :

        linkId

          Location : query

          Type : string

          Description : Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.

        parent

          Description : Required. The full resource name of the bucket to create a link for. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"

          Required : Yes

          Pattern : ^organizations/[^/]+/locations/[^/]+/buckets/[^/]+$

          Type : string

          Location : path

  • logging.locations.buckets.links.create

      Parameters :

        parent

          Description : Required. The full resource name of the bucket to create a link for. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"

          Type : string

          Pattern : ^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+$

          Location : path

          Required : Yes

        linkId

          Type : string

          Location : query

          Description : Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.

      HTTP Method : POST

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/logging.admin
    • Flat Path : v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/links

      Description : Asynchronously creates linked dataset in BigQuery which makes it possible to use BugQuery to read the logs stored in the bucket. A bucket may currently only contain one link.

      Path : v2/{+parent}/links

  • logging.locations.buckets.links.get

  • logging.locations.buckets.links.delete

      Description : Deletes a link. This will also delete the corresponding BigQuery linked dataset.

      Parameter Order : name

      Parameters :

        name

          Type : string

          Pattern : ^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+/links/[^/]+$

          Required : Yes

          Location : path

          Description : Required. The full resource name of the link to delete."projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID" "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID" "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"

      Flat Path : v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/links/{linksId}

      HTTP Method : DELETE

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/logging.admin
    • Path : v2/{+name}

  • logging.locations.buckets.links.list

      Parameters :

        pageToken

          Type : string

          Description : Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response.

          Location : query

        pageSize

          Location : query

          Format : int32

          Description : Optional. The maximum number of results to return from this request.

          Type : integer

        parent

          Pattern : ^[^/]+/[^/]+/locations/[^/]+/buckets/[^/]+$

          Required : Yes

          Description : Required. The parent resource whose links are to be listed:"projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/" "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/" "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/

          Location : path

          Type : string

      Flat Path : v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/links

      Description : Lists links.

      HTTP Method : GET

      Path : v2/{+parent}/links

      Parameter Order : parent

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-platform.read-only
    • https://www.googleapis.com/auth/logging.admin
    • https://www.googleapis.com/auth/logging.read
  • logging.folders.locations.buckets.links.list

      Flat Path : v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/links

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-platform.read-only
    • https://www.googleapis.com/auth/logging.admin
    • https://www.googleapis.com/auth/logging.read
    • Description : Lists links.

      HTTP Method : GET

      Path : v2/{+parent}/links

      Parameters :

        parent

          Location : path

          Required : Yes

          Description : Required. The parent resource whose links are to be listed:"projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/" "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/" "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/

          Pattern : ^folders/[^/]+/locations/[^/]+/buckets/[^/]+$

          Type : string

        pageToken

          Type : string

          Description : Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response.

          Location : query

        pageSize

          Description : Optional. The maximum number of results to return from this request.

          Format : int32

          Location : query

          Type : integer

      Parameter Order : parent

  • logging.folders.locations.buckets.links.create

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/logging.admin
    • Path : v2/{+parent}/links

      HTTP Method : POST

      Parameters :

        linkId

          Description : Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.

          Type : string

          Location : query

        parent

          Description : Required. The full resource name of the bucket to create a link for. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"

          Location : path

          Pattern : ^folders/[^/]+/locations/[^/]+/buckets/[^/]+$

          Required : Yes

          Type : string

      Flat Path : v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/links

      Parameter Order : parent

      Description : Asynchronously creates linked dataset in BigQuery which makes it possible to use BugQuery to read the logs stored in the bucket. A bucket may currently only contain one link.

  • logging.folders.locations.buckets.links.delete

      Parameters :

        name

          Location : path

          Pattern : ^folders/[^/]+/locations/[^/]+/buckets/[^/]+/links/[^/]+$

          Type : string

          Description : Required. The full resource name of the link to delete."projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID" "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID" "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"

          Required : Yes

      HTTP Method : DELETE

      Flat Path : v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/links/{linksId}

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/logging.admin
    • Parameter Order : name

      Description : Deletes a link. This will also delete the corresponding BigQuery linked dataset.

      Path : v2/{+name}

  • logging.folders.locations.buckets.links.get

  • logging.projects.locations.buckets.links.create

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/logging.admin
    • Flat Path : v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/links

      Parameter Order : parent

      Path : v2/{+parent}/links

      Description : Asynchronously creates linked dataset in BigQuery which makes it possible to use BugQuery to read the logs stored in the bucket. A bucket may currently only contain one link.

      HTTP Method : POST

      Parameters :

        parent

          Location : path

          Description : Required. The full resource name of the bucket to create a link for. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"

          Required : Yes

          Type : string

          Pattern : ^projects/[^/]+/locations/[^/]+/buckets/[^/]+$

        linkId

          Type : string

          Location : query

          Description : Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.

  • logging.projects.locations.buckets.links.get

  • logging.projects.locations.buckets.links.list

      Parameters :

        parent

          Description : Required. The parent resource whose links are to be listed:"projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/" "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/" "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/

          Location : path

          Type : string

          Required : Yes

          Pattern : ^projects/[^/]+/locations/[^/]+/buckets/[^/]+$

        pageToken

          Location : query

          Description : Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response.

          Type : string

        pageSize

          Description : Optional. The maximum number of results to return from this request.

          Format : int32

          Type : integer

          Location : query

      Parameter Order : parent

      HTTP Method : GET

      Path : v2/{+parent}/links

      Flat Path : v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/links

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-platform.read-only
    • https://www.googleapis.com/auth/logging.admin
    • https://www.googleapis.com/auth/logging.read
    • Description : Lists links.

  • logging.projects.locations.buckets.links.delete

      Path : v2/{+name}

      Parameters :

        name

          Type : string

          Pattern : ^projects/[^/]+/locations/[^/]+/buckets/[^/]+/links/[^/]+$

          Required : Yes

          Description : Required. The full resource name of the link to delete."projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID" "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID" "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"

          Location : path

      HTTP Method : DELETE

      Description : Deletes a link. This will also delete the corresponding BigQuery linked dataset.

      Flat Path : v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/links/{linksId}

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/logging.admin
  • logging.billingAccounts.locations.buckets.links.delete

      Path : v2/{+name}

      Description : Deletes a link. This will also delete the corresponding BigQuery linked dataset.

      HTTP Method : DELETE

      Flat Path : v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}/links/{linksId}

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/logging.admin
    • Parameters :

        name

          Location : path

          Required : Yes

          Description : Required. The full resource name of the link to delete."projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID" "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID" "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"

          Pattern : ^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+/links/[^/]+$

          Type : string

      Parameter Order : name

  • logging.billingAccounts.locations.buckets.links.create

      HTTP Method : POST

      Flat Path : v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}/links

      Description : Asynchronously creates linked dataset in BigQuery which makes it possible to use BugQuery to read the logs stored in the bucket. A bucket may currently only contain one link.

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/logging.admin
    • Parameter Order : parent

      Path : v2/{+parent}/links

      Parameters :

        linkId

          Location : query

          Description : Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.

          Type : string

        parent

          Description : Required. The full resource name of the bucket to create a link for. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"

          Pattern : ^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+$

          Location : path

          Type : string

          Required : Yes

  • logging.billingAccounts.locations.buckets.links.list

      HTTP Method : GET

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-platform.read-only
    • https://www.googleapis.com/auth/logging.admin
    • https://www.googleapis.com/auth/logging.read
    • Flat Path : v2/billingAccounts/{billingAccountsId}/locations/{locationsId}/buckets/{bucketsId}/links

      Parameters :

        pageToken

          Type : string

          Location : query

          Description : Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response.

        pageSize

          Location : query

          Type : integer

          Description : Optional. The maximum number of results to return from this request.

          Format : int32

        parent

          Type : string

          Location : path

          Required : Yes

          Pattern : ^billingAccounts/[^/]+/locations/[^/]+/buckets/[^/]+$

          Description : Required. The parent resource whose links are to be listed:"projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/" "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/" "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/

      Description : Lists links.

      Parameter Order : parent

      Path : v2/{+parent}/links

  • logging.billingAccounts.locations.buckets.links.get