NAME

gcloud beta beyondcorp client-connector services update - update a BeyondCorp client connector service

SYNOPSIS

gcloud beta beyondcorp client-connector services update (CLIENT_CONNECTOR_SERVICE : --location=LOCATION) (--config-from-file=CONFIG_FROM_FILE | --display-name=DISPLAY_NAME --ingress-config=INGRESS_CONFIG) [--async] [GCLOUD_WIDE_FLAG ...]

DESCRIPTION

(BETA) Update a BeyondCorp client connector service. Note - Mutable fields include - \ display_name, ingress.config.destination_routes.

EXAMPLES

Note - Mutable fields include: display_name, ingress.config.destination_routes.

The following command updates a client connector service with ID my-service-resource with ingress config:

$ gcloud beta beyondcorp client-connector services update \ my-service-resource --project=consumer-project-id \ --location=us-central1 --display-name="my-new-resource" \ --ingress-config='{"destinationRoutes":[{"address":"196.0.0.1", "netmask":"255.255.255.0"},{"address":"197.0.0.2","netmask":"255.25\ 5.255.0"}]}'

The following command updates a client connector service with ID my-service-resource with configuration from file:

$ gcloud beta beyondcorp client-connector services update \ my-service-resource --project=consumer-project-id \ --location=us-central1 \ --config-from-file=/path/to/file/config.json

POSITIONAL ARGUMENTS

Client connector service resource - The BeyondCorp client connector service you

want to update. The arguments in this group can be used to specify the attributes of this 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 client_connector_service on the command line with a fully specified name;

set the property core/project;

provide the argument --project on the command line.

This must be specified.

CLIENT_CONNECTOR_SERVICE

ID of the client_connector_service or fully qualified identifier for the client_connector_service. To set the client_connector_service attribute:

  • provide the argument client_connector_service on the command line.

This positional argument must be specified if any of the other arguments in this group are specified.

--location=LOCATION

The location of the BeyondCorp Enterprise client connector.

To set the location attribute:

  • provide the argument client_connector_service on the command line with a fully specified name;

  • provide the argument --location on the command line.

REQUIRED FLAGS

Updated client connector service configuration.

Exactly one of these must be specified:

--config-from-file=CONFIG_FROM_FILE

Path to json file containing client connector service configuration. Example - "/file/path/config.json" where config.json contains -.RS 2m { "ingress":{ "config":{ "transportProtocol":"TCP", "destinationRoutes":[{ "address":"196.0.0.0", "netmask":"255.255.255.0" }] } }, "displayName":"my-service-resource" }

--display-name=DISPLAY_NAME

An arbitrary user-provided name for the client connector service. The display name should follow format -

  • Must be 6 to 30 characters in length.

  • Can only contain lowercase letters, numbers and hyphens.

  • Must start with a letter.

--ingress-config=INGRESS_CONFIG

Ingress config for client gateways. Example - {"destinationRoutes":[{"address":"196.0.0.0", "netmask":"255.255.255.0"},{"address":"197.0.0.0","netmask":"255.255.255.0"}]}.

OPTIONAL FLAGS

--async

Return immediately, without waiting for the operation in progress to complete.

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 beyondcorp/v1 API. The full documentation for this API can be found at: https://cloud.google.com/

NOTES

This command is currently in beta and might change without notice. This variant is also available:

$ gcloud alpha beyondcorp client-connector services update