Cloud Logging API (logging:v2)

2024-04-30

12 new methods

Additions

    Methods
  • logging.locations.buckets.views.setIamPolicy

      Path: v2/{+resource}:setIamPolicy

      Flat Path: v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}:setIamPolicy

      HTTP Method: POST

      Parameters:

        resource

          Description: REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.

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

          Location: path

          Required: Yes

          Type: string

      Parameter Order: resource

      Scopes:

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/logging.admin
    • Description: Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

  • logging.locations.buckets.views.getIamPolicy

  • logging.locations.buckets.views.testIamPermissions

      Path: v2/{+resource}:testIamPermissions

      Flat Path: v2/{v2Id}/{v2Id1}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}:testIamPermissions

      HTTP Method: POST

      Parameters:

        resource

          Description: REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.

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

          Location: path

          Required: Yes

          Type: string

      Parameter Order: resource

      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: Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

  • logging.projects.locations.buckets.views.setIamPolicy

      Path: v2/{+resource}:setIamPolicy

      Flat Path: v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}:setIamPolicy

      HTTP Method: POST

      Parameters:

        resource

          Description: REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.

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

          Location: path

          Required: Yes

          Type: string

      Parameter Order: resource

      Scopes:

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/logging.admin
    • Description: Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

  • logging.projects.locations.buckets.views.getIamPolicy

  • logging.projects.locations.buckets.views.testIamPermissions

      Path: v2/{+resource}:testIamPermissions

      Flat Path: v2/projects/{projectsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}:testIamPermissions

      HTTP Method: POST

      Parameters:

        resource

          Description: REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.

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

          Location: path

          Required: Yes

          Type: string

      Parameter Order: resource

      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: Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

  • logging.organizations.locations.buckets.views.setIamPolicy

      Path: v2/{+resource}:setIamPolicy

      Flat Path: v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}:setIamPolicy

      HTTP Method: POST

      Parameters:

        resource

          Description: REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.

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

          Location: path

          Required: Yes

          Type: string

      Parameter Order: resource

      Scopes:

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/logging.admin
    • Description: Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

  • logging.organizations.locations.buckets.views.getIamPolicy

  • logging.organizations.locations.buckets.views.testIamPermissions

      Path: v2/{+resource}:testIamPermissions

      Flat Path: v2/organizations/{organizationsId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}:testIamPermissions

      HTTP Method: POST

      Parameters:

        resource

          Description: REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.

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

          Location: path

          Required: Yes

          Type: string

      Parameter Order: resource

      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: Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

  • logging.folders.locations.buckets.views.setIamPolicy

      Path: v2/{+resource}:setIamPolicy

      Flat Path: v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}:setIamPolicy

      HTTP Method: POST

      Parameters:

        resource

          Description: REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.

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

          Location: path

          Required: Yes

          Type: string

      Parameter Order: resource

      Scopes:

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/logging.admin
    • Description: Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

  • logging.folders.locations.buckets.views.getIamPolicy

  • logging.folders.locations.buckets.views.testIamPermissions

      Path: v2/{+resource}:testIamPermissions

      Flat Path: v2/folders/{foldersId}/locations/{locationsId}/buckets/{bucketsId}/views/{viewsId}:testIamPermissions

      HTTP Method: POST

      Parameters:

        resource

          Description: REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.

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

          Location: path

          Required: Yes

          Type: string

      Parameter Order: resource

      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: Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.