gcloud network-connectivity service-connection-policies update

NAME
gcloud network-connectivity service-connection-policies update - update a service connection policy
SYNOPSIS
gcloud network-connectivity service-connection-policies update SERVICE_CONNECTION_POLICY (--subnets=[SUBNETS,…] : --psc-connection-limit=PSC_CONNECTION_LIMIT) [--async] [--description=DESCRIPTION] [--labels=[KEY=VALUE,…]] [--region=REGION] [GCLOUD_WIDE_FLAG]
DESCRIPTION
Update a Service Connection Policy with the given name.
EXAMPLES
Update a Service Connection Policy with name my-service-conn-policy in region us-central1.
gcloud network-connectivity service-connection-policies update my-service-conn-policy --region=us-central1 --psc-connection-limit=5 --subnets=my-subnet
POSITIONAL ARGUMENTS
Service connection policy resource - Name of the Service Connection Policy to be updated. This represents a Cloud resource. (NOTE) Some attributes are not given arguments in this group but can be set in other ways.

To set the project attribute:

  • provide the argument service_connection_policy on the command line with a fully specified name;
  • set the property core/project;
  • provide the argument --project on the command line.

To set the region attribute:

  • provide the argument service_connection_policy on the command line with a fully specified name;
  • provide the argument --region on the command line.

This must be specified.

SERVICE_CONNECTION_POLICY
ID of the service connection policy or fully qualified identifier for the service connection policy.

To set the service_connection_policy attribute:

  • provide the argument service_connection_policy on the command line.
REQUIRED FLAGS
This must be specified.
Subnetwork resource - Subnetwork to use for IP address management. This represents a Cloud resource. (NOTE) Some attributes are not given arguments in this group but can be set in other ways.

To set the project attribute:

  • provide the argument --subnets on the command line with a fully specified name;
  • set the property core/project;
  • provide the argument --project on the command line.

To set the region attribute:

  • provide the argument --subnets on the command line with a fully specified name;
  • provide the argument --region on the command line.

This must be specified.

--subnets=[SUBNETS,…]
IDs of the subnetworks or fully qualified identifiers for the subnetworks.

To set the subnetwork attribute:

  • provide the argument --subnets on the command line.
--psc-connection-limit=PSC_CONNECTION_LIMIT
Max number of PSC connections for this policy.
OPTIONAL FLAGS
--async
Return immediately, without waiting for the operation in progress to complete.
--description=DESCRIPTION
Description of the Service Connection Policy to be updated.
--labels=[KEY=VALUE,…]
List of label KEY=VALUE pairs to add.
--region=REGION
For resources [service connection policy, subnetwork], provides fallback value for resource region attribute. When the resource's full URI path is not provided, region will fallback to this flag value.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.

Run $ gcloud help for details.

API REFERENCE
This command uses the networkconnectivity/v1 API. The full documentation for this API can be found at: https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest