cloudbuild

package
v5.0.0-beta.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Trigger

type Trigger struct {
	pulumi.CustomResourceState

	// Contents of the build template. Either a filename or build template must be provided.
	// Structure is documented below.
	Build TriggerBuildPtrOutput `pulumi:"build"`
	// Time when the trigger was created.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Human-readable description of the trigger.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Whether the trigger is disabled or not. If true, the trigger will never result in a build.
	Disabled pulumi.BoolPtrOutput `pulumi:"disabled"`
	// Path, from the source root, to a file whose contents is used for the template. Either a filename or build template must be provided.
	Filename pulumi.StringPtrOutput `pulumi:"filename"`
	// Describes the configuration of a trigger that creates a build whenever a GitHub event is received.
	// One of `triggerTemplate` or `github` must be provided.
	// Structure is documented below.
	Github TriggerGithubPtrOutput `pulumi:"github"`
	// ignoredFiles and includedFiles are file glob matches using https://golang.org/pkg/path/filepath/#Match
	// extended with support for `**`.
	// If ignoredFiles and changed files are both empty, then they are not
	// used to determine whether or not to trigger a build.
	// If ignoredFiles is not empty, then we ignore any files that match any
	// of the ignoredFile globs. If the change has no files that are outside
	// of the ignoredFiles globs, then we do not trigger a build.
	IgnoredFiles pulumi.StringArrayOutput `pulumi:"ignoredFiles"`
	// ignoredFiles and includedFiles are file glob matches using https://golang.org/pkg/path/filepath/#Match
	// extended with support for `**`.
	// If any of the files altered in the commit pass the ignoredFiles filter
	// and includedFiles is empty, then as far as this filter is concerned, we
	// should trigger the build.
	// If any of the files altered in the commit pass the ignoredFiles filter
	// and includedFiles is not empty, then we make sure that at least one of
	// those files matches a includedFiles glob. If not, then we do not trigger
	// a build.
	IncludedFiles pulumi.StringArrayOutput `pulumi:"includedFiles"`
	// Name of the volume to mount.
	// Volume names must be unique per build step and must be valid names for Docker volumes.
	// Each named volume must be used by at least two build steps.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// Substitutions to use in a triggered build. Should only be used with triggers.run
	Substitutions pulumi.StringMapOutput `pulumi:"substitutions"`
	// Tags for annotation of a Build. These are not docker tags.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
	// The unique identifier for the trigger.
	TriggerId pulumi.StringOutput `pulumi:"triggerId"`
	// Template describing the types of source changes to trigger a build.
	// Branch and tag names in trigger templates are interpreted as regular
	// expressions. Any branch or tag change that matches that regular
	// expression will trigger a build.
	// One of `triggerTemplate` or `github` must be provided.
	// Structure is documented below.
	TriggerTemplate TriggerTriggerTemplatePtrOutput `pulumi:"triggerTemplate"`
}

Configuration for an automated build in response to source repository changes.

To get more information about Trigger, see:

* [API documentation](https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.triggers) * How-to Guides

> **Note:** You can retrieve the email of the Cloud Build Service Account used in jobs by using the `projects.ServiceIdentity` resource.

## Example Usage ### Cloudbuild Trigger Filename

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v5/go/gcp/cloudbuild"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudbuild.NewTrigger(ctx, "filename_trigger", &cloudbuild.TriggerArgs{
			Filename: pulumi.String("cloudbuild.yaml"),
			Substitutions: pulumi.StringMap{
				"_BAZ": pulumi.String("qux"),
				"_FOO": pulumi.String("bar"),
			},
			TriggerTemplate: &cloudbuild.TriggerTriggerTemplateArgs{
				BranchName: pulumi.String("master"),
				RepoName:   pulumi.String("my-repo"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Cloudbuild Trigger Build

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-gcp/sdk/v5/go/gcp/cloudbuild"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudbuild.NewTrigger(ctx, "build_trigger", &cloudbuild.TriggerArgs{
			Build: &cloudbuild.TriggerBuildArgs{
				Artifacts: &cloudbuild.TriggerBuildArtifactsArgs{
					Images: pulumi.StringArray{
						pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v", "gcr.io/", "$", "PROJECT_ID/", "$", "REPO_NAME:", "$", "COMMIT_SHA")),
					},
					Objects: &cloudbuild.TriggerBuildArtifactsObjectsArgs{
						Location: pulumi.String("gs://bucket/path/to/somewhere/"),
						Paths: pulumi.StringArray{
							pulumi.String("path"),
						},
					},
				},
				LogsBucket: pulumi.String("gs://mybucket/logs"),
				Options: &cloudbuild.TriggerBuildOptionsArgs{
					DiskSizeGb:           pulumi.Int(100),
					DynamicSubstitutions: pulumi.Bool(true),
					Env: pulumi.StringArray{
						pulumi.String("ekey = evalue"),
					},
					LogStreamingOption:    pulumi.String("STREAM_OFF"),
					Logging:               pulumi.String("LEGACY"),
					MachineType:           pulumi.String("N1_HIGHCPU_8"),
					RequestedVerifyOption: pulumi.String("VERIFIED"),
					SecretEnv: pulumi.StringArray{
						pulumi.String("secretenv = svalue"),
					},
					SourceProvenanceHash: pulumi.StringArray{
						pulumi.String("MD5"),
					},
					SubstitutionOption: pulumi.String("ALLOW_LOOSE"),
					Volumes: cloudbuild.TriggerBuildOptionsVolumeArray{
						&cloudbuild.TriggerBuildOptionsVolumeArgs{
							Name: pulumi.String("v1"),
							Path: pulumi.String("v1"),
						},
					},
					WorkerPool: pulumi.String("pool"),
				},
				QueueTtl: pulumi.String("20s"),
				Secrets: cloudbuild.TriggerBuildSecretArray{
					&cloudbuild.TriggerBuildSecretArgs{
						KmsKeyName: pulumi.String("projects/myProject/locations/global/keyRings/keyring-name/cryptoKeys/key-name"),
						SecretEnv: pulumi.StringMap{
							"PASSWORD": pulumi.String("ZW5jcnlwdGVkLXBhc3N3b3JkCg=="),
						},
					},
				},
				Source: &cloudbuild.TriggerBuildSourceArgs{
					StorageSource: &cloudbuild.TriggerBuildSourceStorageSourceArgs{
						Bucket: pulumi.String("mybucket"),
						Object: pulumi.String("source_code.tar.gz"),
					},
				},
				Steps: cloudbuild.TriggerBuildStepArray{
					&cloudbuild.TriggerBuildStepArgs{
						Args: pulumi.StringArray{
							pulumi.String("cp"),
							pulumi.String("gs://mybucket/remotefile.zip"),
							pulumi.String("localfile.zip"),
						},
						Name:    pulumi.String("gcr.io/cloud-builders/gsutil"),
						Timeout: pulumi.String("120s"),
					},
				},
				Substitutions: pulumi.StringMap{
					"_BAZ": pulumi.String("qux"),
					"_FOO": pulumi.String("bar"),
				},
				Tags: pulumi.StringArray{
					pulumi.String("build"),
					pulumi.String("newFeature"),
				},
			},
			TriggerTemplate: &cloudbuild.TriggerTriggerTemplateArgs{
				BranchName: pulumi.String("master"),
				RepoName:   pulumi.String("my-repo"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Trigger can be imported using any of these accepted formats

```sh

$ pulumi import gcp:cloudbuild/trigger:Trigger default projects/{{project}}/triggers/{{trigger_id}}

```

```sh

$ pulumi import gcp:cloudbuild/trigger:Trigger default {{project}}/{{trigger_id}}

```

```sh

$ pulumi import gcp:cloudbuild/trigger:Trigger default {{trigger_id}}

```

func GetTrigger

func GetTrigger(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TriggerState, opts ...pulumi.ResourceOption) (*Trigger, error)

GetTrigger gets an existing Trigger resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTrigger

func NewTrigger(ctx *pulumi.Context,
	name string, args *TriggerArgs, opts ...pulumi.ResourceOption) (*Trigger, error)

NewTrigger registers a new resource with the given unique name, arguments, and options.

func (*Trigger) ElementType

func (*Trigger) ElementType() reflect.Type

func (*Trigger) ToTriggerOutput

func (i *Trigger) ToTriggerOutput() TriggerOutput

func (*Trigger) ToTriggerOutputWithContext

func (i *Trigger) ToTriggerOutputWithContext(ctx context.Context) TriggerOutput

func (*Trigger) ToTriggerPtrOutput

func (i *Trigger) ToTriggerPtrOutput() TriggerPtrOutput

func (*Trigger) ToTriggerPtrOutputWithContext

func (i *Trigger) ToTriggerPtrOutputWithContext(ctx context.Context) TriggerPtrOutput

type TriggerArgs

type TriggerArgs struct {
	// Contents of the build template. Either a filename or build template must be provided.
	// Structure is documented below.
	Build TriggerBuildPtrInput
	// Human-readable description of the trigger.
	Description pulumi.StringPtrInput
	// Whether the trigger is disabled or not. If true, the trigger will never result in a build.
	Disabled pulumi.BoolPtrInput
	// Path, from the source root, to a file whose contents is used for the template. Either a filename or build template must be provided.
	Filename pulumi.StringPtrInput
	// Describes the configuration of a trigger that creates a build whenever a GitHub event is received.
	// One of `triggerTemplate` or `github` must be provided.
	// Structure is documented below.
	Github TriggerGithubPtrInput
	// ignoredFiles and includedFiles are file glob matches using https://golang.org/pkg/path/filepath/#Match
	// extended with support for `**`.
	// If ignoredFiles and changed files are both empty, then they are not
	// used to determine whether or not to trigger a build.
	// If ignoredFiles is not empty, then we ignore any files that match any
	// of the ignoredFile globs. If the change has no files that are outside
	// of the ignoredFiles globs, then we do not trigger a build.
	IgnoredFiles pulumi.StringArrayInput
	// ignoredFiles and includedFiles are file glob matches using https://golang.org/pkg/path/filepath/#Match
	// extended with support for `**`.
	// If any of the files altered in the commit pass the ignoredFiles filter
	// and includedFiles is empty, then as far as this filter is concerned, we
	// should trigger the build.
	// If any of the files altered in the commit pass the ignoredFiles filter
	// and includedFiles is not empty, then we make sure that at least one of
	// those files matches a includedFiles glob. If not, then we do not trigger
	// a build.
	IncludedFiles pulumi.StringArrayInput
	// Name of the volume to mount.
	// Volume names must be unique per build step and must be valid names for Docker volumes.
	// Each named volume must be used by at least two build steps.
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// Substitutions to use in a triggered build. Should only be used with triggers.run
	Substitutions pulumi.StringMapInput
	// Tags for annotation of a Build. These are not docker tags.
	Tags pulumi.StringArrayInput
	// Template describing the types of source changes to trigger a build.
	// Branch and tag names in trigger templates are interpreted as regular
	// expressions. Any branch or tag change that matches that regular
	// expression will trigger a build.
	// One of `triggerTemplate` or `github` must be provided.
	// Structure is documented below.
	TriggerTemplate TriggerTriggerTemplatePtrInput
}

The set of arguments for constructing a Trigger resource.

func (TriggerArgs) ElementType

func (TriggerArgs) ElementType() reflect.Type

type TriggerArray

type TriggerArray []TriggerInput

func (TriggerArray) ElementType

func (TriggerArray) ElementType() reflect.Type

func (TriggerArray) ToTriggerArrayOutput

func (i TriggerArray) ToTriggerArrayOutput() TriggerArrayOutput

func (TriggerArray) ToTriggerArrayOutputWithContext

func (i TriggerArray) ToTriggerArrayOutputWithContext(ctx context.Context) TriggerArrayOutput

type TriggerArrayInput

type TriggerArrayInput interface {
	pulumi.Input

	ToTriggerArrayOutput() TriggerArrayOutput
	ToTriggerArrayOutputWithContext(context.Context) TriggerArrayOutput
}

TriggerArrayInput is an input type that accepts TriggerArray and TriggerArrayOutput values. You can construct a concrete instance of `TriggerArrayInput` via:

TriggerArray{ TriggerArgs{...} }

type TriggerArrayOutput

type TriggerArrayOutput struct{ *pulumi.OutputState }

func (TriggerArrayOutput) ElementType

func (TriggerArrayOutput) ElementType() reflect.Type

func (TriggerArrayOutput) Index

func (TriggerArrayOutput) ToTriggerArrayOutput

func (o TriggerArrayOutput) ToTriggerArrayOutput() TriggerArrayOutput

func (TriggerArrayOutput) ToTriggerArrayOutputWithContext

func (o TriggerArrayOutput) ToTriggerArrayOutputWithContext(ctx context.Context) TriggerArrayOutput

type TriggerBuild

type TriggerBuild struct {
	// Artifacts produced by the build that should be uploaded upon successful completion of all build steps.
	// Structure is documented below.
	Artifacts *TriggerBuildArtifacts `pulumi:"artifacts"`
	// A list of images to be pushed upon the successful completion of all build steps.
	// The images will be pushed using the builder service account's credentials.
	// The digests of the pushed images will be stored in the Build resource's results field.
	// If any of the images fail to be pushed, the build is marked FAILURE.
	Images []string `pulumi:"images"`
	// Google Cloud Storage bucket where logs should be written.
	// Logs file names will be of the format ${logsBucket}/log-${build_id}.txt.
	LogsBucket *string `pulumi:"logsBucket"`
	// Special options for this build.
	// Structure is documented below.
	Options *TriggerBuildOptions `pulumi:"options"`
	// TTL in queue for this build. If provided and the build is enqueued longer than this value,
	// the build will expire and the build status will be EXPIRED.
	// The TTL starts ticking from createTime.
	// A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
	QueueTtl *string `pulumi:"queueTtl"`
	// Secrets to decrypt using Cloud Key Management Service.
	// Structure is documented below.
	Secrets []TriggerBuildSecret `pulumi:"secrets"`
	// The location of the source files to build.
	// One of `storageSource` or `repoSource` must be provided.
	// Structure is documented below.
	Source *TriggerBuildSource `pulumi:"source"`
	// The operations to be performed on the workspace.
	// Structure is documented below.
	Steps []TriggerBuildStep `pulumi:"steps"`
	// Substitutions to use in a triggered build. Should only be used with triggers.run
	Substitutions map[string]string `pulumi:"substitutions"`
	// Tags for annotation of a Build. These are not docker tags.
	Tags []string `pulumi:"tags"`
	// Time limit for executing this build step. If not defined,
	// the step has no
	// time limit and will be allowed to continue to run until either it
	// completes or the build itself times out.
	Timeout *string `pulumi:"timeout"`
}

type TriggerBuildArgs

type TriggerBuildArgs struct {
	// Artifacts produced by the build that should be uploaded upon successful completion of all build steps.
	// Structure is documented below.
	Artifacts TriggerBuildArtifactsPtrInput `pulumi:"artifacts"`
	// A list of images to be pushed upon the successful completion of all build steps.
	// The images will be pushed using the builder service account's credentials.
	// The digests of the pushed images will be stored in the Build resource's results field.
	// If any of the images fail to be pushed, the build is marked FAILURE.
	Images pulumi.StringArrayInput `pulumi:"images"`
	// Google Cloud Storage bucket where logs should be written.
	// Logs file names will be of the format ${logsBucket}/log-${build_id}.txt.
	LogsBucket pulumi.StringPtrInput `pulumi:"logsBucket"`
	// Special options for this build.
	// Structure is documented below.
	Options TriggerBuildOptionsPtrInput `pulumi:"options"`
	// TTL in queue for this build. If provided and the build is enqueued longer than this value,
	// the build will expire and the build status will be EXPIRED.
	// The TTL starts ticking from createTime.
	// A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
	QueueTtl pulumi.StringPtrInput `pulumi:"queueTtl"`
	// Secrets to decrypt using Cloud Key Management Service.
	// Structure is documented below.
	Secrets TriggerBuildSecretArrayInput `pulumi:"secrets"`
	// The location of the source files to build.
	// One of `storageSource` or `repoSource` must be provided.
	// Structure is documented below.
	Source TriggerBuildSourcePtrInput `pulumi:"source"`
	// The operations to be performed on the workspace.
	// Structure is documented below.
	Steps TriggerBuildStepArrayInput `pulumi:"steps"`
	// Substitutions to use in a triggered build. Should only be used with triggers.run
	Substitutions pulumi.StringMapInput `pulumi:"substitutions"`
	// Tags for annotation of a Build. These are not docker tags.
	Tags pulumi.StringArrayInput `pulumi:"tags"`
	// Time limit for executing this build step. If not defined,
	// the step has no
	// time limit and will be allowed to continue to run until either it
	// completes or the build itself times out.
	Timeout pulumi.StringPtrInput `pulumi:"timeout"`
}

func (TriggerBuildArgs) ElementType

func (TriggerBuildArgs) ElementType() reflect.Type

func (TriggerBuildArgs) ToTriggerBuildOutput

func (i TriggerBuildArgs) ToTriggerBuildOutput() TriggerBuildOutput

func (TriggerBuildArgs) ToTriggerBuildOutputWithContext

func (i TriggerBuildArgs) ToTriggerBuildOutputWithContext(ctx context.Context) TriggerBuildOutput

func (TriggerBuildArgs) ToTriggerBuildPtrOutput

func (i TriggerBuildArgs) ToTriggerBuildPtrOutput() TriggerBuildPtrOutput

func (TriggerBuildArgs) ToTriggerBuildPtrOutputWithContext

func (i TriggerBuildArgs) ToTriggerBuildPtrOutputWithContext(ctx context.Context) TriggerBuildPtrOutput

type TriggerBuildArtifacts

type TriggerBuildArtifacts struct {
	// A list of images to be pushed upon the successful completion of all build steps.
	// The images will be pushed using the builder service account's credentials.
	// The digests of the pushed images will be stored in the Build resource's results field.
	// If any of the images fail to be pushed, the build is marked FAILURE.
	Images []string `pulumi:"images"`
	// A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps.
	// Files in the workspace matching specified paths globs will be uploaded to the
	// Cloud Storage location using the builder service account's credentials.
	// The location and generation of the uploaded objects will be stored in the Build resource's results field.
	// If any objects fail to be pushed, the build is marked FAILURE.
	// Structure is documented below.
	Objects *TriggerBuildArtifactsObjects `pulumi:"objects"`
}

type TriggerBuildArtifactsArgs

type TriggerBuildArtifactsArgs struct {
	// A list of images to be pushed upon the successful completion of all build steps.
	// The images will be pushed using the builder service account's credentials.
	// The digests of the pushed images will be stored in the Build resource's results field.
	// If any of the images fail to be pushed, the build is marked FAILURE.
	Images pulumi.StringArrayInput `pulumi:"images"`
	// A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps.
	// Files in the workspace matching specified paths globs will be uploaded to the
	// Cloud Storage location using the builder service account's credentials.
	// The location and generation of the uploaded objects will be stored in the Build resource's results field.
	// If any objects fail to be pushed, the build is marked FAILURE.
	// Structure is documented below.
	Objects TriggerBuildArtifactsObjectsPtrInput `pulumi:"objects"`
}

func (TriggerBuildArtifactsArgs) ElementType

func (TriggerBuildArtifactsArgs) ElementType() reflect.Type

func (TriggerBuildArtifactsArgs) ToTriggerBuildArtifactsOutput

func (i TriggerBuildArtifactsArgs) ToTriggerBuildArtifactsOutput() TriggerBuildArtifactsOutput

func (TriggerBuildArtifactsArgs) ToTriggerBuildArtifactsOutputWithContext

func (i TriggerBuildArtifactsArgs) ToTriggerBuildArtifactsOutputWithContext(ctx context.Context) TriggerBuildArtifactsOutput

func (TriggerBuildArtifactsArgs) ToTriggerBuildArtifactsPtrOutput

func (i TriggerBuildArtifactsArgs) ToTriggerBuildArtifactsPtrOutput() TriggerBuildArtifactsPtrOutput

func (TriggerBuildArtifactsArgs) ToTriggerBuildArtifactsPtrOutputWithContext

func (i TriggerBuildArtifactsArgs) ToTriggerBuildArtifactsPtrOutputWithContext(ctx context.Context) TriggerBuildArtifactsPtrOutput

type TriggerBuildArtifactsInput

type TriggerBuildArtifactsInput interface {
	pulumi.Input

	ToTriggerBuildArtifactsOutput() TriggerBuildArtifactsOutput
	ToTriggerBuildArtifactsOutputWithContext(context.Context) TriggerBuildArtifactsOutput
}

TriggerBuildArtifactsInput is an input type that accepts TriggerBuildArtifactsArgs and TriggerBuildArtifactsOutput values. You can construct a concrete instance of `TriggerBuildArtifactsInput` via:

TriggerBuildArtifactsArgs{...}

type TriggerBuildArtifactsObjects

type TriggerBuildArtifactsObjects struct {
	// Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/".
	// Files in the workspace matching any path pattern will be uploaded to Cloud Storage with
	// this location as a prefix.
	Location *string `pulumi:"location"`
	// Path globs used to match files in the build's workspace.
	Paths []string `pulumi:"paths"`
	// -
	// Output only. Stores timing information for pushing all artifact objects.
	// Structure is documented below.
	Timings []TriggerBuildArtifactsObjectsTiming `pulumi:"timings"`
}

type TriggerBuildArtifactsObjectsArgs

type TriggerBuildArtifactsObjectsArgs struct {
	// Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/".
	// Files in the workspace matching any path pattern will be uploaded to Cloud Storage with
	// this location as a prefix.
	Location pulumi.StringPtrInput `pulumi:"location"`
	// Path globs used to match files in the build's workspace.
	Paths pulumi.StringArrayInput `pulumi:"paths"`
	// -
	// Output only. Stores timing information for pushing all artifact objects.
	// Structure is documented below.
	Timings TriggerBuildArtifactsObjectsTimingArrayInput `pulumi:"timings"`
}

func (TriggerBuildArtifactsObjectsArgs) ElementType

func (TriggerBuildArtifactsObjectsArgs) ToTriggerBuildArtifactsObjectsOutput

func (i TriggerBuildArtifactsObjectsArgs) ToTriggerBuildArtifactsObjectsOutput() TriggerBuildArtifactsObjectsOutput

func (TriggerBuildArtifactsObjectsArgs) ToTriggerBuildArtifactsObjectsOutputWithContext

func (i TriggerBuildArtifactsObjectsArgs) ToTriggerBuildArtifactsObjectsOutputWithContext(ctx context.Context) TriggerBuildArtifactsObjectsOutput

func (TriggerBuildArtifactsObjectsArgs) ToTriggerBuildArtifactsObjectsPtrOutput

func (i TriggerBuildArtifactsObjectsArgs) ToTriggerBuildArtifactsObjectsPtrOutput() TriggerBuildArtifactsObjectsPtrOutput

func (TriggerBuildArtifactsObjectsArgs) ToTriggerBuildArtifactsObjectsPtrOutputWithContext

func (i TriggerBuildArtifactsObjectsArgs) ToTriggerBuildArtifactsObjectsPtrOutputWithContext(ctx context.Context) TriggerBuildArtifactsObjectsPtrOutput

type TriggerBuildArtifactsObjectsInput

type TriggerBuildArtifactsObjectsInput interface {
	pulumi.Input

	ToTriggerBuildArtifactsObjectsOutput() TriggerBuildArtifactsObjectsOutput
	ToTriggerBuildArtifactsObjectsOutputWithContext(context.Context) TriggerBuildArtifactsObjectsOutput
}

TriggerBuildArtifactsObjectsInput is an input type that accepts TriggerBuildArtifactsObjectsArgs and TriggerBuildArtifactsObjectsOutput values. You can construct a concrete instance of `TriggerBuildArtifactsObjectsInput` via:

TriggerBuildArtifactsObjectsArgs{...}

type TriggerBuildArtifactsObjectsOutput

type TriggerBuildArtifactsObjectsOutput struct{ *pulumi.OutputState }

func (TriggerBuildArtifactsObjectsOutput) ElementType

func (TriggerBuildArtifactsObjectsOutput) Location

Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.

func (TriggerBuildArtifactsObjectsOutput) Paths

Path globs used to match files in the build's workspace.

func (TriggerBuildArtifactsObjectsOutput) Timings

- Output only. Stores timing information for pushing all artifact objects. Structure is documented below.

func (TriggerBuildArtifactsObjectsOutput) ToTriggerBuildArtifactsObjectsOutput

func (o TriggerBuildArtifactsObjectsOutput) ToTriggerBuildArtifactsObjectsOutput() TriggerBuildArtifactsObjectsOutput

func (TriggerBuildArtifactsObjectsOutput) ToTriggerBuildArtifactsObjectsOutputWithContext

func (o TriggerBuildArtifactsObjectsOutput) ToTriggerBuildArtifactsObjectsOutputWithContext(ctx context.Context) TriggerBuildArtifactsObjectsOutput

func (TriggerBuildArtifactsObjectsOutput) ToTriggerBuildArtifactsObjectsPtrOutput

func (o TriggerBuildArtifactsObjectsOutput) ToTriggerBuildArtifactsObjectsPtrOutput() TriggerBuildArtifactsObjectsPtrOutput

func (TriggerBuildArtifactsObjectsOutput) ToTriggerBuildArtifactsObjectsPtrOutputWithContext

func (o TriggerBuildArtifactsObjectsOutput) ToTriggerBuildArtifactsObjectsPtrOutputWithContext(ctx context.Context) TriggerBuildArtifactsObjectsPtrOutput

type TriggerBuildArtifactsObjectsPtrInput

type TriggerBuildArtifactsObjectsPtrInput interface {
	pulumi.Input

	ToTriggerBuildArtifactsObjectsPtrOutput() TriggerBuildArtifactsObjectsPtrOutput
	ToTriggerBuildArtifactsObjectsPtrOutputWithContext(context.Context) TriggerBuildArtifactsObjectsPtrOutput
}

TriggerBuildArtifactsObjectsPtrInput is an input type that accepts TriggerBuildArtifactsObjectsArgs, TriggerBuildArtifactsObjectsPtr and TriggerBuildArtifactsObjectsPtrOutput values. You can construct a concrete instance of `TriggerBuildArtifactsObjectsPtrInput` via:

        TriggerBuildArtifactsObjectsArgs{...}

or:

        nil

type TriggerBuildArtifactsObjectsPtrOutput

type TriggerBuildArtifactsObjectsPtrOutput struct{ *pulumi.OutputState }

func (TriggerBuildArtifactsObjectsPtrOutput) Elem

func (TriggerBuildArtifactsObjectsPtrOutput) ElementType

func (TriggerBuildArtifactsObjectsPtrOutput) Location

Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.

func (TriggerBuildArtifactsObjectsPtrOutput) Paths

Path globs used to match files in the build's workspace.

func (TriggerBuildArtifactsObjectsPtrOutput) Timings

- Output only. Stores timing information for pushing all artifact objects. Structure is documented below.

func (TriggerBuildArtifactsObjectsPtrOutput) ToTriggerBuildArtifactsObjectsPtrOutput

func (o TriggerBuildArtifactsObjectsPtrOutput) ToTriggerBuildArtifactsObjectsPtrOutput() TriggerBuildArtifactsObjectsPtrOutput

func (TriggerBuildArtifactsObjectsPtrOutput) ToTriggerBuildArtifactsObjectsPtrOutputWithContext

func (o TriggerBuildArtifactsObjectsPtrOutput) ToTriggerBuildArtifactsObjectsPtrOutputWithContext(ctx context.Context) TriggerBuildArtifactsObjectsPtrOutput

type TriggerBuildArtifactsObjectsTiming

type TriggerBuildArtifactsObjectsTiming struct {
	// End of time span.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to
	// nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	EndTime *string `pulumi:"endTime"`
	// Start of time span.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to
	// nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	StartTime *string `pulumi:"startTime"`
}

type TriggerBuildArtifactsObjectsTimingArgs

type TriggerBuildArtifactsObjectsTimingArgs struct {
	// End of time span.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to
	// nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	EndTime pulumi.StringPtrInput `pulumi:"endTime"`
	// Start of time span.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to
	// nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	StartTime pulumi.StringPtrInput `pulumi:"startTime"`
}

func (TriggerBuildArtifactsObjectsTimingArgs) ElementType

func (TriggerBuildArtifactsObjectsTimingArgs) ToTriggerBuildArtifactsObjectsTimingOutput

func (i TriggerBuildArtifactsObjectsTimingArgs) ToTriggerBuildArtifactsObjectsTimingOutput() TriggerBuildArtifactsObjectsTimingOutput

func (TriggerBuildArtifactsObjectsTimingArgs) ToTriggerBuildArtifactsObjectsTimingOutputWithContext

func (i TriggerBuildArtifactsObjectsTimingArgs) ToTriggerBuildArtifactsObjectsTimingOutputWithContext(ctx context.Context) TriggerBuildArtifactsObjectsTimingOutput

type TriggerBuildArtifactsObjectsTimingArray

type TriggerBuildArtifactsObjectsTimingArray []TriggerBuildArtifactsObjectsTimingInput

func (TriggerBuildArtifactsObjectsTimingArray) ElementType

func (TriggerBuildArtifactsObjectsTimingArray) ToTriggerBuildArtifactsObjectsTimingArrayOutput

func (i TriggerBuildArtifactsObjectsTimingArray) ToTriggerBuildArtifactsObjectsTimingArrayOutput() TriggerBuildArtifactsObjectsTimingArrayOutput

func (TriggerBuildArtifactsObjectsTimingArray) ToTriggerBuildArtifactsObjectsTimingArrayOutputWithContext

func (i TriggerBuildArtifactsObjectsTimingArray) ToTriggerBuildArtifactsObjectsTimingArrayOutputWithContext(ctx context.Context) TriggerBuildArtifactsObjectsTimingArrayOutput

type TriggerBuildArtifactsObjectsTimingArrayInput

type TriggerBuildArtifactsObjectsTimingArrayInput interface {
	pulumi.Input

	ToTriggerBuildArtifactsObjectsTimingArrayOutput() TriggerBuildArtifactsObjectsTimingArrayOutput
	ToTriggerBuildArtifactsObjectsTimingArrayOutputWithContext(context.Context) TriggerBuildArtifactsObjectsTimingArrayOutput
}

TriggerBuildArtifactsObjectsTimingArrayInput is an input type that accepts TriggerBuildArtifactsObjectsTimingArray and TriggerBuildArtifactsObjectsTimingArrayOutput values. You can construct a concrete instance of `TriggerBuildArtifactsObjectsTimingArrayInput` via:

TriggerBuildArtifactsObjectsTimingArray{ TriggerBuildArtifactsObjectsTimingArgs{...} }

type TriggerBuildArtifactsObjectsTimingArrayOutput

type TriggerBuildArtifactsObjectsTimingArrayOutput struct{ *pulumi.OutputState }

func (TriggerBuildArtifactsObjectsTimingArrayOutput) ElementType

func (TriggerBuildArtifactsObjectsTimingArrayOutput) Index

func (TriggerBuildArtifactsObjectsTimingArrayOutput) ToTriggerBuildArtifactsObjectsTimingArrayOutput

func (o TriggerBuildArtifactsObjectsTimingArrayOutput) ToTriggerBuildArtifactsObjectsTimingArrayOutput() TriggerBuildArtifactsObjectsTimingArrayOutput

func (TriggerBuildArtifactsObjectsTimingArrayOutput) ToTriggerBuildArtifactsObjectsTimingArrayOutputWithContext

func (o TriggerBuildArtifactsObjectsTimingArrayOutput) ToTriggerBuildArtifactsObjectsTimingArrayOutputWithContext(ctx context.Context) TriggerBuildArtifactsObjectsTimingArrayOutput

type TriggerBuildArtifactsObjectsTimingInput

type TriggerBuildArtifactsObjectsTimingInput interface {
	pulumi.Input

	ToTriggerBuildArtifactsObjectsTimingOutput() TriggerBuildArtifactsObjectsTimingOutput
	ToTriggerBuildArtifactsObjectsTimingOutputWithContext(context.Context) TriggerBuildArtifactsObjectsTimingOutput
}

TriggerBuildArtifactsObjectsTimingInput is an input type that accepts TriggerBuildArtifactsObjectsTimingArgs and TriggerBuildArtifactsObjectsTimingOutput values. You can construct a concrete instance of `TriggerBuildArtifactsObjectsTimingInput` via:

TriggerBuildArtifactsObjectsTimingArgs{...}

type TriggerBuildArtifactsObjectsTimingOutput

type TriggerBuildArtifactsObjectsTimingOutput struct{ *pulumi.OutputState }

func (TriggerBuildArtifactsObjectsTimingOutput) ElementType

func (TriggerBuildArtifactsObjectsTimingOutput) EndTime

End of time span. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

func (TriggerBuildArtifactsObjectsTimingOutput) StartTime

Start of time span. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

func (TriggerBuildArtifactsObjectsTimingOutput) ToTriggerBuildArtifactsObjectsTimingOutput

func (o TriggerBuildArtifactsObjectsTimingOutput) ToTriggerBuildArtifactsObjectsTimingOutput() TriggerBuildArtifactsObjectsTimingOutput

func (TriggerBuildArtifactsObjectsTimingOutput) ToTriggerBuildArtifactsObjectsTimingOutputWithContext

func (o TriggerBuildArtifactsObjectsTimingOutput) ToTriggerBuildArtifactsObjectsTimingOutputWithContext(ctx context.Context) TriggerBuildArtifactsObjectsTimingOutput

type TriggerBuildArtifactsOutput

type TriggerBuildArtifactsOutput struct{ *pulumi.OutputState }

func (TriggerBuildArtifactsOutput) ElementType

func (TriggerBuildArtifactsOutput) Images

A list of images to be pushed upon the successful completion of all build steps. The images will be pushed using the builder service account's credentials. The digests of the pushed images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build is marked FAILURE.

func (TriggerBuildArtifactsOutput) Objects

A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps. Files in the workspace matching specified paths globs will be uploaded to the Cloud Storage location using the builder service account's credentials. The location and generation of the uploaded objects will be stored in the Build resource's results field. If any objects fail to be pushed, the build is marked FAILURE. Structure is documented below.

func (TriggerBuildArtifactsOutput) ToTriggerBuildArtifactsOutput

func (o TriggerBuildArtifactsOutput) ToTriggerBuildArtifactsOutput() TriggerBuildArtifactsOutput

func (TriggerBuildArtifactsOutput) ToTriggerBuildArtifactsOutputWithContext

func (o TriggerBuildArtifactsOutput) ToTriggerBuildArtifactsOutputWithContext(ctx context.Context) TriggerBuildArtifactsOutput

func (TriggerBuildArtifactsOutput) ToTriggerBuildArtifactsPtrOutput

func (o TriggerBuildArtifactsOutput) ToTriggerBuildArtifactsPtrOutput() TriggerBuildArtifactsPtrOutput

func (TriggerBuildArtifactsOutput) ToTriggerBuildArtifactsPtrOutputWithContext

func (o TriggerBuildArtifactsOutput) ToTriggerBuildArtifactsPtrOutputWithContext(ctx context.Context) TriggerBuildArtifactsPtrOutput

type TriggerBuildArtifactsPtrInput

type TriggerBuildArtifactsPtrInput interface {
	pulumi.Input

	ToTriggerBuildArtifactsPtrOutput() TriggerBuildArtifactsPtrOutput
	ToTriggerBuildArtifactsPtrOutputWithContext(context.Context) TriggerBuildArtifactsPtrOutput
}

TriggerBuildArtifactsPtrInput is an input type that accepts TriggerBuildArtifactsArgs, TriggerBuildArtifactsPtr and TriggerBuildArtifactsPtrOutput values. You can construct a concrete instance of `TriggerBuildArtifactsPtrInput` via:

        TriggerBuildArtifactsArgs{...}

or:

        nil

type TriggerBuildArtifactsPtrOutput

type TriggerBuildArtifactsPtrOutput struct{ *pulumi.OutputState }

func (TriggerBuildArtifactsPtrOutput) Elem

func (TriggerBuildArtifactsPtrOutput) ElementType

func (TriggerBuildArtifactsPtrOutput) Images

A list of images to be pushed upon the successful completion of all build steps. The images will be pushed using the builder service account's credentials. The digests of the pushed images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build is marked FAILURE.

func (TriggerBuildArtifactsPtrOutput) Objects

A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps. Files in the workspace matching specified paths globs will be uploaded to the Cloud Storage location using the builder service account's credentials. The location and generation of the uploaded objects will be stored in the Build resource's results field. If any objects fail to be pushed, the build is marked FAILURE. Structure is documented below.

func (TriggerBuildArtifactsPtrOutput) ToTriggerBuildArtifactsPtrOutput

func (o TriggerBuildArtifactsPtrOutput) ToTriggerBuildArtifactsPtrOutput() TriggerBuildArtifactsPtrOutput

func (TriggerBuildArtifactsPtrOutput) ToTriggerBuildArtifactsPtrOutputWithContext

func (o TriggerBuildArtifactsPtrOutput) ToTriggerBuildArtifactsPtrOutputWithContext(ctx context.Context) TriggerBuildArtifactsPtrOutput

type TriggerBuildInput

type TriggerBuildInput interface {
	pulumi.Input

	ToTriggerBuildOutput() TriggerBuildOutput
	ToTriggerBuildOutputWithContext(context.Context) TriggerBuildOutput
}

TriggerBuildInput is an input type that accepts TriggerBuildArgs and TriggerBuildOutput values. You can construct a concrete instance of `TriggerBuildInput` via:

TriggerBuildArgs{...}

type TriggerBuildOptions

type TriggerBuildOptions struct {
	// Requested disk size for the VM that runs the build. Note that this is NOT "disk free";
	// some of the space will be used by the operating system and build utilities.
	// Also note that this is the minimum disk size that will be allocated for the build --
	// the build may run with a larger disk than requested. At present, the maximum disk size
	// is 1000GB; builds that request more than the maximum are rejected with an error.
	DiskSizeGb *int `pulumi:"diskSizeGb"`
	// Option to specify whether or not to apply bash style string operations to the substitutions.
	// NOTE this is always enabled for triggered builds and cannot be overridden in the build configuration file.
	DynamicSubstitutions *bool `pulumi:"dynamicSubstitutions"`
	// A list of global environment variable definitions that will exist for all build steps
	// in this build. If a variable is defined in both globally and in a build step,
	// the variable will use the build step value.
	// The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE".
	Envs []string `pulumi:"envs"`
	// Option to define build log streaming behavior to Google Cloud Storage.
	// Possible values are `STREAM_DEFAULT`, `STREAM_ON`, and `STREAM_OFF`.
	LogStreamingOption *string `pulumi:"logStreamingOption"`
	// Option to specify the logging mode, which determines if and where build logs are stored.
	// Possible values are `LOGGING_UNSPECIFIED`, `LEGACY`, `GCS_ONLY`, `STACKDRIVER_ONLY`, and `NONE`.
	Logging *string `pulumi:"logging"`
	// Compute Engine machine type on which to run the build.
	// Possible values are `UNSPECIFIED`, `N1_HIGHCPU_8`, and `N1_HIGHCPU_32`.
	MachineType *string `pulumi:"machineType"`
	// Requested verifiability options.
	// Possible values are `NOT_VERIFIED` and `VERIFIED`.
	RequestedVerifyOption *string `pulumi:"requestedVerifyOption"`
	// A list of global environment variables, which are encrypted using a Cloud Key Management
	// Service crypto key. These values must be specified in the build's Secret. These variables
	// will be available to all build steps in this build.
	SecretEnvs []string `pulumi:"secretEnvs"`
	// Requested hash for SourceProvenance.
	// Each value may be one of `NONE`, `SHA256`, and `MD5`.
	SourceProvenanceHashes []string `pulumi:"sourceProvenanceHashes"`
	// Option to specify behavior when there is an error in the substitution checks.
	// NOTE this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden
	// in the build configuration file.
	// Possible values are `MUST_MATCH` and `ALLOW_LOOSE`.
	SubstitutionOption *string `pulumi:"substitutionOption"`
	// Global list of volumes to mount for ALL build steps
	// Each volume is created as an empty volume prior to starting the build process.
	// Upon completion of the build, volumes and their contents are discarded. Global
	// volume names and paths cannot conflict with the volumes defined a build step.
	// Using a global volume in a build with only one step is not valid as it is indicative
	// of a build request with an incorrect configuration.
	// Structure is documented below.
	Volumes []TriggerBuildOptionsVolume `pulumi:"volumes"`
	// Option to specify a WorkerPool for the build. Format projects/{project}/workerPools/{workerPool}
	// This field is experimental.
	WorkerPool *string `pulumi:"workerPool"`
}

type TriggerBuildOptionsArgs

type TriggerBuildOptionsArgs struct {
	// Requested disk size for the VM that runs the build. Note that this is NOT "disk free";
	// some of the space will be used by the operating system and build utilities.
	// Also note that this is the minimum disk size that will be allocated for the build --
	// the build may run with a larger disk than requested. At present, the maximum disk size
	// is 1000GB; builds that request more than the maximum are rejected with an error.
	DiskSizeGb pulumi.IntPtrInput `pulumi:"diskSizeGb"`
	// Option to specify whether or not to apply bash style string operations to the substitutions.
	// NOTE this is always enabled for triggered builds and cannot be overridden in the build configuration file.
	DynamicSubstitutions pulumi.BoolPtrInput `pulumi:"dynamicSubstitutions"`
	// A list of global environment variable definitions that will exist for all build steps
	// in this build. If a variable is defined in both globally and in a build step,
	// the variable will use the build step value.
	// The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE".
	Envs pulumi.StringArrayInput `pulumi:"envs"`
	// Option to define build log streaming behavior to Google Cloud Storage.
	// Possible values are `STREAM_DEFAULT`, `STREAM_ON`, and `STREAM_OFF`.
	LogStreamingOption pulumi.StringPtrInput `pulumi:"logStreamingOption"`
	// Option to specify the logging mode, which determines if and where build logs are stored.
	// Possible values are `LOGGING_UNSPECIFIED`, `LEGACY`, `GCS_ONLY`, `STACKDRIVER_ONLY`, and `NONE`.
	Logging pulumi.StringPtrInput `pulumi:"logging"`
	// Compute Engine machine type on which to run the build.
	// Possible values are `UNSPECIFIED`, `N1_HIGHCPU_8`, and `N1_HIGHCPU_32`.
	MachineType pulumi.StringPtrInput `pulumi:"machineType"`
	// Requested verifiability options.
	// Possible values are `NOT_VERIFIED` and `VERIFIED`.
	RequestedVerifyOption pulumi.StringPtrInput `pulumi:"requestedVerifyOption"`
	// A list of global environment variables, which are encrypted using a Cloud Key Management
	// Service crypto key. These values must be specified in the build's Secret. These variables
	// will be available to all build steps in this build.
	SecretEnvs pulumi.StringArrayInput `pulumi:"secretEnvs"`
	// Requested hash for SourceProvenance.
	// Each value may be one of `NONE`, `SHA256`, and `MD5`.
	SourceProvenanceHashes pulumi.StringArrayInput `pulumi:"sourceProvenanceHashes"`
	// Option to specify behavior when there is an error in the substitution checks.
	// NOTE this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden
	// in the build configuration file.
	// Possible values are `MUST_MATCH` and `ALLOW_LOOSE`.
	SubstitutionOption pulumi.StringPtrInput `pulumi:"substitutionOption"`
	// Global list of volumes to mount for ALL build steps
	// Each volume is created as an empty volume prior to starting the build process.
	// Upon completion of the build, volumes and their contents are discarded. Global
	// volume names and paths cannot conflict with the volumes defined a build step.
	// Using a global volume in a build with only one step is not valid as it is indicative
	// of a build request with an incorrect configuration.
	// Structure is documented below.
	Volumes TriggerBuildOptionsVolumeArrayInput `pulumi:"volumes"`
	// Option to specify a WorkerPool for the build. Format projects/{project}/workerPools/{workerPool}
	// This field is experimental.
	WorkerPool pulumi.StringPtrInput `pulumi:"workerPool"`
}

func (TriggerBuildOptionsArgs) ElementType

func (TriggerBuildOptionsArgs) ElementType() reflect.Type

func (TriggerBuildOptionsArgs) ToTriggerBuildOptionsOutput

func (i TriggerBuildOptionsArgs) ToTriggerBuildOptionsOutput() TriggerBuildOptionsOutput

func (TriggerBuildOptionsArgs) ToTriggerBuildOptionsOutputWithContext

func (i TriggerBuildOptionsArgs) ToTriggerBuildOptionsOutputWithContext(ctx context.Context) TriggerBuildOptionsOutput

func (TriggerBuildOptionsArgs) ToTriggerBuildOptionsPtrOutput

func (i TriggerBuildOptionsArgs) ToTriggerBuildOptionsPtrOutput() TriggerBuildOptionsPtrOutput

func (TriggerBuildOptionsArgs) ToTriggerBuildOptionsPtrOutputWithContext

func (i TriggerBuildOptionsArgs) ToTriggerBuildOptionsPtrOutputWithContext(ctx context.Context) TriggerBuildOptionsPtrOutput

type TriggerBuildOptionsInput

type TriggerBuildOptionsInput interface {
	pulumi.Input

	ToTriggerBuildOptionsOutput() TriggerBuildOptionsOutput
	ToTriggerBuildOptionsOutputWithContext(context.Context) TriggerBuildOptionsOutput
}

TriggerBuildOptionsInput is an input type that accepts TriggerBuildOptionsArgs and TriggerBuildOptionsOutput values. You can construct a concrete instance of `TriggerBuildOptionsInput` via:

TriggerBuildOptionsArgs{...}

type TriggerBuildOptionsOutput

type TriggerBuildOptionsOutput struct{ *pulumi.OutputState }

func (TriggerBuildOptionsOutput) DiskSizeGb

Requested disk size for the VM that runs the build. Note that this is NOT "disk free"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 1000GB; builds that request more than the maximum are rejected with an error.

func (TriggerBuildOptionsOutput) DynamicSubstitutions

func (o TriggerBuildOptionsOutput) DynamicSubstitutions() pulumi.BoolPtrOutput

Option to specify whether or not to apply bash style string operations to the substitutions. NOTE this is always enabled for triggered builds and cannot be overridden in the build configuration file.

func (TriggerBuildOptionsOutput) ElementType

func (TriggerBuildOptionsOutput) ElementType() reflect.Type

func (TriggerBuildOptionsOutput) Envs

A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE".

func (TriggerBuildOptionsOutput) LogStreamingOption

func (o TriggerBuildOptionsOutput) LogStreamingOption() pulumi.StringPtrOutput

Option to define build log streaming behavior to Google Cloud Storage. Possible values are `STREAM_DEFAULT`, `STREAM_ON`, and `STREAM_OFF`.

func (TriggerBuildOptionsOutput) Logging

Option to specify the logging mode, which determines if and where build logs are stored. Possible values are `LOGGING_UNSPECIFIED`, `LEGACY`, `GCS_ONLY`, `STACKDRIVER_ONLY`, and `NONE`.

func (TriggerBuildOptionsOutput) MachineType

Compute Engine machine type on which to run the build. Possible values are `UNSPECIFIED`, `N1_HIGHCPU_8`, and `N1_HIGHCPU_32`.

func (TriggerBuildOptionsOutput) RequestedVerifyOption

func (o TriggerBuildOptionsOutput) RequestedVerifyOption() pulumi.StringPtrOutput

Requested verifiability options. Possible values are `NOT_VERIFIED` and `VERIFIED`.

func (TriggerBuildOptionsOutput) SecretEnvs

A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's Secret. These variables will be available to all build steps in this build.

func (TriggerBuildOptionsOutput) SourceProvenanceHashes

func (o TriggerBuildOptionsOutput) SourceProvenanceHashes() pulumi.StringArrayOutput

Requested hash for SourceProvenance. Each value may be one of `NONE`, `SHA256`, and `MD5`.

func (TriggerBuildOptionsOutput) SubstitutionOption

func (o TriggerBuildOptionsOutput) SubstitutionOption() pulumi.StringPtrOutput

Option to specify behavior when there is an error in the substitution checks. NOTE this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build configuration file. Possible values are `MUST_MATCH` and `ALLOW_LOOSE`.

func (TriggerBuildOptionsOutput) ToTriggerBuildOptionsOutput

func (o TriggerBuildOptionsOutput) ToTriggerBuildOptionsOutput() TriggerBuildOptionsOutput

func (TriggerBuildOptionsOutput) ToTriggerBuildOptionsOutputWithContext

func (o TriggerBuildOptionsOutput) ToTriggerBuildOptionsOutputWithContext(ctx context.Context) TriggerBuildOptionsOutput

func (TriggerBuildOptionsOutput) ToTriggerBuildOptionsPtrOutput

func (o TriggerBuildOptionsOutput) ToTriggerBuildOptionsPtrOutput() TriggerBuildOptionsPtrOutput

func (TriggerBuildOptionsOutput) ToTriggerBuildOptionsPtrOutputWithContext

func (o TriggerBuildOptionsOutput) ToTriggerBuildOptionsPtrOutputWithContext(ctx context.Context) TriggerBuildOptionsPtrOutput

func (TriggerBuildOptionsOutput) Volumes

Global list of volumes to mount for ALL build steps Each volume is created as an empty volume prior to starting the build process. Upon completion of the build, volumes and their contents are discarded. Global volume names and paths cannot conflict with the volumes defined a build step. Using a global volume in a build with only one step is not valid as it is indicative of a build request with an incorrect configuration. Structure is documented below.

func (TriggerBuildOptionsOutput) WorkerPool

Option to specify a WorkerPool for the build. Format projects/{project}/workerPools/{workerPool} This field is experimental.

type TriggerBuildOptionsPtrInput

type TriggerBuildOptionsPtrInput interface {
	pulumi.Input

	ToTriggerBuildOptionsPtrOutput() TriggerBuildOptionsPtrOutput
	ToTriggerBuildOptionsPtrOutputWithContext(context.Context) TriggerBuildOptionsPtrOutput
}

TriggerBuildOptionsPtrInput is an input type that accepts TriggerBuildOptionsArgs, TriggerBuildOptionsPtr and TriggerBuildOptionsPtrOutput values. You can construct a concrete instance of `TriggerBuildOptionsPtrInput` via:

        TriggerBuildOptionsArgs{...}

or:

        nil

type TriggerBuildOptionsPtrOutput

type TriggerBuildOptionsPtrOutput struct{ *pulumi.OutputState }

func (TriggerBuildOptionsPtrOutput) DiskSizeGb

Requested disk size for the VM that runs the build. Note that this is NOT "disk free"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 1000GB; builds that request more than the maximum are rejected with an error.

func (TriggerBuildOptionsPtrOutput) DynamicSubstitutions

func (o TriggerBuildOptionsPtrOutput) DynamicSubstitutions() pulumi.BoolPtrOutput

Option to specify whether or not to apply bash style string operations to the substitutions. NOTE this is always enabled for triggered builds and cannot be overridden in the build configuration file.

func (TriggerBuildOptionsPtrOutput) Elem

func (TriggerBuildOptionsPtrOutput) ElementType

func (TriggerBuildOptionsPtrOutput) Envs

A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE".

func (TriggerBuildOptionsPtrOutput) LogStreamingOption

func (o TriggerBuildOptionsPtrOutput) LogStreamingOption() pulumi.StringPtrOutput

Option to define build log streaming behavior to Google Cloud Storage. Possible values are `STREAM_DEFAULT`, `STREAM_ON`, and `STREAM_OFF`.

func (TriggerBuildOptionsPtrOutput) Logging

Option to specify the logging mode, which determines if and where build logs are stored. Possible values are `LOGGING_UNSPECIFIED`, `LEGACY`, `GCS_ONLY`, `STACKDRIVER_ONLY`, and `NONE`.

func (TriggerBuildOptionsPtrOutput) MachineType

Compute Engine machine type on which to run the build. Possible values are `UNSPECIFIED`, `N1_HIGHCPU_8`, and `N1_HIGHCPU_32`.

func (TriggerBuildOptionsPtrOutput) RequestedVerifyOption

func (o TriggerBuildOptionsPtrOutput) RequestedVerifyOption() pulumi.StringPtrOutput

Requested verifiability options. Possible values are `NOT_VERIFIED` and `VERIFIED`.

func (TriggerBuildOptionsPtrOutput) SecretEnvs

A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's Secret. These variables will be available to all build steps in this build.

func (TriggerBuildOptionsPtrOutput) SourceProvenanceHashes

func (o TriggerBuildOptionsPtrOutput) SourceProvenanceHashes() pulumi.StringArrayOutput

Requested hash for SourceProvenance. Each value may be one of `NONE`, `SHA256`, and `MD5`.

func (TriggerBuildOptionsPtrOutput) SubstitutionOption

func (o TriggerBuildOptionsPtrOutput) SubstitutionOption() pulumi.StringPtrOutput

Option to specify behavior when there is an error in the substitution checks. NOTE this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build configuration file. Possible values are `MUST_MATCH` and `ALLOW_LOOSE`.

func (TriggerBuildOptionsPtrOutput) ToTriggerBuildOptionsPtrOutput

func (o TriggerBuildOptionsPtrOutput) ToTriggerBuildOptionsPtrOutput() TriggerBuildOptionsPtrOutput

func (TriggerBuildOptionsPtrOutput) ToTriggerBuildOptionsPtrOutputWithContext

func (o TriggerBuildOptionsPtrOutput) ToTriggerBuildOptionsPtrOutputWithContext(ctx context.Context) TriggerBuildOptionsPtrOutput

func (TriggerBuildOptionsPtrOutput) Volumes

Global list of volumes to mount for ALL build steps Each volume is created as an empty volume prior to starting the build process. Upon completion of the build, volumes and their contents are discarded. Global volume names and paths cannot conflict with the volumes defined a build step. Using a global volume in a build with only one step is not valid as it is indicative of a build request with an incorrect configuration. Structure is documented below.

func (TriggerBuildOptionsPtrOutput) WorkerPool

Option to specify a WorkerPool for the build. Format projects/{project}/workerPools/{workerPool} This field is experimental.

type TriggerBuildOptionsVolume

type TriggerBuildOptionsVolume struct {
	// Name of the volume to mount.
	// Volume names must be unique per build step and must be valid names for Docker volumes.
	// Each named volume must be used by at least two build steps.
	Name *string `pulumi:"name"`
	// Path at which to mount the volume.
	// Paths must be absolute and cannot conflict with other volume paths on the same
	// build step or with certain reserved volume paths.
	Path *string `pulumi:"path"`
}

type TriggerBuildOptionsVolumeArgs

type TriggerBuildOptionsVolumeArgs struct {
	// Name of the volume to mount.
	// Volume names must be unique per build step and must be valid names for Docker volumes.
	// Each named volume must be used by at least two build steps.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Path at which to mount the volume.
	// Paths must be absolute and cannot conflict with other volume paths on the same
	// build step or with certain reserved volume paths.
	Path pulumi.StringPtrInput `pulumi:"path"`
}

func (TriggerBuildOptionsVolumeArgs) ElementType

func (TriggerBuildOptionsVolumeArgs) ToTriggerBuildOptionsVolumeOutput

func (i TriggerBuildOptionsVolumeArgs) ToTriggerBuildOptionsVolumeOutput() TriggerBuildOptionsVolumeOutput

func (TriggerBuildOptionsVolumeArgs) ToTriggerBuildOptionsVolumeOutputWithContext

func (i TriggerBuildOptionsVolumeArgs) ToTriggerBuildOptionsVolumeOutputWithContext(ctx context.Context) TriggerBuildOptionsVolumeOutput

type TriggerBuildOptionsVolumeArray

type TriggerBuildOptionsVolumeArray []TriggerBuildOptionsVolumeInput

func (TriggerBuildOptionsVolumeArray) ElementType

func (TriggerBuildOptionsVolumeArray) ToTriggerBuildOptionsVolumeArrayOutput

func (i TriggerBuildOptionsVolumeArray) ToTriggerBuildOptionsVolumeArrayOutput() TriggerBuildOptionsVolumeArrayOutput

func (TriggerBuildOptionsVolumeArray) ToTriggerBuildOptionsVolumeArrayOutputWithContext

func (i TriggerBuildOptionsVolumeArray) ToTriggerBuildOptionsVolumeArrayOutputWithContext(ctx context.Context) TriggerBuildOptionsVolumeArrayOutput

type TriggerBuildOptionsVolumeArrayInput

type TriggerBuildOptionsVolumeArrayInput interface {
	pulumi.Input

	ToTriggerBuildOptionsVolumeArrayOutput() TriggerBuildOptionsVolumeArrayOutput
	ToTriggerBuildOptionsVolumeArrayOutputWithContext(context.Context) TriggerBuildOptionsVolumeArrayOutput
}

TriggerBuildOptionsVolumeArrayInput is an input type that accepts TriggerBuildOptionsVolumeArray and TriggerBuildOptionsVolumeArrayOutput values. You can construct a concrete instance of `TriggerBuildOptionsVolumeArrayInput` via:

TriggerBuildOptionsVolumeArray{ TriggerBuildOptionsVolumeArgs{...} }

type TriggerBuildOptionsVolumeArrayOutput

type TriggerBuildOptionsVolumeArrayOutput struct{ *pulumi.OutputState }

func (TriggerBuildOptionsVolumeArrayOutput) ElementType

func (TriggerBuildOptionsVolumeArrayOutput) Index

func (TriggerBuildOptionsVolumeArrayOutput) ToTriggerBuildOptionsVolumeArrayOutput

func (o TriggerBuildOptionsVolumeArrayOutput) ToTriggerBuildOptionsVolumeArrayOutput() TriggerBuildOptionsVolumeArrayOutput

func (TriggerBuildOptionsVolumeArrayOutput) ToTriggerBuildOptionsVolumeArrayOutputWithContext

func (o TriggerBuildOptionsVolumeArrayOutput) ToTriggerBuildOptionsVolumeArrayOutputWithContext(ctx context.Context) TriggerBuildOptionsVolumeArrayOutput

type TriggerBuildOptionsVolumeInput

type TriggerBuildOptionsVolumeInput interface {
	pulumi.Input

	ToTriggerBuildOptionsVolumeOutput() TriggerBuildOptionsVolumeOutput
	ToTriggerBuildOptionsVolumeOutputWithContext(context.Context) TriggerBuildOptionsVolumeOutput
}

TriggerBuildOptionsVolumeInput is an input type that accepts TriggerBuildOptionsVolumeArgs and TriggerBuildOptionsVolumeOutput values. You can construct a concrete instance of `TriggerBuildOptionsVolumeInput` via:

TriggerBuildOptionsVolumeArgs{...}

type TriggerBuildOptionsVolumeOutput

type TriggerBuildOptionsVolumeOutput struct{ *pulumi.OutputState }

func (TriggerBuildOptionsVolumeOutput) ElementType

func (TriggerBuildOptionsVolumeOutput) Name

Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.

func (TriggerBuildOptionsVolumeOutput) Path

Path at which to mount the volume. Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.

func (TriggerBuildOptionsVolumeOutput) ToTriggerBuildOptionsVolumeOutput

func (o TriggerBuildOptionsVolumeOutput) ToTriggerBuildOptionsVolumeOutput() TriggerBuildOptionsVolumeOutput

func (TriggerBuildOptionsVolumeOutput) ToTriggerBuildOptionsVolumeOutputWithContext

func (o TriggerBuildOptionsVolumeOutput) ToTriggerBuildOptionsVolumeOutputWithContext(ctx context.Context) TriggerBuildOptionsVolumeOutput

type TriggerBuildOutput

type TriggerBuildOutput struct{ *pulumi.OutputState }

func (TriggerBuildOutput) Artifacts

Artifacts produced by the build that should be uploaded upon successful completion of all build steps. Structure is documented below.

func (TriggerBuildOutput) ElementType

func (TriggerBuildOutput) ElementType() reflect.Type

func (TriggerBuildOutput) Images

A list of images to be pushed upon the successful completion of all build steps. The images will be pushed using the builder service account's credentials. The digests of the pushed images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build is marked FAILURE.

func (TriggerBuildOutput) LogsBucket

func (o TriggerBuildOutput) LogsBucket() pulumi.StringPtrOutput

Google Cloud Storage bucket where logs should be written. Logs file names will be of the format ${logsBucket}/log-${build_id}.txt.

func (TriggerBuildOutput) Options

Special options for this build. Structure is documented below.

func (TriggerBuildOutput) QueueTtl

TTL in queue for this build. If provided and the build is enqueued longer than this value, the build will expire and the build status will be EXPIRED. The TTL starts ticking from createTime. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

func (TriggerBuildOutput) Secrets

Secrets to decrypt using Cloud Key Management Service. Structure is documented below.

func (TriggerBuildOutput) Source

The location of the source files to build. One of `storageSource` or `repoSource` must be provided. Structure is documented below.

func (TriggerBuildOutput) Steps

The operations to be performed on the workspace. Structure is documented below.

func (TriggerBuildOutput) Substitutions

func (o TriggerBuildOutput) Substitutions() pulumi.StringMapOutput

Substitutions to use in a triggered build. Should only be used with triggers.run

func (TriggerBuildOutput) Tags

Tags for annotation of a Build. These are not docker tags.

func (TriggerBuildOutput) Timeout

Time limit for executing this build step. If not defined, the step has no time limit and will be allowed to continue to run until either it completes or the build itself times out.

func (TriggerBuildOutput) ToTriggerBuildOutput

func (o TriggerBuildOutput) ToTriggerBuildOutput() TriggerBuildOutput

func (TriggerBuildOutput) ToTriggerBuildOutputWithContext

func (o TriggerBuildOutput) ToTriggerBuildOutputWithContext(ctx context.Context) TriggerBuildOutput

func (TriggerBuildOutput) ToTriggerBuildPtrOutput

func (o TriggerBuildOutput) ToTriggerBuildPtrOutput() TriggerBuildPtrOutput

func (TriggerBuildOutput) ToTriggerBuildPtrOutputWithContext

func (o TriggerBuildOutput) ToTriggerBuildPtrOutputWithContext(ctx context.Context) TriggerBuildPtrOutput

type TriggerBuildPtrInput

type TriggerBuildPtrInput interface {
	pulumi.Input

	ToTriggerBuildPtrOutput() TriggerBuildPtrOutput
	ToTriggerBuildPtrOutputWithContext(context.Context) TriggerBuildPtrOutput
}

TriggerBuildPtrInput is an input type that accepts TriggerBuildArgs, TriggerBuildPtr and TriggerBuildPtrOutput values. You can construct a concrete instance of `TriggerBuildPtrInput` via:

        TriggerBuildArgs{...}

or:

        nil

type TriggerBuildPtrOutput

type TriggerBuildPtrOutput struct{ *pulumi.OutputState }

func (TriggerBuildPtrOutput) Artifacts

Artifacts produced by the build that should be uploaded upon successful completion of all build steps. Structure is documented below.

func (TriggerBuildPtrOutput) Elem

func (TriggerBuildPtrOutput) ElementType

func (TriggerBuildPtrOutput) ElementType() reflect.Type

func (TriggerBuildPtrOutput) Images

A list of images to be pushed upon the successful completion of all build steps. The images will be pushed using the builder service account's credentials. The digests of the pushed images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build is marked FAILURE.

func (TriggerBuildPtrOutput) LogsBucket

Google Cloud Storage bucket where logs should be written. Logs file names will be of the format ${logsBucket}/log-${build_id}.txt.

func (TriggerBuildPtrOutput) Options

Special options for this build. Structure is documented below.

func (TriggerBuildPtrOutput) QueueTtl

TTL in queue for this build. If provided and the build is enqueued longer than this value, the build will expire and the build status will be EXPIRED. The TTL starts ticking from createTime. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

func (TriggerBuildPtrOutput) Secrets

Secrets to decrypt using Cloud Key Management Service. Structure is documented below.

func (TriggerBuildPtrOutput) Source

The location of the source files to build. One of `storageSource` or `repoSource` must be provided. Structure is documented below.

func (TriggerBuildPtrOutput) Steps

The operations to be performed on the workspace. Structure is documented below.

func (TriggerBuildPtrOutput) Substitutions

func (o TriggerBuildPtrOutput) Substitutions() pulumi.StringMapOutput

Substitutions to use in a triggered build. Should only be used with triggers.run

func (TriggerBuildPtrOutput) Tags

Tags for annotation of a Build. These are not docker tags.

func (TriggerBuildPtrOutput) Timeout

Time limit for executing this build step. If not defined, the step has no time limit and will be allowed to continue to run until either it completes or the build itself times out.

func (TriggerBuildPtrOutput) ToTriggerBuildPtrOutput

func (o TriggerBuildPtrOutput) ToTriggerBuildPtrOutput() TriggerBuildPtrOutput

func (TriggerBuildPtrOutput) ToTriggerBuildPtrOutputWithContext

func (o TriggerBuildPtrOutput) ToTriggerBuildPtrOutputWithContext(ctx context.Context) TriggerBuildPtrOutput

type TriggerBuildSecret

type TriggerBuildSecret struct {
	// Cloud KMS key name to use to decrypt these envs.
	KmsKeyName string `pulumi:"kmsKeyName"`
	// A list of global environment variables, which are encrypted using a Cloud Key Management
	// Service crypto key. These values must be specified in the build's Secret. These variables
	// will be available to all build steps in this build.
	SecretEnv map[string]string `pulumi:"secretEnv"`
}

type TriggerBuildSecretArgs

type TriggerBuildSecretArgs struct {
	// Cloud KMS key name to use to decrypt these envs.
	KmsKeyName pulumi.StringInput `pulumi:"kmsKeyName"`
	// A list of global environment variables, which are encrypted using a Cloud Key Management
	// Service crypto key. These values must be specified in the build's Secret. These variables
	// will be available to all build steps in this build.
	SecretEnv pulumi.StringMapInput `pulumi:"secretEnv"`
}

func (TriggerBuildSecretArgs) ElementType

func (TriggerBuildSecretArgs) ElementType() reflect.Type

func (TriggerBuildSecretArgs) ToTriggerBuildSecretOutput

func (i TriggerBuildSecretArgs) ToTriggerBuildSecretOutput() TriggerBuildSecretOutput

func (TriggerBuildSecretArgs) ToTriggerBuildSecretOutputWithContext

func (i TriggerBuildSecretArgs) ToTriggerBuildSecretOutputWithContext(ctx context.Context) TriggerBuildSecretOutput

type TriggerBuildSecretArray

type TriggerBuildSecretArray []TriggerBuildSecretInput

func (TriggerBuildSecretArray) ElementType

func (TriggerBuildSecretArray) ElementType() reflect.Type

func (TriggerBuildSecretArray) ToTriggerBuildSecretArrayOutput

func (i TriggerBuildSecretArray) ToTriggerBuildSecretArrayOutput() TriggerBuildSecretArrayOutput

func (TriggerBuildSecretArray) ToTriggerBuildSecretArrayOutputWithContext

func (i TriggerBuildSecretArray) ToTriggerBuildSecretArrayOutputWithContext(ctx context.Context) TriggerBuildSecretArrayOutput

type TriggerBuildSecretArrayInput

type TriggerBuildSecretArrayInput interface {
	pulumi.Input

	ToTriggerBuildSecretArrayOutput() TriggerBuildSecretArrayOutput
	ToTriggerBuildSecretArrayOutputWithContext(context.Context) TriggerBuildSecretArrayOutput
}

TriggerBuildSecretArrayInput is an input type that accepts TriggerBuildSecretArray and TriggerBuildSecretArrayOutput values. You can construct a concrete instance of `TriggerBuildSecretArrayInput` via:

TriggerBuildSecretArray{ TriggerBuildSecretArgs{...} }

type TriggerBuildSecretArrayOutput

type TriggerBuildSecretArrayOutput struct{ *pulumi.OutputState }

func (TriggerBuildSecretArrayOutput) ElementType

func (TriggerBuildSecretArrayOutput) Index

func (TriggerBuildSecretArrayOutput) ToTriggerBuildSecretArrayOutput

func (o TriggerBuildSecretArrayOutput) ToTriggerBuildSecretArrayOutput() TriggerBuildSecretArrayOutput

func (TriggerBuildSecretArrayOutput) ToTriggerBuildSecretArrayOutputWithContext

func (o TriggerBuildSecretArrayOutput) ToTriggerBuildSecretArrayOutputWithContext(ctx context.Context) TriggerBuildSecretArrayOutput

type TriggerBuildSecretInput

type TriggerBuildSecretInput interface {
	pulumi.Input

	ToTriggerBuildSecretOutput() TriggerBuildSecretOutput
	ToTriggerBuildSecretOutputWithContext(context.Context) TriggerBuildSecretOutput
}

TriggerBuildSecretInput is an input type that accepts TriggerBuildSecretArgs and TriggerBuildSecretOutput values. You can construct a concrete instance of `TriggerBuildSecretInput` via:

TriggerBuildSecretArgs{...}

type TriggerBuildSecretOutput

type TriggerBuildSecretOutput struct{ *pulumi.OutputState }

func (TriggerBuildSecretOutput) ElementType

func (TriggerBuildSecretOutput) ElementType() reflect.Type

func (TriggerBuildSecretOutput) KmsKeyName

Cloud KMS key name to use to decrypt these envs.

func (TriggerBuildSecretOutput) SecretEnv

A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's Secret. These variables will be available to all build steps in this build.

func (TriggerBuildSecretOutput) ToTriggerBuildSecretOutput

func (o TriggerBuildSecretOutput) ToTriggerBuildSecretOutput() TriggerBuildSecretOutput

func (TriggerBuildSecretOutput) ToTriggerBuildSecretOutputWithContext

func (o TriggerBuildSecretOutput) ToTriggerBuildSecretOutputWithContext(ctx context.Context) TriggerBuildSecretOutput

type TriggerBuildSource

type TriggerBuildSource struct {
	// Location of the source in a Google Cloud Source Repository.
	// Structure is documented below.
	RepoSource *TriggerBuildSourceRepoSource `pulumi:"repoSource"`
	// Location of the source in an archive file in Google Cloud Storage.
	// Structure is documented below.
	StorageSource *TriggerBuildSourceStorageSource `pulumi:"storageSource"`
}

type TriggerBuildSourceArgs

type TriggerBuildSourceArgs struct {
	// Location of the source in a Google Cloud Source Repository.
	// Structure is documented below.
	RepoSource TriggerBuildSourceRepoSourcePtrInput `pulumi:"repoSource"`
	// Location of the source in an archive file in Google Cloud Storage.
	// Structure is documented below.
	StorageSource TriggerBuildSourceStorageSourcePtrInput `pulumi:"storageSource"`
}

func (TriggerBuildSourceArgs) ElementType

func (TriggerBuildSourceArgs) ElementType() reflect.Type

func (TriggerBuildSourceArgs) ToTriggerBuildSourceOutput

func (i TriggerBuildSourceArgs) ToTriggerBuildSourceOutput() TriggerBuildSourceOutput

func (TriggerBuildSourceArgs) ToTriggerBuildSourceOutputWithContext

func (i TriggerBuildSourceArgs) ToTriggerBuildSourceOutputWithContext(ctx context.Context) TriggerBuildSourceOutput

func (TriggerBuildSourceArgs) ToTriggerBuildSourcePtrOutput

func (i TriggerBuildSourceArgs) ToTriggerBuildSourcePtrOutput() TriggerBuildSourcePtrOutput

func (TriggerBuildSourceArgs) ToTriggerBuildSourcePtrOutputWithContext

func (i TriggerBuildSourceArgs) ToTriggerBuildSourcePtrOutputWithContext(ctx context.Context) TriggerBuildSourcePtrOutput

type TriggerBuildSourceInput

type TriggerBuildSourceInput interface {
	pulumi.Input

	ToTriggerBuildSourceOutput() TriggerBuildSourceOutput
	ToTriggerBuildSourceOutputWithContext(context.Context) TriggerBuildSourceOutput
}

TriggerBuildSourceInput is an input type that accepts TriggerBuildSourceArgs and TriggerBuildSourceOutput values. You can construct a concrete instance of `TriggerBuildSourceInput` via:

TriggerBuildSourceArgs{...}

type TriggerBuildSourceOutput

type TriggerBuildSourceOutput struct{ *pulumi.OutputState }

func (TriggerBuildSourceOutput) ElementType

func (TriggerBuildSourceOutput) ElementType() reflect.Type

func (TriggerBuildSourceOutput) RepoSource

Location of the source in a Google Cloud Source Repository. Structure is documented below.

func (TriggerBuildSourceOutput) StorageSource

Location of the source in an archive file in Google Cloud Storage. Structure is documented below.

func (TriggerBuildSourceOutput) ToTriggerBuildSourceOutput

func (o TriggerBuildSourceOutput) ToTriggerBuildSourceOutput() TriggerBuildSourceOutput

func (TriggerBuildSourceOutput) ToTriggerBuildSourceOutputWithContext

func (o TriggerBuildSourceOutput) ToTriggerBuildSourceOutputWithContext(ctx context.Context) TriggerBuildSourceOutput

func (TriggerBuildSourceOutput) ToTriggerBuildSourcePtrOutput

func (o TriggerBuildSourceOutput) ToTriggerBuildSourcePtrOutput() TriggerBuildSourcePtrOutput

func (TriggerBuildSourceOutput) ToTriggerBuildSourcePtrOutputWithContext

func (o TriggerBuildSourceOutput) ToTriggerBuildSourcePtrOutputWithContext(ctx context.Context) TriggerBuildSourcePtrOutput

type TriggerBuildSourcePtrInput

type TriggerBuildSourcePtrInput interface {
	pulumi.Input

	ToTriggerBuildSourcePtrOutput() TriggerBuildSourcePtrOutput
	ToTriggerBuildSourcePtrOutputWithContext(context.Context) TriggerBuildSourcePtrOutput
}

TriggerBuildSourcePtrInput is an input type that accepts TriggerBuildSourceArgs, TriggerBuildSourcePtr and TriggerBuildSourcePtrOutput values. You can construct a concrete instance of `TriggerBuildSourcePtrInput` via:

        TriggerBuildSourceArgs{...}

or:

        nil

type TriggerBuildSourcePtrOutput

type TriggerBuildSourcePtrOutput struct{ *pulumi.OutputState }

func (TriggerBuildSourcePtrOutput) Elem

func (TriggerBuildSourcePtrOutput) ElementType

func (TriggerBuildSourcePtrOutput) RepoSource

Location of the source in a Google Cloud Source Repository. Structure is documented below.

func (TriggerBuildSourcePtrOutput) StorageSource

Location of the source in an archive file in Google Cloud Storage. Structure is documented below.

func (TriggerBuildSourcePtrOutput) ToTriggerBuildSourcePtrOutput

func (o TriggerBuildSourcePtrOutput) ToTriggerBuildSourcePtrOutput() TriggerBuildSourcePtrOutput

func (TriggerBuildSourcePtrOutput) ToTriggerBuildSourcePtrOutputWithContext

func (o TriggerBuildSourcePtrOutput) ToTriggerBuildSourcePtrOutputWithContext(ctx context.Context) TriggerBuildSourcePtrOutput

type TriggerBuildSourceRepoSource

type TriggerBuildSourceRepoSource struct {
	// Regex matching branches to build. Exactly one a of branch name, tag, or commit SHA must be provided.
	// The syntax of the regular expressions accepted is the syntax accepted by RE2 and
	// described at https://github.com/google/re2/wiki/Syntax
	BranchName *string `pulumi:"branchName"`
	// Explicit commit SHA to build. Exactly one a of branch name, tag, or commit SHA must be provided.
	CommitSha *string `pulumi:"commitSha"`
	// Working directory to use when running this step's container.
	// If this value is a relative path, it is relative to the build's working
	// directory. If this value is absolute, it may be outside the build's working
	// directory, in which case the contents of the path may not be persisted
	// across build step executions, unless a `volume` for that path is specified.
	// If the build specifies a `RepoSource` with `dir` and a step with a
	// `dir`,
	// which specifies an absolute path, the `RepoSource` `dir` is ignored
	// for the step's execution.
	Dir *string `pulumi:"dir"`
	// Only trigger a build if the revision regex does NOT match the revision regex.
	InvertRegex *bool `pulumi:"invertRegex"`
	// ID of the project that owns the Cloud Source Repository.
	// If omitted, the project ID requesting the build is assumed.
	ProjectId *string `pulumi:"projectId"`
	// Name of the Cloud Source Repository.
	RepoName string `pulumi:"repoName"`
	// Substitutions to use in a triggered build. Should only be used with triggers.run
	Substitutions map[string]string `pulumi:"substitutions"`
	// Regex matching tags to build. Exactly one a of branch name, tag, or commit SHA must be provided.
	// The syntax of the regular expressions accepted is the syntax accepted by RE2 and
	// described at https://github.com/google/re2/wiki/Syntax
	TagName *string `pulumi:"tagName"`
}

type TriggerBuildSourceRepoSourceArgs

type TriggerBuildSourceRepoSourceArgs struct {
	// Regex matching branches to build. Exactly one a of branch name, tag, or commit SHA must be provided.
	// The syntax of the regular expressions accepted is the syntax accepted by RE2 and
	// described at https://github.com/google/re2/wiki/Syntax
	BranchName pulumi.StringPtrInput `pulumi:"branchName"`
	// Explicit commit SHA to build. Exactly one a of branch name, tag, or commit SHA must be provided.
	CommitSha pulumi.StringPtrInput `pulumi:"commitSha"`
	// Working directory to use when running this step's container.
	// If this value is a relative path, it is relative to the build's working
	// directory. If this value is absolute, it may be outside the build's working
	// directory, in which case the contents of the path may not be persisted
	// across build step executions, unless a `volume` for that path is specified.
	// If the build specifies a `RepoSource` with `dir` and a step with a
	// `dir`,
	// which specifies an absolute path, the `RepoSource` `dir` is ignored
	// for the step's execution.
	Dir pulumi.StringPtrInput `pulumi:"dir"`
	// Only trigger a build if the revision regex does NOT match the revision regex.
	InvertRegex pulumi.BoolPtrInput `pulumi:"invertRegex"`
	// ID of the project that owns the Cloud Source Repository.
	// If omitted, the project ID requesting the build is assumed.
	ProjectId pulumi.StringPtrInput `pulumi:"projectId"`
	// Name of the Cloud Source Repository.
	RepoName pulumi.StringInput `pulumi:"repoName"`
	// Substitutions to use in a triggered build. Should only be used with triggers.run
	Substitutions pulumi.StringMapInput `pulumi:"substitutions"`
	// Regex matching tags to build. Exactly one a of branch name, tag, or commit SHA must be provided.
	// The syntax of the regular expressions accepted is the syntax accepted by RE2 and
	// described at https://github.com/google/re2/wiki/Syntax
	TagName pulumi.StringPtrInput `pulumi:"tagName"`
}

func (TriggerBuildSourceRepoSourceArgs) ElementType

func (TriggerBuildSourceRepoSourceArgs) ToTriggerBuildSourceRepoSourceOutput

func (i TriggerBuildSourceRepoSourceArgs) ToTriggerBuildSourceRepoSourceOutput() TriggerBuildSourceRepoSourceOutput

func (TriggerBuildSourceRepoSourceArgs) ToTriggerBuildSourceRepoSourceOutputWithContext

func (i TriggerBuildSourceRepoSourceArgs) ToTriggerBuildSourceRepoSourceOutputWithContext(ctx context.Context) TriggerBuildSourceRepoSourceOutput

func (TriggerBuildSourceRepoSourceArgs) ToTriggerBuildSourceRepoSourcePtrOutput

func (i TriggerBuildSourceRepoSourceArgs) ToTriggerBuildSourceRepoSourcePtrOutput() TriggerBuildSourceRepoSourcePtrOutput

func (TriggerBuildSourceRepoSourceArgs) ToTriggerBuildSourceRepoSourcePtrOutputWithContext

func (i TriggerBuildSourceRepoSourceArgs) ToTriggerBuildSourceRepoSourcePtrOutputWithContext(ctx context.Context) TriggerBuildSourceRepoSourcePtrOutput

type TriggerBuildSourceRepoSourceInput

type TriggerBuildSourceRepoSourceInput interface {
	pulumi.Input

	ToTriggerBuildSourceRepoSourceOutput() TriggerBuildSourceRepoSourceOutput
	ToTriggerBuildSourceRepoSourceOutputWithContext(context.Context) TriggerBuildSourceRepoSourceOutput
}

TriggerBuildSourceRepoSourceInput is an input type that accepts TriggerBuildSourceRepoSourceArgs and TriggerBuildSourceRepoSourceOutput values. You can construct a concrete instance of `TriggerBuildSourceRepoSourceInput` via:

TriggerBuildSourceRepoSourceArgs{...}

type TriggerBuildSourceRepoSourceOutput

type TriggerBuildSourceRepoSourceOutput struct{ *pulumi.OutputState }

func (TriggerBuildSourceRepoSourceOutput) BranchName

Regex matching branches to build. Exactly one a of branch name, tag, or commit SHA must be provided. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

func (TriggerBuildSourceRepoSourceOutput) CommitSha

Explicit commit SHA to build. Exactly one a of branch name, tag, or commit SHA must be provided.

func (TriggerBuildSourceRepoSourceOutput) Dir

Working directory to use when running this step's container. If this value is a relative path, it is relative to the build's working directory. If this value is absolute, it may be outside the build's working directory, in which case the contents of the path may not be persisted across build step executions, unless a `volume` for that path is specified. If the build specifies a `RepoSource` with `dir` and a step with a `dir`, which specifies an absolute path, the `RepoSource` `dir` is ignored for the step's execution.

func (TriggerBuildSourceRepoSourceOutput) ElementType

func (TriggerBuildSourceRepoSourceOutput) InvertRegex

Only trigger a build if the revision regex does NOT match the revision regex.

func (TriggerBuildSourceRepoSourceOutput) ProjectId

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

func (TriggerBuildSourceRepoSourceOutput) RepoName

Name of the Cloud Source Repository.

func (TriggerBuildSourceRepoSourceOutput) Substitutions

Substitutions to use in a triggered build. Should only be used with triggers.run

func (TriggerBuildSourceRepoSourceOutput) TagName

Regex matching tags to build. Exactly one a of branch name, tag, or commit SHA must be provided. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

func (TriggerBuildSourceRepoSourceOutput) ToTriggerBuildSourceRepoSourceOutput

func (o TriggerBuildSourceRepoSourceOutput) ToTriggerBuildSourceRepoSourceOutput() TriggerBuildSourceRepoSourceOutput

func (TriggerBuildSourceRepoSourceOutput) ToTriggerBuildSourceRepoSourceOutputWithContext

func (o TriggerBuildSourceRepoSourceOutput) ToTriggerBuildSourceRepoSourceOutputWithContext(ctx context.Context) TriggerBuildSourceRepoSourceOutput

func (TriggerBuildSourceRepoSourceOutput) ToTriggerBuildSourceRepoSourcePtrOutput

func (o TriggerBuildSourceRepoSourceOutput) ToTriggerBuildSourceRepoSourcePtrOutput() TriggerBuildSourceRepoSourcePtrOutput

func (TriggerBuildSourceRepoSourceOutput) ToTriggerBuildSourceRepoSourcePtrOutputWithContext

func (o TriggerBuildSourceRepoSourceOutput) ToTriggerBuildSourceRepoSourcePtrOutputWithContext(ctx context.Context) TriggerBuildSourceRepoSourcePtrOutput

type TriggerBuildSourceRepoSourcePtrInput

type TriggerBuildSourceRepoSourcePtrInput interface {
	pulumi.Input

	ToTriggerBuildSourceRepoSourcePtrOutput() TriggerBuildSourceRepoSourcePtrOutput
	ToTriggerBuildSourceRepoSourcePtrOutputWithContext(context.Context) TriggerBuildSourceRepoSourcePtrOutput
}

TriggerBuildSourceRepoSourcePtrInput is an input type that accepts TriggerBuildSourceRepoSourceArgs, TriggerBuildSourceRepoSourcePtr and TriggerBuildSourceRepoSourcePtrOutput values. You can construct a concrete instance of `TriggerBuildSourceRepoSourcePtrInput` via:

        TriggerBuildSourceRepoSourceArgs{...}

or:

        nil

type TriggerBuildSourceRepoSourcePtrOutput

type TriggerBuildSourceRepoSourcePtrOutput struct{ *pulumi.OutputState }

func (TriggerBuildSourceRepoSourcePtrOutput) BranchName

Regex matching branches to build. Exactly one a of branch name, tag, or commit SHA must be provided. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

func (TriggerBuildSourceRepoSourcePtrOutput) CommitSha

Explicit commit SHA to build. Exactly one a of branch name, tag, or commit SHA must be provided.

func (TriggerBuildSourceRepoSourcePtrOutput) Dir

Working directory to use when running this step's container. If this value is a relative path, it is relative to the build's working directory. If this value is absolute, it may be outside the build's working directory, in which case the contents of the path may not be persisted across build step executions, unless a `volume` for that path is specified. If the build specifies a `RepoSource` with `dir` and a step with a `dir`, which specifies an absolute path, the `RepoSource` `dir` is ignored for the step's execution.

func (TriggerBuildSourceRepoSourcePtrOutput) Elem

func (TriggerBuildSourceRepoSourcePtrOutput) ElementType

func (TriggerBuildSourceRepoSourcePtrOutput) InvertRegex

Only trigger a build if the revision regex does NOT match the revision regex.

func (TriggerBuildSourceRepoSourcePtrOutput) ProjectId

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

func (TriggerBuildSourceRepoSourcePtrOutput) RepoName

Name of the Cloud Source Repository.

func (TriggerBuildSourceRepoSourcePtrOutput) Substitutions

Substitutions to use in a triggered build. Should only be used with triggers.run

func (TriggerBuildSourceRepoSourcePtrOutput) TagName

Regex matching tags to build. Exactly one a of branch name, tag, or commit SHA must be provided. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

func (TriggerBuildSourceRepoSourcePtrOutput) ToTriggerBuildSourceRepoSourcePtrOutput

func (o TriggerBuildSourceRepoSourcePtrOutput) ToTriggerBuildSourceRepoSourcePtrOutput() TriggerBuildSourceRepoSourcePtrOutput

func (TriggerBuildSourceRepoSourcePtrOutput) ToTriggerBuildSourceRepoSourcePtrOutputWithContext

func (o TriggerBuildSourceRepoSourcePtrOutput) ToTriggerBuildSourceRepoSourcePtrOutputWithContext(ctx context.Context) TriggerBuildSourceRepoSourcePtrOutput

type TriggerBuildSourceStorageSource

type TriggerBuildSourceStorageSource struct {
	// Google Cloud Storage bucket containing the source.
	Bucket string `pulumi:"bucket"`
	// Google Cloud Storage generation for the object.
	// If the generation is omitted, the latest generation will be used
	Generation *string `pulumi:"generation"`
	// Google Cloud Storage object containing the source.
	// This object must be a gzipped archive file (.tar.gz) containing source to build.
	Object string `pulumi:"object"`
}

type TriggerBuildSourceStorageSourceArgs

type TriggerBuildSourceStorageSourceArgs struct {
	// Google Cloud Storage bucket containing the source.
	Bucket pulumi.StringInput `pulumi:"bucket"`
	// Google Cloud Storage generation for the object.
	// If the generation is omitted, the latest generation will be used
	Generation pulumi.StringPtrInput `pulumi:"generation"`
	// Google Cloud Storage object containing the source.
	// This object must be a gzipped archive file (.tar.gz) containing source to build.
	Object pulumi.StringInput `pulumi:"object"`
}

func (TriggerBuildSourceStorageSourceArgs) ElementType

func (TriggerBuildSourceStorageSourceArgs) ToTriggerBuildSourceStorageSourceOutput

func (i TriggerBuildSourceStorageSourceArgs) ToTriggerBuildSourceStorageSourceOutput() TriggerBuildSourceStorageSourceOutput

func (TriggerBuildSourceStorageSourceArgs) ToTriggerBuildSourceStorageSourceOutputWithContext

func (i TriggerBuildSourceStorageSourceArgs) ToTriggerBuildSourceStorageSourceOutputWithContext(ctx context.Context) TriggerBuildSourceStorageSourceOutput

func (TriggerBuildSourceStorageSourceArgs) ToTriggerBuildSourceStorageSourcePtrOutput

func (i TriggerBuildSourceStorageSourceArgs) ToTriggerBuildSourceStorageSourcePtrOutput() TriggerBuildSourceStorageSourcePtrOutput

func (TriggerBuildSourceStorageSourceArgs) ToTriggerBuildSourceStorageSourcePtrOutputWithContext

func (i TriggerBuildSourceStorageSourceArgs) ToTriggerBuildSourceStorageSourcePtrOutputWithContext(ctx context.Context) TriggerBuildSourceStorageSourcePtrOutput

type TriggerBuildSourceStorageSourceInput

type TriggerBuildSourceStorageSourceInput interface {
	pulumi.Input

	ToTriggerBuildSourceStorageSourceOutput() TriggerBuildSourceStorageSourceOutput
	ToTriggerBuildSourceStorageSourceOutputWithContext(context.Context) TriggerBuildSourceStorageSourceOutput
}

TriggerBuildSourceStorageSourceInput is an input type that accepts TriggerBuildSourceStorageSourceArgs and TriggerBuildSourceStorageSourceOutput values. You can construct a concrete instance of `TriggerBuildSourceStorageSourceInput` via:

TriggerBuildSourceStorageSourceArgs{...}

type TriggerBuildSourceStorageSourceOutput

type TriggerBuildSourceStorageSourceOutput struct{ *pulumi.OutputState }

func (TriggerBuildSourceStorageSourceOutput) Bucket

Google Cloud Storage bucket containing the source.

func (TriggerBuildSourceStorageSourceOutput) ElementType

func (TriggerBuildSourceStorageSourceOutput) Generation

Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used

func (TriggerBuildSourceStorageSourceOutput) Object

Google Cloud Storage object containing the source. This object must be a gzipped archive file (.tar.gz) containing source to build.

func (TriggerBuildSourceStorageSourceOutput) ToTriggerBuildSourceStorageSourceOutput

func (o TriggerBuildSourceStorageSourceOutput) ToTriggerBuildSourceStorageSourceOutput() TriggerBuildSourceStorageSourceOutput

func (TriggerBuildSourceStorageSourceOutput) ToTriggerBuildSourceStorageSourceOutputWithContext

func (o TriggerBuildSourceStorageSourceOutput) ToTriggerBuildSourceStorageSourceOutputWithContext(ctx context.Context) TriggerBuildSourceStorageSourceOutput

func (TriggerBuildSourceStorageSourceOutput) ToTriggerBuildSourceStorageSourcePtrOutput

func (o TriggerBuildSourceStorageSourceOutput) ToTriggerBuildSourceStorageSourcePtrOutput() TriggerBuildSourceStorageSourcePtrOutput

func (TriggerBuildSourceStorageSourceOutput) ToTriggerBuildSourceStorageSourcePtrOutputWithContext

func (o TriggerBuildSourceStorageSourceOutput) ToTriggerBuildSourceStorageSourcePtrOutputWithContext(ctx context.Context) TriggerBuildSourceStorageSourcePtrOutput

type TriggerBuildSourceStorageSourcePtrInput

type TriggerBuildSourceStorageSourcePtrInput interface {
	pulumi.Input

	ToTriggerBuildSourceStorageSourcePtrOutput() TriggerBuildSourceStorageSourcePtrOutput
	ToTriggerBuildSourceStorageSourcePtrOutputWithContext(context.Context) TriggerBuildSourceStorageSourcePtrOutput
}

TriggerBuildSourceStorageSourcePtrInput is an input type that accepts TriggerBuildSourceStorageSourceArgs, TriggerBuildSourceStorageSourcePtr and TriggerBuildSourceStorageSourcePtrOutput values. You can construct a concrete instance of `TriggerBuildSourceStorageSourcePtrInput` via:

        TriggerBuildSourceStorageSourceArgs{...}

or:

        nil

type TriggerBuildSourceStorageSourcePtrOutput

type TriggerBuildSourceStorageSourcePtrOutput struct{ *pulumi.OutputState }

func (TriggerBuildSourceStorageSourcePtrOutput) Bucket

Google Cloud Storage bucket containing the source.

func (TriggerBuildSourceStorageSourcePtrOutput) Elem

func (TriggerBuildSourceStorageSourcePtrOutput) ElementType

func (TriggerBuildSourceStorageSourcePtrOutput) Generation

Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used

func (TriggerBuildSourceStorageSourcePtrOutput) Object

Google Cloud Storage object containing the source. This object must be a gzipped archive file (.tar.gz) containing source to build.

func (TriggerBuildSourceStorageSourcePtrOutput) ToTriggerBuildSourceStorageSourcePtrOutput

func (o TriggerBuildSourceStorageSourcePtrOutput) ToTriggerBuildSourceStorageSourcePtrOutput() TriggerBuildSourceStorageSourcePtrOutput

func (TriggerBuildSourceStorageSourcePtrOutput) ToTriggerBuildSourceStorageSourcePtrOutputWithContext

func (o TriggerBuildSourceStorageSourcePtrOutput) ToTriggerBuildSourceStorageSourcePtrOutputWithContext(ctx context.Context) TriggerBuildSourceStorageSourcePtrOutput

type TriggerBuildStep

type TriggerBuildStep struct {
	// A list of arguments that will be presented to the step when it is started.
	// If the image used to run the step's container has an entrypoint, the args
	// are used as arguments to that entrypoint. If the image does not define an
	// entrypoint, the first element in args is used as the entrypoint, and the
	// remainder will be used as arguments.
	Args []string `pulumi:"args"`
	// Working directory to use when running this step's container.
	// If this value is a relative path, it is relative to the build's working
	// directory. If this value is absolute, it may be outside the build's working
	// directory, in which case the contents of the path may not be persisted
	// across build step executions, unless a `volume` for that path is specified.
	// If the build specifies a `RepoSource` with `dir` and a step with a
	// `dir`,
	// which specifies an absolute path, the `RepoSource` `dir` is ignored
	// for the step's execution.
	Dir *string `pulumi:"dir"`
	// Entrypoint to be used instead of the build step image's
	// default entrypoint.
	// If unset, the image's default entrypoint is used
	Entrypoint *string `pulumi:"entrypoint"`
	// A list of global environment variable definitions that will exist for all build steps
	// in this build. If a variable is defined in both globally and in a build step,
	// the variable will use the build step value.
	// The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE".
	Envs []string `pulumi:"envs"`
	// Unique identifier for this build step, used in `waitFor` to
	// reference this build step as a dependency.
	Id *string `pulumi:"id"`
	// Name of the volume to mount.
	// Volume names must be unique per build step and must be valid names for Docker volumes.
	// Each named volume must be used by at least two build steps.
	Name string `pulumi:"name"`
	// A list of global environment variables, which are encrypted using a Cloud Key Management
	// Service crypto key. These values must be specified in the build's Secret. These variables
	// will be available to all build steps in this build.
	SecretEnvs []string `pulumi:"secretEnvs"`
	// Time limit for executing this build step. If not defined,
	// the step has no
	// time limit and will be allowed to continue to run until either it
	// completes or the build itself times out.
	Timeout *string `pulumi:"timeout"`
	// -
	// Output only. Stores timing information for pushing all artifact objects.
	// Structure is documented below.
	Timing *string `pulumi:"timing"`
	// Global list of volumes to mount for ALL build steps
	// Each volume is created as an empty volume prior to starting the build process.
	// Upon completion of the build, volumes and their contents are discarded. Global
	// volume names and paths cannot conflict with the volumes defined a build step.
	// Using a global volume in a build with only one step is not valid as it is indicative
	// of a build request with an incorrect configuration.
	// Structure is documented below.
	Volumes []TriggerBuildStepVolume `pulumi:"volumes"`
	// The ID(s) of the step(s) that this build step depends on.
	// This build step will not start until all the build steps in `waitFor`
	// have completed successfully. If `waitFor` is empty, this build step
	// will start when all previous build steps in the `Build.Steps` list
	// have completed successfully.
	WaitFors []string `pulumi:"waitFors"`
}

type TriggerBuildStepArgs

type TriggerBuildStepArgs struct {
	// A list of arguments that will be presented to the step when it is started.
	// If the image used to run the step's container has an entrypoint, the args
	// are used as arguments to that entrypoint. If the image does not define an
	// entrypoint, the first element in args is used as the entrypoint, and the
	// remainder will be used as arguments.
	Args pulumi.StringArrayInput `pulumi:"args"`
	// Working directory to use when running this step's container.
	// If this value is a relative path, it is relative to the build's working
	// directory. If this value is absolute, it may be outside the build's working
	// directory, in which case the contents of the path may not be persisted
	// across build step executions, unless a `volume` for that path is specified.
	// If the build specifies a `RepoSource` with `dir` and a step with a
	// `dir`,
	// which specifies an absolute path, the `RepoSource` `dir` is ignored
	// for the step's execution.
	Dir pulumi.StringPtrInput `pulumi:"dir"`
	// Entrypoint to be used instead of the build step image's
	// default entrypoint.
	// If unset, the image's default entrypoint is used
	Entrypoint pulumi.StringPtrInput `pulumi:"entrypoint"`
	// A list of global environment variable definitions that will exist for all build steps
	// in this build. If a variable is defined in both globally and in a build step,
	// the variable will use the build step value.
	// The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE".
	Envs pulumi.StringArrayInput `pulumi:"envs"`
	// Unique identifier for this build step, used in `waitFor` to
	// reference this build step as a dependency.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// Name of the volume to mount.
	// Volume names must be unique per build step and must be valid names for Docker volumes.
	// Each named volume must be used by at least two build steps.
	Name pulumi.StringInput `pulumi:"name"`
	// A list of global environment variables, which are encrypted using a Cloud Key Management
	// Service crypto key. These values must be specified in the build's Secret. These variables
	// will be available to all build steps in this build.
	SecretEnvs pulumi.StringArrayInput `pulumi:"secretEnvs"`
	// Time limit for executing this build step. If not defined,
	// the step has no
	// time limit and will be allowed to continue to run until either it
	// completes or the build itself times out.
	Timeout pulumi.StringPtrInput `pulumi:"timeout"`
	// -
	// Output only. Stores timing information for pushing all artifact objects.
	// Structure is documented below.
	Timing pulumi.StringPtrInput `pulumi:"timing"`
	// Global list of volumes to mount for ALL build steps
	// Each volume is created as an empty volume prior to starting the build process.
	// Upon completion of the build, volumes and their contents are discarded. Global
	// volume names and paths cannot conflict with the volumes defined a build step.
	// Using a global volume in a build with only one step is not valid as it is indicative
	// of a build request with an incorrect configuration.
	// Structure is documented below.
	Volumes TriggerBuildStepVolumeArrayInput `pulumi:"volumes"`
	// The ID(s) of the step(s) that this build step depends on.
	// This build step will not start until all the build steps in `waitFor`
	// have completed successfully. If `waitFor` is empty, this build step
	// will start when all previous build steps in the `Build.Steps` list
	// have completed successfully.
	WaitFors pulumi.StringArrayInput `pulumi:"waitFors"`
}

func (TriggerBuildStepArgs) ElementType

func (TriggerBuildStepArgs) ElementType() reflect.Type

func (TriggerBuildStepArgs) ToTriggerBuildStepOutput

func (i TriggerBuildStepArgs) ToTriggerBuildStepOutput() TriggerBuildStepOutput

func (TriggerBuildStepArgs) ToTriggerBuildStepOutputWithContext

func (i TriggerBuildStepArgs) ToTriggerBuildStepOutputWithContext(ctx context.Context) TriggerBuildStepOutput

type TriggerBuildStepArray

type TriggerBuildStepArray []TriggerBuildStepInput

func (TriggerBuildStepArray) ElementType

func (TriggerBuildStepArray) ElementType() reflect.Type

func (TriggerBuildStepArray) ToTriggerBuildStepArrayOutput

func (i TriggerBuildStepArray) ToTriggerBuildStepArrayOutput() TriggerBuildStepArrayOutput

func (TriggerBuildStepArray) ToTriggerBuildStepArrayOutputWithContext

func (i TriggerBuildStepArray) ToTriggerBuildStepArrayOutputWithContext(ctx context.Context) TriggerBuildStepArrayOutput

type TriggerBuildStepArrayInput

type TriggerBuildStepArrayInput interface {
	pulumi.Input

	ToTriggerBuildStepArrayOutput() TriggerBuildStepArrayOutput
	ToTriggerBuildStepArrayOutputWithContext(context.Context) TriggerBuildStepArrayOutput
}

TriggerBuildStepArrayInput is an input type that accepts TriggerBuildStepArray and TriggerBuildStepArrayOutput values. You can construct a concrete instance of `TriggerBuildStepArrayInput` via:

TriggerBuildStepArray{ TriggerBuildStepArgs{...} }

type TriggerBuildStepArrayOutput

type TriggerBuildStepArrayOutput struct{ *pulumi.OutputState }

func (TriggerBuildStepArrayOutput) ElementType

func (TriggerBuildStepArrayOutput) Index

func (TriggerBuildStepArrayOutput) ToTriggerBuildStepArrayOutput

func (o TriggerBuildStepArrayOutput) ToTriggerBuildStepArrayOutput() TriggerBuildStepArrayOutput

func (TriggerBuildStepArrayOutput) ToTriggerBuildStepArrayOutputWithContext

func (o TriggerBuildStepArrayOutput) ToTriggerBuildStepArrayOutputWithContext(ctx context.Context) TriggerBuildStepArrayOutput

type TriggerBuildStepInput

type TriggerBuildStepInput interface {
	pulumi.Input

	ToTriggerBuildStepOutput() TriggerBuildStepOutput
	ToTriggerBuildStepOutputWithContext(context.Context) TriggerBuildStepOutput
}

TriggerBuildStepInput is an input type that accepts TriggerBuildStepArgs and TriggerBuildStepOutput values. You can construct a concrete instance of `TriggerBuildStepInput` via:

TriggerBuildStepArgs{...}

type TriggerBuildStepOutput

type TriggerBuildStepOutput struct{ *pulumi.OutputState }

func (TriggerBuildStepOutput) Args

A list of arguments that will be presented to the step when it is started. If the image used to run the step's container has an entrypoint, the args are used as arguments to that entrypoint. If the image does not define an entrypoint, the first element in args is used as the entrypoint, and the remainder will be used as arguments.

func (TriggerBuildStepOutput) Dir

Working directory to use when running this step's container. If this value is a relative path, it is relative to the build's working directory. If this value is absolute, it may be outside the build's working directory, in which case the contents of the path may not be persisted across build step executions, unless a `volume` for that path is specified. If the build specifies a `RepoSource` with `dir` and a step with a `dir`, which specifies an absolute path, the `RepoSource` `dir` is ignored for the step's execution.

func (TriggerBuildStepOutput) ElementType

func (TriggerBuildStepOutput) ElementType() reflect.Type

func (TriggerBuildStepOutput) Entrypoint

Entrypoint to be used instead of the build step image's default entrypoint. If unset, the image's default entrypoint is used

func (TriggerBuildStepOutput) Envs

A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE".

func (TriggerBuildStepOutput) Id

Unique identifier for this build step, used in `waitFor` to reference this build step as a dependency.

func (TriggerBuildStepOutput) Name

Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.

func (TriggerBuildStepOutput) SecretEnvs

A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's Secret. These variables will be available to all build steps in this build.

func (TriggerBuildStepOutput) Timeout

Time limit for executing this build step. If not defined, the step has no time limit and will be allowed to continue to run until either it completes or the build itself times out.

func (TriggerBuildStepOutput) Timing

- Output only. Stores timing information for pushing all artifact objects. Structure is documented below.

func (TriggerBuildStepOutput) ToTriggerBuildStepOutput

func (o TriggerBuildStepOutput) ToTriggerBuildStepOutput() TriggerBuildStepOutput

func (TriggerBuildStepOutput) ToTriggerBuildStepOutputWithContext

func (o TriggerBuildStepOutput) ToTriggerBuildStepOutputWithContext(ctx context.Context) TriggerBuildStepOutput

func (TriggerBuildStepOutput) Volumes

Global list of volumes to mount for ALL build steps Each volume is created as an empty volume prior to starting the build process. Upon completion of the build, volumes and their contents are discarded. Global volume names and paths cannot conflict with the volumes defined a build step. Using a global volume in a build with only one step is not valid as it is indicative of a build request with an incorrect configuration. Structure is documented below.

func (TriggerBuildStepOutput) WaitFors

The ID(s) of the step(s) that this build step depends on. This build step will not start until all the build steps in `waitFor` have completed successfully. If `waitFor` is empty, this build step will start when all previous build steps in the `Build.Steps` list have completed successfully.

type TriggerBuildStepVolume

type TriggerBuildStepVolume struct {
	// Name of the volume to mount.
	// Volume names must be unique per build step and must be valid names for Docker volumes.
	// Each named volume must be used by at least two build steps.
	Name string `pulumi:"name"`
	// Path at which to mount the volume.
	// Paths must be absolute and cannot conflict with other volume paths on the same
	// build step or with certain reserved volume paths.
	Path string `pulumi:"path"`
}

type TriggerBuildStepVolumeArgs

type TriggerBuildStepVolumeArgs struct {
	// Name of the volume to mount.
	// Volume names must be unique per build step and must be valid names for Docker volumes.
	// Each named volume must be used by at least two build steps.
	Name pulumi.StringInput `pulumi:"name"`
	// Path at which to mount the volume.
	// Paths must be absolute and cannot conflict with other volume paths on the same
	// build step or with certain reserved volume paths.
	Path pulumi.StringInput `pulumi:"path"`
}

func (TriggerBuildStepVolumeArgs) ElementType

func (TriggerBuildStepVolumeArgs) ElementType() reflect.Type

func (TriggerBuildStepVolumeArgs) ToTriggerBuildStepVolumeOutput

func (i TriggerBuildStepVolumeArgs) ToTriggerBuildStepVolumeOutput() TriggerBuildStepVolumeOutput

func (TriggerBuildStepVolumeArgs) ToTriggerBuildStepVolumeOutputWithContext

func (i TriggerBuildStepVolumeArgs) ToTriggerBuildStepVolumeOutputWithContext(ctx context.Context) TriggerBuildStepVolumeOutput

type TriggerBuildStepVolumeArray

type TriggerBuildStepVolumeArray []TriggerBuildStepVolumeInput

func (TriggerBuildStepVolumeArray) ElementType

func (TriggerBuildStepVolumeArray) ToTriggerBuildStepVolumeArrayOutput

func (i TriggerBuildStepVolumeArray) ToTriggerBuildStepVolumeArrayOutput() TriggerBuildStepVolumeArrayOutput

func (TriggerBuildStepVolumeArray) ToTriggerBuildStepVolumeArrayOutputWithContext

func (i TriggerBuildStepVolumeArray) ToTriggerBuildStepVolumeArrayOutputWithContext(ctx context.Context) TriggerBuildStepVolumeArrayOutput

type TriggerBuildStepVolumeArrayInput

type TriggerBuildStepVolumeArrayInput interface {
	pulumi.Input

	ToTriggerBuildStepVolumeArrayOutput() TriggerBuildStepVolumeArrayOutput
	ToTriggerBuildStepVolumeArrayOutputWithContext(context.Context) TriggerBuildStepVolumeArrayOutput
}

TriggerBuildStepVolumeArrayInput is an input type that accepts TriggerBuildStepVolumeArray and TriggerBuildStepVolumeArrayOutput values. You can construct a concrete instance of `TriggerBuildStepVolumeArrayInput` via:

TriggerBuildStepVolumeArray{ TriggerBuildStepVolumeArgs{...} }

type TriggerBuildStepVolumeArrayOutput

type TriggerBuildStepVolumeArrayOutput struct{ *pulumi.OutputState }

func (TriggerBuildStepVolumeArrayOutput) ElementType

func (TriggerBuildStepVolumeArrayOutput) Index

func (TriggerBuildStepVolumeArrayOutput) ToTriggerBuildStepVolumeArrayOutput

func (o TriggerBuildStepVolumeArrayOutput) ToTriggerBuildStepVolumeArrayOutput() TriggerBuildStepVolumeArrayOutput

func (TriggerBuildStepVolumeArrayOutput) ToTriggerBuildStepVolumeArrayOutputWithContext

func (o TriggerBuildStepVolumeArrayOutput) ToTriggerBuildStepVolumeArrayOutputWithContext(ctx context.Context) TriggerBuildStepVolumeArrayOutput

type TriggerBuildStepVolumeInput

type TriggerBuildStepVolumeInput interface {
	pulumi.Input

	ToTriggerBuildStepVolumeOutput() TriggerBuildStepVolumeOutput
	ToTriggerBuildStepVolumeOutputWithContext(context.Context) TriggerBuildStepVolumeOutput
}

TriggerBuildStepVolumeInput is an input type that accepts TriggerBuildStepVolumeArgs and TriggerBuildStepVolumeOutput values. You can construct a concrete instance of `TriggerBuildStepVolumeInput` via:

TriggerBuildStepVolumeArgs{...}

type TriggerBuildStepVolumeOutput

type TriggerBuildStepVolumeOutput struct{ *pulumi.OutputState }

func (TriggerBuildStepVolumeOutput) ElementType

func (TriggerBuildStepVolumeOutput) Name

Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.

func (TriggerBuildStepVolumeOutput) Path

Path at which to mount the volume. Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.

func (TriggerBuildStepVolumeOutput) ToTriggerBuildStepVolumeOutput

func (o TriggerBuildStepVolumeOutput) ToTriggerBuildStepVolumeOutput() TriggerBuildStepVolumeOutput

func (TriggerBuildStepVolumeOutput) ToTriggerBuildStepVolumeOutputWithContext

func (o TriggerBuildStepVolumeOutput) ToTriggerBuildStepVolumeOutputWithContext(ctx context.Context) TriggerBuildStepVolumeOutput

type TriggerGithub

type TriggerGithub struct {
	// Name of the volume to mount.
	// Volume names must be unique per build step and must be valid names for Docker volumes.
	// Each named volume must be used by at least two build steps.
	Name *string `pulumi:"name"`
	// Owner of the repository. For example: The owner for
	// https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".
	Owner *string `pulumi:"owner"`
	// filter to match changes in pull requests.  Specify only one of pullRequest or push.
	// Structure is documented below.
	PullRequest *TriggerGithubPullRequest `pulumi:"pullRequest"`
	// filter to match changes in refs, like branches or tags.  Specify only one of pullRequest or push.
	// Structure is documented below.
	Push *TriggerGithubPush `pulumi:"push"`
}

type TriggerGithubArgs

type TriggerGithubArgs struct {
	// Name of the volume to mount.
	// Volume names must be unique per build step and must be valid names for Docker volumes.
	// Each named volume must be used by at least two build steps.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Owner of the repository. For example: The owner for
	// https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".
	Owner pulumi.StringPtrInput `pulumi:"owner"`
	// filter to match changes in pull requests.  Specify only one of pullRequest or push.
	// Structure is documented below.
	PullRequest TriggerGithubPullRequestPtrInput `pulumi:"pullRequest"`
	// filter to match changes in refs, like branches or tags.  Specify only one of pullRequest or push.
	// Structure is documented below.
	Push TriggerGithubPushPtrInput `pulumi:"push"`
}

func (TriggerGithubArgs) ElementType

func (TriggerGithubArgs) ElementType() reflect.Type

func (TriggerGithubArgs) ToTriggerGithubOutput

func (i TriggerGithubArgs) ToTriggerGithubOutput() TriggerGithubOutput

func (TriggerGithubArgs) ToTriggerGithubOutputWithContext

func (i TriggerGithubArgs) ToTriggerGithubOutputWithContext(ctx context.Context) TriggerGithubOutput

func (TriggerGithubArgs) ToTriggerGithubPtrOutput

func (i TriggerGithubArgs) ToTriggerGithubPtrOutput() TriggerGithubPtrOutput

func (TriggerGithubArgs) ToTriggerGithubPtrOutputWithContext

func (i TriggerGithubArgs) ToTriggerGithubPtrOutputWithContext(ctx context.Context) TriggerGithubPtrOutput

type TriggerGithubInput

type TriggerGithubInput interface {
	pulumi.Input

	ToTriggerGithubOutput() TriggerGithubOutput
	ToTriggerGithubOutputWithContext(context.Context) TriggerGithubOutput
}

TriggerGithubInput is an input type that accepts TriggerGithubArgs and TriggerGithubOutput values. You can construct a concrete instance of `TriggerGithubInput` via:

TriggerGithubArgs{...}

type TriggerGithubOutput

type TriggerGithubOutput struct{ *pulumi.OutputState }

func (TriggerGithubOutput) ElementType

func (TriggerGithubOutput) ElementType() reflect.Type

func (TriggerGithubOutput) Name

Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.

func (TriggerGithubOutput) Owner

Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".

func (TriggerGithubOutput) PullRequest

filter to match changes in pull requests. Specify only one of pullRequest or push. Structure is documented below.

func (TriggerGithubOutput) Push

filter to match changes in refs, like branches or tags. Specify only one of pullRequest or push. Structure is documented below.

func (TriggerGithubOutput) ToTriggerGithubOutput

func (o TriggerGithubOutput) ToTriggerGithubOutput() TriggerGithubOutput

func (TriggerGithubOutput) ToTriggerGithubOutputWithContext

func (o TriggerGithubOutput) ToTriggerGithubOutputWithContext(ctx context.Context) TriggerGithubOutput

func (TriggerGithubOutput) ToTriggerGithubPtrOutput

func (o TriggerGithubOutput) ToTriggerGithubPtrOutput() TriggerGithubPtrOutput

func (TriggerGithubOutput) ToTriggerGithubPtrOutputWithContext

func (o TriggerGithubOutput) ToTriggerGithubPtrOutputWithContext(ctx context.Context) TriggerGithubPtrOutput

type TriggerGithubPtrInput

type TriggerGithubPtrInput interface {
	pulumi.Input

	ToTriggerGithubPtrOutput() TriggerGithubPtrOutput
	ToTriggerGithubPtrOutputWithContext(context.Context) TriggerGithubPtrOutput
}

TriggerGithubPtrInput is an input type that accepts TriggerGithubArgs, TriggerGithubPtr and TriggerGithubPtrOutput values. You can construct a concrete instance of `TriggerGithubPtrInput` via:

        TriggerGithubArgs{...}

or:

        nil

type TriggerGithubPtrOutput

type TriggerGithubPtrOutput struct{ *pulumi.OutputState }

func (TriggerGithubPtrOutput) Elem

func (TriggerGithubPtrOutput) ElementType

func (TriggerGithubPtrOutput) ElementType() reflect.Type

func (TriggerGithubPtrOutput) Name

Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.

func (TriggerGithubPtrOutput) Owner

Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".

func (TriggerGithubPtrOutput) PullRequest

filter to match changes in pull requests. Specify only one of pullRequest or push. Structure is documented below.

func (TriggerGithubPtrOutput) Push

filter to match changes in refs, like branches or tags. Specify only one of pullRequest or push. Structure is documented below.

func (TriggerGithubPtrOutput) ToTriggerGithubPtrOutput

func (o TriggerGithubPtrOutput) ToTriggerGithubPtrOutput() TriggerGithubPtrOutput

func (TriggerGithubPtrOutput) ToTriggerGithubPtrOutputWithContext

func (o TriggerGithubPtrOutput) ToTriggerGithubPtrOutputWithContext(ctx context.Context) TriggerGithubPtrOutput

type TriggerGithubPullRequest

type TriggerGithubPullRequest struct {
	// Regex of branches to match.  Specify only one of branch or tag.
	Branch string `pulumi:"branch"`
	// Whether to block builds on a "/gcbrun" comment from a repository owner or collaborator.
	// Possible values are `COMMENTS_DISABLED`, `COMMENTS_ENABLED`, and `COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY`.
	CommentControl *string `pulumi:"commentControl"`
	// Only trigger a build if the revision regex does NOT match the revision regex.
	InvertRegex *bool `pulumi:"invertRegex"`
}

type TriggerGithubPullRequestArgs

type TriggerGithubPullRequestArgs struct {
	// Regex of branches to match.  Specify only one of branch or tag.
	Branch pulumi.StringInput `pulumi:"branch"`
	// Whether to block builds on a "/gcbrun" comment from a repository owner or collaborator.
	// Possible values are `COMMENTS_DISABLED`, `COMMENTS_ENABLED`, and `COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY`.
	CommentControl pulumi.StringPtrInput `pulumi:"commentControl"`
	// Only trigger a build if the revision regex does NOT match the revision regex.
	InvertRegex pulumi.BoolPtrInput `pulumi:"invertRegex"`
}

func (TriggerGithubPullRequestArgs) ElementType

func (TriggerGithubPullRequestArgs) ToTriggerGithubPullRequestOutput

func (i TriggerGithubPullRequestArgs) ToTriggerGithubPullRequestOutput() TriggerGithubPullRequestOutput

func (TriggerGithubPullRequestArgs) ToTriggerGithubPullRequestOutputWithContext

func (i TriggerGithubPullRequestArgs) ToTriggerGithubPullRequestOutputWithContext(ctx context.Context) TriggerGithubPullRequestOutput

func (TriggerGithubPullRequestArgs) ToTriggerGithubPullRequestPtrOutput

func (i TriggerGithubPullRequestArgs) ToTriggerGithubPullRequestPtrOutput() TriggerGithubPullRequestPtrOutput

func (TriggerGithubPullRequestArgs) ToTriggerGithubPullRequestPtrOutputWithContext

func (i TriggerGithubPullRequestArgs) ToTriggerGithubPullRequestPtrOutputWithContext(ctx context.Context) TriggerGithubPullRequestPtrOutput

type TriggerGithubPullRequestInput

type TriggerGithubPullRequestInput interface {
	pulumi.Input

	ToTriggerGithubPullRequestOutput() TriggerGithubPullRequestOutput
	ToTriggerGithubPullRequestOutputWithContext(context.Context) TriggerGithubPullRequestOutput
}

TriggerGithubPullRequestInput is an input type that accepts TriggerGithubPullRequestArgs and TriggerGithubPullRequestOutput values. You can construct a concrete instance of `TriggerGithubPullRequestInput` via:

TriggerGithubPullRequestArgs{...}

type TriggerGithubPullRequestOutput

type TriggerGithubPullRequestOutput struct{ *pulumi.OutputState }

func (TriggerGithubPullRequestOutput) Branch

Regex of branches to match. Specify only one of branch or tag.

func (TriggerGithubPullRequestOutput) CommentControl

Whether to block builds on a "/gcbrun" comment from a repository owner or collaborator. Possible values are `COMMENTS_DISABLED`, `COMMENTS_ENABLED`, and `COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY`.

func (TriggerGithubPullRequestOutput) ElementType

func (TriggerGithubPullRequestOutput) InvertRegex

Only trigger a build if the revision regex does NOT match the revision regex.

func (TriggerGithubPullRequestOutput) ToTriggerGithubPullRequestOutput

func (o TriggerGithubPullRequestOutput) ToTriggerGithubPullRequestOutput() TriggerGithubPullRequestOutput

func (TriggerGithubPullRequestOutput) ToTriggerGithubPullRequestOutputWithContext

func (o TriggerGithubPullRequestOutput) ToTriggerGithubPullRequestOutputWithContext(ctx context.Context) TriggerGithubPullRequestOutput

func (TriggerGithubPullRequestOutput) ToTriggerGithubPullRequestPtrOutput

func (o TriggerGithubPullRequestOutput) ToTriggerGithubPullRequestPtrOutput() TriggerGithubPullRequestPtrOutput

func (TriggerGithubPullRequestOutput) ToTriggerGithubPullRequestPtrOutputWithContext

func (o TriggerGithubPullRequestOutput) ToTriggerGithubPullRequestPtrOutputWithContext(ctx context.Context) TriggerGithubPullRequestPtrOutput

type TriggerGithubPullRequestPtrInput

type TriggerGithubPullRequestPtrInput interface {
	pulumi.Input

	ToTriggerGithubPullRequestPtrOutput() TriggerGithubPullRequestPtrOutput
	ToTriggerGithubPullRequestPtrOutputWithContext(context.Context) TriggerGithubPullRequestPtrOutput
}

TriggerGithubPullRequestPtrInput is an input type that accepts TriggerGithubPullRequestArgs, TriggerGithubPullRequestPtr and TriggerGithubPullRequestPtrOutput values. You can construct a concrete instance of `TriggerGithubPullRequestPtrInput` via:

        TriggerGithubPullRequestArgs{...}

or:

        nil

type TriggerGithubPullRequestPtrOutput

type TriggerGithubPullRequestPtrOutput struct{ *pulumi.OutputState }

func (TriggerGithubPullRequestPtrOutput) Branch

Regex of branches to match. Specify only one of branch or tag.

func (TriggerGithubPullRequestPtrOutput) CommentControl

Whether to block builds on a "/gcbrun" comment from a repository owner or collaborator. Possible values are `COMMENTS_DISABLED`, `COMMENTS_ENABLED`, and `COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY`.

func (TriggerGithubPullRequestPtrOutput) Elem

func (TriggerGithubPullRequestPtrOutput) ElementType

func (TriggerGithubPullRequestPtrOutput) InvertRegex

Only trigger a build if the revision regex does NOT match the revision regex.

func (TriggerGithubPullRequestPtrOutput) ToTriggerGithubPullRequestPtrOutput

func (o TriggerGithubPullRequestPtrOutput) ToTriggerGithubPullRequestPtrOutput() TriggerGithubPullRequestPtrOutput

func (TriggerGithubPullRequestPtrOutput) ToTriggerGithubPullRequestPtrOutputWithContext

func (o TriggerGithubPullRequestPtrOutput) ToTriggerGithubPullRequestPtrOutputWithContext(ctx context.Context) TriggerGithubPullRequestPtrOutput

type TriggerGithubPush

type TriggerGithubPush struct {
	// Regex of branches to match.  Specify only one of branch or tag.
	Branch *string `pulumi:"branch"`
	// Only trigger a build if the revision regex does NOT match the revision regex.
	InvertRegex *bool `pulumi:"invertRegex"`
	// Regex of tags to match.  Specify only one of branch or tag.
	Tag *string `pulumi:"tag"`
}

type TriggerGithubPushArgs

type TriggerGithubPushArgs struct {
	// Regex of branches to match.  Specify only one of branch or tag.
	Branch pulumi.StringPtrInput `pulumi:"branch"`
	// Only trigger a build if the revision regex does NOT match the revision regex.
	InvertRegex pulumi.BoolPtrInput `pulumi:"invertRegex"`
	// Regex of tags to match.  Specify only one of branch or tag.
	Tag pulumi.StringPtrInput `pulumi:"tag"`
}

func (TriggerGithubPushArgs) ElementType

func (TriggerGithubPushArgs) ElementType() reflect.Type

func (TriggerGithubPushArgs) ToTriggerGithubPushOutput

func (i TriggerGithubPushArgs) ToTriggerGithubPushOutput() TriggerGithubPushOutput

func (TriggerGithubPushArgs) ToTriggerGithubPushOutputWithContext

func (i TriggerGithubPushArgs) ToTriggerGithubPushOutputWithContext(ctx context.Context) TriggerGithubPushOutput

func (TriggerGithubPushArgs) ToTriggerGithubPushPtrOutput

func (i TriggerGithubPushArgs) ToTriggerGithubPushPtrOutput() TriggerGithubPushPtrOutput

func (TriggerGithubPushArgs) ToTriggerGithubPushPtrOutputWithContext

func (i TriggerGithubPushArgs) ToTriggerGithubPushPtrOutputWithContext(ctx context.Context) TriggerGithubPushPtrOutput

type TriggerGithubPushInput

type TriggerGithubPushInput interface {
	pulumi.Input

	ToTriggerGithubPushOutput() TriggerGithubPushOutput
	ToTriggerGithubPushOutputWithContext(context.Context) TriggerGithubPushOutput
}

TriggerGithubPushInput is an input type that accepts TriggerGithubPushArgs and TriggerGithubPushOutput values. You can construct a concrete instance of `TriggerGithubPushInput` via:

TriggerGithubPushArgs{...}

type TriggerGithubPushOutput

type TriggerGithubPushOutput struct{ *pulumi.OutputState }

func (TriggerGithubPushOutput) Branch

Regex of branches to match. Specify only one of branch or tag.

func (TriggerGithubPushOutput) ElementType

func (TriggerGithubPushOutput) ElementType() reflect.Type

func (TriggerGithubPushOutput) InvertRegex

Only trigger a build if the revision regex does NOT match the revision regex.

func (TriggerGithubPushOutput) Tag

Regex of tags to match. Specify only one of branch or tag.

func (TriggerGithubPushOutput) ToTriggerGithubPushOutput

func (o TriggerGithubPushOutput) ToTriggerGithubPushOutput() TriggerGithubPushOutput

func (TriggerGithubPushOutput) ToTriggerGithubPushOutputWithContext

func (o TriggerGithubPushOutput) ToTriggerGithubPushOutputWithContext(ctx context.Context) TriggerGithubPushOutput

func (TriggerGithubPushOutput) ToTriggerGithubPushPtrOutput

func (o TriggerGithubPushOutput) ToTriggerGithubPushPtrOutput() TriggerGithubPushPtrOutput

func (TriggerGithubPushOutput) ToTriggerGithubPushPtrOutputWithContext

func (o TriggerGithubPushOutput) ToTriggerGithubPushPtrOutputWithContext(ctx context.Context) TriggerGithubPushPtrOutput

type TriggerGithubPushPtrInput

type TriggerGithubPushPtrInput interface {
	pulumi.Input

	ToTriggerGithubPushPtrOutput() TriggerGithubPushPtrOutput
	ToTriggerGithubPushPtrOutputWithContext(context.Context) TriggerGithubPushPtrOutput
}

TriggerGithubPushPtrInput is an input type that accepts TriggerGithubPushArgs, TriggerGithubPushPtr and TriggerGithubPushPtrOutput values. You can construct a concrete instance of `TriggerGithubPushPtrInput` via:

        TriggerGithubPushArgs{...}

or:

        nil

type TriggerGithubPushPtrOutput

type TriggerGithubPushPtrOutput struct{ *pulumi.OutputState }

func (TriggerGithubPushPtrOutput) Branch

Regex of branches to match. Specify only one of branch or tag.

func (TriggerGithubPushPtrOutput) Elem

func (TriggerGithubPushPtrOutput) ElementType

func (TriggerGithubPushPtrOutput) ElementType() reflect.Type

func (TriggerGithubPushPtrOutput) InvertRegex

Only trigger a build if the revision regex does NOT match the revision regex.

func (TriggerGithubPushPtrOutput) Tag

Regex of tags to match. Specify only one of branch or tag.

func (TriggerGithubPushPtrOutput) ToTriggerGithubPushPtrOutput

func (o TriggerGithubPushPtrOutput) ToTriggerGithubPushPtrOutput() TriggerGithubPushPtrOutput

func (TriggerGithubPushPtrOutput) ToTriggerGithubPushPtrOutputWithContext

func (o TriggerGithubPushPtrOutput) ToTriggerGithubPushPtrOutputWithContext(ctx context.Context) TriggerGithubPushPtrOutput

type TriggerInput

type TriggerInput interface {
	pulumi.Input

	ToTriggerOutput() TriggerOutput
	ToTriggerOutputWithContext(ctx context.Context) TriggerOutput
}

type TriggerMap

type TriggerMap map[string]TriggerInput

func (TriggerMap) ElementType

func (TriggerMap) ElementType() reflect.Type

func (TriggerMap) ToTriggerMapOutput

func (i TriggerMap) ToTriggerMapOutput() TriggerMapOutput

func (TriggerMap) ToTriggerMapOutputWithContext

func (i TriggerMap) ToTriggerMapOutputWithContext(ctx context.Context) TriggerMapOutput

type TriggerMapInput

type TriggerMapInput interface {
	pulumi.Input

	ToTriggerMapOutput() TriggerMapOutput
	ToTriggerMapOutputWithContext(context.Context) TriggerMapOutput
}

TriggerMapInput is an input type that accepts TriggerMap and TriggerMapOutput values. You can construct a concrete instance of `TriggerMapInput` via:

TriggerMap{ "key": TriggerArgs{...} }

type TriggerMapOutput

type TriggerMapOutput struct{ *pulumi.OutputState }

func (TriggerMapOutput) ElementType

func (TriggerMapOutput) ElementType() reflect.Type

func (TriggerMapOutput) MapIndex

func (TriggerMapOutput) ToTriggerMapOutput

func (o TriggerMapOutput) ToTriggerMapOutput() TriggerMapOutput

func (TriggerMapOutput) ToTriggerMapOutputWithContext

func (o TriggerMapOutput) ToTriggerMapOutputWithContext(ctx context.Context) TriggerMapOutput

type TriggerOutput

type TriggerOutput struct {
	*pulumi.OutputState
}

func (TriggerOutput) ElementType

func (TriggerOutput) ElementType() reflect.Type

func (TriggerOutput) ToTriggerOutput

func (o TriggerOutput) ToTriggerOutput() TriggerOutput

func (TriggerOutput) ToTriggerOutputWithContext

func (o TriggerOutput) ToTriggerOutputWithContext(ctx context.Context) TriggerOutput

func (TriggerOutput) ToTriggerPtrOutput

func (o TriggerOutput) ToTriggerPtrOutput() TriggerPtrOutput

func (TriggerOutput) ToTriggerPtrOutputWithContext

func (o TriggerOutput) ToTriggerPtrOutputWithContext(ctx context.Context) TriggerPtrOutput

type TriggerPtrInput

type TriggerPtrInput interface {
	pulumi.Input

	ToTriggerPtrOutput() TriggerPtrOutput
	ToTriggerPtrOutputWithContext(ctx context.Context) TriggerPtrOutput
}

type TriggerPtrOutput

type TriggerPtrOutput struct {
	*pulumi.OutputState
}

func (TriggerPtrOutput) ElementType

func (TriggerPtrOutput) ElementType() reflect.Type

func (TriggerPtrOutput) ToTriggerPtrOutput

func (o TriggerPtrOutput) ToTriggerPtrOutput() TriggerPtrOutput

func (TriggerPtrOutput) ToTriggerPtrOutputWithContext

func (o TriggerPtrOutput) ToTriggerPtrOutputWithContext(ctx context.Context) TriggerPtrOutput

type TriggerState

type TriggerState struct {
	// Contents of the build template. Either a filename or build template must be provided.
	// Structure is documented below.
	Build TriggerBuildPtrInput
	// Time when the trigger was created.
	CreateTime pulumi.StringPtrInput
	// Human-readable description of the trigger.
	Description pulumi.StringPtrInput
	// Whether the trigger is disabled or not. If true, the trigger will never result in a build.
	Disabled pulumi.BoolPtrInput
	// Path, from the source root, to a file whose contents is used for the template. Either a filename or build template must be provided.
	Filename pulumi.StringPtrInput
	// Describes the configuration of a trigger that creates a build whenever a GitHub event is received.
	// One of `triggerTemplate` or `github` must be provided.
	// Structure is documented below.
	Github TriggerGithubPtrInput
	// ignoredFiles and includedFiles are file glob matches using https://golang.org/pkg/path/filepath/#Match
	// extended with support for `**`.
	// If ignoredFiles and changed files are both empty, then they are not
	// used to determine whether or not to trigger a build.
	// If ignoredFiles is not empty, then we ignore any files that match any
	// of the ignoredFile globs. If the change has no files that are outside
	// of the ignoredFiles globs, then we do not trigger a build.
	IgnoredFiles pulumi.StringArrayInput
	// ignoredFiles and includedFiles are file glob matches using https://golang.org/pkg/path/filepath/#Match
	// extended with support for `**`.
	// If any of the files altered in the commit pass the ignoredFiles filter
	// and includedFiles is empty, then as far as this filter is concerned, we
	// should trigger the build.
	// If any of the files altered in the commit pass the ignoredFiles filter
	// and includedFiles is not empty, then we make sure that at least one of
	// those files matches a includedFiles glob. If not, then we do not trigger
	// a build.
	IncludedFiles pulumi.StringArrayInput
	// Name of the volume to mount.
	// Volume names must be unique per build step and must be valid names for Docker volumes.
	// Each named volume must be used by at least two build steps.
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// Substitutions to use in a triggered build. Should only be used with triggers.run
	Substitutions pulumi.StringMapInput
	// Tags for annotation of a Build. These are not docker tags.
	Tags pulumi.StringArrayInput
	// The unique identifier for the trigger.
	TriggerId pulumi.StringPtrInput
	// Template describing the types of source changes to trigger a build.
	// Branch and tag names in trigger templates are interpreted as regular
	// expressions. Any branch or tag change that matches that regular
	// expression will trigger a build.
	// One of `triggerTemplate` or `github` must be provided.
	// Structure is documented below.
	TriggerTemplate TriggerTriggerTemplatePtrInput
}

func (TriggerState) ElementType

func (TriggerState) ElementType() reflect.Type

type TriggerTriggerTemplate

type TriggerTriggerTemplate struct {
	// Regex matching branches to build. Exactly one a of branch name, tag, or commit SHA must be provided.
	// The syntax of the regular expressions accepted is the syntax accepted by RE2 and
	// described at https://github.com/google/re2/wiki/Syntax
	BranchName *string `pulumi:"branchName"`
	// Explicit commit SHA to build. Exactly one a of branch name, tag, or commit SHA must be provided.
	CommitSha *string `pulumi:"commitSha"`
	// Working directory to use when running this step's container.
	// If this value is a relative path, it is relative to the build's working
	// directory. If this value is absolute, it may be outside the build's working
	// directory, in which case the contents of the path may not be persisted
	// across build step executions, unless a `volume` for that path is specified.
	// If the build specifies a `RepoSource` with `dir` and a step with a
	// `dir`,
	// which specifies an absolute path, the `RepoSource` `dir` is ignored
	// for the step's execution.
	Dir *string `pulumi:"dir"`
	// Only trigger a build if the revision regex does NOT match the revision regex.
	InvertRegex *bool `pulumi:"invertRegex"`
	// ID of the project that owns the Cloud Source Repository.
	// If omitted, the project ID requesting the build is assumed.
	ProjectId *string `pulumi:"projectId"`
	// Name of the Cloud Source Repository.
	RepoName *string `pulumi:"repoName"`
	// Regex matching tags to build. Exactly one a of branch name, tag, or commit SHA must be provided.
	// The syntax of the regular expressions accepted is the syntax accepted by RE2 and
	// described at https://github.com/google/re2/wiki/Syntax
	TagName *string `pulumi:"tagName"`
}

type TriggerTriggerTemplateArgs

type TriggerTriggerTemplateArgs struct {
	// Regex matching branches to build. Exactly one a of branch name, tag, or commit SHA must be provided.
	// The syntax of the regular expressions accepted is the syntax accepted by RE2 and
	// described at https://github.com/google/re2/wiki/Syntax
	BranchName pulumi.StringPtrInput `pulumi:"branchName"`
	// Explicit commit SHA to build. Exactly one a of branch name, tag, or commit SHA must be provided.
	CommitSha pulumi.StringPtrInput `pulumi:"commitSha"`
	// Working directory to use when running this step's container.
	// If this value is a relative path, it is relative to the build's working
	// directory. If this value is absolute, it may be outside the build's working
	// directory, in which case the contents of the path may not be persisted
	// across build step executions, unless a `volume` for that path is specified.
	// If the build specifies a `RepoSource` with `dir` and a step with a
	// `dir`,
	// which specifies an absolute path, the `RepoSource` `dir` is ignored
	// for the step's execution.
	Dir pulumi.StringPtrInput `pulumi:"dir"`
	// Only trigger a build if the revision regex does NOT match the revision regex.
	InvertRegex pulumi.BoolPtrInput `pulumi:"invertRegex"`
	// ID of the project that owns the Cloud Source Repository.
	// If omitted, the project ID requesting the build is assumed.
	ProjectId pulumi.StringPtrInput `pulumi:"projectId"`
	// Name of the Cloud Source Repository.
	RepoName pulumi.StringPtrInput `pulumi:"repoName"`
	// Regex matching tags to build. Exactly one a of branch name, tag, or commit SHA must be provided.
	// The syntax of the regular expressions accepted is the syntax accepted by RE2 and
	// described at https://github.com/google/re2/wiki/Syntax
	TagName pulumi.StringPtrInput `pulumi:"tagName"`
}

func (TriggerTriggerTemplateArgs) ElementType

func (TriggerTriggerTemplateArgs) ElementType() reflect.Type

func (TriggerTriggerTemplateArgs) ToTriggerTriggerTemplateOutput

func (i TriggerTriggerTemplateArgs) ToTriggerTriggerTemplateOutput() TriggerTriggerTemplateOutput

func (TriggerTriggerTemplateArgs) ToTriggerTriggerTemplateOutputWithContext

func (i TriggerTriggerTemplateArgs) ToTriggerTriggerTemplateOutputWithContext(ctx context.Context) TriggerTriggerTemplateOutput

func (TriggerTriggerTemplateArgs) ToTriggerTriggerTemplatePtrOutput

func (i TriggerTriggerTemplateArgs) ToTriggerTriggerTemplatePtrOutput() TriggerTriggerTemplatePtrOutput

func (TriggerTriggerTemplateArgs) ToTriggerTriggerTemplatePtrOutputWithContext

func (i TriggerTriggerTemplateArgs) ToTriggerTriggerTemplatePtrOutputWithContext(ctx context.Context) TriggerTriggerTemplatePtrOutput

type TriggerTriggerTemplateInput

type TriggerTriggerTemplateInput interface {
	pulumi.Input

	ToTriggerTriggerTemplateOutput() TriggerTriggerTemplateOutput
	ToTriggerTriggerTemplateOutputWithContext(context.Context) TriggerTriggerTemplateOutput
}

TriggerTriggerTemplateInput is an input type that accepts TriggerTriggerTemplateArgs and TriggerTriggerTemplateOutput values. You can construct a concrete instance of `TriggerTriggerTemplateInput` via:

TriggerTriggerTemplateArgs{...}

type TriggerTriggerTemplateOutput

type TriggerTriggerTemplateOutput struct{ *pulumi.OutputState }

func (TriggerTriggerTemplateOutput) BranchName

Regex matching branches to build. Exactly one a of branch name, tag, or commit SHA must be provided. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

func (TriggerTriggerTemplateOutput) CommitSha

Explicit commit SHA to build. Exactly one a of branch name, tag, or commit SHA must be provided.

func (TriggerTriggerTemplateOutput) Dir

Working directory to use when running this step's container. If this value is a relative path, it is relative to the build's working directory. If this value is absolute, it may be outside the build's working directory, in which case the contents of the path may not be persisted across build step executions, unless a `volume` for that path is specified. If the build specifies a `RepoSource` with `dir` and a step with a `dir`, which specifies an absolute path, the `RepoSource` `dir` is ignored for the step's execution.

func (TriggerTriggerTemplateOutput) ElementType

func (TriggerTriggerTemplateOutput) InvertRegex

Only trigger a build if the revision regex does NOT match the revision regex.

func (TriggerTriggerTemplateOutput) ProjectId

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

func (TriggerTriggerTemplateOutput) RepoName

Name of the Cloud Source Repository.

func (TriggerTriggerTemplateOutput) TagName

Regex matching tags to build. Exactly one a of branch name, tag, or commit SHA must be provided. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

func (TriggerTriggerTemplateOutput) ToTriggerTriggerTemplateOutput

func (o TriggerTriggerTemplateOutput) ToTriggerTriggerTemplateOutput() TriggerTriggerTemplateOutput

func (TriggerTriggerTemplateOutput) ToTriggerTriggerTemplateOutputWithContext

func (o TriggerTriggerTemplateOutput) ToTriggerTriggerTemplateOutputWithContext(ctx context.Context) TriggerTriggerTemplateOutput

func (TriggerTriggerTemplateOutput) ToTriggerTriggerTemplatePtrOutput

func (o TriggerTriggerTemplateOutput) ToTriggerTriggerTemplatePtrOutput() TriggerTriggerTemplatePtrOutput

func (TriggerTriggerTemplateOutput) ToTriggerTriggerTemplatePtrOutputWithContext

func (o TriggerTriggerTemplateOutput) ToTriggerTriggerTemplatePtrOutputWithContext(ctx context.Context) TriggerTriggerTemplatePtrOutput

type TriggerTriggerTemplatePtrInput

type TriggerTriggerTemplatePtrInput interface {
	pulumi.Input

	ToTriggerTriggerTemplatePtrOutput() TriggerTriggerTemplatePtrOutput
	ToTriggerTriggerTemplatePtrOutputWithContext(context.Context) TriggerTriggerTemplatePtrOutput
}

TriggerTriggerTemplatePtrInput is an input type that accepts TriggerTriggerTemplateArgs, TriggerTriggerTemplatePtr and TriggerTriggerTemplatePtrOutput values. You can construct a concrete instance of `TriggerTriggerTemplatePtrInput` via:

        TriggerTriggerTemplateArgs{...}

or:

        nil

type TriggerTriggerTemplatePtrOutput

type TriggerTriggerTemplatePtrOutput struct{ *pulumi.OutputState }

func (TriggerTriggerTemplatePtrOutput) BranchName

Regex matching branches to build. Exactly one a of branch name, tag, or commit SHA must be provided. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

func (TriggerTriggerTemplatePtrOutput) CommitSha

Explicit commit SHA to build. Exactly one a of branch name, tag, or commit SHA must be provided.

func (TriggerTriggerTemplatePtrOutput) Dir

Working directory to use when running this step's container. If this value is a relative path, it is relative to the build's working directory. If this value is absolute, it may be outside the build's working directory, in which case the contents of the path may not be persisted across build step executions, unless a `volume` for that path is specified. If the build specifies a `RepoSource` with `dir` and a step with a `dir`, which specifies an absolute path, the `RepoSource` `dir` is ignored for the step's execution.

func (TriggerTriggerTemplatePtrOutput) Elem

func (TriggerTriggerTemplatePtrOutput) ElementType

func (TriggerTriggerTemplatePtrOutput) InvertRegex

Only trigger a build if the revision regex does NOT match the revision regex.

func (TriggerTriggerTemplatePtrOutput) ProjectId

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

func (TriggerTriggerTemplatePtrOutput) RepoName

Name of the Cloud Source Repository.

func (TriggerTriggerTemplatePtrOutput) TagName

Regex matching tags to build. Exactly one a of branch name, tag, or commit SHA must be provided. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

func (TriggerTriggerTemplatePtrOutput) ToTriggerTriggerTemplatePtrOutput

func (o TriggerTriggerTemplatePtrOutput) ToTriggerTriggerTemplatePtrOutput() TriggerTriggerTemplatePtrOutput

func (TriggerTriggerTemplatePtrOutput) ToTriggerTriggerTemplatePtrOutputWithContext

func (o TriggerTriggerTemplatePtrOutput) ToTriggerTriggerTemplatePtrOutputWithContext(ctx context.Context) TriggerTriggerTemplatePtrOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL