- NAME
-
- gcloud eventarc channel-connections create - create an Eventarc channel connection
- SYNOPSIS
-
-
gcloud eventarc channel-connections create
(CHANNEL_CONNECTION
:--location
=LOCATION
)--activation-token
=ACTIVATION_TOKEN
--channel
=CHANNEL
[--async
] [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
- Create an Eventarc channel connection.
- EXAMPLES
-
To create a new channel connection
for channelmy-channel-connection
with activation tokenmy-channel
, run:channel-activation-token
gcloud eventarc channel-connections create my-channel-connection --channel=my-channel --activation-token=channel-activation-token
- POSITIONAL ARGUMENTS
-
-
Channel connection resource - Channel connection to create. 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
channel_connection
on the command line with a fully specified name; -
provide the argument
--project
on the command line; -
set the property
core/project
.
This must be specified.
CHANNEL_CONNECTION
-
ID of the channel connection or fully qualified identifier for the channel
connection.
To set the
channel-connection
attribute:-
provide the argument
channel_connection
on the command line.
This positional argument must be specified if any of the other arguments in this group are specified.
-
provide the argument
--location
=LOCATION
-
The location for the Eventarc channel connection, which should be either
or one of the supported regions. Alternatively, set the [eventarc/location] property.global
To set the
location
attribute:-
provide the argument
channel_connection
on the command line with a fully specified name; -
provide the argument
--location
on the command line; -
set the property
eventarc/location
.
-
provide the argument
-
provide the argument
-
Channel connection resource - Channel connection to create. 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.
- REQUIRED FLAGS
-
--activation-token
=ACTIVATION_TOKEN
- Activation token for the specified channel.
--channel
=CHANNEL
- Subscriber channel for which to create the channel connection. This argument should be the full channel name, including project, location and the channel id.
- 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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-06 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"last_modified": "Last updated 2024-02-06 UTC.",
"state": ""
}