Returns the locations Resource.
Close httplib2 connections.
getProjectSettings(name, x__xgafv=None)
Retrieves the Settings for the Project.
updateProjectSettings(name, body=None, updateMask=None, x__xgafv=None)
Updates the Settings for the Project.
close()
Close httplib2 connections.
getProjectSettings(name, x__xgafv=None)
Retrieves the Settings for the Project. Args: name: string, Required. The name of the projectSettings resource. (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # The Artifact Registry settings that apply to a Project. "legacyRedirectionState": "A String", # The redirection state of the legacy repositories in this project. "name": "A 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": 42, # The percentage of pull traffic to redirect from GCR to AR when using partial redirection. }
updateProjectSettings(name, body=None, updateMask=None, x__xgafv=None)
Updates the Settings for the Project. Args: 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 (required) body: object, The request body. The object takes the form of: { # The Artifact Registry settings that apply to a Project. "legacyRedirectionState": "A String", # The redirection state of the legacy repositories in this project. "name": "A 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": 42, # The percentage of pull traffic to redirect from GCR to AR when using partial redirection. } updateMask: string, Field mask to support partial updates. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # The Artifact Registry settings that apply to a Project. "legacyRedirectionState": "A String", # The redirection state of the legacy repositories in this project. "name": "A 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": 42, # The percentage of pull traffic to redirect from GCR to AR when using partial redirection. }