File: //snap/google-cloud-cli/current/help/man/man1/gcloud_pubsub_subscriptions_modify-push-config.1
.TH "GCLOUD_PUBSUB_SUBSCRIPTIONS_MODIFY\-PUSH\-CONFIG" 1
.SH "NAME"
.HP
gcloud pubsub subscriptions modify\-push\-config \- modifies the push configuration of a Cloud Pub/Sub subscription
.SH "SYNOPSIS"
.HP
\f5gcloud pubsub subscriptions modify\-push\-config\fR \fISUBSCRIPTION\fR \fB\-\-push\-endpoint\fR=\fIPUSH_ENDPOINT\fR [\fB\-\-push\-auth\-service\-account\fR=\fISERVICE_ACCOUNT_EMAIL\fR] [\fB\-\-push\-auth\-token\-audience\fR=\fIOPTIONAL_AUDIENCE_OVERRIDE\fR] [\fB\-\-push\-no\-wrapper\fR\ :\ \fB\-\-push\-no\-wrapper\-write\-metadata\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
Modifies the push configuration of a Cloud Pub/Sub subscription.
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
Subscription resource \- Name of the subscription to modify. 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 \f5project\fR attribute:
.RS 2m
.IP "\(em" 2m
provide the argument \f5subscription\fR on the command line with a fully
specified name;
.IP "\(em" 2m
provide the argument \f5\-\-project\fR on the command line;
.IP "\(em" 2m
set the property \f5core/project\fR.
.RE
.sp
This must be specified.
.RS 2m
.TP 2m
\fISUBSCRIPTION\fR
ID of the subscription or fully qualified identifier for the subscription.
To set the \f5subscription\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5subscription\fR on the command line.
.RE
.sp
.RE
.RE
.sp
.SH "REQUIRED FLAGS"
.RS 2m
.TP 2m
\fB\-\-push\-endpoint\fR=\fIPUSH_ENDPOINT\fR
A URL to use as the endpoint for this subscription. This will also automatically
set the subscription type to PUSH.
.RE
.sp
.SH "OPTIONAL FLAGS"
.RS 2m
.TP 2m
\fB\-\-push\-auth\-service\-account\fR=\fISERVICE_ACCOUNT_EMAIL\fR
Service account email used as the identity for the generated Open ID Connect
token for authenticated push.
.TP 2m
\fB\-\-push\-auth\-token\-audience\fR=\fIOPTIONAL_AUDIENCE_OVERRIDE\fR
Audience used in the generated Open ID Connect token for authenticated push. If
not specified, it will be set to the push\-endpoint.
.TP 2m
NoWrapper Config Options.
.RS 2m
.TP 2m
\fB\-\-push\-no\-wrapper\fR
When set, the message data is delivered directly as the HTTP body. Use
\-\-no\-push\-no\-wrapper to disable this flag.
This flag argument must be specified if any of the other arguments in this group
are specified.
.TP 2m
\fB\-\-push\-no\-wrapper\-write\-metadata\fR
When true, writes the Pub/Sub message metadata to
\f5x\-goog\-pubsub\-<KEY>:<VAL>\fR headers of the HTTP request. Writes the
Pub/Sub message attributes to \f5<KEY>:<VAL>\fR headers of the HTTP request. Use
\-\-no\-push\-no\-wrapper\-write\-metadata to disable this flag.
.RE
.RE
.sp
.SH "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 \fB$ gcloud help\fR for details.
.SH "NOTES"
These variants are also available:
.RS 2m
$ gcloud alpha pubsub subscriptions modify\-push\-config
.RE
.RS 2m
$ gcloud beta pubsub subscriptions modify\-push\-config
.RE