Binary Authorization API (binaryauthorization:v1)

2023-08-09

5 new methods

Additions

    Methods
  • binaryauthorization.projects.platforms.policies.replacePlatformPolicy

      HTTP Method: PUT

      Flat Path: v1/projects/{projectsId}/platforms/{platformsId}/policies/{policiesId}

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Parameter Order: name

      Parameters:

        name

          Location: path

          Pattern: ^projects/[^/]+/platforms/[^/]+/policies/[^/]+$

          Description: Output only. The relative resource name of the BinAuthz platform policy, in the form of `projects/*/platforms/*/policies/*`.

          Required: Yes

          Type: string

      Description: Replaces a platform policy. Returns NOT_FOUND if the policy doesn't exist.

      Path: v1/{+name}

  • binaryauthorization.projects.platforms.policies.get

      Parameter Order: name

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Flat Path: v1/projects/{projectsId}/platforms/{platformsId}/policies/{policiesId}

      Path: v1/{+name}

      Parameters:

        name

          Required: Yes

          Description: Required. The name of the platform policy to retrieve in the format `projects/*/platforms/*/policies/*`.

          Pattern: ^projects/[^/]+/platforms/[^/]+/policies/[^/]+$

          Type: string

          Location: path

      HTTP Method: GET

      Description: Gets a platform policy. Returns NOT_FOUND if the policy doesn't exist.

  • binaryauthorization.projects.platforms.policies.create

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Parameters:

        policyId

          Description: Required. The platform policy ID.

          Type: string

          Location: query

        parent

          Pattern: ^projects/[^/]+/platforms/[^/]+$

          Description: Required. The parent of this platform policy.

          Type: string

          Location: path

          Required: Yes

      HTTP Method: POST

      Flat Path: v1/projects/{projectsId}/platforms/{platformsId}/policies

      Path: v1/{+parent}/policies

      Parameter Order: parent

      Description: Creates a platform policy, and returns a copy of it. Returns NOT_FOUND if the project or platform doesn't exist, INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the policy already exists, and INVALID_ARGUMENT if the policy contains a platform-specific policy that does not match the platform value specified in the URL.

  • binaryauthorization.projects.platforms.policies.delete

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Path: v1/{+name}

      Parameter Order: name

      Parameters:

        name

          Pattern: ^projects/[^/]+/platforms/[^/]+/policies/[^/]+$

          Location: path

          Description: Required. The name of the platform policy to delete, in the format `projects/*/platforms/*/policies/*`.

          Required: Yes

          Type: string

      Description: Deletes a platform policy. Returns NOT_FOUND if the policy doesn't exist.

      Flat Path: v1/projects/{projectsId}/platforms/{platformsId}/policies/{policiesId}

      HTTP Method: DELETE

  • binaryauthorization.projects.platforms.policies.list

      Parameters:

        parent

          Type: string

          Location: path

          Required: Yes

          Description: Required. The resource name of the platform associated with the platform policies using the format `projects/*/platforms/*`.

          Pattern: ^projects/[^/]+/platforms/[^/]+$

        pageToken

          Description: A token identifying a page of results the server should return. Typically, this is the value of ListPlatformPoliciesResponse.next_page_token returned from the previous call to the `ListPlatformPolicies` method.

          Location: query

          Type: string

        pageSize

          Location: query

          Description: Requested page size. The server may return fewer results than requested. If unspecified, the server picks an appropriate default.

          Format: int32

          Type: integer

      HTTP Method: GET

      Description: Lists platform policies owned by a project in the specified platform. Returns INVALID_ARGUMENT if the project or the platform doesn't exist.

      Path: v1/{+parent}/policies

      Flat Path: v1/projects/{projectsId}/platforms/{platformsId}/policies

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Parameter Order: parent