cloudbuild

package
v5.26.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2021 License: Apache-2.0 Imports: 7 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`, `github`, `pubsubConfig` or `webhookConfig` 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"`
	// PubsubConfig describes the configuration of a trigger that creates
	// a build whenever a Pub/Sub message is published.
	// One of `triggerTemplate`, `github`, `pubsubConfig` or `webhookConfig` must be provided.
	// Structure is documented below.
	PubsubConfig TriggerPubsubConfigPtrOutput `pulumi:"pubsubConfig"`
	// The service account used for all user-controlled operations including
	// triggers.patch, triggers.run, builds.create, and builds.cancel.
	// If no service account is set, then the standard Cloud Build service account
	// ([PROJECT_NUM]@system.gserviceaccount.com) will be used instead.
	// Format: projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_ID_OR_EMAIL}
	ServiceAccount pulumi.StringPtrOutput `pulumi:"serviceAccount"`
	// 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`, `github`, `pubsubConfig` or `webhookConfig` must be provided.
	// Structure is documented below.
	TriggerTemplate TriggerTriggerTemplatePtrOutput `pulumi:"triggerTemplate"`
	// WebhookConfig describes the configuration of a trigger that creates
	// a build whenever a webhook is sent to a trigger's webhook URL.
	// One of `triggerTemplate`, `github`, `pubsubConfig` or `webhookConfig` must be provided.
	// Structure is documented below.
	WebhookConfig TriggerWebhookConfigPtrOutput `pulumi:"webhookConfig"`
}

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: []string{
						"ekey = evalue",
					},
					LogStreamingOption:    pulumi.String("STREAM_OFF"),
					Logging:               pulumi.String("LEGACY"),
					MachineType:           pulumi.String("N1_HIGHCPU_8"),
					RequestedVerifyOption: pulumi.String("VERIFIED"),
					SecretEnv: []string{
						"secretenv = svalue",
					},
					SourceProvenanceHash: []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
	})
}

``` ### Cloudbuild Trigger Service Account

```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cloudbuildServiceAccount, err := serviceAccount.NewAccount(ctx, "cloudbuildServiceAccount", &serviceAccount.AccountArgs{
			AccountId: pulumi.String("my-service-account"),
		})
		if err != nil {
			return err
		}
		actAs, err := projects.NewIAMMember(ctx, "actAs", &projects.IAMMemberArgs{
			Role: pulumi.String("roles/iam.serviceAccountUser"),
			Member: cloudbuildServiceAccount.Email.ApplyT(func(email string) (string, error) {
				return fmt.Sprintf("%v%v", "serviceAccount:", email), nil
			}).(pulumi.StringOutput),
		})
		if err != nil {
			return err
		}
		logsWriter, err := projects.NewIAMMember(ctx, "logsWriter", &projects.IAMMemberArgs{
			Role: pulumi.String("roles/logging.logWriter"),
			Member: cloudbuildServiceAccount.Email.ApplyT(func(email string) (string, error) {
				return fmt.Sprintf("%v%v", "serviceAccount:", email), nil
			}).(pulumi.StringOutput),
		})
		if err != nil {
			return err
		}
		_, err = cloudbuild.NewTrigger(ctx, "service_account_trigger", &cloudbuild.TriggerArgs{
			TriggerTemplate: &cloudbuild.TriggerTriggerTemplateArgs{
				BranchName: pulumi.String("master"),
				RepoName:   pulumi.String("my-repo"),
			},
			ServiceAccount: cloudbuildServiceAccount.ID(),
			Filename:       pulumi.String("cloudbuild.yaml"),
		}, pulumi.DependsOn([]pulumi.Resource{
			actAs,
			logsWriter,
		}))
		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`, `github`, `pubsubConfig` or `webhookConfig` 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
	// PubsubConfig describes the configuration of a trigger that creates
	// a build whenever a Pub/Sub message is published.
	// One of `triggerTemplate`, `github`, `pubsubConfig` or `webhookConfig` must be provided.
	// Structure is documented below.
	PubsubConfig TriggerPubsubConfigPtrInput
	// The service account used for all user-controlled operations including
	// triggers.patch, triggers.run, builds.create, and builds.cancel.
	// If no service account is set, then the standard Cloud Build service account
	// ([PROJECT_NUM]@system.gserviceaccount.com) will be used instead.
	// Format: projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_ID_OR_EMAIL}
	ServiceAccount 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`, `github`, `pubsubConfig` or `webhookConfig` must be provided.
	// Structure is documented below.
	TriggerTemplate TriggerTriggerTemplatePtrInput
	// WebhookConfig describes the configuration of a trigger that creates
	// a build whenever a webhook is sent to a trigger's webhook URL.
	// One of `triggerTemplate`, `github`, `pubsubConfig` or `webhookConfig` must be provided.
	// Structure is documented below.
	WebhookConfig TriggerWebhookConfigPtrInput
}

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`, `N1_HIGHCPU_32`, `E2_HIGHCPU_8`, and `E2_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`, `N1_HIGHCPU_32`, `E2_HIGHCPU_8`, and `E2_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`, `N1_HIGHCPU_32`, `E2_HIGHCPU_8`, and `E2_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`, `N1_HIGHCPU_32`, `E2_HIGHCPU_8`, and `E2_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) Elem added in v5.21.0

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 TriggerPubsubConfig added in v5.13.0

type TriggerPubsubConfig struct {
	// Service account that will make the push request.
	ServiceAccountEmail *string `pulumi:"serviceAccountEmail"`
	// -
	// Potential issues with the underlying Pub/Sub subscription configuration.
	// Only populated on get requests.
	State *string `pulumi:"state"`
	// -
	// Output only. Name of the subscription.
	Subscription *string `pulumi:"subscription"`
	// The name of the topic from which this subscription is receiving messages.
	Topic string `pulumi:"topic"`
}

type TriggerPubsubConfigArgs added in v5.13.0

type TriggerPubsubConfigArgs struct {
	// Service account that will make the push request.
	ServiceAccountEmail pulumi.StringPtrInput `pulumi:"serviceAccountEmail"`
	// -
	// Potential issues with the underlying Pub/Sub subscription configuration.
	// Only populated on get requests.
	State pulumi.StringPtrInput `pulumi:"state"`
	// -
	// Output only. Name of the subscription.
	Subscription pulumi.StringPtrInput `pulumi:"subscription"`
	// The name of the topic from which this subscription is receiving messages.
	Topic pulumi.StringInput `pulumi:"topic"`
}

func (TriggerPubsubConfigArgs) ElementType added in v5.13.0

func (TriggerPubsubConfigArgs) ElementType() reflect.Type

func (TriggerPubsubConfigArgs) ToTriggerPubsubConfigOutput added in v5.13.0

func (i TriggerPubsubConfigArgs) ToTriggerPubsubConfigOutput() TriggerPubsubConfigOutput

func (TriggerPubsubConfigArgs) ToTriggerPubsubConfigOutputWithContext added in v5.13.0

func (i TriggerPubsubConfigArgs) ToTriggerPubsubConfigOutputWithContext(ctx context.Context) TriggerPubsubConfigOutput

func (TriggerPubsubConfigArgs) ToTriggerPubsubConfigPtrOutput added in v5.13.0

func (i TriggerPubsubConfigArgs) ToTriggerPubsubConfigPtrOutput() TriggerPubsubConfigPtrOutput

func (TriggerPubsubConfigArgs) ToTriggerPubsubConfigPtrOutputWithContext added in v5.13.0

func (i TriggerPubsubConfigArgs) ToTriggerPubsubConfigPtrOutputWithContext(ctx context.Context) TriggerPubsubConfigPtrOutput

type TriggerPubsubConfigInput added in v5.13.0

type TriggerPubsubConfigInput interface {
	pulumi.Input

	ToTriggerPubsubConfigOutput() TriggerPubsubConfigOutput
	ToTriggerPubsubConfigOutputWithContext(context.Context) TriggerPubsubConfigOutput
}

TriggerPubsubConfigInput is an input type that accepts TriggerPubsubConfigArgs and TriggerPubsubConfigOutput values. You can construct a concrete instance of `TriggerPubsubConfigInput` via:

TriggerPubsubConfigArgs{...}

type TriggerPubsubConfigOutput added in v5.13.0

type TriggerPubsubConfigOutput struct{ *pulumi.OutputState }

func (TriggerPubsubConfigOutput) ElementType added in v5.13.0

func (TriggerPubsubConfigOutput) ElementType() reflect.Type

func (TriggerPubsubConfigOutput) ServiceAccountEmail added in v5.13.0

func (o TriggerPubsubConfigOutput) ServiceAccountEmail() pulumi.StringPtrOutput

Service account that will make the push request.

func (TriggerPubsubConfigOutput) State added in v5.13.0

- Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.

func (TriggerPubsubConfigOutput) Subscription added in v5.13.0

- Output only. Name of the subscription.

func (TriggerPubsubConfigOutput) ToTriggerPubsubConfigOutput added in v5.13.0

func (o TriggerPubsubConfigOutput) ToTriggerPubsubConfigOutput() TriggerPubsubConfigOutput

func (TriggerPubsubConfigOutput) ToTriggerPubsubConfigOutputWithContext added in v5.13.0

func (o TriggerPubsubConfigOutput) ToTriggerPubsubConfigOutputWithContext(ctx context.Context) TriggerPubsubConfigOutput

func (TriggerPubsubConfigOutput) ToTriggerPubsubConfigPtrOutput added in v5.13.0

func (o TriggerPubsubConfigOutput) ToTriggerPubsubConfigPtrOutput() TriggerPubsubConfigPtrOutput

func (TriggerPubsubConfigOutput) ToTriggerPubsubConfigPtrOutputWithContext added in v5.13.0

func (o TriggerPubsubConfigOutput) ToTriggerPubsubConfigPtrOutputWithContext(ctx context.Context) TriggerPubsubConfigPtrOutput

func (TriggerPubsubConfigOutput) Topic added in v5.13.0

The name of the topic from which this subscription is receiving messages.

type TriggerPubsubConfigPtrInput added in v5.13.0

type TriggerPubsubConfigPtrInput interface {
	pulumi.Input

	ToTriggerPubsubConfigPtrOutput() TriggerPubsubConfigPtrOutput
	ToTriggerPubsubConfigPtrOutputWithContext(context.Context) TriggerPubsubConfigPtrOutput
}

TriggerPubsubConfigPtrInput is an input type that accepts TriggerPubsubConfigArgs, TriggerPubsubConfigPtr and TriggerPubsubConfigPtrOutput values. You can construct a concrete instance of `TriggerPubsubConfigPtrInput` via:

        TriggerPubsubConfigArgs{...}

or:

        nil

func TriggerPubsubConfigPtr added in v5.13.0

func TriggerPubsubConfigPtr(v *TriggerPubsubConfigArgs) TriggerPubsubConfigPtrInput

type TriggerPubsubConfigPtrOutput added in v5.13.0

type TriggerPubsubConfigPtrOutput struct{ *pulumi.OutputState }

func (TriggerPubsubConfigPtrOutput) Elem added in v5.13.0

func (TriggerPubsubConfigPtrOutput) ElementType added in v5.13.0

func (TriggerPubsubConfigPtrOutput) ServiceAccountEmail added in v5.13.0

func (o TriggerPubsubConfigPtrOutput) ServiceAccountEmail() pulumi.StringPtrOutput

Service account that will make the push request.

func (TriggerPubsubConfigPtrOutput) State added in v5.13.0

- Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.

func (TriggerPubsubConfigPtrOutput) Subscription added in v5.13.0

- Output only. Name of the subscription.

func (TriggerPubsubConfigPtrOutput) ToTriggerPubsubConfigPtrOutput added in v5.13.0

func (o TriggerPubsubConfigPtrOutput) ToTriggerPubsubConfigPtrOutput() TriggerPubsubConfigPtrOutput

func (TriggerPubsubConfigPtrOutput) ToTriggerPubsubConfigPtrOutputWithContext added in v5.13.0

func (o TriggerPubsubConfigPtrOutput) ToTriggerPubsubConfigPtrOutputWithContext(ctx context.Context) TriggerPubsubConfigPtrOutput

func (TriggerPubsubConfigPtrOutput) Topic added in v5.13.0

The name of the topic from which this subscription is receiving messages.

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`, `github`, `pubsubConfig` or `webhookConfig` 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
	// PubsubConfig describes the configuration of a trigger that creates
	// a build whenever a Pub/Sub message is published.
	// One of `triggerTemplate`, `github`, `pubsubConfig` or `webhookConfig` must be provided.
	// Structure is documented below.
	PubsubConfig TriggerPubsubConfigPtrInput
	// The service account used for all user-controlled operations including
	// triggers.patch, triggers.run, builds.create, and builds.cancel.
	// If no service account is set, then the standard Cloud Build service account
	// ([PROJECT_NUM]@system.gserviceaccount.com) will be used instead.
	// Format: projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_ID_OR_EMAIL}
	ServiceAccount 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`, `github`, `pubsubConfig` or `webhookConfig` must be provided.
	// Structure is documented below.
	TriggerTemplate TriggerTriggerTemplatePtrInput
	// WebhookConfig describes the configuration of a trigger that creates
	// a build whenever a webhook is sent to a trigger's webhook URL.
	// One of `triggerTemplate`, `github`, `pubsubConfig` or `webhookConfig` must be provided.
	// Structure is documented below.
	WebhookConfig TriggerWebhookConfigPtrInput
}

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

type TriggerWebhookConfig added in v5.13.0

type TriggerWebhookConfig struct {
	// Secrets to decrypt using Cloud Key Management Service.
	// Structure is documented below.
	Secret string `pulumi:"secret"`
	// -
	// Potential issues with the underlying Pub/Sub subscription configuration.
	// Only populated on get requests.
	State *string `pulumi:"state"`
}

type TriggerWebhookConfigArgs added in v5.13.0

type TriggerWebhookConfigArgs struct {
	// Secrets to decrypt using Cloud Key Management Service.
	// Structure is documented below.
	Secret pulumi.StringInput `pulumi:"secret"`
	// -
	// Potential issues with the underlying Pub/Sub subscription configuration.
	// Only populated on get requests.
	State pulumi.StringPtrInput `pulumi:"state"`
}

func (TriggerWebhookConfigArgs) ElementType added in v5.13.0

func (TriggerWebhookConfigArgs) ElementType() reflect.Type

func (TriggerWebhookConfigArgs) ToTriggerWebhookConfigOutput added in v5.13.0

func (i TriggerWebhookConfigArgs) ToTriggerWebhookConfigOutput() TriggerWebhookConfigOutput

func (TriggerWebhookConfigArgs) ToTriggerWebhookConfigOutputWithContext added in v5.13.0

func (i TriggerWebhookConfigArgs) ToTriggerWebhookConfigOutputWithContext(ctx context.Context) TriggerWebhookConfigOutput

func (TriggerWebhookConfigArgs) ToTriggerWebhookConfigPtrOutput added in v5.13.0

func (i TriggerWebhookConfigArgs) ToTriggerWebhookConfigPtrOutput() TriggerWebhookConfigPtrOutput

func (TriggerWebhookConfigArgs) ToTriggerWebhookConfigPtrOutputWithContext added in v5.13.0

func (i TriggerWebhookConfigArgs) ToTriggerWebhookConfigPtrOutputWithContext(ctx context.Context) TriggerWebhookConfigPtrOutput

type TriggerWebhookConfigInput added in v5.13.0

type TriggerWebhookConfigInput interface {
	pulumi.Input

	ToTriggerWebhookConfigOutput() TriggerWebhookConfigOutput
	ToTriggerWebhookConfigOutputWithContext(context.Context) TriggerWebhookConfigOutput
}

TriggerWebhookConfigInput is an input type that accepts TriggerWebhookConfigArgs and TriggerWebhookConfigOutput values. You can construct a concrete instance of `TriggerWebhookConfigInput` via:

TriggerWebhookConfigArgs{...}

type TriggerWebhookConfigOutput added in v5.13.0

type TriggerWebhookConfigOutput struct{ *pulumi.OutputState }

func (TriggerWebhookConfigOutput) ElementType added in v5.13.0

func (TriggerWebhookConfigOutput) ElementType() reflect.Type

func (TriggerWebhookConfigOutput) Secret added in v5.13.0

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

func (TriggerWebhookConfigOutput) State added in v5.13.0

- Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.

func (TriggerWebhookConfigOutput) ToTriggerWebhookConfigOutput added in v5.13.0

func (o TriggerWebhookConfigOutput) ToTriggerWebhookConfigOutput() TriggerWebhookConfigOutput

func (TriggerWebhookConfigOutput) ToTriggerWebhookConfigOutputWithContext added in v5.13.0

func (o TriggerWebhookConfigOutput) ToTriggerWebhookConfigOutputWithContext(ctx context.Context) TriggerWebhookConfigOutput

func (TriggerWebhookConfigOutput) ToTriggerWebhookConfigPtrOutput added in v5.13.0

func (o TriggerWebhookConfigOutput) ToTriggerWebhookConfigPtrOutput() TriggerWebhookConfigPtrOutput

func (TriggerWebhookConfigOutput) ToTriggerWebhookConfigPtrOutputWithContext added in v5.13.0

func (o TriggerWebhookConfigOutput) ToTriggerWebhookConfigPtrOutputWithContext(ctx context.Context) TriggerWebhookConfigPtrOutput

type TriggerWebhookConfigPtrInput added in v5.13.0

type TriggerWebhookConfigPtrInput interface {
	pulumi.Input

	ToTriggerWebhookConfigPtrOutput() TriggerWebhookConfigPtrOutput
	ToTriggerWebhookConfigPtrOutputWithContext(context.Context) TriggerWebhookConfigPtrOutput
}

TriggerWebhookConfigPtrInput is an input type that accepts TriggerWebhookConfigArgs, TriggerWebhookConfigPtr and TriggerWebhookConfigPtrOutput values. You can construct a concrete instance of `TriggerWebhookConfigPtrInput` via:

        TriggerWebhookConfigArgs{...}

or:

        nil

func TriggerWebhookConfigPtr added in v5.13.0

func TriggerWebhookConfigPtr(v *TriggerWebhookConfigArgs) TriggerWebhookConfigPtrInput

type TriggerWebhookConfigPtrOutput added in v5.13.0

type TriggerWebhookConfigPtrOutput struct{ *pulumi.OutputState }

func (TriggerWebhookConfigPtrOutput) Elem added in v5.13.0

func (TriggerWebhookConfigPtrOutput) ElementType added in v5.13.0

func (TriggerWebhookConfigPtrOutput) Secret added in v5.13.0

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

func (TriggerWebhookConfigPtrOutput) State added in v5.13.0

- Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.

func (TriggerWebhookConfigPtrOutput) ToTriggerWebhookConfigPtrOutput added in v5.13.0

func (o TriggerWebhookConfigPtrOutput) ToTriggerWebhookConfigPtrOutput() TriggerWebhookConfigPtrOutput

func (TriggerWebhookConfigPtrOutput) ToTriggerWebhookConfigPtrOutputWithContext added in v5.13.0

func (o TriggerWebhookConfigPtrOutput) ToTriggerWebhookConfigPtrOutputWithContext(ctx context.Context) TriggerWebhookConfigPtrOutput

type WorkerPool added in v5.11.0

type WorkerPool struct {
	pulumi.CustomResourceState

	// Output only. Time at which the request to create the `WorkerPool` was received.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Output only. Time at which the request to delete the `WorkerPool` was received.
	DeleteTime pulumi.StringOutput `pulumi:"deleteTime"`
	// The location for the resource
	Location pulumi.StringOutput `pulumi:"location"`
	// User-defined name of the `WorkerPool`.
	Name pulumi.StringOutput `pulumi:"name"`
	// Network configuration for the `WorkerPool`. Structure is documented below.
	NetworkConfig WorkerPoolNetworkConfigPtrOutput `pulumi:"networkConfig"`
	// The project for the resource
	Project pulumi.StringOutput `pulumi:"project"`
	// Output only. `WorkerPool` state. Possible values: STATE_UNSPECIFIED, PENDING, APPROVED, REJECTED, CANCELLED
	State pulumi.StringOutput `pulumi:"state"`
	// Output only. Time at which the request to update the `WorkerPool` was received.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// Configuration to be used for a creating workers in the `WorkerPool`. Structure is documented below.
	WorkerConfig WorkerPoolWorkerConfigOutput `pulumi:"workerConfig"`
}

## Import

WorkerPool can be imported using any of these accepted formats

```sh

$ pulumi import gcp:cloudbuild/workerPool:WorkerPool default projects/{{project}}/locations/{{location}}/workerPools/{{name}}

```

```sh

$ pulumi import gcp:cloudbuild/workerPool:WorkerPool default {{project}}/{{location}}/{{name}}

```

```sh

$ pulumi import gcp:cloudbuild/workerPool:WorkerPool default {{location}}/{{name}}

```

func GetWorkerPool added in v5.11.0

func GetWorkerPool(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *WorkerPoolState, opts ...pulumi.ResourceOption) (*WorkerPool, error)

GetWorkerPool gets an existing WorkerPool 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 NewWorkerPool added in v5.11.0

func NewWorkerPool(ctx *pulumi.Context,
	name string, args *WorkerPoolArgs, opts ...pulumi.ResourceOption) (*WorkerPool, error)

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

func (*WorkerPool) ElementType added in v5.11.0

func (*WorkerPool) ElementType() reflect.Type

func (*WorkerPool) ToWorkerPoolOutput added in v5.11.0

func (i *WorkerPool) ToWorkerPoolOutput() WorkerPoolOutput

func (*WorkerPool) ToWorkerPoolOutputWithContext added in v5.11.0

func (i *WorkerPool) ToWorkerPoolOutputWithContext(ctx context.Context) WorkerPoolOutput

func (*WorkerPool) ToWorkerPoolPtrOutput added in v5.11.0

func (i *WorkerPool) ToWorkerPoolPtrOutput() WorkerPoolPtrOutput

func (*WorkerPool) ToWorkerPoolPtrOutputWithContext added in v5.11.0

func (i *WorkerPool) ToWorkerPoolPtrOutputWithContext(ctx context.Context) WorkerPoolPtrOutput

type WorkerPoolArgs added in v5.11.0

type WorkerPoolArgs struct {
	// The location for the resource
	Location pulumi.StringInput
	// User-defined name of the `WorkerPool`.
	Name pulumi.StringPtrInput
	// Network configuration for the `WorkerPool`. Structure is documented below.
	NetworkConfig WorkerPoolNetworkConfigPtrInput
	// The project for the resource
	Project pulumi.StringPtrInput
	// Configuration to be used for a creating workers in the `WorkerPool`. Structure is documented below.
	WorkerConfig WorkerPoolWorkerConfigPtrInput
}

The set of arguments for constructing a WorkerPool resource.

func (WorkerPoolArgs) ElementType added in v5.11.0

func (WorkerPoolArgs) ElementType() reflect.Type

type WorkerPoolArray added in v5.11.0

type WorkerPoolArray []WorkerPoolInput

func (WorkerPoolArray) ElementType added in v5.11.0

func (WorkerPoolArray) ElementType() reflect.Type

func (WorkerPoolArray) ToWorkerPoolArrayOutput added in v5.11.0

func (i WorkerPoolArray) ToWorkerPoolArrayOutput() WorkerPoolArrayOutput

func (WorkerPoolArray) ToWorkerPoolArrayOutputWithContext added in v5.11.0

func (i WorkerPoolArray) ToWorkerPoolArrayOutputWithContext(ctx context.Context) WorkerPoolArrayOutput

type WorkerPoolArrayInput added in v5.11.0

type WorkerPoolArrayInput interface {
	pulumi.Input

	ToWorkerPoolArrayOutput() WorkerPoolArrayOutput
	ToWorkerPoolArrayOutputWithContext(context.Context) WorkerPoolArrayOutput
}

WorkerPoolArrayInput is an input type that accepts WorkerPoolArray and WorkerPoolArrayOutput values. You can construct a concrete instance of `WorkerPoolArrayInput` via:

WorkerPoolArray{ WorkerPoolArgs{...} }

type WorkerPoolArrayOutput added in v5.11.0

type WorkerPoolArrayOutput struct{ *pulumi.OutputState }

func (WorkerPoolArrayOutput) ElementType added in v5.11.0

func (WorkerPoolArrayOutput) ElementType() reflect.Type

func (WorkerPoolArrayOutput) Index added in v5.11.0

func (WorkerPoolArrayOutput) ToWorkerPoolArrayOutput added in v5.11.0

func (o WorkerPoolArrayOutput) ToWorkerPoolArrayOutput() WorkerPoolArrayOutput

func (WorkerPoolArrayOutput) ToWorkerPoolArrayOutputWithContext added in v5.11.0

func (o WorkerPoolArrayOutput) ToWorkerPoolArrayOutputWithContext(ctx context.Context) WorkerPoolArrayOutput

type WorkerPoolInput added in v5.11.0

type WorkerPoolInput interface {
	pulumi.Input

	ToWorkerPoolOutput() WorkerPoolOutput
	ToWorkerPoolOutputWithContext(ctx context.Context) WorkerPoolOutput
}

type WorkerPoolMap added in v5.11.0

type WorkerPoolMap map[string]WorkerPoolInput

func (WorkerPoolMap) ElementType added in v5.11.0

func (WorkerPoolMap) ElementType() reflect.Type

func (WorkerPoolMap) ToWorkerPoolMapOutput added in v5.11.0

func (i WorkerPoolMap) ToWorkerPoolMapOutput() WorkerPoolMapOutput

func (WorkerPoolMap) ToWorkerPoolMapOutputWithContext added in v5.11.0

func (i WorkerPoolMap) ToWorkerPoolMapOutputWithContext(ctx context.Context) WorkerPoolMapOutput

type WorkerPoolMapInput added in v5.11.0

type WorkerPoolMapInput interface {
	pulumi.Input

	ToWorkerPoolMapOutput() WorkerPoolMapOutput
	ToWorkerPoolMapOutputWithContext(context.Context) WorkerPoolMapOutput
}

WorkerPoolMapInput is an input type that accepts WorkerPoolMap and WorkerPoolMapOutput values. You can construct a concrete instance of `WorkerPoolMapInput` via:

WorkerPoolMap{ "key": WorkerPoolArgs{...} }

type WorkerPoolMapOutput added in v5.11.0

type WorkerPoolMapOutput struct{ *pulumi.OutputState }

func (WorkerPoolMapOutput) ElementType added in v5.11.0

func (WorkerPoolMapOutput) ElementType() reflect.Type

func (WorkerPoolMapOutput) MapIndex added in v5.11.0

func (WorkerPoolMapOutput) ToWorkerPoolMapOutput added in v5.11.0

func (o WorkerPoolMapOutput) ToWorkerPoolMapOutput() WorkerPoolMapOutput

func (WorkerPoolMapOutput) ToWorkerPoolMapOutputWithContext added in v5.11.0

func (o WorkerPoolMapOutput) ToWorkerPoolMapOutputWithContext(ctx context.Context) WorkerPoolMapOutput

type WorkerPoolNetworkConfig added in v5.11.0

type WorkerPoolNetworkConfig struct {
	// Immutable. The network definition that the workers are peered to. If this section is left empty, the workers will be peered to `WorkerPool.project_id` on the service producer network. Must be in the format `projects/{project}/global/networks/{network}`, where `{project}` is a project number, such as `12345`, and `{network}` is the name of a VPC network in the project. See (https://cloud.google.com/cloud-build/docs/custom-workers/set-up-custom-worker-pool-environment#understanding_the_network_configuration_options)
	PeeredNetwork string `pulumi:"peeredNetwork"`
}

type WorkerPoolNetworkConfigArgs added in v5.11.0

type WorkerPoolNetworkConfigArgs struct {
	// Immutable. The network definition that the workers are peered to. If this section is left empty, the workers will be peered to `WorkerPool.project_id` on the service producer network. Must be in the format `projects/{project}/global/networks/{network}`, where `{project}` is a project number, such as `12345`, and `{network}` is the name of a VPC network in the project. See (https://cloud.google.com/cloud-build/docs/custom-workers/set-up-custom-worker-pool-environment#understanding_the_network_configuration_options)
	PeeredNetwork pulumi.StringInput `pulumi:"peeredNetwork"`
}

func (WorkerPoolNetworkConfigArgs) ElementType added in v5.11.0

func (WorkerPoolNetworkConfigArgs) ToWorkerPoolNetworkConfigOutput added in v5.11.0

func (i WorkerPoolNetworkConfigArgs) ToWorkerPoolNetworkConfigOutput() WorkerPoolNetworkConfigOutput

func (WorkerPoolNetworkConfigArgs) ToWorkerPoolNetworkConfigOutputWithContext added in v5.11.0

func (i WorkerPoolNetworkConfigArgs) ToWorkerPoolNetworkConfigOutputWithContext(ctx context.Context) WorkerPoolNetworkConfigOutput

func (WorkerPoolNetworkConfigArgs) ToWorkerPoolNetworkConfigPtrOutput added in v5.11.0

func (i WorkerPoolNetworkConfigArgs) ToWorkerPoolNetworkConfigPtrOutput() WorkerPoolNetworkConfigPtrOutput

func (WorkerPoolNetworkConfigArgs) ToWorkerPoolNetworkConfigPtrOutputWithContext added in v5.11.0

func (i WorkerPoolNetworkConfigArgs) ToWorkerPoolNetworkConfigPtrOutputWithContext(ctx context.Context) WorkerPoolNetworkConfigPtrOutput

type WorkerPoolNetworkConfigInput added in v5.11.0

type WorkerPoolNetworkConfigInput interface {
	pulumi.Input

	ToWorkerPoolNetworkConfigOutput() WorkerPoolNetworkConfigOutput
	ToWorkerPoolNetworkConfigOutputWithContext(context.Context) WorkerPoolNetworkConfigOutput
}

WorkerPoolNetworkConfigInput is an input type that accepts WorkerPoolNetworkConfigArgs and WorkerPoolNetworkConfigOutput values. You can construct a concrete instance of `WorkerPoolNetworkConfigInput` via:

WorkerPoolNetworkConfigArgs{...}

type WorkerPoolNetworkConfigOutput added in v5.11.0

type WorkerPoolNetworkConfigOutput struct{ *pulumi.OutputState }

func (WorkerPoolNetworkConfigOutput) ElementType added in v5.11.0

func (WorkerPoolNetworkConfigOutput) PeeredNetwork added in v5.11.0

Immutable. The network definition that the workers are peered to. If this section is left empty, the workers will be peered to `WorkerPool.project_id` on the service producer network. Must be in the format `projects/{project}/global/networks/{network}`, where `{project}` is a project number, such as `12345`, and `{network}` is the name of a VPC network in the project. See (https://cloud.google.com/cloud-build/docs/custom-workers/set-up-custom-worker-pool-environment#understanding_the_network_configuration_options)

func (WorkerPoolNetworkConfigOutput) ToWorkerPoolNetworkConfigOutput added in v5.11.0

func (o WorkerPoolNetworkConfigOutput) ToWorkerPoolNetworkConfigOutput() WorkerPoolNetworkConfigOutput

func (WorkerPoolNetworkConfigOutput) ToWorkerPoolNetworkConfigOutputWithContext added in v5.11.0

func (o WorkerPoolNetworkConfigOutput) ToWorkerPoolNetworkConfigOutputWithContext(ctx context.Context) WorkerPoolNetworkConfigOutput

func (WorkerPoolNetworkConfigOutput) ToWorkerPoolNetworkConfigPtrOutput added in v5.11.0

func (o WorkerPoolNetworkConfigOutput) ToWorkerPoolNetworkConfigPtrOutput() WorkerPoolNetworkConfigPtrOutput

func (WorkerPoolNetworkConfigOutput) ToWorkerPoolNetworkConfigPtrOutputWithContext added in v5.11.0

func (o WorkerPoolNetworkConfigOutput) ToWorkerPoolNetworkConfigPtrOutputWithContext(ctx context.Context) WorkerPoolNetworkConfigPtrOutput

type WorkerPoolNetworkConfigPtrInput added in v5.11.0

type WorkerPoolNetworkConfigPtrInput interface {
	pulumi.Input

	ToWorkerPoolNetworkConfigPtrOutput() WorkerPoolNetworkConfigPtrOutput
	ToWorkerPoolNetworkConfigPtrOutputWithContext(context.Context) WorkerPoolNetworkConfigPtrOutput
}

WorkerPoolNetworkConfigPtrInput is an input type that accepts WorkerPoolNetworkConfigArgs, WorkerPoolNetworkConfigPtr and WorkerPoolNetworkConfigPtrOutput values. You can construct a concrete instance of `WorkerPoolNetworkConfigPtrInput` via:

        WorkerPoolNetworkConfigArgs{...}

or:

        nil

func WorkerPoolNetworkConfigPtr added in v5.11.0

func WorkerPoolNetworkConfigPtr(v *WorkerPoolNetworkConfigArgs) WorkerPoolNetworkConfigPtrInput

type WorkerPoolNetworkConfigPtrOutput added in v5.11.0

type WorkerPoolNetworkConfigPtrOutput struct{ *pulumi.OutputState }

func (WorkerPoolNetworkConfigPtrOutput) Elem added in v5.11.0

func (WorkerPoolNetworkConfigPtrOutput) ElementType added in v5.11.0

func (WorkerPoolNetworkConfigPtrOutput) PeeredNetwork added in v5.11.0

Immutable. The network definition that the workers are peered to. If this section is left empty, the workers will be peered to `WorkerPool.project_id` on the service producer network. Must be in the format `projects/{project}/global/networks/{network}`, where `{project}` is a project number, such as `12345`, and `{network}` is the name of a VPC network in the project. See (https://cloud.google.com/cloud-build/docs/custom-workers/set-up-custom-worker-pool-environment#understanding_the_network_configuration_options)

func (WorkerPoolNetworkConfigPtrOutput) ToWorkerPoolNetworkConfigPtrOutput added in v5.11.0

func (o WorkerPoolNetworkConfigPtrOutput) ToWorkerPoolNetworkConfigPtrOutput() WorkerPoolNetworkConfigPtrOutput

func (WorkerPoolNetworkConfigPtrOutput) ToWorkerPoolNetworkConfigPtrOutputWithContext added in v5.11.0

func (o WorkerPoolNetworkConfigPtrOutput) ToWorkerPoolNetworkConfigPtrOutputWithContext(ctx context.Context) WorkerPoolNetworkConfigPtrOutput

type WorkerPoolOutput added in v5.11.0

type WorkerPoolOutput struct{ *pulumi.OutputState }

func (WorkerPoolOutput) ElementType added in v5.11.0

func (WorkerPoolOutput) ElementType() reflect.Type

func (WorkerPoolOutput) ToWorkerPoolOutput added in v5.11.0

func (o WorkerPoolOutput) ToWorkerPoolOutput() WorkerPoolOutput

func (WorkerPoolOutput) ToWorkerPoolOutputWithContext added in v5.11.0

func (o WorkerPoolOutput) ToWorkerPoolOutputWithContext(ctx context.Context) WorkerPoolOutput

func (WorkerPoolOutput) ToWorkerPoolPtrOutput added in v5.11.0

func (o WorkerPoolOutput) ToWorkerPoolPtrOutput() WorkerPoolPtrOutput

func (WorkerPoolOutput) ToWorkerPoolPtrOutputWithContext added in v5.11.0

func (o WorkerPoolOutput) ToWorkerPoolPtrOutputWithContext(ctx context.Context) WorkerPoolPtrOutput

type WorkerPoolPtrInput added in v5.11.0

type WorkerPoolPtrInput interface {
	pulumi.Input

	ToWorkerPoolPtrOutput() WorkerPoolPtrOutput
	ToWorkerPoolPtrOutputWithContext(ctx context.Context) WorkerPoolPtrOutput
}

type WorkerPoolPtrOutput added in v5.11.0

type WorkerPoolPtrOutput struct{ *pulumi.OutputState }

func (WorkerPoolPtrOutput) Elem added in v5.21.0

func (WorkerPoolPtrOutput) ElementType added in v5.11.0

func (WorkerPoolPtrOutput) ElementType() reflect.Type

func (WorkerPoolPtrOutput) ToWorkerPoolPtrOutput added in v5.11.0

func (o WorkerPoolPtrOutput) ToWorkerPoolPtrOutput() WorkerPoolPtrOutput

func (WorkerPoolPtrOutput) ToWorkerPoolPtrOutputWithContext added in v5.11.0

func (o WorkerPoolPtrOutput) ToWorkerPoolPtrOutputWithContext(ctx context.Context) WorkerPoolPtrOutput

type WorkerPoolState added in v5.11.0

type WorkerPoolState struct {
	// Output only. Time at which the request to create the `WorkerPool` was received.
	CreateTime pulumi.StringPtrInput
	// Output only. Time at which the request to delete the `WorkerPool` was received.
	DeleteTime pulumi.StringPtrInput
	// The location for the resource
	Location pulumi.StringPtrInput
	// User-defined name of the `WorkerPool`.
	Name pulumi.StringPtrInput
	// Network configuration for the `WorkerPool`. Structure is documented below.
	NetworkConfig WorkerPoolNetworkConfigPtrInput
	// The project for the resource
	Project pulumi.StringPtrInput
	// Output only. `WorkerPool` state. Possible values: STATE_UNSPECIFIED, PENDING, APPROVED, REJECTED, CANCELLED
	State pulumi.StringPtrInput
	// Output only. Time at which the request to update the `WorkerPool` was received.
	UpdateTime pulumi.StringPtrInput
	// Configuration to be used for a creating workers in the `WorkerPool`. Structure is documented below.
	WorkerConfig WorkerPoolWorkerConfigPtrInput
}

func (WorkerPoolState) ElementType added in v5.11.0

func (WorkerPoolState) ElementType() reflect.Type

type WorkerPoolWorkerConfig added in v5.11.0

type WorkerPoolWorkerConfig struct {
	// Size of the disk attached to the worker, in GB. See (https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file). Specify a value of up to 1000. If `0` is specified, Cloud Build will use a standard disk size.
	DiskSizeGb *int `pulumi:"diskSizeGb"`
	// Machine type of a worker, such as `n1-standard-1`. See (https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file). If left blank, Cloud Build will use `n1-standard-1`.
	MachineType *string `pulumi:"machineType"`
	// If true, workers are created without any public address, which prevents network egress to public IPs.
	NoExternalIp *bool `pulumi:"noExternalIp"`
}

type WorkerPoolWorkerConfigArgs added in v5.11.0

type WorkerPoolWorkerConfigArgs struct {
	// Size of the disk attached to the worker, in GB. See (https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file). Specify a value of up to 1000. If `0` is specified, Cloud Build will use a standard disk size.
	DiskSizeGb pulumi.IntPtrInput `pulumi:"diskSizeGb"`
	// Machine type of a worker, such as `n1-standard-1`. See (https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file). If left blank, Cloud Build will use `n1-standard-1`.
	MachineType pulumi.StringPtrInput `pulumi:"machineType"`
	// If true, workers are created without any public address, which prevents network egress to public IPs.
	NoExternalIp pulumi.BoolPtrInput `pulumi:"noExternalIp"`
}

func (WorkerPoolWorkerConfigArgs) ElementType added in v5.11.0

func (WorkerPoolWorkerConfigArgs) ElementType() reflect.Type

func (WorkerPoolWorkerConfigArgs) ToWorkerPoolWorkerConfigOutput added in v5.11.0

func (i WorkerPoolWorkerConfigArgs) ToWorkerPoolWorkerConfigOutput() WorkerPoolWorkerConfigOutput

func (WorkerPoolWorkerConfigArgs) ToWorkerPoolWorkerConfigOutputWithContext added in v5.11.0

func (i WorkerPoolWorkerConfigArgs) ToWorkerPoolWorkerConfigOutputWithContext(ctx context.Context) WorkerPoolWorkerConfigOutput

func (WorkerPoolWorkerConfigArgs) ToWorkerPoolWorkerConfigPtrOutput added in v5.11.0

func (i WorkerPoolWorkerConfigArgs) ToWorkerPoolWorkerConfigPtrOutput() WorkerPoolWorkerConfigPtrOutput

func (WorkerPoolWorkerConfigArgs) ToWorkerPoolWorkerConfigPtrOutputWithContext added in v5.11.0

func (i WorkerPoolWorkerConfigArgs) ToWorkerPoolWorkerConfigPtrOutputWithContext(ctx context.Context) WorkerPoolWorkerConfigPtrOutput

type WorkerPoolWorkerConfigInput added in v5.11.0

type WorkerPoolWorkerConfigInput interface {
	pulumi.Input

	ToWorkerPoolWorkerConfigOutput() WorkerPoolWorkerConfigOutput
	ToWorkerPoolWorkerConfigOutputWithContext(context.Context) WorkerPoolWorkerConfigOutput
}

WorkerPoolWorkerConfigInput is an input type that accepts WorkerPoolWorkerConfigArgs and WorkerPoolWorkerConfigOutput values. You can construct a concrete instance of `WorkerPoolWorkerConfigInput` via:

WorkerPoolWorkerConfigArgs{...}

type WorkerPoolWorkerConfigOutput added in v5.11.0

type WorkerPoolWorkerConfigOutput struct{ *pulumi.OutputState }

func (WorkerPoolWorkerConfigOutput) DiskSizeGb added in v5.11.0

Size of the disk attached to the worker, in GB. See (https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file). Specify a value of up to 1000. If `0` is specified, Cloud Build will use a standard disk size.

func (WorkerPoolWorkerConfigOutput) ElementType added in v5.11.0

func (WorkerPoolWorkerConfigOutput) MachineType added in v5.11.0

Machine type of a worker, such as `n1-standard-1`. See (https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file). If left blank, Cloud Build will use `n1-standard-1`.

func (WorkerPoolWorkerConfigOutput) NoExternalIp added in v5.11.0

If true, workers are created without any public address, which prevents network egress to public IPs.

func (WorkerPoolWorkerConfigOutput) ToWorkerPoolWorkerConfigOutput added in v5.11.0

func (o WorkerPoolWorkerConfigOutput) ToWorkerPoolWorkerConfigOutput() WorkerPoolWorkerConfigOutput

func (WorkerPoolWorkerConfigOutput) ToWorkerPoolWorkerConfigOutputWithContext added in v5.11.0

func (o WorkerPoolWorkerConfigOutput) ToWorkerPoolWorkerConfigOutputWithContext(ctx context.Context) WorkerPoolWorkerConfigOutput

func (WorkerPoolWorkerConfigOutput) ToWorkerPoolWorkerConfigPtrOutput added in v5.11.0

func (o WorkerPoolWorkerConfigOutput) ToWorkerPoolWorkerConfigPtrOutput() WorkerPoolWorkerConfigPtrOutput

func (WorkerPoolWorkerConfigOutput) ToWorkerPoolWorkerConfigPtrOutputWithContext added in v5.11.0

func (o WorkerPoolWorkerConfigOutput) ToWorkerPoolWorkerConfigPtrOutputWithContext(ctx context.Context) WorkerPoolWorkerConfigPtrOutput

type WorkerPoolWorkerConfigPtrInput added in v5.11.0

type WorkerPoolWorkerConfigPtrInput interface {
	pulumi.Input

	ToWorkerPoolWorkerConfigPtrOutput() WorkerPoolWorkerConfigPtrOutput
	ToWorkerPoolWorkerConfigPtrOutputWithContext(context.Context) WorkerPoolWorkerConfigPtrOutput
}

WorkerPoolWorkerConfigPtrInput is an input type that accepts WorkerPoolWorkerConfigArgs, WorkerPoolWorkerConfigPtr and WorkerPoolWorkerConfigPtrOutput values. You can construct a concrete instance of `WorkerPoolWorkerConfigPtrInput` via:

        WorkerPoolWorkerConfigArgs{...}

or:

        nil

func WorkerPoolWorkerConfigPtr added in v5.11.0

func WorkerPoolWorkerConfigPtr(v *WorkerPoolWorkerConfigArgs) WorkerPoolWorkerConfigPtrInput

type WorkerPoolWorkerConfigPtrOutput added in v5.11.0

type WorkerPoolWorkerConfigPtrOutput struct{ *pulumi.OutputState }

func (WorkerPoolWorkerConfigPtrOutput) DiskSizeGb added in v5.11.0

Size of the disk attached to the worker, in GB. See (https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file). Specify a value of up to 1000. If `0` is specified, Cloud Build will use a standard disk size.

func (WorkerPoolWorkerConfigPtrOutput) Elem added in v5.11.0

func (WorkerPoolWorkerConfigPtrOutput) ElementType added in v5.11.0

func (WorkerPoolWorkerConfigPtrOutput) MachineType added in v5.11.0

Machine type of a worker, such as `n1-standard-1`. See (https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file). If left blank, Cloud Build will use `n1-standard-1`.

func (WorkerPoolWorkerConfigPtrOutput) NoExternalIp added in v5.11.0

If true, workers are created without any public address, which prevents network egress to public IPs.

func (WorkerPoolWorkerConfigPtrOutput) ToWorkerPoolWorkerConfigPtrOutput added in v5.11.0

func (o WorkerPoolWorkerConfigPtrOutput) ToWorkerPoolWorkerConfigPtrOutput() WorkerPoolWorkerConfigPtrOutput

func (WorkerPoolWorkerConfigPtrOutput) ToWorkerPoolWorkerConfigPtrOutputWithContext added in v5.11.0

func (o WorkerPoolWorkerConfigPtrOutput) ToWorkerPoolWorkerConfigPtrOutputWithContext(ctx context.Context) WorkerPoolWorkerConfigPtrOutput

Jump to

Keyboard shortcuts

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