1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-16 12:22:03 +00:00
gcloud-help/gcloud/beta/builds/triggers/export

66 lines
2.1 KiB
Text
Raw Normal View History

2022-03-01 04:29:52 +00:00
NAME
gcloud beta builds triggers export - export a build trigger
SYNOPSIS
gcloud beta builds triggers export (TRIGGER : --region=REGION)
--destination=PATH [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) Export a build trigger.
EXAMPLES
To export a build trigger to a file called trigger.yaml, run:
$ gcloud beta builds triggers export MY-TRIGGER \
--destination=trigger.yaml
POSITIONAL ARGUMENTS
Trigger resource - Build Trigger. The arguments in this group can be used
to specify the attributes of this resource. (NOTE) Some attributes are not
2023-05-04 10:43:54 +00:00
given arguments in this group but can be set in other ways.
To set the project attribute:
2022-03-01 04:29:52 +00:00
◆ provide the argument TRIGGER 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.
TRIGGER
2023-05-04 10:43:54 +00:00
ID of the trigger or fully qualified identifier for the trigger.
To set the trigger attribute:
2022-03-01 04:29:52 +00:00
▸ provide the argument TRIGGER on the command line.
2022-08-10 08:48:58 +00:00
This positional argument must be specified if any of the other
arguments in this group are specified.
2022-03-01 04:29:52 +00:00
--region=REGION
2023-05-04 10:43:54 +00:00
The Cloud location for the trigger.
To set the region attribute:
2022-03-01 04:29:52 +00:00
▸ provide the argument TRIGGER on the command line with a fully
specified name;
▸ provide the argument --region on the command line;
▸ set the property builds/region.
REQUIRED FLAGS
--destination=PATH
File path where trigger should be exported.
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.
NOTES
This command is currently in beta and might change without notice. This
variant is also available:
$ gcloud alpha builds triggers export