gcloud alpha builds triggers import

NAME
gcloud alpha builds triggers import - import a build trigger
SYNOPSIS
gcloud alpha builds triggers import --source=PATH [GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Import a build trigger.
REQUIRED FLAGS
--source=PATH
File path where trigger should be imported from.
GCLOUD WIDE FLAGS
These flags are available to all commands: --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.

EXAMPLES
To import a trigger from a file:
cat > trigger.yaml <<EOF
  name: my-trigger
  github:
    owner: GoogleCloudPlatform
    name: cloud-builders
    push:
      branch: .*
  EOF
gcloud alpha builds triggers import --source=trigger.yaml
NOTES
This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you may be trying to access an API with an invitation-only early access whitelist. This variant is also available:
gcloud beta builds triggers import