Artifact Registry API (artifactregistry:v1)

2024-09-28

12 new methods

Additions

    Methods
  • artifactregistry.projects.locations.repositories.packages.versions.patch

      Path: v1/{+name}

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/packages/{packagesId}/versions/{versionsId}

      HTTP Method: PATCH

      Parameters:

        name

          Description: The name of the version, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1". If the package or version ID parts contain slashes, the slashes are escaped.

          Pattern: ^projects/[^/]+/locations/[^/]+/repositories/[^/]+/packages/[^/]+/versions/[^/]+$

          Location: path

          Required: Yes

          Type: string

        updateMask

          Description: The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

          Location: query

          Type: string

          Format: google-fieldmask

      Parameter Order: name

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

      Description: Updates a version.

  • artifactregistry.projects.locations.repositories.files.upload

      Path: v1/{+parent}/files:upload

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/files:upload

      HTTP Method: POST

      Parameters:

        parent

          Description: Required. The resource name of the repository where the file will be uploaded.

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

          Location: path

          Required: Yes

          Type: string

      Parameter Order: parent

      Supportsmediaupload: Yes

      Mediaupload:

        Accept: */*

        Protocols:

          Resumable:

            Multipart: Yes

            Path: /resumable/upload/v1/{+parent}/files:upload

          Simple:

            Multipart: Yes

            Path: /upload/v1/{+parent}/files:upload

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

      Description: Directly uploads a File to a repository. The returned Operation will complete once the resources are uploaded.

  • artifactregistry.projects.locations.repositories.files.patch

      Path: v1/{+name}

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/files/{filesId}

      HTTP Method: PATCH

      Parameters:

        name

          Description: The name of the file, for example: `projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt`. If the file ID part contains slashes, they are escaped.

          Pattern: ^projects/[^/]+/locations/[^/]+/repositories/[^/]+/files/[^/]+$

          Location: path

          Required: Yes

          Type: string

        updateMask

          Description: Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

          Location: query

          Type: string

          Format: google-fieldmask

      Parameter Order: name

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

      Description: Updates a file.

  • artifactregistry.projects.locations.repositories.rules.create

      Path: v1/{+parent}/rules

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/rules

      HTTP Method: POST

      Parameters:

        parent

          Description: Required. The name of the parent resource where the rule will be created.

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

          Location: path

          Required: Yes

          Type: string

        ruleId

          Description: The rule id to use for this repository.

          Location: query

          Type: string

      Parameter Order: parent

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

      Description: Creates a rule.

  • artifactregistry.projects.locations.repositories.rules.list

      Path: v1/{+parent}/rules

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/rules

      HTTP Method: GET

      Parameters:

        parent

          Description: Required. The name of the parent repository whose rules will be listed. For example: `projects/p1/locations/us-central1/repositories/repo1`.

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

          Location: path

          Required: Yes

          Type: string

        pageSize

          Description: The maximum number of rules to return. Maximum page size is 1,000.

          Location: query

          Type: integer

          Format: int32

        pageToken

          Description: The next_page_token value returned from a previous list request, if any.

          Location: query

          Type: string

      Parameter Order: parent

      Scopes:

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

  • artifactregistry.projects.locations.repositories.rules.get

  • artifactregistry.projects.locations.repositories.rules.patch

      Path: v1/{+name}

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/rules/{rulesId}

      HTTP Method: PATCH

      Parameters:

        name

          Description: The name of the rule, for example: "projects/p1/locations/us-central1/repositories/repo1/rules/rule1".

          Pattern: ^projects/[^/]+/locations/[^/]+/repositories/[^/]+/rules/[^/]+$

          Location: path

          Required: Yes

          Type: string

        updateMask

          Description: The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

          Location: query

          Type: string

          Format: google-fieldmask

      Parameter Order: name

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

      Description: Updates a rule.

  • artifactregistry.projects.locations.repositories.rules.delete

      Path: v1/{+name}

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/rules/{rulesId}

      HTTP Method: DELETE

      Parameters:

        name

          Description: Required. The name of the rule to delete.

          Pattern: ^projects/[^/]+/locations/[^/]+/repositories/[^/]+/rules/[^/]+$

          Location: path

          Required: Yes

          Type: string

      Parameter Order: name

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

      Description: Deletes a rule.

  • artifactregistry.projects.locations.repositories.attachments.list

      Path: v1/{+parent}/attachments

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/attachments

      HTTP Method: GET

      Parameters:

        parent

          Description: Required. The name of the parent resource whose attachments will be listed.

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

          Location: path

          Required: Yes

          Type: string

        filter

          Description: Optional. An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `target` * `type` * `attachment_namespace`

          Location: query

          Type: string

        pageSize

          Description: The maximum number of attachments to return. Maximum page size is 1,000.

          Location: query

          Type: integer

          Format: int32

        pageToken

          Description: The next_page_token value returned from a previous list request, if any.

          Location: query

          Type: string

      Parameter Order: parent

      Scopes:

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

  • artifactregistry.projects.locations.repositories.attachments.get

      Path: v1/{+name}

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/attachments/{attachmentsId}

      HTTP Method: GET

      Parameters:

        name

          Description: Required. The name of the attachment to retrieve.

          Pattern: ^projects/[^/]+/locations/[^/]+/repositories/[^/]+/attachments/[^/]+$

          Location: path

          Required: Yes

          Type: string

      Parameter Order: name

      Scopes:

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-platform.read-only
    • Description: Gets an attachment.

  • artifactregistry.projects.locations.repositories.attachments.create

      Path: v1/{+parent}/attachments

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/attachments

      HTTP Method: POST

      Parameters:

        parent

          Description: Required. The name of the parent resource where the attachment will be created.

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

          Location: path

          Required: Yes

          Type: string

        attachmentId

          Description: Required. The attachment id to use for this attachment.

          Location: query

          Type: string

      Parameter Order: parent

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

      Description: Creates an attachment. The returned Operation will finish once the attachment has been created. Its response will be the created Attachment.

  • artifactregistry.projects.locations.repositories.attachments.delete

      Path: v1/{+name}

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/attachments/{attachmentsId}

      HTTP Method: DELETE

      Parameters:

        name

          Description: Required. The name of the attachment to delete.

          Pattern: ^projects/[^/]+/locations/[^/]+/repositories/[^/]+/attachments/[^/]+$

          Location: path

          Required: Yes

          Type: string

      Parameter Order: name

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

      Description: Deletes an attachment. The returned Operation will finish once the attachments has been deleted. It will not have any Operation metadata and will return a google.protobuf.Empty response.

12 removed methods

Deletions

    Methods
  • artifactregistry.projects.locations.repositories.packages.versions.patch

      Path: v1/{+name}

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/packages/{packagesId}/versions/{versionsId}

      HTTP Method: PATCH

      Parameters:

        name

          Description: The name of the version, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1". If the package or version ID parts contain slashes, the slashes are escaped.

          Pattern: ^projects/[^/]+/locations/[^/]+/repositories/[^/]+/packages/[^/]+/versions/[^/]+$

          Location: path

          Required: Yes

          Type: string

        updateMask

          Description: The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

          Location: query

          Type: string

          Format: google-fieldmask

      Parameter Order: name

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

      Description: Updates a version.

  • artifactregistry.projects.locations.repositories.files.upload

      Path: v1/{+parent}/files:upload

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/files:upload

      HTTP Method: POST

      Parameters:

        parent

          Description: Required. The resource name of the repository where the file will be uploaded.

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

          Location: path

          Required: Yes

          Type: string

      Parameter Order: parent

      Supportsmediaupload: Yes

      Mediaupload:

        Accept: */*

        Protocols:

          Resumable:

            Multipart: Yes

            Path: /resumable/upload/v1/{+parent}/files:upload

          Simple:

            Multipart: Yes

            Path: /upload/v1/{+parent}/files:upload

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

      Description: Directly uploads a File to a repository. The returned Operation will complete once the resources are uploaded.

  • artifactregistry.projects.locations.repositories.files.patch

      Path: v1/{+name}

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/files/{filesId}

      HTTP Method: PATCH

      Parameters:

        name

          Description: The name of the file, for example: `projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt`. If the file ID part contains slashes, they are escaped.

          Pattern: ^projects/[^/]+/locations/[^/]+/repositories/[^/]+/files/[^/]+$

          Location: path

          Required: Yes

          Type: string

        updateMask

          Description: Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

          Location: query

          Type: string

          Format: google-fieldmask

      Parameter Order: name

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

      Description: Updates a file.

  • artifactregistry.projects.locations.repositories.rules.create

      Path: v1/{+parent}/rules

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/rules

      HTTP Method: POST

      Parameters:

        parent

          Description: Required. The name of the parent resource where the rule will be created.

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

          Location: path

          Required: Yes

          Type: string

        ruleId

          Description: The rule id to use for this repository.

          Location: query

          Type: string

      Parameter Order: parent

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

      Description: Creates a rule.

  • artifactregistry.projects.locations.repositories.rules.list

      Path: v1/{+parent}/rules

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/rules

      HTTP Method: GET

      Parameters:

        parent

          Description: Required. The name of the parent repository whose rules will be listed. For example: `projects/p1/locations/us-central1/repositories/repo1`.

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

          Location: path

          Required: Yes

          Type: string

        pageSize

          Description: The maximum number of rules to return. Maximum page size is 1,000.

          Location: query

          Type: integer

          Format: int32

        pageToken

          Description: The next_page_token value returned from a previous list request, if any.

          Location: query

          Type: string

      Parameter Order: parent

      Scopes:

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

  • artifactregistry.projects.locations.repositories.rules.get

  • artifactregistry.projects.locations.repositories.rules.patch

      Path: v1/{+name}

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/rules/{rulesId}

      HTTP Method: PATCH

      Parameters:

        name

          Description: The name of the rule, for example: "projects/p1/locations/us-central1/repositories/repo1/rules/rule1".

          Pattern: ^projects/[^/]+/locations/[^/]+/repositories/[^/]+/rules/[^/]+$

          Location: path

          Required: Yes

          Type: string

        updateMask

          Description: The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

          Location: query

          Type: string

          Format: google-fieldmask

      Parameter Order: name

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

      Description: Updates a rule.

  • artifactregistry.projects.locations.repositories.rules.delete

      Path: v1/{+name}

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/rules/{rulesId}

      HTTP Method: DELETE

      Parameters:

        name

          Description: Required. The name of the rule to delete.

          Pattern: ^projects/[^/]+/locations/[^/]+/repositories/[^/]+/rules/[^/]+$

          Location: path

          Required: Yes

          Type: string

      Parameter Order: name

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

      Description: Deletes a rule.

  • artifactregistry.projects.locations.repositories.attachments.list

      Path: v1/{+parent}/attachments

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/attachments

      HTTP Method: GET

      Parameters:

        parent

          Description: Required. The name of the parent resource whose attachments will be listed.

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

          Location: path

          Required: Yes

          Type: string

        filter

          Description: Optional. An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `target` * `type` * `attachment_namespace`

          Location: query

          Type: string

        pageSize

          Description: The maximum number of attachments to return. Maximum page size is 1,000.

          Location: query

          Type: integer

          Format: int32

        pageToken

          Description: The next_page_token value returned from a previous list request, if any.

          Location: query

          Type: string

      Parameter Order: parent

      Scopes:

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

  • artifactregistry.projects.locations.repositories.attachments.get

      Path: v1/{+name}

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/attachments/{attachmentsId}

      HTTP Method: GET

      Parameters:

        name

          Description: Required. The name of the attachment to retrieve.

          Pattern: ^projects/[^/]+/locations/[^/]+/repositories/[^/]+/attachments/[^/]+$

          Location: path

          Required: Yes

          Type: string

      Parameter Order: name

      Scopes:

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloud-platform.read-only
    • Description: Gets an attachment.

  • artifactregistry.projects.locations.repositories.attachments.create

      Path: v1/{+parent}/attachments

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/attachments

      HTTP Method: POST

      Parameters:

        parent

          Description: Required. The name of the parent resource where the attachment will be created.

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

          Location: path

          Required: Yes

          Type: string

        attachmentId

          Description: Required. The attachment id to use for this attachment.

          Location: query

          Type: string

      Parameter Order: parent

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

      Description: Creates an attachment. The returned Operation will finish once the attachment has been created. Its response will be the created Attachment.

  • artifactregistry.projects.locations.repositories.attachments.delete

      Path: v1/{+name}

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/attachments/{attachmentsId}

      HTTP Method: DELETE

      Parameters:

        name

          Description: Required. The name of the attachment to delete.

          Pattern: ^projects/[^/]+/locations/[^/]+/repositories/[^/]+/attachments/[^/]+$

          Location: path

          Required: Yes

          Type: string

      Parameter Order: name

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

      Description: Deletes an attachment. The returned Operation will finish once the attachments has been deleted. It will not have any Operation metadata and will return a google.protobuf.Empty response.