| Server IP : 35.236.43.222 / Your IP : 216.73.216.143 Web Server : Apache System : Linux order-form-vm-001 5.10.0-37-cloud-amd64 #1 SMP Debian 5.10.247-1 (2025-12-11) x86_64 User : deploy ( 1002) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/google-cloud-sdk/lib/surface/artifacts/vpcsc_config/ |
Upload File : |
- release_tracks: [ALPHA, BETA, GA]
help_text:
brief: |
Deny access to upstream sources outside the service perimeter for Artifact Registry remote repositories inside the perimeter.
description: |
Deny access to upstream sources outside the service perimeter for Artifact Registry remote repositories inside the perimeter.
This command can fail for the following reasons:
* Lack of permission - "accesscontextmanager.policies.update".
* The resource could be outside of the VPC SC perimeter.
* Lack of permission - "artifactregistry.vpcscconfigs.update"
examples: |
The following command denies access to upstream sources outside the service perimeter for remote repositories in the project my-project and in the region us--west1:
$ {command} --project=my-project --location=us-west1
arguments:
resource:
spec: !REF googlecloudsdk.command_lib.artifacts.resources:location
is_positional: false
help_text: |
The Artifact Registry VPC SC config to update.
request: &request
api_version: v1
disable_resource_check: true
method: updateVpcscConfig
collection: artifactregistry.projects.locations
issue_request_hook: googlecloudsdk.command_lib.artifacts.util:DenyVPCSCConfig