projects

PATCH /v1/projects/{projectsId}/projectSettings

Updates the Settings for the Project.

Request

  • Base URL
    https://artifactregistry.googleapis.com
  • Auth
    OAuth 2 and OAuth 2
    Implicithttps://accounts.google.com/o/oauth2/auth
    Scopeshttps://www.googleapis.com/auth/cloud-platform
    Authorization codehttps://accounts.google.com/o/oauth2/auth
    Token URLhttps://accounts.google.com/o/oauth2/token
    Scopeshttps://www.googleapis.com/auth/cloud-platform

Path parameters

projectsId, string required

Query parameters

$.xgafv, '1' | '2'

V1 error format.

access_token, string

OAuth access token.

alt, 'json' | 'media' | 'proto'

Data format for response.

callback, string

JSONP

fields, string

Selector specifying which fields to include in a partial response.

key, string

API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

oauth_token, string

OAuth 2.0 token for the current user.

prettyPrint, boolean

Returns response with indentations and line breaks.

quotaUser, string

Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

uploadType, string

Legacy upload protocol for media (e.g. "media", "multipart").

upload_protocol, string

Upload protocol for media (e.g. "raw", "multipart").

updateMask, string google-fieldmask

Field mask to support partial updates.

Request body

ProjectSettings required

The Artifact Registry settings that apply to a Project.

legacyRedirectionState, 'REDIRECTION_STATE_UNSPECIFIED' | 'REDIRECTION_FROM_GCR_IO_DISABLED' | 'REDIRECTION_FROM_GCR_IO_ENABLED' | 'REDIRECTION_FROM_GCR_IO_FINALIZED' | 'REDIRECTION_FROM_GCR_IO_ENABLED_AND_COPYING' | 'REDIRECTION_FROM_GCR_IO_PARTIAL_AND_COPYING'

The redirection state of the legacy repositories in this project.

name, string

The name of the project's settings. Always of the form: projects/{project-id}/projectSettings In update request: never set In response: always set

pullPercent, integer

The percentage of pull traffic to redirect from GCR to AR when using partial redirection.

Response

Successful response

ProjectSettings required

The Artifact Registry settings that apply to a Project.

legacyRedirectionState, 'REDIRECTION_STATE_UNSPECIFIED' | 'REDIRECTION_FROM_GCR_IO_DISABLED' | 'REDIRECTION_FROM_GCR_IO_ENABLED' | 'REDIRECTION_FROM_GCR_IO_FINALIZED' | 'REDIRECTION_FROM_GCR_IO_ENABLED_AND_COPYING' | 'REDIRECTION_FROM_GCR_IO_PARTIAL_AND_COPYING'

The redirection state of the legacy repositories in this project.

name, string

The name of the project's settings. Always of the form: projects/{project-id}/projectSettings In update request: never set In response: always set

pullPercent, integer

The percentage of pull traffic to redirect from GCR to AR when using partial redirection.

Changes

No recorded changes to this operation across all 5 revisions of this API.