gcloud beta beyondcorp client-connector services create Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud beta beyondcorp client-connector services create - create a new BeyondCorp client connector service(Deprecated)
- SYNOPSIS
gcloud beta beyondcorp client-connector services create(CLIENT_CONNECTOR_SERVICE:--location=LOCATION)(--config-from-file=CONFIG_FROM_FILE| [--egress-peered-vpc=EGRESS_PEERED_VPC--ingress-config=INGRESS_CONFIG:--display-name=DISPLAY_NAME])[--async][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
(BETA)Create a new BeyondCorp client connector service.- EXAMPLES
- The following command creates a client connector service with ID
using ingress/egressconfig provided:my-service-resourcegcloudbetabeyondcorpclient-connectorservicescreatemy-service-resource--location=us-central1--project=consumer-project-id--ingress-config='{"transportProtocol":"TCP","destinationRoutes":[{"address":"196.0.0.1", "netmask":"255.255.255.0"}]}'\--egress-peered-vpc='{"networkVpc":"projects/consumer-project-id\/global/networks/my-vpc-network"}'The following command creates a client connector service with ID
with configuration fromfile:my-service-resourcegcloudbetabeyondcorpclient-connectorservicescreatemy-service-resource--project=consumer-project-id--location=us-central1--config-from-file=/path/to/file/configJson.txt - POSITIONAL ARGUMENTS
- Client connector service resource - The BeyondCorp client connector service youwant to create. The arguments in this group can be used to specify theattributes of this resource. (NOTE) Some attributes are not given arguments inthis group but can be set in other ways.
To set the
projectattribute:- provide the argument
client_connector_serviceon the command linewith a fully specified name; - provide the argument
--projecton the command line; - set the property
core/project.
This must be specified.
CLIENT_CONNECTOR_SERVICE- ID of the client_connector_service or fully qualified identifier for theclient_connector_service.
To set the
client_connector_serviceattribute:- provide the argument
client_connector_serviceon the command line.
This positional argument must be specified if any of the other arguments in thisgroup are specified.
- provide the argument
--location=LOCATION- The location of the BeyondCorp Enterprise client connector.To set the
locationattribute:- provide the argument
client_connector_serviceon the command linewith a fully specified name; - provide the argument
--locationon the command line.
- provide the argument
- provide the argument
- Client connector service resource - The BeyondCorp client connector service youwant to create. The arguments in this group can be used to specify theattributes of this resource. (NOTE) Some attributes are not given arguments inthis group but can be set in other ways.
- REQUIRED FLAGS
- 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/configJson.txt" where configJson.txt contains -
{"ingress":{"config":{"transportProtocol":"TCP","destinationRoutes":[{"address":"196.0.0.0","netmask":"255.255.255.0"}]}},"egress":{"peeredVpc":{"networkVpc":"projects/consumer-project-id/global/networks/my-vpc-network"}},"displayName":"my-service-resource"}
--egress-peered-vpc=EGRESS_PEERED_VPC- The peered VPC owned by the consumer project. Example - {"networkVpc":"projects/consumer-project-id/global/networks/my-vpc-network"}.
This flag argument must be specified if any of the other arguments in this groupare specified.
--ingress-config=INGRESS_CONFIG- The basic ingress config for client gateways. Example - {"transportProtocol":"TCP","destinationRoutes":[{"address":"196.0.0.1", "netmask":"255.255.255.0"}]}.
This flag argument must be specified if any of the other arguments in this groupare specified.
--display-name=DISPLAY_NAME- An arbitrary user-provided name for the client connector service. The displayname should follow format -
- Must be 6 to 30 characters in length.
- Can only contain lowercase letters, numbers and hyphens.
- Must start with a letter.
- Client connector service configuration.
- 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 helpfor details. - API REFERENCE
- This command uses the
beyondcorp/v1API. The full documentation forthis API can be found at:https://cloud.google.com/ - NOTES
- This command is currently in beta and might change without notice.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-22 UTC.