File: //snap/google-cloud-cli/394/help/man/man1/gcloud_beta_topic_endpoint-override.1
.TH "GCLOUD_BETA_TOPIC_ENDPOINT\-OVERRIDE" 1
.SH "NAME"
.HP
gcloud beta topic endpoint\-override \- gcloud endpoint override supplementary help
.SH "DESCRIPTION"
\fB(BETA)\fR Use API endpoint overrides to override the API endpoints used by
the \f5gcloud\fR CLI. Applications such as Private Google Access and Private
Service Connect use API endpoint overrides.
.SH "Setting API endpoint overrides"
\f5gcloud\fR API endpoints are defined as \f5gcloud\fR CLI properties and can be
overridden through \f5gcloud\fR CLI properties or environment variables. For
example, to override the API endpoint for the \f5gcloud storage\fR command to
use the private \f5storage\-vialink1.p.googleapis.com\fR endpoint with either
\f5http://\fR or \f5https://\fR prefix, you can use one of the following
commands:
.RS 2m
# Override using a property:
$ gcloud config set api_endpoint_overrides/storage \e
https://storage\-vialink1.p.googleapis.com/
.RE
.RS 2m
# Override using an environment variable
$ \e
CLOUDSDK_API_ENDPOINT_OVERRIDES_STORAGE=https://\e
storage\-vialink1.p.googleapis.com/
gcloud storage objects list gs://my\-bucket
.RE
.SH "Default API endpoints"
To get the default value for an API endpoint override, use \f5gcloud config
get\fR to determine the correct format for your API endpoint override:
.RS 2m
$ gcloud config get api_endpoint_overrides/storage
.RE
.SH "Unsetting API endpoint overrides"
To unset an API endpoint override, use \f5gcloud config unset\fR:
.RS 2m
$ gcloud config unset api_endpoint_overrides/storage
.RE
.SH "Configured API endpoint overrides"
To see the APIs which have an endpoint override set, use \f5gcloud config
list\fR:
.RS 2m
$ gcloud config list api_endpoint_overrides/
.RE
To see all the set and unset API endpoint override properties, use the
\f5\-\-all\fR flag:
.RS 2m
$ gcloud config list api_endpoint_overrides/ \-\-all
.RE
.SH "NOTES"
This command is currently in beta and might change without notice. These
variants are also available:
.RS 2m
$ gcloud topic endpoint\-override
.RE
.RS 2m
$ gcloud alpha topic endpoint\-override
.RE