cloudbuild

package
v7.20.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 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 BitbucketServerConfig

type BitbucketServerConfig struct {
	pulumi.CustomResourceState

	// Immutable. API Key that will be attached to webhook. Once this field has been set, it cannot be changed.
	// Changing this field will result in deleting/ recreating the resource.
	ApiKey pulumi.StringOutput `pulumi:"apiKey"`
	// The ID to use for the BitbucketServerConfig, which will become the final component of the BitbucketServerConfig's resource name.
	ConfigId pulumi.StringOutput `pulumi:"configId"`
	// Connected Bitbucket Server repositories for this config.
	ConnectedRepositories BitbucketServerConfigConnectedRepositoryArrayOutput `pulumi:"connectedRepositories"`
	// Immutable. The URI of the Bitbucket Server host. Once this field has been set, it cannot be changed.
	// If you need to change it, please create another BitbucketServerConfig.
	HostUri pulumi.StringOutput `pulumi:"hostUri"`
	// The location of this bitbucket server config.
	Location pulumi.StringOutput `pulumi:"location"`
	// The resource name for the config.
	Name pulumi.StringOutput `pulumi:"name"`
	// The network to be used when reaching out to the Bitbucket Server instance. The VPC network must be enabled for private
	// service connection. This should be set if the Bitbucket Server instance is hosted on-premises and not reachable by
	// public internet. If this field is left empty, no network peering will occur and calls to the Bitbucket Server instance
	// will be made over the public internet. Must be in the format projects/{project}/global/networks/{network}, where
	// {project} is a project number or id and {network} is the name of a VPC network in the project.
	PeeredNetwork pulumi.StringPtrOutput `pulumi:"peeredNetwork"`
	Project       pulumi.StringOutput    `pulumi:"project"`
	// Secret Manager secrets needed by the config.
	// Structure is documented below.
	Secrets BitbucketServerConfigSecretsOutput `pulumi:"secrets"`
	// SSL certificate to use for requests to Bitbucket Server. The format should be PEM format but the extension can be one of
	// .pem, .cer, or .crt.
	SslCa pulumi.StringPtrOutput `pulumi:"sslCa"`
	// Username of the account Cloud Build will use on Bitbucket Server.
	Username pulumi.StringOutput `pulumi:"username"`
	// Output only. UUID included in webhook requests. The UUID is used to look up the corresponding config.
	WebhookKey pulumi.StringOutput `pulumi:"webhookKey"`
}

BitbucketServerConfig represents the configuration for a Bitbucket Server.

To get more information about BitbucketServerConfig, see:

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

## Example Usage

### Cloudbuild Bitbucket Server Config

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudbuild.NewBitbucketServerConfig(ctx, "bbs-config", &cloudbuild.BitbucketServerConfigArgs{
			ConfigId: pulumi.String("bbs-config"),
			Location: pulumi.String("us-central1"),
			HostUri:  pulumi.String("https://bbs.com"),
			Secrets: &cloudbuild.BitbucketServerConfigSecretsArgs{
				AdminAccessTokenVersionName: pulumi.String("projects/myProject/secrets/mybbspat/versions/1"),
				ReadAccessTokenVersionName:  pulumi.String("projects/myProject/secrets/mybbspat/versions/1"),
				WebhookSecretVersionName:    pulumi.String("projects/myProject/secrets/mybbspat/versions/1"),
			},
			Username: pulumi.String("test"),
			ApiKey:   pulumi.String("<api-key>"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Cloudbuild Bitbucket Server Config Repositories

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudbuild.NewBitbucketServerConfig(ctx, "bbs-config-with-repos", &cloudbuild.BitbucketServerConfigArgs{
			ConfigId: pulumi.String("bbs-config"),
			Location: pulumi.String("us-central1"),
			HostUri:  pulumi.String("https://bbs.com"),
			Secrets: &cloudbuild.BitbucketServerConfigSecretsArgs{
				AdminAccessTokenVersionName: pulumi.String("projects/myProject/secrets/mybbspat/versions/1"),
				ReadAccessTokenVersionName:  pulumi.String("projects/myProject/secrets/mybbspat/versions/1"),
				WebhookSecretVersionName:    pulumi.String("projects/myProject/secrets/mybbspat/versions/1"),
			},
			Username: pulumi.String("test"),
			ApiKey:   pulumi.String("<api-key>"),
			ConnectedRepositories: cloudbuild.BitbucketServerConfigConnectedRepositoryArray{
				&cloudbuild.BitbucketServerConfigConnectedRepositoryArgs{
					ProjectKey: pulumi.String("DEV"),
					RepoSlug:   pulumi.String("repo1"),
				},
				&cloudbuild.BitbucketServerConfigConnectedRepositoryArgs{
					ProjectKey: pulumi.String("PROD"),
					RepoSlug:   pulumi.String("repo1"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Cloudbuild Bitbucket Server Config Peered Network

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/cloudbuild"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/organizations"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/projects"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/servicenetworking"
"github.com/pulumi/pulumi-std/sdk/go/std"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := organizations.LookupProject(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = projects.NewService(ctx, "servicenetworking", &projects.ServiceArgs{
			Service:          pulumi.String("servicenetworking.googleapis.com"),
			DisableOnDestroy: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		vpcNetwork, err := compute.NewNetwork(ctx, "vpc_network", &compute.NetworkArgs{
			Name: pulumi.String("vpc-network"),
		})
		if err != nil {
			return err
		}
		privateIpAlloc, err := compute.NewGlobalAddress(ctx, "private_ip_alloc", &compute.GlobalAddressArgs{
			Name:         pulumi.String("private-ip-alloc"),
			Purpose:      pulumi.String("VPC_PEERING"),
			AddressType:  pulumi.String("INTERNAL"),
			PrefixLength: pulumi.Int(16),
			Network:      vpcNetwork.ID(),
		})
		if err != nil {
			return err
		}
		_, err = servicenetworking.NewConnection(ctx, "default", &servicenetworking.ConnectionArgs{
			Network: vpcNetwork.ID(),
			Service: pulumi.String("servicenetworking.googleapis.com"),
			ReservedPeeringRanges: pulumi.StringArray{
				privateIpAlloc.Name,
			},
		})
		if err != nil {
			return err
		}
		_, err = cloudbuild.NewBitbucketServerConfig(ctx, "bbs-config-with-peered-network", &cloudbuild.BitbucketServerConfigArgs{
			ConfigId: pulumi.String("bbs-config"),
			Location: pulumi.String("us-central1"),
			HostUri:  pulumi.String("https://bbs.com"),
			Secrets: &cloudbuild.BitbucketServerConfigSecretsArgs{
				AdminAccessTokenVersionName: pulumi.String("projects/myProject/secrets/mybbspat/versions/1"),
				ReadAccessTokenVersionName:  pulumi.String("projects/myProject/secrets/mybbspat/versions/1"),
				WebhookSecretVersionName:    pulumi.String("projects/myProject/secrets/mybbspat/versions/1"),
			},
			Username: pulumi.String("test"),
			ApiKey:   pulumi.String("<api-key>"),
			PeeredNetwork: vpcNetwork.ID().ApplyT(func(id string) (std.ReplaceResult, error) {
				return std.ReplaceOutput(ctx, std.ReplaceOutputArgs{
					Text:    id,
					Search:  project.Name,
					Replace: project.Number,
				}, nil), nil
			}).(std.ReplaceResultOutput).ApplyT(func(invoke std.ReplaceResult) (*string, error) {
				return invoke.Result, nil
			}).(pulumi.StringPtrOutput),
			SslCa: pulumi.String("-----BEGIN CERTIFICATE-----\n-----END CERTIFICATE-----\n-----BEGIN CERTIFICATE-----\n-----END CERTIFICATE-----\n"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

BitbucketServerConfig can be imported using any of these accepted formats:

* `projects/{{project}}/locations/{{location}}/bitbucketServerConfigs/{{config_id}}`

* `{{project}}/{{location}}/{{config_id}}`

* `{{location}}/{{config_id}}`

When using the `pulumi import` command, BitbucketServerConfig can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:cloudbuild/bitbucketServerConfig:BitbucketServerConfig default projects/{{project}}/locations/{{location}}/bitbucketServerConfigs/{{config_id}} ```

```sh $ pulumi import gcp:cloudbuild/bitbucketServerConfig:BitbucketServerConfig default {{project}}/{{location}}/{{config_id}} ```

```sh $ pulumi import gcp:cloudbuild/bitbucketServerConfig:BitbucketServerConfig default {{location}}/{{config_id}} ```

func GetBitbucketServerConfig

func GetBitbucketServerConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BitbucketServerConfigState, opts ...pulumi.ResourceOption) (*BitbucketServerConfig, error)

GetBitbucketServerConfig gets an existing BitbucketServerConfig 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 NewBitbucketServerConfig

func NewBitbucketServerConfig(ctx *pulumi.Context,
	name string, args *BitbucketServerConfigArgs, opts ...pulumi.ResourceOption) (*BitbucketServerConfig, error)

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

func (*BitbucketServerConfig) ElementType

func (*BitbucketServerConfig) ElementType() reflect.Type

func (*BitbucketServerConfig) ToBitbucketServerConfigOutput

func (i *BitbucketServerConfig) ToBitbucketServerConfigOutput() BitbucketServerConfigOutput

func (*BitbucketServerConfig) ToBitbucketServerConfigOutputWithContext

func (i *BitbucketServerConfig) ToBitbucketServerConfigOutputWithContext(ctx context.Context) BitbucketServerConfigOutput

type BitbucketServerConfigArgs

type BitbucketServerConfigArgs struct {
	// Immutable. API Key that will be attached to webhook. Once this field has been set, it cannot be changed.
	// Changing this field will result in deleting/ recreating the resource.
	ApiKey pulumi.StringInput
	// The ID to use for the BitbucketServerConfig, which will become the final component of the BitbucketServerConfig's resource name.
	ConfigId pulumi.StringInput
	// Connected Bitbucket Server repositories for this config.
	ConnectedRepositories BitbucketServerConfigConnectedRepositoryArrayInput
	// Immutable. The URI of the Bitbucket Server host. Once this field has been set, it cannot be changed.
	// If you need to change it, please create another BitbucketServerConfig.
	HostUri pulumi.StringInput
	// The location of this bitbucket server config.
	Location pulumi.StringInput
	// The network to be used when reaching out to the Bitbucket Server instance. The VPC network must be enabled for private
	// service connection. This should be set if the Bitbucket Server instance is hosted on-premises and not reachable by
	// public internet. If this field is left empty, no network peering will occur and calls to the Bitbucket Server instance
	// will be made over the public internet. Must be in the format projects/{project}/global/networks/{network}, where
	// {project} is a project number or id and {network} is the name of a VPC network in the project.
	PeeredNetwork pulumi.StringPtrInput
	Project       pulumi.StringPtrInput
	// Secret Manager secrets needed by the config.
	// Structure is documented below.
	Secrets BitbucketServerConfigSecretsInput
	// SSL certificate to use for requests to Bitbucket Server. The format should be PEM format but the extension can be one of
	// .pem, .cer, or .crt.
	SslCa pulumi.StringPtrInput
	// Username of the account Cloud Build will use on Bitbucket Server.
	Username pulumi.StringInput
}

The set of arguments for constructing a BitbucketServerConfig resource.

func (BitbucketServerConfigArgs) ElementType

func (BitbucketServerConfigArgs) ElementType() reflect.Type

type BitbucketServerConfigArray

type BitbucketServerConfigArray []BitbucketServerConfigInput

func (BitbucketServerConfigArray) ElementType

func (BitbucketServerConfigArray) ElementType() reflect.Type

func (BitbucketServerConfigArray) ToBitbucketServerConfigArrayOutput

func (i BitbucketServerConfigArray) ToBitbucketServerConfigArrayOutput() BitbucketServerConfigArrayOutput

func (BitbucketServerConfigArray) ToBitbucketServerConfigArrayOutputWithContext

func (i BitbucketServerConfigArray) ToBitbucketServerConfigArrayOutputWithContext(ctx context.Context) BitbucketServerConfigArrayOutput

type BitbucketServerConfigArrayInput

type BitbucketServerConfigArrayInput interface {
	pulumi.Input

	ToBitbucketServerConfigArrayOutput() BitbucketServerConfigArrayOutput
	ToBitbucketServerConfigArrayOutputWithContext(context.Context) BitbucketServerConfigArrayOutput
}

BitbucketServerConfigArrayInput is an input type that accepts BitbucketServerConfigArray and BitbucketServerConfigArrayOutput values. You can construct a concrete instance of `BitbucketServerConfigArrayInput` via:

BitbucketServerConfigArray{ BitbucketServerConfigArgs{...} }

type BitbucketServerConfigArrayOutput

type BitbucketServerConfigArrayOutput struct{ *pulumi.OutputState }

func (BitbucketServerConfigArrayOutput) ElementType

func (BitbucketServerConfigArrayOutput) Index

func (BitbucketServerConfigArrayOutput) ToBitbucketServerConfigArrayOutput

func (o BitbucketServerConfigArrayOutput) ToBitbucketServerConfigArrayOutput() BitbucketServerConfigArrayOutput

func (BitbucketServerConfigArrayOutput) ToBitbucketServerConfigArrayOutputWithContext

func (o BitbucketServerConfigArrayOutput) ToBitbucketServerConfigArrayOutputWithContext(ctx context.Context) BitbucketServerConfigArrayOutput

type BitbucketServerConfigConnectedRepository

type BitbucketServerConfigConnectedRepository struct {
	// Identifier for the project storing the repository.
	ProjectKey string `pulumi:"projectKey"`
	// Identifier for the repository.
	RepoSlug string `pulumi:"repoSlug"`
}

type BitbucketServerConfigConnectedRepositoryArgs

type BitbucketServerConfigConnectedRepositoryArgs struct {
	// Identifier for the project storing the repository.
	ProjectKey pulumi.StringInput `pulumi:"projectKey"`
	// Identifier for the repository.
	RepoSlug pulumi.StringInput `pulumi:"repoSlug"`
}

func (BitbucketServerConfigConnectedRepositoryArgs) ElementType

func (BitbucketServerConfigConnectedRepositoryArgs) ToBitbucketServerConfigConnectedRepositoryOutput

func (i BitbucketServerConfigConnectedRepositoryArgs) ToBitbucketServerConfigConnectedRepositoryOutput() BitbucketServerConfigConnectedRepositoryOutput

func (BitbucketServerConfigConnectedRepositoryArgs) ToBitbucketServerConfigConnectedRepositoryOutputWithContext

func (i BitbucketServerConfigConnectedRepositoryArgs) ToBitbucketServerConfigConnectedRepositoryOutputWithContext(ctx context.Context) BitbucketServerConfigConnectedRepositoryOutput

type BitbucketServerConfigConnectedRepositoryArray

type BitbucketServerConfigConnectedRepositoryArray []BitbucketServerConfigConnectedRepositoryInput

func (BitbucketServerConfigConnectedRepositoryArray) ElementType

func (BitbucketServerConfigConnectedRepositoryArray) ToBitbucketServerConfigConnectedRepositoryArrayOutput

func (i BitbucketServerConfigConnectedRepositoryArray) ToBitbucketServerConfigConnectedRepositoryArrayOutput() BitbucketServerConfigConnectedRepositoryArrayOutput

func (BitbucketServerConfigConnectedRepositoryArray) ToBitbucketServerConfigConnectedRepositoryArrayOutputWithContext

func (i BitbucketServerConfigConnectedRepositoryArray) ToBitbucketServerConfigConnectedRepositoryArrayOutputWithContext(ctx context.Context) BitbucketServerConfigConnectedRepositoryArrayOutput

type BitbucketServerConfigConnectedRepositoryArrayInput

type BitbucketServerConfigConnectedRepositoryArrayInput interface {
	pulumi.Input

	ToBitbucketServerConfigConnectedRepositoryArrayOutput() BitbucketServerConfigConnectedRepositoryArrayOutput
	ToBitbucketServerConfigConnectedRepositoryArrayOutputWithContext(context.Context) BitbucketServerConfigConnectedRepositoryArrayOutput
}

BitbucketServerConfigConnectedRepositoryArrayInput is an input type that accepts BitbucketServerConfigConnectedRepositoryArray and BitbucketServerConfigConnectedRepositoryArrayOutput values. You can construct a concrete instance of `BitbucketServerConfigConnectedRepositoryArrayInput` via:

BitbucketServerConfigConnectedRepositoryArray{ BitbucketServerConfigConnectedRepositoryArgs{...} }

type BitbucketServerConfigConnectedRepositoryArrayOutput

type BitbucketServerConfigConnectedRepositoryArrayOutput struct{ *pulumi.OutputState }

func (BitbucketServerConfigConnectedRepositoryArrayOutput) ElementType

func (BitbucketServerConfigConnectedRepositoryArrayOutput) Index

func (BitbucketServerConfigConnectedRepositoryArrayOutput) ToBitbucketServerConfigConnectedRepositoryArrayOutput

func (o BitbucketServerConfigConnectedRepositoryArrayOutput) ToBitbucketServerConfigConnectedRepositoryArrayOutput() BitbucketServerConfigConnectedRepositoryArrayOutput

func (BitbucketServerConfigConnectedRepositoryArrayOutput) ToBitbucketServerConfigConnectedRepositoryArrayOutputWithContext

func (o BitbucketServerConfigConnectedRepositoryArrayOutput) ToBitbucketServerConfigConnectedRepositoryArrayOutputWithContext(ctx context.Context) BitbucketServerConfigConnectedRepositoryArrayOutput

type BitbucketServerConfigConnectedRepositoryInput

type BitbucketServerConfigConnectedRepositoryInput interface {
	pulumi.Input

	ToBitbucketServerConfigConnectedRepositoryOutput() BitbucketServerConfigConnectedRepositoryOutput
	ToBitbucketServerConfigConnectedRepositoryOutputWithContext(context.Context) BitbucketServerConfigConnectedRepositoryOutput
}

BitbucketServerConfigConnectedRepositoryInput is an input type that accepts BitbucketServerConfigConnectedRepositoryArgs and BitbucketServerConfigConnectedRepositoryOutput values. You can construct a concrete instance of `BitbucketServerConfigConnectedRepositoryInput` via:

BitbucketServerConfigConnectedRepositoryArgs{...}

type BitbucketServerConfigConnectedRepositoryOutput

type BitbucketServerConfigConnectedRepositoryOutput struct{ *pulumi.OutputState }

func (BitbucketServerConfigConnectedRepositoryOutput) ElementType

func (BitbucketServerConfigConnectedRepositoryOutput) ProjectKey

Identifier for the project storing the repository.

func (BitbucketServerConfigConnectedRepositoryOutput) RepoSlug

Identifier for the repository.

func (BitbucketServerConfigConnectedRepositoryOutput) ToBitbucketServerConfigConnectedRepositoryOutput

func (o BitbucketServerConfigConnectedRepositoryOutput) ToBitbucketServerConfigConnectedRepositoryOutput() BitbucketServerConfigConnectedRepositoryOutput

func (BitbucketServerConfigConnectedRepositoryOutput) ToBitbucketServerConfigConnectedRepositoryOutputWithContext

func (o BitbucketServerConfigConnectedRepositoryOutput) ToBitbucketServerConfigConnectedRepositoryOutputWithContext(ctx context.Context) BitbucketServerConfigConnectedRepositoryOutput

type BitbucketServerConfigInput

type BitbucketServerConfigInput interface {
	pulumi.Input

	ToBitbucketServerConfigOutput() BitbucketServerConfigOutput
	ToBitbucketServerConfigOutputWithContext(ctx context.Context) BitbucketServerConfigOutput
}

type BitbucketServerConfigMap

type BitbucketServerConfigMap map[string]BitbucketServerConfigInput

func (BitbucketServerConfigMap) ElementType

func (BitbucketServerConfigMap) ElementType() reflect.Type

func (BitbucketServerConfigMap) ToBitbucketServerConfigMapOutput

func (i BitbucketServerConfigMap) ToBitbucketServerConfigMapOutput() BitbucketServerConfigMapOutput

func (BitbucketServerConfigMap) ToBitbucketServerConfigMapOutputWithContext

func (i BitbucketServerConfigMap) ToBitbucketServerConfigMapOutputWithContext(ctx context.Context) BitbucketServerConfigMapOutput

type BitbucketServerConfigMapInput

type BitbucketServerConfigMapInput interface {
	pulumi.Input

	ToBitbucketServerConfigMapOutput() BitbucketServerConfigMapOutput
	ToBitbucketServerConfigMapOutputWithContext(context.Context) BitbucketServerConfigMapOutput
}

BitbucketServerConfigMapInput is an input type that accepts BitbucketServerConfigMap and BitbucketServerConfigMapOutput values. You can construct a concrete instance of `BitbucketServerConfigMapInput` via:

BitbucketServerConfigMap{ "key": BitbucketServerConfigArgs{...} }

type BitbucketServerConfigMapOutput

type BitbucketServerConfigMapOutput struct{ *pulumi.OutputState }

func (BitbucketServerConfigMapOutput) ElementType

func (BitbucketServerConfigMapOutput) MapIndex

func (BitbucketServerConfigMapOutput) ToBitbucketServerConfigMapOutput

func (o BitbucketServerConfigMapOutput) ToBitbucketServerConfigMapOutput() BitbucketServerConfigMapOutput

func (BitbucketServerConfigMapOutput) ToBitbucketServerConfigMapOutputWithContext

func (o BitbucketServerConfigMapOutput) ToBitbucketServerConfigMapOutputWithContext(ctx context.Context) BitbucketServerConfigMapOutput

type BitbucketServerConfigOutput

type BitbucketServerConfigOutput struct{ *pulumi.OutputState }

func (BitbucketServerConfigOutput) ApiKey

Immutable. API Key that will be attached to webhook. Once this field has been set, it cannot be changed. Changing this field will result in deleting/ recreating the resource.

func (BitbucketServerConfigOutput) ConfigId

The ID to use for the BitbucketServerConfig, which will become the final component of the BitbucketServerConfig's resource name.

func (BitbucketServerConfigOutput) ConnectedRepositories

Connected Bitbucket Server repositories for this config.

func (BitbucketServerConfigOutput) ElementType

func (BitbucketServerConfigOutput) HostUri

Immutable. The URI of the Bitbucket Server host. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.

func (BitbucketServerConfigOutput) Location

The location of this bitbucket server config.

func (BitbucketServerConfigOutput) Name

The resource name for the config.

func (BitbucketServerConfigOutput) PeeredNetwork

The network to be used when reaching out to the Bitbucket Server instance. The VPC network must be enabled for private service connection. This should be set if the Bitbucket Server instance is hosted on-premises and not reachable by public internet. If this field is left empty, no network peering will occur and calls to the Bitbucket Server instance will be made over the public internet. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number or id and {network} is the name of a VPC network in the project.

func (BitbucketServerConfigOutput) Project

func (BitbucketServerConfigOutput) Secrets

Secret Manager secrets needed by the config. Structure is documented below.

func (BitbucketServerConfigOutput) SslCa

SSL certificate to use for requests to Bitbucket Server. The format should be PEM format but the extension can be one of .pem, .cer, or .crt.

func (BitbucketServerConfigOutput) ToBitbucketServerConfigOutput

func (o BitbucketServerConfigOutput) ToBitbucketServerConfigOutput() BitbucketServerConfigOutput

func (BitbucketServerConfigOutput) ToBitbucketServerConfigOutputWithContext

func (o BitbucketServerConfigOutput) ToBitbucketServerConfigOutputWithContext(ctx context.Context) BitbucketServerConfigOutput

func (BitbucketServerConfigOutput) Username

Username of the account Cloud Build will use on Bitbucket Server.

func (BitbucketServerConfigOutput) WebhookKey

Output only. UUID included in webhook requests. The UUID is used to look up the corresponding config.

type BitbucketServerConfigSecrets

type BitbucketServerConfigSecrets struct {
	// The resource name for the admin access token's secret version.
	AdminAccessTokenVersionName string `pulumi:"adminAccessTokenVersionName"`
	// The resource name for the read access token's secret version.
	ReadAccessTokenVersionName string `pulumi:"readAccessTokenVersionName"`
	// Immutable. The resource name for the webhook secret's secret version. Once this field has been set, it cannot be changed.
	// Changing this field will result in deleting/ recreating the resource.
	//
	// ***
	WebhookSecretVersionName string `pulumi:"webhookSecretVersionName"`
}

type BitbucketServerConfigSecretsArgs

type BitbucketServerConfigSecretsArgs struct {
	// The resource name for the admin access token's secret version.
	AdminAccessTokenVersionName pulumi.StringInput `pulumi:"adminAccessTokenVersionName"`
	// The resource name for the read access token's secret version.
	ReadAccessTokenVersionName pulumi.StringInput `pulumi:"readAccessTokenVersionName"`
	// Immutable. The resource name for the webhook secret's secret version. Once this field has been set, it cannot be changed.
	// Changing this field will result in deleting/ recreating the resource.
	//
	// ***
	WebhookSecretVersionName pulumi.StringInput `pulumi:"webhookSecretVersionName"`
}

func (BitbucketServerConfigSecretsArgs) ElementType

func (BitbucketServerConfigSecretsArgs) ToBitbucketServerConfigSecretsOutput

func (i BitbucketServerConfigSecretsArgs) ToBitbucketServerConfigSecretsOutput() BitbucketServerConfigSecretsOutput

func (BitbucketServerConfigSecretsArgs) ToBitbucketServerConfigSecretsOutputWithContext

func (i BitbucketServerConfigSecretsArgs) ToBitbucketServerConfigSecretsOutputWithContext(ctx context.Context) BitbucketServerConfigSecretsOutput

func (BitbucketServerConfigSecretsArgs) ToBitbucketServerConfigSecretsPtrOutput

func (i BitbucketServerConfigSecretsArgs) ToBitbucketServerConfigSecretsPtrOutput() BitbucketServerConfigSecretsPtrOutput

func (BitbucketServerConfigSecretsArgs) ToBitbucketServerConfigSecretsPtrOutputWithContext

func (i BitbucketServerConfigSecretsArgs) ToBitbucketServerConfigSecretsPtrOutputWithContext(ctx context.Context) BitbucketServerConfigSecretsPtrOutput

type BitbucketServerConfigSecretsInput

type BitbucketServerConfigSecretsInput interface {
	pulumi.Input

	ToBitbucketServerConfigSecretsOutput() BitbucketServerConfigSecretsOutput
	ToBitbucketServerConfigSecretsOutputWithContext(context.Context) BitbucketServerConfigSecretsOutput
}

BitbucketServerConfigSecretsInput is an input type that accepts BitbucketServerConfigSecretsArgs and BitbucketServerConfigSecretsOutput values. You can construct a concrete instance of `BitbucketServerConfigSecretsInput` via:

BitbucketServerConfigSecretsArgs{...}

type BitbucketServerConfigSecretsOutput

type BitbucketServerConfigSecretsOutput struct{ *pulumi.OutputState }

func (BitbucketServerConfigSecretsOutput) AdminAccessTokenVersionName

func (o BitbucketServerConfigSecretsOutput) AdminAccessTokenVersionName() pulumi.StringOutput

The resource name for the admin access token's secret version.

func (BitbucketServerConfigSecretsOutput) ElementType

func (BitbucketServerConfigSecretsOutput) ReadAccessTokenVersionName

func (o BitbucketServerConfigSecretsOutput) ReadAccessTokenVersionName() pulumi.StringOutput

The resource name for the read access token's secret version.

func (BitbucketServerConfigSecretsOutput) ToBitbucketServerConfigSecretsOutput

func (o BitbucketServerConfigSecretsOutput) ToBitbucketServerConfigSecretsOutput() BitbucketServerConfigSecretsOutput

func (BitbucketServerConfigSecretsOutput) ToBitbucketServerConfigSecretsOutputWithContext

func (o BitbucketServerConfigSecretsOutput) ToBitbucketServerConfigSecretsOutputWithContext(ctx context.Context) BitbucketServerConfigSecretsOutput

func (BitbucketServerConfigSecretsOutput) ToBitbucketServerConfigSecretsPtrOutput

func (o BitbucketServerConfigSecretsOutput) ToBitbucketServerConfigSecretsPtrOutput() BitbucketServerConfigSecretsPtrOutput

func (BitbucketServerConfigSecretsOutput) ToBitbucketServerConfigSecretsPtrOutputWithContext

func (o BitbucketServerConfigSecretsOutput) ToBitbucketServerConfigSecretsPtrOutputWithContext(ctx context.Context) BitbucketServerConfigSecretsPtrOutput

func (BitbucketServerConfigSecretsOutput) WebhookSecretVersionName

func (o BitbucketServerConfigSecretsOutput) WebhookSecretVersionName() pulumi.StringOutput

Immutable. The resource name for the webhook secret's secret version. Once this field has been set, it cannot be changed. Changing this field will result in deleting/ recreating the resource.

***

type BitbucketServerConfigSecretsPtrInput

type BitbucketServerConfigSecretsPtrInput interface {
	pulumi.Input

	ToBitbucketServerConfigSecretsPtrOutput() BitbucketServerConfigSecretsPtrOutput
	ToBitbucketServerConfigSecretsPtrOutputWithContext(context.Context) BitbucketServerConfigSecretsPtrOutput
}

BitbucketServerConfigSecretsPtrInput is an input type that accepts BitbucketServerConfigSecretsArgs, BitbucketServerConfigSecretsPtr and BitbucketServerConfigSecretsPtrOutput values. You can construct a concrete instance of `BitbucketServerConfigSecretsPtrInput` via:

        BitbucketServerConfigSecretsArgs{...}

or:

        nil

type BitbucketServerConfigSecretsPtrOutput

type BitbucketServerConfigSecretsPtrOutput struct{ *pulumi.OutputState }

func (BitbucketServerConfigSecretsPtrOutput) AdminAccessTokenVersionName

func (o BitbucketServerConfigSecretsPtrOutput) AdminAccessTokenVersionName() pulumi.StringPtrOutput

The resource name for the admin access token's secret version.

func (BitbucketServerConfigSecretsPtrOutput) Elem

func (BitbucketServerConfigSecretsPtrOutput) ElementType

func (BitbucketServerConfigSecretsPtrOutput) ReadAccessTokenVersionName

func (o BitbucketServerConfigSecretsPtrOutput) ReadAccessTokenVersionName() pulumi.StringPtrOutput

The resource name for the read access token's secret version.

func (BitbucketServerConfigSecretsPtrOutput) ToBitbucketServerConfigSecretsPtrOutput

func (o BitbucketServerConfigSecretsPtrOutput) ToBitbucketServerConfigSecretsPtrOutput() BitbucketServerConfigSecretsPtrOutput

func (BitbucketServerConfigSecretsPtrOutput) ToBitbucketServerConfigSecretsPtrOutputWithContext

func (o BitbucketServerConfigSecretsPtrOutput) ToBitbucketServerConfigSecretsPtrOutputWithContext(ctx context.Context) BitbucketServerConfigSecretsPtrOutput

func (BitbucketServerConfigSecretsPtrOutput) WebhookSecretVersionName

func (o BitbucketServerConfigSecretsPtrOutput) WebhookSecretVersionName() pulumi.StringPtrOutput

Immutable. The resource name for the webhook secret's secret version. Once this field has been set, it cannot be changed. Changing this field will result in deleting/ recreating the resource.

***

type BitbucketServerConfigState

type BitbucketServerConfigState struct {
	// Immutable. API Key that will be attached to webhook. Once this field has been set, it cannot be changed.
	// Changing this field will result in deleting/ recreating the resource.
	ApiKey pulumi.StringPtrInput
	// The ID to use for the BitbucketServerConfig, which will become the final component of the BitbucketServerConfig's resource name.
	ConfigId pulumi.StringPtrInput
	// Connected Bitbucket Server repositories for this config.
	ConnectedRepositories BitbucketServerConfigConnectedRepositoryArrayInput
	// Immutable. The URI of the Bitbucket Server host. Once this field has been set, it cannot be changed.
	// If you need to change it, please create another BitbucketServerConfig.
	HostUri pulumi.StringPtrInput
	// The location of this bitbucket server config.
	Location pulumi.StringPtrInput
	// The resource name for the config.
	Name pulumi.StringPtrInput
	// The network to be used when reaching out to the Bitbucket Server instance. The VPC network must be enabled for private
	// service connection. This should be set if the Bitbucket Server instance is hosted on-premises and not reachable by
	// public internet. If this field is left empty, no network peering will occur and calls to the Bitbucket Server instance
	// will be made over the public internet. Must be in the format projects/{project}/global/networks/{network}, where
	// {project} is a project number or id and {network} is the name of a VPC network in the project.
	PeeredNetwork pulumi.StringPtrInput
	Project       pulumi.StringPtrInput
	// Secret Manager secrets needed by the config.
	// Structure is documented below.
	Secrets BitbucketServerConfigSecretsPtrInput
	// SSL certificate to use for requests to Bitbucket Server. The format should be PEM format but the extension can be one of
	// .pem, .cer, or .crt.
	SslCa pulumi.StringPtrInput
	// Username of the account Cloud Build will use on Bitbucket Server.
	Username pulumi.StringPtrInput
	// Output only. UUID included in webhook requests. The UUID is used to look up the corresponding config.
	WebhookKey pulumi.StringPtrInput
}

func (BitbucketServerConfigState) ElementType

func (BitbucketServerConfigState) ElementType() reflect.Type

type GetTriggerApprovalConfig

type GetTriggerApprovalConfig struct {
	// Whether or not approval is needed. If this is set on a build, it will become pending when run,
	// and will need to be explicitly approved to start.
	ApprovalRequired bool `pulumi:"approvalRequired"`
}

type GetTriggerApprovalConfigArgs

type GetTriggerApprovalConfigArgs struct {
	// Whether or not approval is needed. If this is set on a build, it will become pending when run,
	// and will need to be explicitly approved to start.
	ApprovalRequired pulumi.BoolInput `pulumi:"approvalRequired"`
}

func (GetTriggerApprovalConfigArgs) ElementType

func (GetTriggerApprovalConfigArgs) ToGetTriggerApprovalConfigOutput

func (i GetTriggerApprovalConfigArgs) ToGetTriggerApprovalConfigOutput() GetTriggerApprovalConfigOutput

func (GetTriggerApprovalConfigArgs) ToGetTriggerApprovalConfigOutputWithContext

func (i GetTriggerApprovalConfigArgs) ToGetTriggerApprovalConfigOutputWithContext(ctx context.Context) GetTriggerApprovalConfigOutput

type GetTriggerApprovalConfigArray

type GetTriggerApprovalConfigArray []GetTriggerApprovalConfigInput

func (GetTriggerApprovalConfigArray) ElementType

func (GetTriggerApprovalConfigArray) ToGetTriggerApprovalConfigArrayOutput

func (i GetTriggerApprovalConfigArray) ToGetTriggerApprovalConfigArrayOutput() GetTriggerApprovalConfigArrayOutput

func (GetTriggerApprovalConfigArray) ToGetTriggerApprovalConfigArrayOutputWithContext

func (i GetTriggerApprovalConfigArray) ToGetTriggerApprovalConfigArrayOutputWithContext(ctx context.Context) GetTriggerApprovalConfigArrayOutput

type GetTriggerApprovalConfigArrayInput

type GetTriggerApprovalConfigArrayInput interface {
	pulumi.Input

	ToGetTriggerApprovalConfigArrayOutput() GetTriggerApprovalConfigArrayOutput
	ToGetTriggerApprovalConfigArrayOutputWithContext(context.Context) GetTriggerApprovalConfigArrayOutput
}

GetTriggerApprovalConfigArrayInput is an input type that accepts GetTriggerApprovalConfigArray and GetTriggerApprovalConfigArrayOutput values. You can construct a concrete instance of `GetTriggerApprovalConfigArrayInput` via:

GetTriggerApprovalConfigArray{ GetTriggerApprovalConfigArgs{...} }

type GetTriggerApprovalConfigArrayOutput

type GetTriggerApprovalConfigArrayOutput struct{ *pulumi.OutputState }

func (GetTriggerApprovalConfigArrayOutput) ElementType

func (GetTriggerApprovalConfigArrayOutput) Index

func (GetTriggerApprovalConfigArrayOutput) ToGetTriggerApprovalConfigArrayOutput

func (o GetTriggerApprovalConfigArrayOutput) ToGetTriggerApprovalConfigArrayOutput() GetTriggerApprovalConfigArrayOutput

func (GetTriggerApprovalConfigArrayOutput) ToGetTriggerApprovalConfigArrayOutputWithContext

func (o GetTriggerApprovalConfigArrayOutput) ToGetTriggerApprovalConfigArrayOutputWithContext(ctx context.Context) GetTriggerApprovalConfigArrayOutput

type GetTriggerApprovalConfigInput

type GetTriggerApprovalConfigInput interface {
	pulumi.Input

	ToGetTriggerApprovalConfigOutput() GetTriggerApprovalConfigOutput
	ToGetTriggerApprovalConfigOutputWithContext(context.Context) GetTriggerApprovalConfigOutput
}

GetTriggerApprovalConfigInput is an input type that accepts GetTriggerApprovalConfigArgs and GetTriggerApprovalConfigOutput values. You can construct a concrete instance of `GetTriggerApprovalConfigInput` via:

GetTriggerApprovalConfigArgs{...}

type GetTriggerApprovalConfigOutput

type GetTriggerApprovalConfigOutput struct{ *pulumi.OutputState }

func (GetTriggerApprovalConfigOutput) ApprovalRequired

func (o GetTriggerApprovalConfigOutput) ApprovalRequired() pulumi.BoolOutput

Whether or not approval is needed. If this is set on a build, it will become pending when run, and will need to be explicitly approved to start.

func (GetTriggerApprovalConfigOutput) ElementType

func (GetTriggerApprovalConfigOutput) ToGetTriggerApprovalConfigOutput

func (o GetTriggerApprovalConfigOutput) ToGetTriggerApprovalConfigOutput() GetTriggerApprovalConfigOutput

func (GetTriggerApprovalConfigOutput) ToGetTriggerApprovalConfigOutputWithContext

func (o GetTriggerApprovalConfigOutput) ToGetTriggerApprovalConfigOutputWithContext(ctx context.Context) GetTriggerApprovalConfigOutput

type GetTriggerBitbucketServerTriggerConfig

type GetTriggerBitbucketServerTriggerConfig struct {
	// The Bitbucket server config resource that this trigger config maps to.
	BitbucketServerConfigResource string `pulumi:"bitbucketServerConfigResource"`
	// Key of the project that the repo is in. For example: The key for https://mybitbucket.server/projects/TEST/repos/test-repo is "TEST".
	ProjectKey string `pulumi:"projectKey"`
	// Filter to match changes in pull requests.
	PullRequests []GetTriggerBitbucketServerTriggerConfigPullRequest `pulumi:"pullRequests"`
	// Filter to match changes in refs like branches, tags.
	Pushes []GetTriggerBitbucketServerTriggerConfigPush `pulumi:"pushes"`
	// Slug of the repository. A repository slug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL.
	// For example, if the repository name is 'test repo', in the URL it would become 'test-repo' as in https://mybitbucket.server/projects/TEST/repos/test-repo.
	RepoSlug string `pulumi:"repoSlug"`
}

type GetTriggerBitbucketServerTriggerConfigArgs

type GetTriggerBitbucketServerTriggerConfigArgs struct {
	// The Bitbucket server config resource that this trigger config maps to.
	BitbucketServerConfigResource pulumi.StringInput `pulumi:"bitbucketServerConfigResource"`
	// Key of the project that the repo is in. For example: The key for https://mybitbucket.server/projects/TEST/repos/test-repo is "TEST".
	ProjectKey pulumi.StringInput `pulumi:"projectKey"`
	// Filter to match changes in pull requests.
	PullRequests GetTriggerBitbucketServerTriggerConfigPullRequestArrayInput `pulumi:"pullRequests"`
	// Filter to match changes in refs like branches, tags.
	Pushes GetTriggerBitbucketServerTriggerConfigPushArrayInput `pulumi:"pushes"`
	// Slug of the repository. A repository slug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL.
	// For example, if the repository name is 'test repo', in the URL it would become 'test-repo' as in https://mybitbucket.server/projects/TEST/repos/test-repo.
	RepoSlug pulumi.StringInput `pulumi:"repoSlug"`
}

func (GetTriggerBitbucketServerTriggerConfigArgs) ElementType

func (GetTriggerBitbucketServerTriggerConfigArgs) ToGetTriggerBitbucketServerTriggerConfigOutput

func (i GetTriggerBitbucketServerTriggerConfigArgs) ToGetTriggerBitbucketServerTriggerConfigOutput() GetTriggerBitbucketServerTriggerConfigOutput

func (GetTriggerBitbucketServerTriggerConfigArgs) ToGetTriggerBitbucketServerTriggerConfigOutputWithContext

func (i GetTriggerBitbucketServerTriggerConfigArgs) ToGetTriggerBitbucketServerTriggerConfigOutputWithContext(ctx context.Context) GetTriggerBitbucketServerTriggerConfigOutput

type GetTriggerBitbucketServerTriggerConfigArray

type GetTriggerBitbucketServerTriggerConfigArray []GetTriggerBitbucketServerTriggerConfigInput

func (GetTriggerBitbucketServerTriggerConfigArray) ElementType

func (GetTriggerBitbucketServerTriggerConfigArray) ToGetTriggerBitbucketServerTriggerConfigArrayOutput

func (i GetTriggerBitbucketServerTriggerConfigArray) ToGetTriggerBitbucketServerTriggerConfigArrayOutput() GetTriggerBitbucketServerTriggerConfigArrayOutput

func (GetTriggerBitbucketServerTriggerConfigArray) ToGetTriggerBitbucketServerTriggerConfigArrayOutputWithContext

func (i GetTriggerBitbucketServerTriggerConfigArray) ToGetTriggerBitbucketServerTriggerConfigArrayOutputWithContext(ctx context.Context) GetTriggerBitbucketServerTriggerConfigArrayOutput

type GetTriggerBitbucketServerTriggerConfigArrayInput

type GetTriggerBitbucketServerTriggerConfigArrayInput interface {
	pulumi.Input

	ToGetTriggerBitbucketServerTriggerConfigArrayOutput() GetTriggerBitbucketServerTriggerConfigArrayOutput
	ToGetTriggerBitbucketServerTriggerConfigArrayOutputWithContext(context.Context) GetTriggerBitbucketServerTriggerConfigArrayOutput
}

GetTriggerBitbucketServerTriggerConfigArrayInput is an input type that accepts GetTriggerBitbucketServerTriggerConfigArray and GetTriggerBitbucketServerTriggerConfigArrayOutput values. You can construct a concrete instance of `GetTriggerBitbucketServerTriggerConfigArrayInput` via:

GetTriggerBitbucketServerTriggerConfigArray{ GetTriggerBitbucketServerTriggerConfigArgs{...} }

type GetTriggerBitbucketServerTriggerConfigArrayOutput

type GetTriggerBitbucketServerTriggerConfigArrayOutput struct{ *pulumi.OutputState }

func (GetTriggerBitbucketServerTriggerConfigArrayOutput) ElementType

func (GetTriggerBitbucketServerTriggerConfigArrayOutput) Index

func (GetTriggerBitbucketServerTriggerConfigArrayOutput) ToGetTriggerBitbucketServerTriggerConfigArrayOutput

func (o GetTriggerBitbucketServerTriggerConfigArrayOutput) ToGetTriggerBitbucketServerTriggerConfigArrayOutput() GetTriggerBitbucketServerTriggerConfigArrayOutput

func (GetTriggerBitbucketServerTriggerConfigArrayOutput) ToGetTriggerBitbucketServerTriggerConfigArrayOutputWithContext

func (o GetTriggerBitbucketServerTriggerConfigArrayOutput) ToGetTriggerBitbucketServerTriggerConfigArrayOutputWithContext(ctx context.Context) GetTriggerBitbucketServerTriggerConfigArrayOutput

type GetTriggerBitbucketServerTriggerConfigInput

type GetTriggerBitbucketServerTriggerConfigInput interface {
	pulumi.Input

	ToGetTriggerBitbucketServerTriggerConfigOutput() GetTriggerBitbucketServerTriggerConfigOutput
	ToGetTriggerBitbucketServerTriggerConfigOutputWithContext(context.Context) GetTriggerBitbucketServerTriggerConfigOutput
}

GetTriggerBitbucketServerTriggerConfigInput is an input type that accepts GetTriggerBitbucketServerTriggerConfigArgs and GetTriggerBitbucketServerTriggerConfigOutput values. You can construct a concrete instance of `GetTriggerBitbucketServerTriggerConfigInput` via:

GetTriggerBitbucketServerTriggerConfigArgs{...}

type GetTriggerBitbucketServerTriggerConfigOutput

type GetTriggerBitbucketServerTriggerConfigOutput struct{ *pulumi.OutputState }

func (GetTriggerBitbucketServerTriggerConfigOutput) BitbucketServerConfigResource

func (o GetTriggerBitbucketServerTriggerConfigOutput) BitbucketServerConfigResource() pulumi.StringOutput

The Bitbucket server config resource that this trigger config maps to.

func (GetTriggerBitbucketServerTriggerConfigOutput) ElementType

func (GetTriggerBitbucketServerTriggerConfigOutput) ProjectKey

Key of the project that the repo is in. For example: The key for https://mybitbucket.server/projects/TEST/repos/test-repo is "TEST".

func (GetTriggerBitbucketServerTriggerConfigOutput) PullRequests

Filter to match changes in pull requests.

func (GetTriggerBitbucketServerTriggerConfigOutput) Pushes

Filter to match changes in refs like branches, tags.

func (GetTriggerBitbucketServerTriggerConfigOutput) RepoSlug

Slug of the repository. A repository slug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL. For example, if the repository name is 'test repo', in the URL it would become 'test-repo' as in https://mybitbucket.server/projects/TEST/repos/test-repo.

func (GetTriggerBitbucketServerTriggerConfigOutput) ToGetTriggerBitbucketServerTriggerConfigOutput

func (o GetTriggerBitbucketServerTriggerConfigOutput) ToGetTriggerBitbucketServerTriggerConfigOutput() GetTriggerBitbucketServerTriggerConfigOutput

func (GetTriggerBitbucketServerTriggerConfigOutput) ToGetTriggerBitbucketServerTriggerConfigOutputWithContext

func (o GetTriggerBitbucketServerTriggerConfigOutput) ToGetTriggerBitbucketServerTriggerConfigOutputWithContext(ctx context.Context) GetTriggerBitbucketServerTriggerConfigOutput

type GetTriggerBitbucketServerTriggerConfigPullRequest

type GetTriggerBitbucketServerTriggerConfigPullRequest struct {
	// Regex of branches to match.
	// The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
	Branch string `pulumi:"branch"`
	// Configure builds to run whether a repository owner or collaborator need to comment /gcbrun. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]
	CommentControl string `pulumi:"commentControl"`
	// If true, branches that do NOT match the gitRef will trigger a build.
	InvertRegex bool `pulumi:"invertRegex"`
}

type GetTriggerBitbucketServerTriggerConfigPullRequestArgs

type GetTriggerBitbucketServerTriggerConfigPullRequestArgs struct {
	// Regex of branches to match.
	// The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
	Branch pulumi.StringInput `pulumi:"branch"`
	// Configure builds to run whether a repository owner or collaborator need to comment /gcbrun. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]
	CommentControl pulumi.StringInput `pulumi:"commentControl"`
	// If true, branches that do NOT match the gitRef will trigger a build.
	InvertRegex pulumi.BoolInput `pulumi:"invertRegex"`
}

func (GetTriggerBitbucketServerTriggerConfigPullRequestArgs) ElementType

func (GetTriggerBitbucketServerTriggerConfigPullRequestArgs) ToGetTriggerBitbucketServerTriggerConfigPullRequestOutput

func (i GetTriggerBitbucketServerTriggerConfigPullRequestArgs) ToGetTriggerBitbucketServerTriggerConfigPullRequestOutput() GetTriggerBitbucketServerTriggerConfigPullRequestOutput

func (GetTriggerBitbucketServerTriggerConfigPullRequestArgs) ToGetTriggerBitbucketServerTriggerConfigPullRequestOutputWithContext

func (i GetTriggerBitbucketServerTriggerConfigPullRequestArgs) ToGetTriggerBitbucketServerTriggerConfigPullRequestOutputWithContext(ctx context.Context) GetTriggerBitbucketServerTriggerConfigPullRequestOutput

type GetTriggerBitbucketServerTriggerConfigPullRequestArray

type GetTriggerBitbucketServerTriggerConfigPullRequestArray []GetTriggerBitbucketServerTriggerConfigPullRequestInput

func (GetTriggerBitbucketServerTriggerConfigPullRequestArray) ElementType

func (GetTriggerBitbucketServerTriggerConfigPullRequestArray) ToGetTriggerBitbucketServerTriggerConfigPullRequestArrayOutput

func (i GetTriggerBitbucketServerTriggerConfigPullRequestArray) ToGetTriggerBitbucketServerTriggerConfigPullRequestArrayOutput() GetTriggerBitbucketServerTriggerConfigPullRequestArrayOutput

func (GetTriggerBitbucketServerTriggerConfigPullRequestArray) ToGetTriggerBitbucketServerTriggerConfigPullRequestArrayOutputWithContext

func (i GetTriggerBitbucketServerTriggerConfigPullRequestArray) ToGetTriggerBitbucketServerTriggerConfigPullRequestArrayOutputWithContext(ctx context.Context) GetTriggerBitbucketServerTriggerConfigPullRequestArrayOutput

type GetTriggerBitbucketServerTriggerConfigPullRequestArrayInput

type GetTriggerBitbucketServerTriggerConfigPullRequestArrayInput interface {
	pulumi.Input

	ToGetTriggerBitbucketServerTriggerConfigPullRequestArrayOutput() GetTriggerBitbucketServerTriggerConfigPullRequestArrayOutput
	ToGetTriggerBitbucketServerTriggerConfigPullRequestArrayOutputWithContext(context.Context) GetTriggerBitbucketServerTriggerConfigPullRequestArrayOutput
}

GetTriggerBitbucketServerTriggerConfigPullRequestArrayInput is an input type that accepts GetTriggerBitbucketServerTriggerConfigPullRequestArray and GetTriggerBitbucketServerTriggerConfigPullRequestArrayOutput values. You can construct a concrete instance of `GetTriggerBitbucketServerTriggerConfigPullRequestArrayInput` via:

GetTriggerBitbucketServerTriggerConfigPullRequestArray{ GetTriggerBitbucketServerTriggerConfigPullRequestArgs{...} }

type GetTriggerBitbucketServerTriggerConfigPullRequestArrayOutput

type GetTriggerBitbucketServerTriggerConfigPullRequestArrayOutput struct{ *pulumi.OutputState }

func (GetTriggerBitbucketServerTriggerConfigPullRequestArrayOutput) ElementType

func (GetTriggerBitbucketServerTriggerConfigPullRequestArrayOutput) Index

func (GetTriggerBitbucketServerTriggerConfigPullRequestArrayOutput) ToGetTriggerBitbucketServerTriggerConfigPullRequestArrayOutput

func (GetTriggerBitbucketServerTriggerConfigPullRequestArrayOutput) ToGetTriggerBitbucketServerTriggerConfigPullRequestArrayOutputWithContext

func (o GetTriggerBitbucketServerTriggerConfigPullRequestArrayOutput) ToGetTriggerBitbucketServerTriggerConfigPullRequestArrayOutputWithContext(ctx context.Context) GetTriggerBitbucketServerTriggerConfigPullRequestArrayOutput

type GetTriggerBitbucketServerTriggerConfigPullRequestInput

type GetTriggerBitbucketServerTriggerConfigPullRequestInput interface {
	pulumi.Input

	ToGetTriggerBitbucketServerTriggerConfigPullRequestOutput() GetTriggerBitbucketServerTriggerConfigPullRequestOutput
	ToGetTriggerBitbucketServerTriggerConfigPullRequestOutputWithContext(context.Context) GetTriggerBitbucketServerTriggerConfigPullRequestOutput
}

GetTriggerBitbucketServerTriggerConfigPullRequestInput is an input type that accepts GetTriggerBitbucketServerTriggerConfigPullRequestArgs and GetTriggerBitbucketServerTriggerConfigPullRequestOutput values. You can construct a concrete instance of `GetTriggerBitbucketServerTriggerConfigPullRequestInput` via:

GetTriggerBitbucketServerTriggerConfigPullRequestArgs{...}

type GetTriggerBitbucketServerTriggerConfigPullRequestOutput

type GetTriggerBitbucketServerTriggerConfigPullRequestOutput struct{ *pulumi.OutputState }

func (GetTriggerBitbucketServerTriggerConfigPullRequestOutput) Branch

Regex of branches to match. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

func (GetTriggerBitbucketServerTriggerConfigPullRequestOutput) CommentControl

Configure builds to run whether a repository owner or collaborator need to comment /gcbrun. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]

func (GetTriggerBitbucketServerTriggerConfigPullRequestOutput) ElementType

func (GetTriggerBitbucketServerTriggerConfigPullRequestOutput) InvertRegex

If true, branches that do NOT match the gitRef will trigger a build.

func (GetTriggerBitbucketServerTriggerConfigPullRequestOutput) ToGetTriggerBitbucketServerTriggerConfigPullRequestOutput

func (GetTriggerBitbucketServerTriggerConfigPullRequestOutput) ToGetTriggerBitbucketServerTriggerConfigPullRequestOutputWithContext

func (o GetTriggerBitbucketServerTriggerConfigPullRequestOutput) ToGetTriggerBitbucketServerTriggerConfigPullRequestOutputWithContext(ctx context.Context) GetTriggerBitbucketServerTriggerConfigPullRequestOutput

type GetTriggerBitbucketServerTriggerConfigPush

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

type GetTriggerBitbucketServerTriggerConfigPushArgs

type GetTriggerBitbucketServerTriggerConfigPushArgs struct {
	// Regex of branches to match.  Specify only one of branch or tag.
	Branch pulumi.StringInput `pulumi:"branch"`
	// When true, only trigger a build if the revision regex does NOT match the gitRef regex.
	InvertRegex pulumi.BoolInput `pulumi:"invertRegex"`
	// Regex of tags to match.  Specify only one of branch or tag.
	Tag pulumi.StringInput `pulumi:"tag"`
}

func (GetTriggerBitbucketServerTriggerConfigPushArgs) ElementType

func (GetTriggerBitbucketServerTriggerConfigPushArgs) ToGetTriggerBitbucketServerTriggerConfigPushOutput

func (i GetTriggerBitbucketServerTriggerConfigPushArgs) ToGetTriggerBitbucketServerTriggerConfigPushOutput() GetTriggerBitbucketServerTriggerConfigPushOutput

func (GetTriggerBitbucketServerTriggerConfigPushArgs) ToGetTriggerBitbucketServerTriggerConfigPushOutputWithContext

func (i GetTriggerBitbucketServerTriggerConfigPushArgs) ToGetTriggerBitbucketServerTriggerConfigPushOutputWithContext(ctx context.Context) GetTriggerBitbucketServerTriggerConfigPushOutput

type GetTriggerBitbucketServerTriggerConfigPushArray

type GetTriggerBitbucketServerTriggerConfigPushArray []GetTriggerBitbucketServerTriggerConfigPushInput

func (GetTriggerBitbucketServerTriggerConfigPushArray) ElementType

func (GetTriggerBitbucketServerTriggerConfigPushArray) ToGetTriggerBitbucketServerTriggerConfigPushArrayOutput

func (i GetTriggerBitbucketServerTriggerConfigPushArray) ToGetTriggerBitbucketServerTriggerConfigPushArrayOutput() GetTriggerBitbucketServerTriggerConfigPushArrayOutput

func (GetTriggerBitbucketServerTriggerConfigPushArray) ToGetTriggerBitbucketServerTriggerConfigPushArrayOutputWithContext

func (i GetTriggerBitbucketServerTriggerConfigPushArray) ToGetTriggerBitbucketServerTriggerConfigPushArrayOutputWithContext(ctx context.Context) GetTriggerBitbucketServerTriggerConfigPushArrayOutput

type GetTriggerBitbucketServerTriggerConfigPushArrayInput

type GetTriggerBitbucketServerTriggerConfigPushArrayInput interface {
	pulumi.Input

	ToGetTriggerBitbucketServerTriggerConfigPushArrayOutput() GetTriggerBitbucketServerTriggerConfigPushArrayOutput
	ToGetTriggerBitbucketServerTriggerConfigPushArrayOutputWithContext(context.Context) GetTriggerBitbucketServerTriggerConfigPushArrayOutput
}

GetTriggerBitbucketServerTriggerConfigPushArrayInput is an input type that accepts GetTriggerBitbucketServerTriggerConfigPushArray and GetTriggerBitbucketServerTriggerConfigPushArrayOutput values. You can construct a concrete instance of `GetTriggerBitbucketServerTriggerConfigPushArrayInput` via:

GetTriggerBitbucketServerTriggerConfigPushArray{ GetTriggerBitbucketServerTriggerConfigPushArgs{...} }

type GetTriggerBitbucketServerTriggerConfigPushArrayOutput

type GetTriggerBitbucketServerTriggerConfigPushArrayOutput struct{ *pulumi.OutputState }

func (GetTriggerBitbucketServerTriggerConfigPushArrayOutput) ElementType

func (GetTriggerBitbucketServerTriggerConfigPushArrayOutput) Index

func (GetTriggerBitbucketServerTriggerConfigPushArrayOutput) ToGetTriggerBitbucketServerTriggerConfigPushArrayOutput

func (GetTriggerBitbucketServerTriggerConfigPushArrayOutput) ToGetTriggerBitbucketServerTriggerConfigPushArrayOutputWithContext

func (o GetTriggerBitbucketServerTriggerConfigPushArrayOutput) ToGetTriggerBitbucketServerTriggerConfigPushArrayOutputWithContext(ctx context.Context) GetTriggerBitbucketServerTriggerConfigPushArrayOutput

type GetTriggerBitbucketServerTriggerConfigPushInput

type GetTriggerBitbucketServerTriggerConfigPushInput interface {
	pulumi.Input

	ToGetTriggerBitbucketServerTriggerConfigPushOutput() GetTriggerBitbucketServerTriggerConfigPushOutput
	ToGetTriggerBitbucketServerTriggerConfigPushOutputWithContext(context.Context) GetTriggerBitbucketServerTriggerConfigPushOutput
}

GetTriggerBitbucketServerTriggerConfigPushInput is an input type that accepts GetTriggerBitbucketServerTriggerConfigPushArgs and GetTriggerBitbucketServerTriggerConfigPushOutput values. You can construct a concrete instance of `GetTriggerBitbucketServerTriggerConfigPushInput` via:

GetTriggerBitbucketServerTriggerConfigPushArgs{...}

type GetTriggerBitbucketServerTriggerConfigPushOutput

type GetTriggerBitbucketServerTriggerConfigPushOutput struct{ *pulumi.OutputState }

func (GetTriggerBitbucketServerTriggerConfigPushOutput) Branch

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

func (GetTriggerBitbucketServerTriggerConfigPushOutput) ElementType

func (GetTriggerBitbucketServerTriggerConfigPushOutput) InvertRegex

When true, only trigger a build if the revision regex does NOT match the gitRef regex.

func (GetTriggerBitbucketServerTriggerConfigPushOutput) Tag

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

func (GetTriggerBitbucketServerTriggerConfigPushOutput) ToGetTriggerBitbucketServerTriggerConfigPushOutput

func (o GetTriggerBitbucketServerTriggerConfigPushOutput) ToGetTriggerBitbucketServerTriggerConfigPushOutput() GetTriggerBitbucketServerTriggerConfigPushOutput

func (GetTriggerBitbucketServerTriggerConfigPushOutput) ToGetTriggerBitbucketServerTriggerConfigPushOutputWithContext

func (o GetTriggerBitbucketServerTriggerConfigPushOutput) ToGetTriggerBitbucketServerTriggerConfigPushOutputWithContext(ctx context.Context) GetTriggerBitbucketServerTriggerConfigPushOutput

type GetTriggerBuild

type GetTriggerBuild struct {
	// Artifacts produced by the build that should be uploaded upon successful completion of all build steps.
	Artifacts []GetTriggerBuildArtifact `pulumi:"artifacts"`
	// Secrets and secret environment variables.
	AvailableSecrets []GetTriggerBuildAvailableSecret `pulumi:"availableSecrets"`
	// A list of images to be pushed upon the successful completion of all build steps.
	// The images are 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 status 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.
	Options []GetTriggerBuildOption `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.
	Secrets []GetTriggerBuildSecret `pulumi:"secrets"`
	// The location of the source files to build.
	//
	// One of 'storageSource' or 'repoSource' must be provided.
	Sources []GetTriggerBuildSource `pulumi:"sources"`
	// The operations to be performed on the workspace.
	Steps []GetTriggerBuildStep `pulumi:"steps"`
	// Substitutions data for Build resource.
	Substitutions map[string]string `pulumi:"substitutions"`
	// Tags for annotation of a Build. These are not docker tags.
	Tags []string `pulumi:"tags"`
	// Amount of time that this build should be allowed to run, to second granularity.
	// If this amount of time elapses, work on the build will cease and the build status will be TIMEOUT.
	// This timeout must be equal to or greater than the sum of the timeouts for build steps within the build.
	// The expected format is the number of seconds followed by s.
	// Default time is ten minutes (600s).
	Timeout string `pulumi:"timeout"`
}

type GetTriggerBuildArgs

type GetTriggerBuildArgs struct {
	// Artifacts produced by the build that should be uploaded upon successful completion of all build steps.
	Artifacts GetTriggerBuildArtifactArrayInput `pulumi:"artifacts"`
	// Secrets and secret environment variables.
	AvailableSecrets GetTriggerBuildAvailableSecretArrayInput `pulumi:"availableSecrets"`
	// A list of images to be pushed upon the successful completion of all build steps.
	// The images are 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 status 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.StringInput `pulumi:"logsBucket"`
	// Special options for this build.
	Options GetTriggerBuildOptionArrayInput `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.StringInput `pulumi:"queueTtl"`
	// Secrets to decrypt using Cloud Key Management Service.
	Secrets GetTriggerBuildSecretArrayInput `pulumi:"secrets"`
	// The location of the source files to build.
	//
	// One of 'storageSource' or 'repoSource' must be provided.
	Sources GetTriggerBuildSourceArrayInput `pulumi:"sources"`
	// The operations to be performed on the workspace.
	Steps GetTriggerBuildStepArrayInput `pulumi:"steps"`
	// Substitutions data for Build resource.
	Substitutions pulumi.StringMapInput `pulumi:"substitutions"`
	// Tags for annotation of a Build. These are not docker tags.
	Tags pulumi.StringArrayInput `pulumi:"tags"`
	// Amount of time that this build should be allowed to run, to second granularity.
	// If this amount of time elapses, work on the build will cease and the build status will be TIMEOUT.
	// This timeout must be equal to or greater than the sum of the timeouts for build steps within the build.
	// The expected format is the number of seconds followed by s.
	// Default time is ten minutes (600s).
	Timeout pulumi.StringInput `pulumi:"timeout"`
}

func (GetTriggerBuildArgs) ElementType

func (GetTriggerBuildArgs) ElementType() reflect.Type

func (GetTriggerBuildArgs) ToGetTriggerBuildOutput

func (i GetTriggerBuildArgs) ToGetTriggerBuildOutput() GetTriggerBuildOutput

func (GetTriggerBuildArgs) ToGetTriggerBuildOutputWithContext

func (i GetTriggerBuildArgs) ToGetTriggerBuildOutputWithContext(ctx context.Context) GetTriggerBuildOutput

type GetTriggerBuildArray

type GetTriggerBuildArray []GetTriggerBuildInput

func (GetTriggerBuildArray) ElementType

func (GetTriggerBuildArray) ElementType() reflect.Type

func (GetTriggerBuildArray) ToGetTriggerBuildArrayOutput

func (i GetTriggerBuildArray) ToGetTriggerBuildArrayOutput() GetTriggerBuildArrayOutput

func (GetTriggerBuildArray) ToGetTriggerBuildArrayOutputWithContext

func (i GetTriggerBuildArray) ToGetTriggerBuildArrayOutputWithContext(ctx context.Context) GetTriggerBuildArrayOutput

type GetTriggerBuildArrayInput

type GetTriggerBuildArrayInput interface {
	pulumi.Input

	ToGetTriggerBuildArrayOutput() GetTriggerBuildArrayOutput
	ToGetTriggerBuildArrayOutputWithContext(context.Context) GetTriggerBuildArrayOutput
}

GetTriggerBuildArrayInput is an input type that accepts GetTriggerBuildArray and GetTriggerBuildArrayOutput values. You can construct a concrete instance of `GetTriggerBuildArrayInput` via:

GetTriggerBuildArray{ GetTriggerBuildArgs{...} }

type GetTriggerBuildArrayOutput

type GetTriggerBuildArrayOutput struct{ *pulumi.OutputState }

func (GetTriggerBuildArrayOutput) ElementType

func (GetTriggerBuildArrayOutput) ElementType() reflect.Type

func (GetTriggerBuildArrayOutput) Index

func (GetTriggerBuildArrayOutput) ToGetTriggerBuildArrayOutput

func (o GetTriggerBuildArrayOutput) ToGetTriggerBuildArrayOutput() GetTriggerBuildArrayOutput

func (GetTriggerBuildArrayOutput) ToGetTriggerBuildArrayOutputWithContext

func (o GetTriggerBuildArrayOutput) ToGetTriggerBuildArrayOutputWithContext(ctx context.Context) GetTriggerBuildArrayOutput

type GetTriggerBuildArtifact

type GetTriggerBuildArtifact 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 Maven artifact to upload to Artifact Registry upon successful completion of all build steps.
	//
	// 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.
	MavenArtifacts []GetTriggerBuildArtifactMavenArtifact `pulumi:"mavenArtifacts"`
	// Npm package to upload to Artifact Registry upon successful completion of all build steps.
	//
	// 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.
	NpmPackages []GetTriggerBuildArtifactNpmPackage `pulumi:"npmPackages"`
	// 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.
	Objects []GetTriggerBuildArtifactObject `pulumi:"objects"`
	// Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.
	//
	// 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.
	PythonPackages []GetTriggerBuildArtifactPythonPackage `pulumi:"pythonPackages"`
}

type GetTriggerBuildArtifactArgs

type GetTriggerBuildArtifactArgs 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 Maven artifact to upload to Artifact Registry upon successful completion of all build steps.
	//
	// 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.
	MavenArtifacts GetTriggerBuildArtifactMavenArtifactArrayInput `pulumi:"mavenArtifacts"`
	// Npm package to upload to Artifact Registry upon successful completion of all build steps.
	//
	// 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.
	NpmPackages GetTriggerBuildArtifactNpmPackageArrayInput `pulumi:"npmPackages"`
	// 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.
	Objects GetTriggerBuildArtifactObjectArrayInput `pulumi:"objects"`
	// Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.
	//
	// 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.
	PythonPackages GetTriggerBuildArtifactPythonPackageArrayInput `pulumi:"pythonPackages"`
}

func (GetTriggerBuildArtifactArgs) ElementType

func (GetTriggerBuildArtifactArgs) ToGetTriggerBuildArtifactOutput

func (i GetTriggerBuildArtifactArgs) ToGetTriggerBuildArtifactOutput() GetTriggerBuildArtifactOutput

func (GetTriggerBuildArtifactArgs) ToGetTriggerBuildArtifactOutputWithContext

func (i GetTriggerBuildArtifactArgs) ToGetTriggerBuildArtifactOutputWithContext(ctx context.Context) GetTriggerBuildArtifactOutput

type GetTriggerBuildArtifactArray

type GetTriggerBuildArtifactArray []GetTriggerBuildArtifactInput

func (GetTriggerBuildArtifactArray) ElementType

func (GetTriggerBuildArtifactArray) ToGetTriggerBuildArtifactArrayOutput

func (i GetTriggerBuildArtifactArray) ToGetTriggerBuildArtifactArrayOutput() GetTriggerBuildArtifactArrayOutput

func (GetTriggerBuildArtifactArray) ToGetTriggerBuildArtifactArrayOutputWithContext

func (i GetTriggerBuildArtifactArray) ToGetTriggerBuildArtifactArrayOutputWithContext(ctx context.Context) GetTriggerBuildArtifactArrayOutput

type GetTriggerBuildArtifactArrayInput

type GetTriggerBuildArtifactArrayInput interface {
	pulumi.Input

	ToGetTriggerBuildArtifactArrayOutput() GetTriggerBuildArtifactArrayOutput
	ToGetTriggerBuildArtifactArrayOutputWithContext(context.Context) GetTriggerBuildArtifactArrayOutput
}

GetTriggerBuildArtifactArrayInput is an input type that accepts GetTriggerBuildArtifactArray and GetTriggerBuildArtifactArrayOutput values. You can construct a concrete instance of `GetTriggerBuildArtifactArrayInput` via:

GetTriggerBuildArtifactArray{ GetTriggerBuildArtifactArgs{...} }

type GetTriggerBuildArtifactArrayOutput

type GetTriggerBuildArtifactArrayOutput struct{ *pulumi.OutputState }

func (GetTriggerBuildArtifactArrayOutput) ElementType

func (GetTriggerBuildArtifactArrayOutput) Index

func (GetTriggerBuildArtifactArrayOutput) ToGetTriggerBuildArtifactArrayOutput

func (o GetTriggerBuildArtifactArrayOutput) ToGetTriggerBuildArtifactArrayOutput() GetTriggerBuildArtifactArrayOutput

func (GetTriggerBuildArtifactArrayOutput) ToGetTriggerBuildArtifactArrayOutputWithContext

func (o GetTriggerBuildArtifactArrayOutput) ToGetTriggerBuildArtifactArrayOutputWithContext(ctx context.Context) GetTriggerBuildArtifactArrayOutput

type GetTriggerBuildArtifactInput

type GetTriggerBuildArtifactInput interface {
	pulumi.Input

	ToGetTriggerBuildArtifactOutput() GetTriggerBuildArtifactOutput
	ToGetTriggerBuildArtifactOutputWithContext(context.Context) GetTriggerBuildArtifactOutput
}

GetTriggerBuildArtifactInput is an input type that accepts GetTriggerBuildArtifactArgs and GetTriggerBuildArtifactOutput values. You can construct a concrete instance of `GetTriggerBuildArtifactInput` via:

GetTriggerBuildArtifactArgs{...}

type GetTriggerBuildArtifactMavenArtifact added in v7.3.0

type GetTriggerBuildArtifactMavenArtifact struct {
	// Maven artifactId value used when uploading the artifact to Artifact Registry.
	ArtifactId string `pulumi:"artifactId"`
	// Maven groupId value used when uploading the artifact to Artifact Registry.
	GroupId string `pulumi:"groupId"`
	// Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.
	Path string `pulumi:"path"`
	// Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY"
	//
	// Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.
	Repository string `pulumi:"repository"`
	// Maven version value used when uploading the artifact to Artifact Registry.
	Version string `pulumi:"version"`
}

type GetTriggerBuildArtifactMavenArtifactArgs added in v7.3.0

type GetTriggerBuildArtifactMavenArtifactArgs struct {
	// Maven artifactId value used when uploading the artifact to Artifact Registry.
	ArtifactId pulumi.StringInput `pulumi:"artifactId"`
	// Maven groupId value used when uploading the artifact to Artifact Registry.
	GroupId pulumi.StringInput `pulumi:"groupId"`
	// Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.
	Path pulumi.StringInput `pulumi:"path"`
	// Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY"
	//
	// Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.
	Repository pulumi.StringInput `pulumi:"repository"`
	// Maven version value used when uploading the artifact to Artifact Registry.
	Version pulumi.StringInput `pulumi:"version"`
}

func (GetTriggerBuildArtifactMavenArtifactArgs) ElementType added in v7.3.0

func (GetTriggerBuildArtifactMavenArtifactArgs) ToGetTriggerBuildArtifactMavenArtifactOutput added in v7.3.0

func (i GetTriggerBuildArtifactMavenArtifactArgs) ToGetTriggerBuildArtifactMavenArtifactOutput() GetTriggerBuildArtifactMavenArtifactOutput

func (GetTriggerBuildArtifactMavenArtifactArgs) ToGetTriggerBuildArtifactMavenArtifactOutputWithContext added in v7.3.0

func (i GetTriggerBuildArtifactMavenArtifactArgs) ToGetTriggerBuildArtifactMavenArtifactOutputWithContext(ctx context.Context) GetTriggerBuildArtifactMavenArtifactOutput

type GetTriggerBuildArtifactMavenArtifactArray added in v7.3.0

type GetTriggerBuildArtifactMavenArtifactArray []GetTriggerBuildArtifactMavenArtifactInput

func (GetTriggerBuildArtifactMavenArtifactArray) ElementType added in v7.3.0

func (GetTriggerBuildArtifactMavenArtifactArray) ToGetTriggerBuildArtifactMavenArtifactArrayOutput added in v7.3.0

func (i GetTriggerBuildArtifactMavenArtifactArray) ToGetTriggerBuildArtifactMavenArtifactArrayOutput() GetTriggerBuildArtifactMavenArtifactArrayOutput

func (GetTriggerBuildArtifactMavenArtifactArray) ToGetTriggerBuildArtifactMavenArtifactArrayOutputWithContext added in v7.3.0

func (i GetTriggerBuildArtifactMavenArtifactArray) ToGetTriggerBuildArtifactMavenArtifactArrayOutputWithContext(ctx context.Context) GetTriggerBuildArtifactMavenArtifactArrayOutput

type GetTriggerBuildArtifactMavenArtifactArrayInput added in v7.3.0

type GetTriggerBuildArtifactMavenArtifactArrayInput interface {
	pulumi.Input

	ToGetTriggerBuildArtifactMavenArtifactArrayOutput() GetTriggerBuildArtifactMavenArtifactArrayOutput
	ToGetTriggerBuildArtifactMavenArtifactArrayOutputWithContext(context.Context) GetTriggerBuildArtifactMavenArtifactArrayOutput
}

GetTriggerBuildArtifactMavenArtifactArrayInput is an input type that accepts GetTriggerBuildArtifactMavenArtifactArray and GetTriggerBuildArtifactMavenArtifactArrayOutput values. You can construct a concrete instance of `GetTriggerBuildArtifactMavenArtifactArrayInput` via:

GetTriggerBuildArtifactMavenArtifactArray{ GetTriggerBuildArtifactMavenArtifactArgs{...} }

type GetTriggerBuildArtifactMavenArtifactArrayOutput added in v7.3.0

type GetTriggerBuildArtifactMavenArtifactArrayOutput struct{ *pulumi.OutputState }

func (GetTriggerBuildArtifactMavenArtifactArrayOutput) ElementType added in v7.3.0

func (GetTriggerBuildArtifactMavenArtifactArrayOutput) Index added in v7.3.0

func (GetTriggerBuildArtifactMavenArtifactArrayOutput) ToGetTriggerBuildArtifactMavenArtifactArrayOutput added in v7.3.0

func (o GetTriggerBuildArtifactMavenArtifactArrayOutput) ToGetTriggerBuildArtifactMavenArtifactArrayOutput() GetTriggerBuildArtifactMavenArtifactArrayOutput

func (GetTriggerBuildArtifactMavenArtifactArrayOutput) ToGetTriggerBuildArtifactMavenArtifactArrayOutputWithContext added in v7.3.0

func (o GetTriggerBuildArtifactMavenArtifactArrayOutput) ToGetTriggerBuildArtifactMavenArtifactArrayOutputWithContext(ctx context.Context) GetTriggerBuildArtifactMavenArtifactArrayOutput

type GetTriggerBuildArtifactMavenArtifactInput added in v7.3.0

type GetTriggerBuildArtifactMavenArtifactInput interface {
	pulumi.Input

	ToGetTriggerBuildArtifactMavenArtifactOutput() GetTriggerBuildArtifactMavenArtifactOutput
	ToGetTriggerBuildArtifactMavenArtifactOutputWithContext(context.Context) GetTriggerBuildArtifactMavenArtifactOutput
}

GetTriggerBuildArtifactMavenArtifactInput is an input type that accepts GetTriggerBuildArtifactMavenArtifactArgs and GetTriggerBuildArtifactMavenArtifactOutput values. You can construct a concrete instance of `GetTriggerBuildArtifactMavenArtifactInput` via:

GetTriggerBuildArtifactMavenArtifactArgs{...}

type GetTriggerBuildArtifactMavenArtifactOutput added in v7.3.0

type GetTriggerBuildArtifactMavenArtifactOutput struct{ *pulumi.OutputState }

func (GetTriggerBuildArtifactMavenArtifactOutput) ArtifactId added in v7.3.0

Maven artifactId value used when uploading the artifact to Artifact Registry.

func (GetTriggerBuildArtifactMavenArtifactOutput) ElementType added in v7.3.0

func (GetTriggerBuildArtifactMavenArtifactOutput) GroupId added in v7.3.0

Maven groupId value used when uploading the artifact to Artifact Registry.

func (GetTriggerBuildArtifactMavenArtifactOutput) Path added in v7.3.0

Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.

func (GetTriggerBuildArtifactMavenArtifactOutput) Repository added in v7.3.0

Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY"

Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.

func (GetTriggerBuildArtifactMavenArtifactOutput) ToGetTriggerBuildArtifactMavenArtifactOutput added in v7.3.0

func (o GetTriggerBuildArtifactMavenArtifactOutput) ToGetTriggerBuildArtifactMavenArtifactOutput() GetTriggerBuildArtifactMavenArtifactOutput

func (GetTriggerBuildArtifactMavenArtifactOutput) ToGetTriggerBuildArtifactMavenArtifactOutputWithContext added in v7.3.0

func (o GetTriggerBuildArtifactMavenArtifactOutput) ToGetTriggerBuildArtifactMavenArtifactOutputWithContext(ctx context.Context) GetTriggerBuildArtifactMavenArtifactOutput

func (GetTriggerBuildArtifactMavenArtifactOutput) Version added in v7.3.0

Maven version value used when uploading the artifact to Artifact Registry.

type GetTriggerBuildArtifactNpmPackage added in v7.3.0

type GetTriggerBuildArtifactNpmPackage struct {
	// Path to the package.json. e.g. workspace/path/to/package
	PackagePath string `pulumi:"packagePath"`
	// Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY"
	//
	// Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix.
	Repository string `pulumi:"repository"`
}

type GetTriggerBuildArtifactNpmPackageArgs added in v7.3.0

type GetTriggerBuildArtifactNpmPackageArgs struct {
	// Path to the package.json. e.g. workspace/path/to/package
	PackagePath pulumi.StringInput `pulumi:"packagePath"`
	// Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY"
	//
	// Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix.
	Repository pulumi.StringInput `pulumi:"repository"`
}

func (GetTriggerBuildArtifactNpmPackageArgs) ElementType added in v7.3.0

func (GetTriggerBuildArtifactNpmPackageArgs) ToGetTriggerBuildArtifactNpmPackageOutput added in v7.3.0

func (i GetTriggerBuildArtifactNpmPackageArgs) ToGetTriggerBuildArtifactNpmPackageOutput() GetTriggerBuildArtifactNpmPackageOutput

func (GetTriggerBuildArtifactNpmPackageArgs) ToGetTriggerBuildArtifactNpmPackageOutputWithContext added in v7.3.0

func (i GetTriggerBuildArtifactNpmPackageArgs) ToGetTriggerBuildArtifactNpmPackageOutputWithContext(ctx context.Context) GetTriggerBuildArtifactNpmPackageOutput

type GetTriggerBuildArtifactNpmPackageArray added in v7.3.0

type GetTriggerBuildArtifactNpmPackageArray []GetTriggerBuildArtifactNpmPackageInput

func (GetTriggerBuildArtifactNpmPackageArray) ElementType added in v7.3.0

func (GetTriggerBuildArtifactNpmPackageArray) ToGetTriggerBuildArtifactNpmPackageArrayOutput added in v7.3.0

func (i GetTriggerBuildArtifactNpmPackageArray) ToGetTriggerBuildArtifactNpmPackageArrayOutput() GetTriggerBuildArtifactNpmPackageArrayOutput

func (GetTriggerBuildArtifactNpmPackageArray) ToGetTriggerBuildArtifactNpmPackageArrayOutputWithContext added in v7.3.0

func (i GetTriggerBuildArtifactNpmPackageArray) ToGetTriggerBuildArtifactNpmPackageArrayOutputWithContext(ctx context.Context) GetTriggerBuildArtifactNpmPackageArrayOutput

type GetTriggerBuildArtifactNpmPackageArrayInput added in v7.3.0

type GetTriggerBuildArtifactNpmPackageArrayInput interface {
	pulumi.Input

	ToGetTriggerBuildArtifactNpmPackageArrayOutput() GetTriggerBuildArtifactNpmPackageArrayOutput
	ToGetTriggerBuildArtifactNpmPackageArrayOutputWithContext(context.Context) GetTriggerBuildArtifactNpmPackageArrayOutput
}

GetTriggerBuildArtifactNpmPackageArrayInput is an input type that accepts GetTriggerBuildArtifactNpmPackageArray and GetTriggerBuildArtifactNpmPackageArrayOutput values. You can construct a concrete instance of `GetTriggerBuildArtifactNpmPackageArrayInput` via:

GetTriggerBuildArtifactNpmPackageArray{ GetTriggerBuildArtifactNpmPackageArgs{...} }

type GetTriggerBuildArtifactNpmPackageArrayOutput added in v7.3.0

type GetTriggerBuildArtifactNpmPackageArrayOutput struct{ *pulumi.OutputState }

func (GetTriggerBuildArtifactNpmPackageArrayOutput) ElementType added in v7.3.0

func (GetTriggerBuildArtifactNpmPackageArrayOutput) Index added in v7.3.0

func (GetTriggerBuildArtifactNpmPackageArrayOutput) ToGetTriggerBuildArtifactNpmPackageArrayOutput added in v7.3.0

func (o GetTriggerBuildArtifactNpmPackageArrayOutput) ToGetTriggerBuildArtifactNpmPackageArrayOutput() GetTriggerBuildArtifactNpmPackageArrayOutput

func (GetTriggerBuildArtifactNpmPackageArrayOutput) ToGetTriggerBuildArtifactNpmPackageArrayOutputWithContext added in v7.3.0

func (o GetTriggerBuildArtifactNpmPackageArrayOutput) ToGetTriggerBuildArtifactNpmPackageArrayOutputWithContext(ctx context.Context) GetTriggerBuildArtifactNpmPackageArrayOutput

type GetTriggerBuildArtifactNpmPackageInput added in v7.3.0

type GetTriggerBuildArtifactNpmPackageInput interface {
	pulumi.Input

	ToGetTriggerBuildArtifactNpmPackageOutput() GetTriggerBuildArtifactNpmPackageOutput
	ToGetTriggerBuildArtifactNpmPackageOutputWithContext(context.Context) GetTriggerBuildArtifactNpmPackageOutput
}

GetTriggerBuildArtifactNpmPackageInput is an input type that accepts GetTriggerBuildArtifactNpmPackageArgs and GetTriggerBuildArtifactNpmPackageOutput values. You can construct a concrete instance of `GetTriggerBuildArtifactNpmPackageInput` via:

GetTriggerBuildArtifactNpmPackageArgs{...}

type GetTriggerBuildArtifactNpmPackageOutput added in v7.3.0

type GetTriggerBuildArtifactNpmPackageOutput struct{ *pulumi.OutputState }

func (GetTriggerBuildArtifactNpmPackageOutput) ElementType added in v7.3.0

func (GetTriggerBuildArtifactNpmPackageOutput) PackagePath added in v7.3.0

Path to the package.json. e.g. workspace/path/to/package

func (GetTriggerBuildArtifactNpmPackageOutput) Repository added in v7.3.0

Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY"

Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix.

func (GetTriggerBuildArtifactNpmPackageOutput) ToGetTriggerBuildArtifactNpmPackageOutput added in v7.3.0

func (o GetTriggerBuildArtifactNpmPackageOutput) ToGetTriggerBuildArtifactNpmPackageOutput() GetTriggerBuildArtifactNpmPackageOutput

func (GetTriggerBuildArtifactNpmPackageOutput) ToGetTriggerBuildArtifactNpmPackageOutputWithContext added in v7.3.0

func (o GetTriggerBuildArtifactNpmPackageOutput) ToGetTriggerBuildArtifactNpmPackageOutputWithContext(ctx context.Context) GetTriggerBuildArtifactNpmPackageOutput

type GetTriggerBuildArtifactObject

type GetTriggerBuildArtifactObject struct {
	// The Cloud Build location for the trigger.
	//
	// ***
	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.
	Timings []GetTriggerBuildArtifactObjectTiming `pulumi:"timings"`
}

type GetTriggerBuildArtifactObjectArgs

type GetTriggerBuildArtifactObjectArgs struct {
	// The Cloud Build location for the trigger.
	//
	// ***
	Location pulumi.StringInput `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.
	Timings GetTriggerBuildArtifactObjectTimingArrayInput `pulumi:"timings"`
}

func (GetTriggerBuildArtifactObjectArgs) ElementType

func (GetTriggerBuildArtifactObjectArgs) ToGetTriggerBuildArtifactObjectOutput

func (i GetTriggerBuildArtifactObjectArgs) ToGetTriggerBuildArtifactObjectOutput() GetTriggerBuildArtifactObjectOutput

func (GetTriggerBuildArtifactObjectArgs) ToGetTriggerBuildArtifactObjectOutputWithContext

func (i GetTriggerBuildArtifactObjectArgs) ToGetTriggerBuildArtifactObjectOutputWithContext(ctx context.Context) GetTriggerBuildArtifactObjectOutput

type GetTriggerBuildArtifactObjectArray

type GetTriggerBuildArtifactObjectArray []GetTriggerBuildArtifactObjectInput

func (GetTriggerBuildArtifactObjectArray) ElementType

func (GetTriggerBuildArtifactObjectArray) ToGetTriggerBuildArtifactObjectArrayOutput

func (i GetTriggerBuildArtifactObjectArray) ToGetTriggerBuildArtifactObjectArrayOutput() GetTriggerBuildArtifactObjectArrayOutput

func (GetTriggerBuildArtifactObjectArray) ToGetTriggerBuildArtifactObjectArrayOutputWithContext

func (i GetTriggerBuildArtifactObjectArray) ToGetTriggerBuildArtifactObjectArrayOutputWithContext(ctx context.Context) GetTriggerBuildArtifactObjectArrayOutput

type GetTriggerBuildArtifactObjectArrayInput

type GetTriggerBuildArtifactObjectArrayInput interface {
	pulumi.Input

	ToGetTriggerBuildArtifactObjectArrayOutput() GetTriggerBuildArtifactObjectArrayOutput
	ToGetTriggerBuildArtifactObjectArrayOutputWithContext(context.Context) GetTriggerBuildArtifactObjectArrayOutput
}

GetTriggerBuildArtifactObjectArrayInput is an input type that accepts GetTriggerBuildArtifactObjectArray and GetTriggerBuildArtifactObjectArrayOutput values. You can construct a concrete instance of `GetTriggerBuildArtifactObjectArrayInput` via:

GetTriggerBuildArtifactObjectArray{ GetTriggerBuildArtifactObjectArgs{...} }

type GetTriggerBuildArtifactObjectArrayOutput

type GetTriggerBuildArtifactObjectArrayOutput struct{ *pulumi.OutputState }

func (GetTriggerBuildArtifactObjectArrayOutput) ElementType

func (GetTriggerBuildArtifactObjectArrayOutput) Index

func (GetTriggerBuildArtifactObjectArrayOutput) ToGetTriggerBuildArtifactObjectArrayOutput

func (o GetTriggerBuildArtifactObjectArrayOutput) ToGetTriggerBuildArtifactObjectArrayOutput() GetTriggerBuildArtifactObjectArrayOutput

func (GetTriggerBuildArtifactObjectArrayOutput) ToGetTriggerBuildArtifactObjectArrayOutputWithContext

func (o GetTriggerBuildArtifactObjectArrayOutput) ToGetTriggerBuildArtifactObjectArrayOutputWithContext(ctx context.Context) GetTriggerBuildArtifactObjectArrayOutput

type GetTriggerBuildArtifactObjectInput

type GetTriggerBuildArtifactObjectInput interface {
	pulumi.Input

	ToGetTriggerBuildArtifactObjectOutput() GetTriggerBuildArtifactObjectOutput
	ToGetTriggerBuildArtifactObjectOutputWithContext(context.Context) GetTriggerBuildArtifactObjectOutput
}

GetTriggerBuildArtifactObjectInput is an input type that accepts GetTriggerBuildArtifactObjectArgs and GetTriggerBuildArtifactObjectOutput values. You can construct a concrete instance of `GetTriggerBuildArtifactObjectInput` via:

GetTriggerBuildArtifactObjectArgs{...}

type GetTriggerBuildArtifactObjectOutput

type GetTriggerBuildArtifactObjectOutput struct{ *pulumi.OutputState }

func (GetTriggerBuildArtifactObjectOutput) ElementType

func (GetTriggerBuildArtifactObjectOutput) Location

The Cloud Build location for the trigger.

***

func (GetTriggerBuildArtifactObjectOutput) Paths

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

func (GetTriggerBuildArtifactObjectOutput) Timings

Output only. Stores timing information for pushing all artifact objects.

func (GetTriggerBuildArtifactObjectOutput) ToGetTriggerBuildArtifactObjectOutput

func (o GetTriggerBuildArtifactObjectOutput) ToGetTriggerBuildArtifactObjectOutput() GetTriggerBuildArtifactObjectOutput

func (GetTriggerBuildArtifactObjectOutput) ToGetTriggerBuildArtifactObjectOutputWithContext

func (o GetTriggerBuildArtifactObjectOutput) ToGetTriggerBuildArtifactObjectOutputWithContext(ctx context.Context) GetTriggerBuildArtifactObjectOutput

type GetTriggerBuildArtifactObjectTiming

type GetTriggerBuildArtifactObjectTiming 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 GetTriggerBuildArtifactObjectTimingArgs

type GetTriggerBuildArtifactObjectTimingArgs 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.StringInput `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.StringInput `pulumi:"startTime"`
}

func (GetTriggerBuildArtifactObjectTimingArgs) ElementType

func (GetTriggerBuildArtifactObjectTimingArgs) ToGetTriggerBuildArtifactObjectTimingOutput

func (i GetTriggerBuildArtifactObjectTimingArgs) ToGetTriggerBuildArtifactObjectTimingOutput() GetTriggerBuildArtifactObjectTimingOutput

func (GetTriggerBuildArtifactObjectTimingArgs) ToGetTriggerBuildArtifactObjectTimingOutputWithContext

func (i GetTriggerBuildArtifactObjectTimingArgs) ToGetTriggerBuildArtifactObjectTimingOutputWithContext(ctx context.Context) GetTriggerBuildArtifactObjectTimingOutput

type GetTriggerBuildArtifactObjectTimingArray

type GetTriggerBuildArtifactObjectTimingArray []GetTriggerBuildArtifactObjectTimingInput

func (GetTriggerBuildArtifactObjectTimingArray) ElementType

func (GetTriggerBuildArtifactObjectTimingArray) ToGetTriggerBuildArtifactObjectTimingArrayOutput

func (i GetTriggerBuildArtifactObjectTimingArray) ToGetTriggerBuildArtifactObjectTimingArrayOutput() GetTriggerBuildArtifactObjectTimingArrayOutput

func (GetTriggerBuildArtifactObjectTimingArray) ToGetTriggerBuildArtifactObjectTimingArrayOutputWithContext

func (i GetTriggerBuildArtifactObjectTimingArray) ToGetTriggerBuildArtifactObjectTimingArrayOutputWithContext(ctx context.Context) GetTriggerBuildArtifactObjectTimingArrayOutput

type GetTriggerBuildArtifactObjectTimingArrayInput

type GetTriggerBuildArtifactObjectTimingArrayInput interface {
	pulumi.Input

	ToGetTriggerBuildArtifactObjectTimingArrayOutput() GetTriggerBuildArtifactObjectTimingArrayOutput
	ToGetTriggerBuildArtifactObjectTimingArrayOutputWithContext(context.Context) GetTriggerBuildArtifactObjectTimingArrayOutput
}

GetTriggerBuildArtifactObjectTimingArrayInput is an input type that accepts GetTriggerBuildArtifactObjectTimingArray and GetTriggerBuildArtifactObjectTimingArrayOutput values. You can construct a concrete instance of `GetTriggerBuildArtifactObjectTimingArrayInput` via:

GetTriggerBuildArtifactObjectTimingArray{ GetTriggerBuildArtifactObjectTimingArgs{...} }

type GetTriggerBuildArtifactObjectTimingArrayOutput

type GetTriggerBuildArtifactObjectTimingArrayOutput struct{ *pulumi.OutputState }

func (GetTriggerBuildArtifactObjectTimingArrayOutput) ElementType

func (GetTriggerBuildArtifactObjectTimingArrayOutput) Index

func (GetTriggerBuildArtifactObjectTimingArrayOutput) ToGetTriggerBuildArtifactObjectTimingArrayOutput

func (o GetTriggerBuildArtifactObjectTimingArrayOutput) ToGetTriggerBuildArtifactObjectTimingArrayOutput() GetTriggerBuildArtifactObjectTimingArrayOutput

func (GetTriggerBuildArtifactObjectTimingArrayOutput) ToGetTriggerBuildArtifactObjectTimingArrayOutputWithContext

func (o GetTriggerBuildArtifactObjectTimingArrayOutput) ToGetTriggerBuildArtifactObjectTimingArrayOutputWithContext(ctx context.Context) GetTriggerBuildArtifactObjectTimingArrayOutput

type GetTriggerBuildArtifactObjectTimingInput

type GetTriggerBuildArtifactObjectTimingInput interface {
	pulumi.Input

	ToGetTriggerBuildArtifactObjectTimingOutput() GetTriggerBuildArtifactObjectTimingOutput
	ToGetTriggerBuildArtifactObjectTimingOutputWithContext(context.Context) GetTriggerBuildArtifactObjectTimingOutput
}

GetTriggerBuildArtifactObjectTimingInput is an input type that accepts GetTriggerBuildArtifactObjectTimingArgs and GetTriggerBuildArtifactObjectTimingOutput values. You can construct a concrete instance of `GetTriggerBuildArtifactObjectTimingInput` via:

GetTriggerBuildArtifactObjectTimingArgs{...}

type GetTriggerBuildArtifactObjectTimingOutput

type GetTriggerBuildArtifactObjectTimingOutput struct{ *pulumi.OutputState }

func (GetTriggerBuildArtifactObjectTimingOutput) ElementType

func (GetTriggerBuildArtifactObjectTimingOutput) 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 (GetTriggerBuildArtifactObjectTimingOutput) 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 (GetTriggerBuildArtifactObjectTimingOutput) ToGetTriggerBuildArtifactObjectTimingOutput

func (o GetTriggerBuildArtifactObjectTimingOutput) ToGetTriggerBuildArtifactObjectTimingOutput() GetTriggerBuildArtifactObjectTimingOutput

func (GetTriggerBuildArtifactObjectTimingOutput) ToGetTriggerBuildArtifactObjectTimingOutputWithContext

func (o GetTriggerBuildArtifactObjectTimingOutput) ToGetTriggerBuildArtifactObjectTimingOutputWithContext(ctx context.Context) GetTriggerBuildArtifactObjectTimingOutput

type GetTriggerBuildArtifactOutput

type GetTriggerBuildArtifactOutput struct{ *pulumi.OutputState }

func (GetTriggerBuildArtifactOutput) ElementType

func (GetTriggerBuildArtifactOutput) 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 (GetTriggerBuildArtifactOutput) MavenArtifacts added in v7.3.0

A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.

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.

func (GetTriggerBuildArtifactOutput) NpmPackages added in v7.3.0

Npm package to upload to Artifact Registry upon successful completion of all build steps.

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.

func (GetTriggerBuildArtifactOutput) 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.

func (GetTriggerBuildArtifactOutput) PythonPackages added in v7.3.0

Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.

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.

func (GetTriggerBuildArtifactOutput) ToGetTriggerBuildArtifactOutput

func (o GetTriggerBuildArtifactOutput) ToGetTriggerBuildArtifactOutput() GetTriggerBuildArtifactOutput

func (GetTriggerBuildArtifactOutput) ToGetTriggerBuildArtifactOutputWithContext

func (o GetTriggerBuildArtifactOutput) ToGetTriggerBuildArtifactOutputWithContext(ctx context.Context) GetTriggerBuildArtifactOutput

type GetTriggerBuildArtifactPythonPackage added in v7.3.0

type GetTriggerBuildArtifactPythonPackage struct {
	// Path globs used to match files in the build's workspace. For Python/ Twine, this is usually dist/*, and sometimes additionally an .asc file.
	Paths []string `pulumi:"paths"`
	// Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY"
	//
	// Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.
	Repository string `pulumi:"repository"`
}

type GetTriggerBuildArtifactPythonPackageArgs added in v7.3.0

type GetTriggerBuildArtifactPythonPackageArgs struct {
	// Path globs used to match files in the build's workspace. For Python/ Twine, this is usually dist/*, and sometimes additionally an .asc file.
	Paths pulumi.StringArrayInput `pulumi:"paths"`
	// Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY"
	//
	// Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.
	Repository pulumi.StringInput `pulumi:"repository"`
}

func (GetTriggerBuildArtifactPythonPackageArgs) ElementType added in v7.3.0

func (GetTriggerBuildArtifactPythonPackageArgs) ToGetTriggerBuildArtifactPythonPackageOutput added in v7.3.0

func (i GetTriggerBuildArtifactPythonPackageArgs) ToGetTriggerBuildArtifactPythonPackageOutput() GetTriggerBuildArtifactPythonPackageOutput

func (GetTriggerBuildArtifactPythonPackageArgs) ToGetTriggerBuildArtifactPythonPackageOutputWithContext added in v7.3.0

func (i GetTriggerBuildArtifactPythonPackageArgs) ToGetTriggerBuildArtifactPythonPackageOutputWithContext(ctx context.Context) GetTriggerBuildArtifactPythonPackageOutput

type GetTriggerBuildArtifactPythonPackageArray added in v7.3.0

type GetTriggerBuildArtifactPythonPackageArray []GetTriggerBuildArtifactPythonPackageInput

func (GetTriggerBuildArtifactPythonPackageArray) ElementType added in v7.3.0

func (GetTriggerBuildArtifactPythonPackageArray) ToGetTriggerBuildArtifactPythonPackageArrayOutput added in v7.3.0

func (i GetTriggerBuildArtifactPythonPackageArray) ToGetTriggerBuildArtifactPythonPackageArrayOutput() GetTriggerBuildArtifactPythonPackageArrayOutput

func (GetTriggerBuildArtifactPythonPackageArray) ToGetTriggerBuildArtifactPythonPackageArrayOutputWithContext added in v7.3.0

func (i GetTriggerBuildArtifactPythonPackageArray) ToGetTriggerBuildArtifactPythonPackageArrayOutputWithContext(ctx context.Context) GetTriggerBuildArtifactPythonPackageArrayOutput

type GetTriggerBuildArtifactPythonPackageArrayInput added in v7.3.0

type GetTriggerBuildArtifactPythonPackageArrayInput interface {
	pulumi.Input

	ToGetTriggerBuildArtifactPythonPackageArrayOutput() GetTriggerBuildArtifactPythonPackageArrayOutput
	ToGetTriggerBuildArtifactPythonPackageArrayOutputWithContext(context.Context) GetTriggerBuildArtifactPythonPackageArrayOutput
}

GetTriggerBuildArtifactPythonPackageArrayInput is an input type that accepts GetTriggerBuildArtifactPythonPackageArray and GetTriggerBuildArtifactPythonPackageArrayOutput values. You can construct a concrete instance of `GetTriggerBuildArtifactPythonPackageArrayInput` via:

GetTriggerBuildArtifactPythonPackageArray{ GetTriggerBuildArtifactPythonPackageArgs{...} }

type GetTriggerBuildArtifactPythonPackageArrayOutput added in v7.3.0

type GetTriggerBuildArtifactPythonPackageArrayOutput struct{ *pulumi.OutputState }

func (GetTriggerBuildArtifactPythonPackageArrayOutput) ElementType added in v7.3.0

func (GetTriggerBuildArtifactPythonPackageArrayOutput) Index added in v7.3.0

func (GetTriggerBuildArtifactPythonPackageArrayOutput) ToGetTriggerBuildArtifactPythonPackageArrayOutput added in v7.3.0

func (o GetTriggerBuildArtifactPythonPackageArrayOutput) ToGetTriggerBuildArtifactPythonPackageArrayOutput() GetTriggerBuildArtifactPythonPackageArrayOutput

func (GetTriggerBuildArtifactPythonPackageArrayOutput) ToGetTriggerBuildArtifactPythonPackageArrayOutputWithContext added in v7.3.0

func (o GetTriggerBuildArtifactPythonPackageArrayOutput) ToGetTriggerBuildArtifactPythonPackageArrayOutputWithContext(ctx context.Context) GetTriggerBuildArtifactPythonPackageArrayOutput

type GetTriggerBuildArtifactPythonPackageInput added in v7.3.0

type GetTriggerBuildArtifactPythonPackageInput interface {
	pulumi.Input

	ToGetTriggerBuildArtifactPythonPackageOutput() GetTriggerBuildArtifactPythonPackageOutput
	ToGetTriggerBuildArtifactPythonPackageOutputWithContext(context.Context) GetTriggerBuildArtifactPythonPackageOutput
}

GetTriggerBuildArtifactPythonPackageInput is an input type that accepts GetTriggerBuildArtifactPythonPackageArgs and GetTriggerBuildArtifactPythonPackageOutput values. You can construct a concrete instance of `GetTriggerBuildArtifactPythonPackageInput` via:

GetTriggerBuildArtifactPythonPackageArgs{...}

type GetTriggerBuildArtifactPythonPackageOutput added in v7.3.0

type GetTriggerBuildArtifactPythonPackageOutput struct{ *pulumi.OutputState }

func (GetTriggerBuildArtifactPythonPackageOutput) ElementType added in v7.3.0

func (GetTriggerBuildArtifactPythonPackageOutput) Paths added in v7.3.0

Path globs used to match files in the build's workspace. For Python/ Twine, this is usually dist/*, and sometimes additionally an .asc file.

func (GetTriggerBuildArtifactPythonPackageOutput) Repository added in v7.3.0

Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY"

Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.

func (GetTriggerBuildArtifactPythonPackageOutput) ToGetTriggerBuildArtifactPythonPackageOutput added in v7.3.0

func (o GetTriggerBuildArtifactPythonPackageOutput) ToGetTriggerBuildArtifactPythonPackageOutput() GetTriggerBuildArtifactPythonPackageOutput

func (GetTriggerBuildArtifactPythonPackageOutput) ToGetTriggerBuildArtifactPythonPackageOutputWithContext added in v7.3.0

func (o GetTriggerBuildArtifactPythonPackageOutput) ToGetTriggerBuildArtifactPythonPackageOutputWithContext(ctx context.Context) GetTriggerBuildArtifactPythonPackageOutput

type GetTriggerBuildAvailableSecret

type GetTriggerBuildAvailableSecret struct {
	// Pairs a secret environment variable with a SecretVersion in Secret Manager.
	SecretManagers []GetTriggerBuildAvailableSecretSecretManager `pulumi:"secretManagers"`
}

type GetTriggerBuildAvailableSecretArgs

type GetTriggerBuildAvailableSecretArgs struct {
	// Pairs a secret environment variable with a SecretVersion in Secret Manager.
	SecretManagers GetTriggerBuildAvailableSecretSecretManagerArrayInput `pulumi:"secretManagers"`
}

func (GetTriggerBuildAvailableSecretArgs) ElementType

func (GetTriggerBuildAvailableSecretArgs) ToGetTriggerBuildAvailableSecretOutput

func (i GetTriggerBuildAvailableSecretArgs) ToGetTriggerBuildAvailableSecretOutput() GetTriggerBuildAvailableSecretOutput

func (GetTriggerBuildAvailableSecretArgs) ToGetTriggerBuildAvailableSecretOutputWithContext

func (i GetTriggerBuildAvailableSecretArgs) ToGetTriggerBuildAvailableSecretOutputWithContext(ctx context.Context) GetTriggerBuildAvailableSecretOutput

type GetTriggerBuildAvailableSecretArray

type GetTriggerBuildAvailableSecretArray []GetTriggerBuildAvailableSecretInput

func (GetTriggerBuildAvailableSecretArray) ElementType

func (GetTriggerBuildAvailableSecretArray) ToGetTriggerBuildAvailableSecretArrayOutput

func (i GetTriggerBuildAvailableSecretArray) ToGetTriggerBuildAvailableSecretArrayOutput() GetTriggerBuildAvailableSecretArrayOutput

func (GetTriggerBuildAvailableSecretArray) ToGetTriggerBuildAvailableSecretArrayOutputWithContext

func (i GetTriggerBuildAvailableSecretArray) ToGetTriggerBuildAvailableSecretArrayOutputWithContext(ctx context.Context) GetTriggerBuildAvailableSecretArrayOutput

type GetTriggerBuildAvailableSecretArrayInput

type GetTriggerBuildAvailableSecretArrayInput interface {
	pulumi.Input

	ToGetTriggerBuildAvailableSecretArrayOutput() GetTriggerBuildAvailableSecretArrayOutput
	ToGetTriggerBuildAvailableSecretArrayOutputWithContext(context.Context) GetTriggerBuildAvailableSecretArrayOutput
}

GetTriggerBuildAvailableSecretArrayInput is an input type that accepts GetTriggerBuildAvailableSecretArray and GetTriggerBuildAvailableSecretArrayOutput values. You can construct a concrete instance of `GetTriggerBuildAvailableSecretArrayInput` via:

GetTriggerBuildAvailableSecretArray{ GetTriggerBuildAvailableSecretArgs{...} }

type GetTriggerBuildAvailableSecretArrayOutput

type GetTriggerBuildAvailableSecretArrayOutput struct{ *pulumi.OutputState }

func (GetTriggerBuildAvailableSecretArrayOutput) ElementType

func (GetTriggerBuildAvailableSecretArrayOutput) Index

func (GetTriggerBuildAvailableSecretArrayOutput) ToGetTriggerBuildAvailableSecretArrayOutput

func (o GetTriggerBuildAvailableSecretArrayOutput) ToGetTriggerBuildAvailableSecretArrayOutput() GetTriggerBuildAvailableSecretArrayOutput

func (GetTriggerBuildAvailableSecretArrayOutput) ToGetTriggerBuildAvailableSecretArrayOutputWithContext

func (o GetTriggerBuildAvailableSecretArrayOutput) ToGetTriggerBuildAvailableSecretArrayOutputWithContext(ctx context.Context) GetTriggerBuildAvailableSecretArrayOutput

type GetTriggerBuildAvailableSecretInput

type GetTriggerBuildAvailableSecretInput interface {
	pulumi.Input

	ToGetTriggerBuildAvailableSecretOutput() GetTriggerBuildAvailableSecretOutput
	ToGetTriggerBuildAvailableSecretOutputWithContext(context.Context) GetTriggerBuildAvailableSecretOutput
}

GetTriggerBuildAvailableSecretInput is an input type that accepts GetTriggerBuildAvailableSecretArgs and GetTriggerBuildAvailableSecretOutput values. You can construct a concrete instance of `GetTriggerBuildAvailableSecretInput` via:

GetTriggerBuildAvailableSecretArgs{...}

type GetTriggerBuildAvailableSecretOutput

type GetTriggerBuildAvailableSecretOutput struct{ *pulumi.OutputState }

func (GetTriggerBuildAvailableSecretOutput) ElementType

func (GetTriggerBuildAvailableSecretOutput) SecretManagers

Pairs a secret environment variable with a SecretVersion in Secret Manager.

func (GetTriggerBuildAvailableSecretOutput) ToGetTriggerBuildAvailableSecretOutput

func (o GetTriggerBuildAvailableSecretOutput) ToGetTriggerBuildAvailableSecretOutput() GetTriggerBuildAvailableSecretOutput

func (GetTriggerBuildAvailableSecretOutput) ToGetTriggerBuildAvailableSecretOutputWithContext

func (o GetTriggerBuildAvailableSecretOutput) ToGetTriggerBuildAvailableSecretOutputWithContext(ctx context.Context) GetTriggerBuildAvailableSecretOutput

type GetTriggerBuildAvailableSecretSecretManager

type GetTriggerBuildAvailableSecretSecretManager struct {
	// Environment variable name to associate with the secret. Secret environment
	// variables must be unique across all of a build's secrets, and must be used
	// by at least one build step.
	Env string `pulumi:"env"`
	// Resource name of the SecretVersion. In format: projects/*/secrets/*/versions/*
	VersionName string `pulumi:"versionName"`
}

type GetTriggerBuildAvailableSecretSecretManagerArgs

type GetTriggerBuildAvailableSecretSecretManagerArgs struct {
	// Environment variable name to associate with the secret. Secret environment
	// variables must be unique across all of a build's secrets, and must be used
	// by at least one build step.
	Env pulumi.StringInput `pulumi:"env"`
	// Resource name of the SecretVersion. In format: projects/*/secrets/*/versions/*
	VersionName pulumi.StringInput `pulumi:"versionName"`
}

func (GetTriggerBuildAvailableSecretSecretManagerArgs) ElementType

func (GetTriggerBuildAvailableSecretSecretManagerArgs) ToGetTriggerBuildAvailableSecretSecretManagerOutput

func (i GetTriggerBuildAvailableSecretSecretManagerArgs) ToGetTriggerBuildAvailableSecretSecretManagerOutput() GetTriggerBuildAvailableSecretSecretManagerOutput

func (GetTriggerBuildAvailableSecretSecretManagerArgs) ToGetTriggerBuildAvailableSecretSecretManagerOutputWithContext

func (i GetTriggerBuildAvailableSecretSecretManagerArgs) ToGetTriggerBuildAvailableSecretSecretManagerOutputWithContext(ctx context.Context) GetTriggerBuildAvailableSecretSecretManagerOutput

type GetTriggerBuildAvailableSecretSecretManagerArray

type GetTriggerBuildAvailableSecretSecretManagerArray []GetTriggerBuildAvailableSecretSecretManagerInput

func (GetTriggerBuildAvailableSecretSecretManagerArray) ElementType

func (GetTriggerBuildAvailableSecretSecretManagerArray) ToGetTriggerBuildAvailableSecretSecretManagerArrayOutput

func (i GetTriggerBuildAvailableSecretSecretManagerArray) ToGetTriggerBuildAvailableSecretSecretManagerArrayOutput() GetTriggerBuildAvailableSecretSecretManagerArrayOutput

func (GetTriggerBuildAvailableSecretSecretManagerArray) ToGetTriggerBuildAvailableSecretSecretManagerArrayOutputWithContext

func (i GetTriggerBuildAvailableSecretSecretManagerArray) ToGetTriggerBuildAvailableSecretSecretManagerArrayOutputWithContext(ctx context.Context) GetTriggerBuildAvailableSecretSecretManagerArrayOutput

type GetTriggerBuildAvailableSecretSecretManagerArrayInput

type GetTriggerBuildAvailableSecretSecretManagerArrayInput interface {
	pulumi.Input

	ToGetTriggerBuildAvailableSecretSecretManagerArrayOutput() GetTriggerBuildAvailableSecretSecretManagerArrayOutput
	ToGetTriggerBuildAvailableSecretSecretManagerArrayOutputWithContext(context.Context) GetTriggerBuildAvailableSecretSecretManagerArrayOutput
}

GetTriggerBuildAvailableSecretSecretManagerArrayInput is an input type that accepts GetTriggerBuildAvailableSecretSecretManagerArray and GetTriggerBuildAvailableSecretSecretManagerArrayOutput values. You can construct a concrete instance of `GetTriggerBuildAvailableSecretSecretManagerArrayInput` via:

GetTriggerBuildAvailableSecretSecretManagerArray{ GetTriggerBuildAvailableSecretSecretManagerArgs{...} }

type GetTriggerBuildAvailableSecretSecretManagerArrayOutput

type GetTriggerBuildAvailableSecretSecretManagerArrayOutput struct{ *pulumi.OutputState }

func (GetTriggerBuildAvailableSecretSecretManagerArrayOutput) ElementType

func (GetTriggerBuildAvailableSecretSecretManagerArrayOutput) Index

func (GetTriggerBuildAvailableSecretSecretManagerArrayOutput) ToGetTriggerBuildAvailableSecretSecretManagerArrayOutput

func (GetTriggerBuildAvailableSecretSecretManagerArrayOutput) ToGetTriggerBuildAvailableSecretSecretManagerArrayOutputWithContext

func (o GetTriggerBuildAvailableSecretSecretManagerArrayOutput) ToGetTriggerBuildAvailableSecretSecretManagerArrayOutputWithContext(ctx context.Context) GetTriggerBuildAvailableSecretSecretManagerArrayOutput

type GetTriggerBuildAvailableSecretSecretManagerInput

type GetTriggerBuildAvailableSecretSecretManagerInput interface {
	pulumi.Input

	ToGetTriggerBuildAvailableSecretSecretManagerOutput() GetTriggerBuildAvailableSecretSecretManagerOutput
	ToGetTriggerBuildAvailableSecretSecretManagerOutputWithContext(context.Context) GetTriggerBuildAvailableSecretSecretManagerOutput
}

GetTriggerBuildAvailableSecretSecretManagerInput is an input type that accepts GetTriggerBuildAvailableSecretSecretManagerArgs and GetTriggerBuildAvailableSecretSecretManagerOutput values. You can construct a concrete instance of `GetTriggerBuildAvailableSecretSecretManagerInput` via:

GetTriggerBuildAvailableSecretSecretManagerArgs{...}

type GetTriggerBuildAvailableSecretSecretManagerOutput

type GetTriggerBuildAvailableSecretSecretManagerOutput struct{ *pulumi.OutputState }

func (GetTriggerBuildAvailableSecretSecretManagerOutput) ElementType

func (GetTriggerBuildAvailableSecretSecretManagerOutput) Env

Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.

func (GetTriggerBuildAvailableSecretSecretManagerOutput) ToGetTriggerBuildAvailableSecretSecretManagerOutput

func (o GetTriggerBuildAvailableSecretSecretManagerOutput) ToGetTriggerBuildAvailableSecretSecretManagerOutput() GetTriggerBuildAvailableSecretSecretManagerOutput

func (GetTriggerBuildAvailableSecretSecretManagerOutput) ToGetTriggerBuildAvailableSecretSecretManagerOutputWithContext

func (o GetTriggerBuildAvailableSecretSecretManagerOutput) ToGetTriggerBuildAvailableSecretSecretManagerOutputWithContext(ctx context.Context) GetTriggerBuildAvailableSecretSecretManagerOutput

func (GetTriggerBuildAvailableSecretSecretManagerOutput) VersionName

Resource name of the SecretVersion. In format: projects/*/secrets/*/versions/*

type GetTriggerBuildInput

type GetTriggerBuildInput interface {
	pulumi.Input

	ToGetTriggerBuildOutput() GetTriggerBuildOutput
	ToGetTriggerBuildOutputWithContext(context.Context) GetTriggerBuildOutput
}

GetTriggerBuildInput is an input type that accepts GetTriggerBuildArgs and GetTriggerBuildOutput values. You can construct a concrete instance of `GetTriggerBuildInput` via:

GetTriggerBuildArgs{...}

type GetTriggerBuildOption

type GetTriggerBuildOption 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: ["STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF"]
	LogStreamingOption string `pulumi:"logStreamingOption"`
	// Option to specify the logging mode, which determines if and where build logs are stored. Possible values: ["LOGGING_UNSPECIFIED", "LEGACY", "GCS_ONLY", "STACKDRIVER_ONLY", "CLOUD_LOGGING_ONLY", "NONE"]
	Logging string `pulumi:"logging"`
	// Compute Engine machine type on which to run the build.
	MachineType string `pulumi:"machineType"`
	// Requested verifiability options. Possible values: ["NOT_VERIFIED", "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. Possible values: ["NONE", "SHA256", "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: ["MUST_MATCH", "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.
	Volumes []GetTriggerBuildOptionVolume `pulumi:"volumes"`
	// Option to specify a WorkerPool for the build. Format projects/{project}/workerPools/{workerPool}
	//
	// This field is experimental.
	WorkerPool string `pulumi:"workerPool"`
}

type GetTriggerBuildOptionArgs

type GetTriggerBuildOptionArgs 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.IntInput `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.BoolInput `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: ["STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF"]
	LogStreamingOption pulumi.StringInput `pulumi:"logStreamingOption"`
	// Option to specify the logging mode, which determines if and where build logs are stored. Possible values: ["LOGGING_UNSPECIFIED", "LEGACY", "GCS_ONLY", "STACKDRIVER_ONLY", "CLOUD_LOGGING_ONLY", "NONE"]
	Logging pulumi.StringInput `pulumi:"logging"`
	// Compute Engine machine type on which to run the build.
	MachineType pulumi.StringInput `pulumi:"machineType"`
	// Requested verifiability options. Possible values: ["NOT_VERIFIED", "VERIFIED"]
	RequestedVerifyOption pulumi.StringInput `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. Possible values: ["NONE", "SHA256", "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: ["MUST_MATCH", "ALLOW_LOOSE"]
	SubstitutionOption pulumi.StringInput `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.
	Volumes GetTriggerBuildOptionVolumeArrayInput `pulumi:"volumes"`
	// Option to specify a WorkerPool for the build. Format projects/{project}/workerPools/{workerPool}
	//
	// This field is experimental.
	WorkerPool pulumi.StringInput `pulumi:"workerPool"`
}

func (GetTriggerBuildOptionArgs) ElementType

func (GetTriggerBuildOptionArgs) ElementType() reflect.Type

func (GetTriggerBuildOptionArgs) ToGetTriggerBuildOptionOutput

func (i GetTriggerBuildOptionArgs) ToGetTriggerBuildOptionOutput() GetTriggerBuildOptionOutput

func (GetTriggerBuildOptionArgs) ToGetTriggerBuildOptionOutputWithContext

func (i GetTriggerBuildOptionArgs) ToGetTriggerBuildOptionOutputWithContext(ctx context.Context) GetTriggerBuildOptionOutput

type GetTriggerBuildOptionArray

type GetTriggerBuildOptionArray []GetTriggerBuildOptionInput

func (GetTriggerBuildOptionArray) ElementType

func (GetTriggerBuildOptionArray) ElementType() reflect.Type

func (GetTriggerBuildOptionArray) ToGetTriggerBuildOptionArrayOutput

func (i GetTriggerBuildOptionArray) ToGetTriggerBuildOptionArrayOutput() GetTriggerBuildOptionArrayOutput

func (GetTriggerBuildOptionArray) ToGetTriggerBuildOptionArrayOutputWithContext

func (i GetTriggerBuildOptionArray) ToGetTriggerBuildOptionArrayOutputWithContext(ctx context.Context) GetTriggerBuildOptionArrayOutput

type GetTriggerBuildOptionArrayInput

type GetTriggerBuildOptionArrayInput interface {
	pulumi.Input

	ToGetTriggerBuildOptionArrayOutput() GetTriggerBuildOptionArrayOutput
	ToGetTriggerBuildOptionArrayOutputWithContext(context.Context) GetTriggerBuildOptionArrayOutput
}

GetTriggerBuildOptionArrayInput is an input type that accepts GetTriggerBuildOptionArray and GetTriggerBuildOptionArrayOutput values. You can construct a concrete instance of `GetTriggerBuildOptionArrayInput` via:

GetTriggerBuildOptionArray{ GetTriggerBuildOptionArgs{...} }

type GetTriggerBuildOptionArrayOutput

type GetTriggerBuildOptionArrayOutput struct{ *pulumi.OutputState }

func (GetTriggerBuildOptionArrayOutput) ElementType

func (GetTriggerBuildOptionArrayOutput) Index

func (GetTriggerBuildOptionArrayOutput) ToGetTriggerBuildOptionArrayOutput

func (o GetTriggerBuildOptionArrayOutput) ToGetTriggerBuildOptionArrayOutput() GetTriggerBuildOptionArrayOutput

func (GetTriggerBuildOptionArrayOutput) ToGetTriggerBuildOptionArrayOutputWithContext

func (o GetTriggerBuildOptionArrayOutput) ToGetTriggerBuildOptionArrayOutputWithContext(ctx context.Context) GetTriggerBuildOptionArrayOutput

type GetTriggerBuildOptionInput

type GetTriggerBuildOptionInput interface {
	pulumi.Input

	ToGetTriggerBuildOptionOutput() GetTriggerBuildOptionOutput
	ToGetTriggerBuildOptionOutputWithContext(context.Context) GetTriggerBuildOptionOutput
}

GetTriggerBuildOptionInput is an input type that accepts GetTriggerBuildOptionArgs and GetTriggerBuildOptionOutput values. You can construct a concrete instance of `GetTriggerBuildOptionInput` via:

GetTriggerBuildOptionArgs{...}

type GetTriggerBuildOptionOutput

type GetTriggerBuildOptionOutput struct{ *pulumi.OutputState }

func (GetTriggerBuildOptionOutput) 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 (GetTriggerBuildOptionOutput) DynamicSubstitutions

func (o GetTriggerBuildOptionOutput) DynamicSubstitutions() pulumi.BoolOutput

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 (GetTriggerBuildOptionOutput) ElementType

func (GetTriggerBuildOptionOutput) 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 (GetTriggerBuildOptionOutput) LogStreamingOption

func (o GetTriggerBuildOptionOutput) LogStreamingOption() pulumi.StringOutput

Option to define build log streaming behavior to Google Cloud Storage. Possible values: ["STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF"]

func (GetTriggerBuildOptionOutput) Logging

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

func (GetTriggerBuildOptionOutput) MachineType

Compute Engine machine type on which to run the build.

func (GetTriggerBuildOptionOutput) RequestedVerifyOption

func (o GetTriggerBuildOptionOutput) RequestedVerifyOption() pulumi.StringOutput

Requested verifiability options. Possible values: ["NOT_VERIFIED", "VERIFIED"]

func (GetTriggerBuildOptionOutput) 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 (GetTriggerBuildOptionOutput) SourceProvenanceHashes

func (o GetTriggerBuildOptionOutput) SourceProvenanceHashes() pulumi.StringArrayOutput

Requested hash for SourceProvenance. Possible values: ["NONE", "SHA256", "MD5"]

func (GetTriggerBuildOptionOutput) SubstitutionOption

func (o GetTriggerBuildOptionOutput) SubstitutionOption() pulumi.StringOutput

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: ["MUST_MATCH", "ALLOW_LOOSE"]

func (GetTriggerBuildOptionOutput) ToGetTriggerBuildOptionOutput

func (o GetTriggerBuildOptionOutput) ToGetTriggerBuildOptionOutput() GetTriggerBuildOptionOutput

func (GetTriggerBuildOptionOutput) ToGetTriggerBuildOptionOutputWithContext

func (o GetTriggerBuildOptionOutput) ToGetTriggerBuildOptionOutputWithContext(ctx context.Context) GetTriggerBuildOptionOutput

func (GetTriggerBuildOptionOutput) 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.

func (GetTriggerBuildOptionOutput) WorkerPool

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

This field is experimental.

type GetTriggerBuildOptionVolume

type GetTriggerBuildOptionVolume 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 GetTriggerBuildOptionVolumeArgs

type GetTriggerBuildOptionVolumeArgs 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 (GetTriggerBuildOptionVolumeArgs) ElementType

func (GetTriggerBuildOptionVolumeArgs) ToGetTriggerBuildOptionVolumeOutput

func (i GetTriggerBuildOptionVolumeArgs) ToGetTriggerBuildOptionVolumeOutput() GetTriggerBuildOptionVolumeOutput

func (GetTriggerBuildOptionVolumeArgs) ToGetTriggerBuildOptionVolumeOutputWithContext

func (i GetTriggerBuildOptionVolumeArgs) ToGetTriggerBuildOptionVolumeOutputWithContext(ctx context.Context) GetTriggerBuildOptionVolumeOutput

type GetTriggerBuildOptionVolumeArray

type GetTriggerBuildOptionVolumeArray []GetTriggerBuildOptionVolumeInput

func (GetTriggerBuildOptionVolumeArray) ElementType

func (GetTriggerBuildOptionVolumeArray) ToGetTriggerBuildOptionVolumeArrayOutput

func (i GetTriggerBuildOptionVolumeArray) ToGetTriggerBuildOptionVolumeArrayOutput() GetTriggerBuildOptionVolumeArrayOutput

func (GetTriggerBuildOptionVolumeArray) ToGetTriggerBuildOptionVolumeArrayOutputWithContext

func (i GetTriggerBuildOptionVolumeArray) ToGetTriggerBuildOptionVolumeArrayOutputWithContext(ctx context.Context) GetTriggerBuildOptionVolumeArrayOutput

type GetTriggerBuildOptionVolumeArrayInput

type GetTriggerBuildOptionVolumeArrayInput interface {
	pulumi.Input

	ToGetTriggerBuildOptionVolumeArrayOutput() GetTriggerBuildOptionVolumeArrayOutput
	ToGetTriggerBuildOptionVolumeArrayOutputWithContext(context.Context) GetTriggerBuildOptionVolumeArrayOutput
}

GetTriggerBuildOptionVolumeArrayInput is an input type that accepts GetTriggerBuildOptionVolumeArray and GetTriggerBuildOptionVolumeArrayOutput values. You can construct a concrete instance of `GetTriggerBuildOptionVolumeArrayInput` via:

GetTriggerBuildOptionVolumeArray{ GetTriggerBuildOptionVolumeArgs{...} }

type GetTriggerBuildOptionVolumeArrayOutput

type GetTriggerBuildOptionVolumeArrayOutput struct{ *pulumi.OutputState }

func (GetTriggerBuildOptionVolumeArrayOutput) ElementType

func (GetTriggerBuildOptionVolumeArrayOutput) Index

func (GetTriggerBuildOptionVolumeArrayOutput) ToGetTriggerBuildOptionVolumeArrayOutput

func (o GetTriggerBuildOptionVolumeArrayOutput) ToGetTriggerBuildOptionVolumeArrayOutput() GetTriggerBuildOptionVolumeArrayOutput

func (GetTriggerBuildOptionVolumeArrayOutput) ToGetTriggerBuildOptionVolumeArrayOutputWithContext

func (o GetTriggerBuildOptionVolumeArrayOutput) ToGetTriggerBuildOptionVolumeArrayOutputWithContext(ctx context.Context) GetTriggerBuildOptionVolumeArrayOutput

type GetTriggerBuildOptionVolumeInput

type GetTriggerBuildOptionVolumeInput interface {
	pulumi.Input

	ToGetTriggerBuildOptionVolumeOutput() GetTriggerBuildOptionVolumeOutput
	ToGetTriggerBuildOptionVolumeOutputWithContext(context.Context) GetTriggerBuildOptionVolumeOutput
}

GetTriggerBuildOptionVolumeInput is an input type that accepts GetTriggerBuildOptionVolumeArgs and GetTriggerBuildOptionVolumeOutput values. You can construct a concrete instance of `GetTriggerBuildOptionVolumeInput` via:

GetTriggerBuildOptionVolumeArgs{...}

type GetTriggerBuildOptionVolumeOutput

type GetTriggerBuildOptionVolumeOutput struct{ *pulumi.OutputState }

func (GetTriggerBuildOptionVolumeOutput) ElementType

func (GetTriggerBuildOptionVolumeOutput) 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 (GetTriggerBuildOptionVolumeOutput) 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 (GetTriggerBuildOptionVolumeOutput) ToGetTriggerBuildOptionVolumeOutput

func (o GetTriggerBuildOptionVolumeOutput) ToGetTriggerBuildOptionVolumeOutput() GetTriggerBuildOptionVolumeOutput

func (GetTriggerBuildOptionVolumeOutput) ToGetTriggerBuildOptionVolumeOutputWithContext

func (o GetTriggerBuildOptionVolumeOutput) ToGetTriggerBuildOptionVolumeOutputWithContext(ctx context.Context) GetTriggerBuildOptionVolumeOutput

type GetTriggerBuildOutput

type GetTriggerBuildOutput struct{ *pulumi.OutputState }

func (GetTriggerBuildOutput) Artifacts

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

func (GetTriggerBuildOutput) AvailableSecrets

Secrets and secret environment variables.

func (GetTriggerBuildOutput) ElementType

func (GetTriggerBuildOutput) ElementType() reflect.Type

func (GetTriggerBuildOutput) Images

A list of images to be pushed upon the successful completion of all build steps. The images are 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 status is marked FAILURE.

func (GetTriggerBuildOutput) LogsBucket

func (o GetTriggerBuildOutput) LogsBucket() pulumi.StringOutput

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

func (GetTriggerBuildOutput) Options

Special options for this build.

func (GetTriggerBuildOutput) 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 (GetTriggerBuildOutput) Secrets

Secrets to decrypt using Cloud Key Management Service.

func (GetTriggerBuildOutput) Sources

The location of the source files to build.

One of 'storageSource' or 'repoSource' must be provided.

func (GetTriggerBuildOutput) Steps

The operations to be performed on the workspace.

func (GetTriggerBuildOutput) Substitutions

func (o GetTriggerBuildOutput) Substitutions() pulumi.StringMapOutput

Substitutions data for Build resource.

func (GetTriggerBuildOutput) Tags

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

func (GetTriggerBuildOutput) Timeout

Amount of time that this build should be allowed to run, to second granularity. If this amount of time elapses, work on the build will cease and the build status will be TIMEOUT. This timeout must be equal to or greater than the sum of the timeouts for build steps within the build. The expected format is the number of seconds followed by s. Default time is ten minutes (600s).

func (GetTriggerBuildOutput) ToGetTriggerBuildOutput

func (o GetTriggerBuildOutput) ToGetTriggerBuildOutput() GetTriggerBuildOutput

func (GetTriggerBuildOutput) ToGetTriggerBuildOutputWithContext

func (o GetTriggerBuildOutput) ToGetTriggerBuildOutputWithContext(ctx context.Context) GetTriggerBuildOutput

type GetTriggerBuildSecret

type GetTriggerBuildSecret struct {
	// Cloud KMS key name to use to decrypt these envs.
	KmsKeyName string `pulumi:"kmsKeyName"`
	// Map of environment variable name to its encrypted value.
	// Secret environment variables must be unique across all of a build's secrets,
	// and must be used by at least one build step. Values can be at most 64 KB in size.
	// There can be at most 100 secret values across all of a build's secrets.
	SecretEnv map[string]string `pulumi:"secretEnv"`
}

type GetTriggerBuildSecretArgs

type GetTriggerBuildSecretArgs struct {
	// Cloud KMS key name to use to decrypt these envs.
	KmsKeyName pulumi.StringInput `pulumi:"kmsKeyName"`
	// Map of environment variable name to its encrypted value.
	// Secret environment variables must be unique across all of a build's secrets,
	// and must be used by at least one build step. Values can be at most 64 KB in size.
	// There can be at most 100 secret values across all of a build's secrets.
	SecretEnv pulumi.StringMapInput `pulumi:"secretEnv"`
}

func (GetTriggerBuildSecretArgs) ElementType

func (GetTriggerBuildSecretArgs) ElementType() reflect.Type

func (GetTriggerBuildSecretArgs) ToGetTriggerBuildSecretOutput

func (i GetTriggerBuildSecretArgs) ToGetTriggerBuildSecretOutput() GetTriggerBuildSecretOutput

func (GetTriggerBuildSecretArgs) ToGetTriggerBuildSecretOutputWithContext

func (i GetTriggerBuildSecretArgs) ToGetTriggerBuildSecretOutputWithContext(ctx context.Context) GetTriggerBuildSecretOutput

type GetTriggerBuildSecretArray

type GetTriggerBuildSecretArray []GetTriggerBuildSecretInput

func (GetTriggerBuildSecretArray) ElementType

func (GetTriggerBuildSecretArray) ElementType() reflect.Type

func (GetTriggerBuildSecretArray) ToGetTriggerBuildSecretArrayOutput

func (i GetTriggerBuildSecretArray) ToGetTriggerBuildSecretArrayOutput() GetTriggerBuildSecretArrayOutput

func (GetTriggerBuildSecretArray) ToGetTriggerBuildSecretArrayOutputWithContext

func (i GetTriggerBuildSecretArray) ToGetTriggerBuildSecretArrayOutputWithContext(ctx context.Context) GetTriggerBuildSecretArrayOutput

type GetTriggerBuildSecretArrayInput

type GetTriggerBuildSecretArrayInput interface {
	pulumi.Input

	ToGetTriggerBuildSecretArrayOutput() GetTriggerBuildSecretArrayOutput
	ToGetTriggerBuildSecretArrayOutputWithContext(context.Context) GetTriggerBuildSecretArrayOutput
}

GetTriggerBuildSecretArrayInput is an input type that accepts GetTriggerBuildSecretArray and GetTriggerBuildSecretArrayOutput values. You can construct a concrete instance of `GetTriggerBuildSecretArrayInput` via:

GetTriggerBuildSecretArray{ GetTriggerBuildSecretArgs{...} }

type GetTriggerBuildSecretArrayOutput

type GetTriggerBuildSecretArrayOutput struct{ *pulumi.OutputState }

func (GetTriggerBuildSecretArrayOutput) ElementType

func (GetTriggerBuildSecretArrayOutput) Index

func (GetTriggerBuildSecretArrayOutput) ToGetTriggerBuildSecretArrayOutput

func (o GetTriggerBuildSecretArrayOutput) ToGetTriggerBuildSecretArrayOutput() GetTriggerBuildSecretArrayOutput

func (GetTriggerBuildSecretArrayOutput) ToGetTriggerBuildSecretArrayOutputWithContext

func (o GetTriggerBuildSecretArrayOutput) ToGetTriggerBuildSecretArrayOutputWithContext(ctx context.Context) GetTriggerBuildSecretArrayOutput

type GetTriggerBuildSecretInput

type GetTriggerBuildSecretInput interface {
	pulumi.Input

	ToGetTriggerBuildSecretOutput() GetTriggerBuildSecretOutput
	ToGetTriggerBuildSecretOutputWithContext(context.Context) GetTriggerBuildSecretOutput
}

GetTriggerBuildSecretInput is an input type that accepts GetTriggerBuildSecretArgs and GetTriggerBuildSecretOutput values. You can construct a concrete instance of `GetTriggerBuildSecretInput` via:

GetTriggerBuildSecretArgs{...}

type GetTriggerBuildSecretOutput

type GetTriggerBuildSecretOutput struct{ *pulumi.OutputState }

func (GetTriggerBuildSecretOutput) ElementType

func (GetTriggerBuildSecretOutput) KmsKeyName

Cloud KMS key name to use to decrypt these envs.

func (GetTriggerBuildSecretOutput) SecretEnv

Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.

func (GetTriggerBuildSecretOutput) ToGetTriggerBuildSecretOutput

func (o GetTriggerBuildSecretOutput) ToGetTriggerBuildSecretOutput() GetTriggerBuildSecretOutput

func (GetTriggerBuildSecretOutput) ToGetTriggerBuildSecretOutputWithContext

func (o GetTriggerBuildSecretOutput) ToGetTriggerBuildSecretOutputWithContext(ctx context.Context) GetTriggerBuildSecretOutput

type GetTriggerBuildSource

type GetTriggerBuildSource struct {
	// Location of the source in a Google Cloud Source Repository.
	RepoSources []GetTriggerBuildSourceRepoSource `pulumi:"repoSources"`
	// Location of the source in an archive file in Google Cloud Storage.
	StorageSources []GetTriggerBuildSourceStorageSource `pulumi:"storageSources"`
}

type GetTriggerBuildSourceArgs

type GetTriggerBuildSourceArgs struct {
	// Location of the source in a Google Cloud Source Repository.
	RepoSources GetTriggerBuildSourceRepoSourceArrayInput `pulumi:"repoSources"`
	// Location of the source in an archive file in Google Cloud Storage.
	StorageSources GetTriggerBuildSourceStorageSourceArrayInput `pulumi:"storageSources"`
}

func (GetTriggerBuildSourceArgs) ElementType

func (GetTriggerBuildSourceArgs) ElementType() reflect.Type

func (GetTriggerBuildSourceArgs) ToGetTriggerBuildSourceOutput

func (i GetTriggerBuildSourceArgs) ToGetTriggerBuildSourceOutput() GetTriggerBuildSourceOutput

func (GetTriggerBuildSourceArgs) ToGetTriggerBuildSourceOutputWithContext

func (i GetTriggerBuildSourceArgs) ToGetTriggerBuildSourceOutputWithContext(ctx context.Context) GetTriggerBuildSourceOutput

type GetTriggerBuildSourceArray

type GetTriggerBuildSourceArray []GetTriggerBuildSourceInput

func (GetTriggerBuildSourceArray) ElementType

func (GetTriggerBuildSourceArray) ElementType() reflect.Type

func (GetTriggerBuildSourceArray) ToGetTriggerBuildSourceArrayOutput

func (i GetTriggerBuildSourceArray) ToGetTriggerBuildSourceArrayOutput() GetTriggerBuildSourceArrayOutput

func (GetTriggerBuildSourceArray) ToGetTriggerBuildSourceArrayOutputWithContext

func (i GetTriggerBuildSourceArray) ToGetTriggerBuildSourceArrayOutputWithContext(ctx context.Context) GetTriggerBuildSourceArrayOutput

type GetTriggerBuildSourceArrayInput

type GetTriggerBuildSourceArrayInput interface {
	pulumi.Input

	ToGetTriggerBuildSourceArrayOutput() GetTriggerBuildSourceArrayOutput
	ToGetTriggerBuildSourceArrayOutputWithContext(context.Context) GetTriggerBuildSourceArrayOutput
}

GetTriggerBuildSourceArrayInput is an input type that accepts GetTriggerBuildSourceArray and GetTriggerBuildSourceArrayOutput values. You can construct a concrete instance of `GetTriggerBuildSourceArrayInput` via:

GetTriggerBuildSourceArray{ GetTriggerBuildSourceArgs{...} }

type GetTriggerBuildSourceArrayOutput

type GetTriggerBuildSourceArrayOutput struct{ *pulumi.OutputState }

func (GetTriggerBuildSourceArrayOutput) ElementType

func (GetTriggerBuildSourceArrayOutput) Index

func (GetTriggerBuildSourceArrayOutput) ToGetTriggerBuildSourceArrayOutput

func (o GetTriggerBuildSourceArrayOutput) ToGetTriggerBuildSourceArrayOutput() GetTriggerBuildSourceArrayOutput

func (GetTriggerBuildSourceArrayOutput) ToGetTriggerBuildSourceArrayOutputWithContext

func (o GetTriggerBuildSourceArrayOutput) ToGetTriggerBuildSourceArrayOutputWithContext(ctx context.Context) GetTriggerBuildSourceArrayOutput

type GetTriggerBuildSourceInput

type GetTriggerBuildSourceInput interface {
	pulumi.Input

	ToGetTriggerBuildSourceOutput() GetTriggerBuildSourceOutput
	ToGetTriggerBuildSourceOutputWithContext(context.Context) GetTriggerBuildSourceOutput
}

GetTriggerBuildSourceInput is an input type that accepts GetTriggerBuildSourceArgs and GetTriggerBuildSourceOutput values. You can construct a concrete instance of `GetTriggerBuildSourceInput` via:

GetTriggerBuildSourceArgs{...}

type GetTriggerBuildSourceOutput

type GetTriggerBuildSourceOutput struct{ *pulumi.OutputState }

func (GetTriggerBuildSourceOutput) ElementType

func (GetTriggerBuildSourceOutput) RepoSources

Location of the source in a Google Cloud Source Repository.

func (GetTriggerBuildSourceOutput) StorageSources

Location of the source in an archive file in Google Cloud Storage.

func (GetTriggerBuildSourceOutput) ToGetTriggerBuildSourceOutput

func (o GetTriggerBuildSourceOutput) ToGetTriggerBuildSourceOutput() GetTriggerBuildSourceOutput

func (GetTriggerBuildSourceOutput) ToGetTriggerBuildSourceOutputWithContext

func (o GetTriggerBuildSourceOutput) ToGetTriggerBuildSourceOutputWithContext(ctx context.Context) GetTriggerBuildSourceOutput

type GetTriggerBuildSourceRepoSource

type GetTriggerBuildSourceRepoSource 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"`
	// Directory, relative to the source root, in which to run the build.
	// This must be a relative path. If a step's dir is specified and is an absolute path,
	// this value is ignored for that 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 GetTriggerBuildSourceRepoSourceArgs

type GetTriggerBuildSourceRepoSourceArgs 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.StringInput `pulumi:"branchName"`
	// Explicit commit SHA to build. Exactly one a of branch name, tag, or commit SHA must be provided.
	CommitSha pulumi.StringInput `pulumi:"commitSha"`
	// Directory, relative to the source root, in which to run the build.
	// This must be a relative path. If a step's dir is specified and is an absolute path,
	// this value is ignored for that step's execution.
	Dir pulumi.StringInput `pulumi:"dir"`
	// Only trigger a build if the revision regex does NOT match the revision regex.
	InvertRegex pulumi.BoolInput `pulumi:"invertRegex"`
	// ID of the project that owns the Cloud Source Repository.
	// If omitted, the project ID requesting the build is assumed.
	ProjectId pulumi.StringInput `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.StringInput `pulumi:"tagName"`
}

func (GetTriggerBuildSourceRepoSourceArgs) ElementType

func (GetTriggerBuildSourceRepoSourceArgs) ToGetTriggerBuildSourceRepoSourceOutput

func (i GetTriggerBuildSourceRepoSourceArgs) ToGetTriggerBuildSourceRepoSourceOutput() GetTriggerBuildSourceRepoSourceOutput

func (GetTriggerBuildSourceRepoSourceArgs) ToGetTriggerBuildSourceRepoSourceOutputWithContext

func (i GetTriggerBuildSourceRepoSourceArgs) ToGetTriggerBuildSourceRepoSourceOutputWithContext(ctx context.Context) GetTriggerBuildSourceRepoSourceOutput

type GetTriggerBuildSourceRepoSourceArray

type GetTriggerBuildSourceRepoSourceArray []GetTriggerBuildSourceRepoSourceInput

func (GetTriggerBuildSourceRepoSourceArray) ElementType

func (GetTriggerBuildSourceRepoSourceArray) ToGetTriggerBuildSourceRepoSourceArrayOutput

func (i GetTriggerBuildSourceRepoSourceArray) ToGetTriggerBuildSourceRepoSourceArrayOutput() GetTriggerBuildSourceRepoSourceArrayOutput

func (GetTriggerBuildSourceRepoSourceArray) ToGetTriggerBuildSourceRepoSourceArrayOutputWithContext

func (i GetTriggerBuildSourceRepoSourceArray) ToGetTriggerBuildSourceRepoSourceArrayOutputWithContext(ctx context.Context) GetTriggerBuildSourceRepoSourceArrayOutput

type GetTriggerBuildSourceRepoSourceArrayInput

type GetTriggerBuildSourceRepoSourceArrayInput interface {
	pulumi.Input

	ToGetTriggerBuildSourceRepoSourceArrayOutput() GetTriggerBuildSourceRepoSourceArrayOutput
	ToGetTriggerBuildSourceRepoSourceArrayOutputWithContext(context.Context) GetTriggerBuildSourceRepoSourceArrayOutput
}

GetTriggerBuildSourceRepoSourceArrayInput is an input type that accepts GetTriggerBuildSourceRepoSourceArray and GetTriggerBuildSourceRepoSourceArrayOutput values. You can construct a concrete instance of `GetTriggerBuildSourceRepoSourceArrayInput` via:

GetTriggerBuildSourceRepoSourceArray{ GetTriggerBuildSourceRepoSourceArgs{...} }

type GetTriggerBuildSourceRepoSourceArrayOutput

type GetTriggerBuildSourceRepoSourceArrayOutput struct{ *pulumi.OutputState }

func (GetTriggerBuildSourceRepoSourceArrayOutput) ElementType

func (GetTriggerBuildSourceRepoSourceArrayOutput) Index

func (GetTriggerBuildSourceRepoSourceArrayOutput) ToGetTriggerBuildSourceRepoSourceArrayOutput

func (o GetTriggerBuildSourceRepoSourceArrayOutput) ToGetTriggerBuildSourceRepoSourceArrayOutput() GetTriggerBuildSourceRepoSourceArrayOutput

func (GetTriggerBuildSourceRepoSourceArrayOutput) ToGetTriggerBuildSourceRepoSourceArrayOutputWithContext

func (o GetTriggerBuildSourceRepoSourceArrayOutput) ToGetTriggerBuildSourceRepoSourceArrayOutputWithContext(ctx context.Context) GetTriggerBuildSourceRepoSourceArrayOutput

type GetTriggerBuildSourceRepoSourceInput

type GetTriggerBuildSourceRepoSourceInput interface {
	pulumi.Input

	ToGetTriggerBuildSourceRepoSourceOutput() GetTriggerBuildSourceRepoSourceOutput
	ToGetTriggerBuildSourceRepoSourceOutputWithContext(context.Context) GetTriggerBuildSourceRepoSourceOutput
}

GetTriggerBuildSourceRepoSourceInput is an input type that accepts GetTriggerBuildSourceRepoSourceArgs and GetTriggerBuildSourceRepoSourceOutput values. You can construct a concrete instance of `GetTriggerBuildSourceRepoSourceInput` via:

GetTriggerBuildSourceRepoSourceArgs{...}

type GetTriggerBuildSourceRepoSourceOutput

type GetTriggerBuildSourceRepoSourceOutput struct{ *pulumi.OutputState }

func (GetTriggerBuildSourceRepoSourceOutput) 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 (GetTriggerBuildSourceRepoSourceOutput) CommitSha

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

func (GetTriggerBuildSourceRepoSourceOutput) Dir

Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's dir is specified and is an absolute path, this value is ignored for that step's execution.

func (GetTriggerBuildSourceRepoSourceOutput) ElementType

func (GetTriggerBuildSourceRepoSourceOutput) InvertRegex

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

func (GetTriggerBuildSourceRepoSourceOutput) ProjectId

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

func (GetTriggerBuildSourceRepoSourceOutput) RepoName

Name of the Cloud Source Repository.

func (GetTriggerBuildSourceRepoSourceOutput) Substitutions

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

func (GetTriggerBuildSourceRepoSourceOutput) 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 (GetTriggerBuildSourceRepoSourceOutput) ToGetTriggerBuildSourceRepoSourceOutput

func (o GetTriggerBuildSourceRepoSourceOutput) ToGetTriggerBuildSourceRepoSourceOutput() GetTriggerBuildSourceRepoSourceOutput

func (GetTriggerBuildSourceRepoSourceOutput) ToGetTriggerBuildSourceRepoSourceOutputWithContext

func (o GetTriggerBuildSourceRepoSourceOutput) ToGetTriggerBuildSourceRepoSourceOutputWithContext(ctx context.Context) GetTriggerBuildSourceRepoSourceOutput

type GetTriggerBuildSourceStorageSource

type GetTriggerBuildSourceStorageSource 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 GetTriggerBuildSourceStorageSourceArgs

type GetTriggerBuildSourceStorageSourceArgs 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.StringInput `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 (GetTriggerBuildSourceStorageSourceArgs) ElementType

func (GetTriggerBuildSourceStorageSourceArgs) ToGetTriggerBuildSourceStorageSourceOutput

func (i GetTriggerBuildSourceStorageSourceArgs) ToGetTriggerBuildSourceStorageSourceOutput() GetTriggerBuildSourceStorageSourceOutput

func (GetTriggerBuildSourceStorageSourceArgs) ToGetTriggerBuildSourceStorageSourceOutputWithContext

func (i GetTriggerBuildSourceStorageSourceArgs) ToGetTriggerBuildSourceStorageSourceOutputWithContext(ctx context.Context) GetTriggerBuildSourceStorageSourceOutput

type GetTriggerBuildSourceStorageSourceArray

type GetTriggerBuildSourceStorageSourceArray []GetTriggerBuildSourceStorageSourceInput

func (GetTriggerBuildSourceStorageSourceArray) ElementType

func (GetTriggerBuildSourceStorageSourceArray) ToGetTriggerBuildSourceStorageSourceArrayOutput

func (i GetTriggerBuildSourceStorageSourceArray) ToGetTriggerBuildSourceStorageSourceArrayOutput() GetTriggerBuildSourceStorageSourceArrayOutput

func (GetTriggerBuildSourceStorageSourceArray) ToGetTriggerBuildSourceStorageSourceArrayOutputWithContext

func (i GetTriggerBuildSourceStorageSourceArray) ToGetTriggerBuildSourceStorageSourceArrayOutputWithContext(ctx context.Context) GetTriggerBuildSourceStorageSourceArrayOutput

type GetTriggerBuildSourceStorageSourceArrayInput

type GetTriggerBuildSourceStorageSourceArrayInput interface {
	pulumi.Input

	ToGetTriggerBuildSourceStorageSourceArrayOutput() GetTriggerBuildSourceStorageSourceArrayOutput
	ToGetTriggerBuildSourceStorageSourceArrayOutputWithContext(context.Context) GetTriggerBuildSourceStorageSourceArrayOutput
}

GetTriggerBuildSourceStorageSourceArrayInput is an input type that accepts GetTriggerBuildSourceStorageSourceArray and GetTriggerBuildSourceStorageSourceArrayOutput values. You can construct a concrete instance of `GetTriggerBuildSourceStorageSourceArrayInput` via:

GetTriggerBuildSourceStorageSourceArray{ GetTriggerBuildSourceStorageSourceArgs{...} }

type GetTriggerBuildSourceStorageSourceArrayOutput

type GetTriggerBuildSourceStorageSourceArrayOutput struct{ *pulumi.OutputState }

func (GetTriggerBuildSourceStorageSourceArrayOutput) ElementType

func (GetTriggerBuildSourceStorageSourceArrayOutput) Index

func (GetTriggerBuildSourceStorageSourceArrayOutput) ToGetTriggerBuildSourceStorageSourceArrayOutput

func (o GetTriggerBuildSourceStorageSourceArrayOutput) ToGetTriggerBuildSourceStorageSourceArrayOutput() GetTriggerBuildSourceStorageSourceArrayOutput

func (GetTriggerBuildSourceStorageSourceArrayOutput) ToGetTriggerBuildSourceStorageSourceArrayOutputWithContext

func (o GetTriggerBuildSourceStorageSourceArrayOutput) ToGetTriggerBuildSourceStorageSourceArrayOutputWithContext(ctx context.Context) GetTriggerBuildSourceStorageSourceArrayOutput

type GetTriggerBuildSourceStorageSourceInput

type GetTriggerBuildSourceStorageSourceInput interface {
	pulumi.Input

	ToGetTriggerBuildSourceStorageSourceOutput() GetTriggerBuildSourceStorageSourceOutput
	ToGetTriggerBuildSourceStorageSourceOutputWithContext(context.Context) GetTriggerBuildSourceStorageSourceOutput
}

GetTriggerBuildSourceStorageSourceInput is an input type that accepts GetTriggerBuildSourceStorageSourceArgs and GetTriggerBuildSourceStorageSourceOutput values. You can construct a concrete instance of `GetTriggerBuildSourceStorageSourceInput` via:

GetTriggerBuildSourceStorageSourceArgs{...}

type GetTriggerBuildSourceStorageSourceOutput

type GetTriggerBuildSourceStorageSourceOutput struct{ *pulumi.OutputState }

func (GetTriggerBuildSourceStorageSourceOutput) Bucket

Google Cloud Storage bucket containing the source.

func (GetTriggerBuildSourceStorageSourceOutput) ElementType

func (GetTriggerBuildSourceStorageSourceOutput) Generation

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

func (GetTriggerBuildSourceStorageSourceOutput) Object

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

func (GetTriggerBuildSourceStorageSourceOutput) ToGetTriggerBuildSourceStorageSourceOutput

func (o GetTriggerBuildSourceStorageSourceOutput) ToGetTriggerBuildSourceStorageSourceOutput() GetTriggerBuildSourceStorageSourceOutput

func (GetTriggerBuildSourceStorageSourceOutput) ToGetTriggerBuildSourceStorageSourceOutputWithContext

func (o GetTriggerBuildSourceStorageSourceOutput) ToGetTriggerBuildSourceStorageSourceOutputWithContext(ctx context.Context) GetTriggerBuildSourceStorageSourceOutput

type GetTriggerBuildStep

type GetTriggerBuildStep struct {
	// Allow this build step to fail without failing the entire build if and
	// only if the exit code is one of the specified codes.
	//
	// If 'allowFailure' is also specified, this field will take precedence.
	AllowExitCodes []int `pulumi:"allowExitCodes"`
	// Allow this build step to fail without failing the entire build.
	// If false, the entire build will fail if this step fails. Otherwise, the
	// build will succeed, but this step will still have a failure status.
	// Error information will be reported in the 'failureDetail' field.
	//
	// 'allowExitCodes' takes precedence over this field.
	AllowFailure bool `pulumi:"allowFailure"`
	// 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 environment variable definitions to be used when
	// running a step.
	//
	// 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 'wait_for' to
	// reference this build step as a dependency.
	Id string `pulumi:"id"`
	// The name of the container image that will run this particular build step.
	//
	// If the image is available in the host's Docker daemon's cache, it will be
	// run directly. If not, the host will attempt to pull the image first, using
	// the builder service account's credentials if necessary.
	//
	// The Docker daemon's cache will already have the latest versions of all of
	// the officially supported build steps (see https://github.com/GoogleCloudPlatform/cloud-builders
	// for images and examples).
	// The Docker daemon will also have cached many of the layers for some popular
	// images, like "ubuntu", "debian", but they will be refreshed at the time
	// you attempt to use them.
	//
	// If you built an image in a previous build step, it will be stored in the
	// host's Docker daemon's cache and is available to use as the name for a
	// later build step.
	Name string `pulumi:"name"`
	// A shell script to be executed in the step.
	// When script is provided, the user cannot specify the entrypoint or args.
	Script string `pulumi:"script"`
	// A list of environment variables which are encrypted using
	// a Cloud Key
	// Management Service crypto key. These values must be specified in
	// the build's 'Secret'.
	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 executing this
	// build step.
	Timing string `pulumi:"timing"`
	// List of volumes to mount into the build step.
	//
	// Each volume is created as an empty volume prior to execution of the
	// build step. Upon completion of the build, volumes and their contents
	// are discarded.
	//
	// Using a named volume in only one step is not valid as it is
	// indicative of a build request with an incorrect configuration.
	Volumes []GetTriggerBuildStepVolume `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 'wait_for'
	// have completed successfully. If 'wait_for' 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 GetTriggerBuildStepArgs

type GetTriggerBuildStepArgs struct {
	// Allow this build step to fail without failing the entire build if and
	// only if the exit code is one of the specified codes.
	//
	// If 'allowFailure' is also specified, this field will take precedence.
	AllowExitCodes pulumi.IntArrayInput `pulumi:"allowExitCodes"`
	// Allow this build step to fail without failing the entire build.
	// If false, the entire build will fail if this step fails. Otherwise, the
	// build will succeed, but this step will still have a failure status.
	// Error information will be reported in the 'failureDetail' field.
	//
	// 'allowExitCodes' takes precedence over this field.
	AllowFailure pulumi.BoolInput `pulumi:"allowFailure"`
	// 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.StringInput `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.StringInput `pulumi:"entrypoint"`
	// A list of environment variable definitions to be used when
	// running a step.
	//
	// 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 'wait_for' to
	// reference this build step as a dependency.
	Id pulumi.StringInput `pulumi:"id"`
	// The name of the container image that will run this particular build step.
	//
	// If the image is available in the host's Docker daemon's cache, it will be
	// run directly. If not, the host will attempt to pull the image first, using
	// the builder service account's credentials if necessary.
	//
	// The Docker daemon's cache will already have the latest versions of all of
	// the officially supported build steps (see https://github.com/GoogleCloudPlatform/cloud-builders
	// for images and examples).
	// The Docker daemon will also have cached many of the layers for some popular
	// images, like "ubuntu", "debian", but they will be refreshed at the time
	// you attempt to use them.
	//
	// If you built an image in a previous build step, it will be stored in the
	// host's Docker daemon's cache and is available to use as the name for a
	// later build step.
	Name pulumi.StringInput `pulumi:"name"`
	// A shell script to be executed in the step.
	// When script is provided, the user cannot specify the entrypoint or args.
	Script pulumi.StringInput `pulumi:"script"`
	// A list of environment variables which are encrypted using
	// a Cloud Key
	// Management Service crypto key. These values must be specified in
	// the build's 'Secret'.
	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.StringInput `pulumi:"timeout"`
	// Output only. Stores timing information for executing this
	// build step.
	Timing pulumi.StringInput `pulumi:"timing"`
	// List of volumes to mount into the build step.
	//
	// Each volume is created as an empty volume prior to execution of the
	// build step. Upon completion of the build, volumes and their contents
	// are discarded.
	//
	// Using a named volume in only one step is not valid as it is
	// indicative of a build request with an incorrect configuration.
	Volumes GetTriggerBuildStepVolumeArrayInput `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 'wait_for'
	// have completed successfully. If 'wait_for' 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 (GetTriggerBuildStepArgs) ElementType

func (GetTriggerBuildStepArgs) ElementType() reflect.Type

func (GetTriggerBuildStepArgs) ToGetTriggerBuildStepOutput

func (i GetTriggerBuildStepArgs) ToGetTriggerBuildStepOutput() GetTriggerBuildStepOutput

func (GetTriggerBuildStepArgs) ToGetTriggerBuildStepOutputWithContext

func (i GetTriggerBuildStepArgs) ToGetTriggerBuildStepOutputWithContext(ctx context.Context) GetTriggerBuildStepOutput

type GetTriggerBuildStepArray

type GetTriggerBuildStepArray []GetTriggerBuildStepInput

func (GetTriggerBuildStepArray) ElementType

func (GetTriggerBuildStepArray) ElementType() reflect.Type

func (GetTriggerBuildStepArray) ToGetTriggerBuildStepArrayOutput

func (i GetTriggerBuildStepArray) ToGetTriggerBuildStepArrayOutput() GetTriggerBuildStepArrayOutput

func (GetTriggerBuildStepArray) ToGetTriggerBuildStepArrayOutputWithContext

func (i GetTriggerBuildStepArray) ToGetTriggerBuildStepArrayOutputWithContext(ctx context.Context) GetTriggerBuildStepArrayOutput

type GetTriggerBuildStepArrayInput

type GetTriggerBuildStepArrayInput interface {
	pulumi.Input

	ToGetTriggerBuildStepArrayOutput() GetTriggerBuildStepArrayOutput
	ToGetTriggerBuildStepArrayOutputWithContext(context.Context) GetTriggerBuildStepArrayOutput
}

GetTriggerBuildStepArrayInput is an input type that accepts GetTriggerBuildStepArray and GetTriggerBuildStepArrayOutput values. You can construct a concrete instance of `GetTriggerBuildStepArrayInput` via:

GetTriggerBuildStepArray{ GetTriggerBuildStepArgs{...} }

type GetTriggerBuildStepArrayOutput

type GetTriggerBuildStepArrayOutput struct{ *pulumi.OutputState }

func (GetTriggerBuildStepArrayOutput) ElementType

func (GetTriggerBuildStepArrayOutput) Index

func (GetTriggerBuildStepArrayOutput) ToGetTriggerBuildStepArrayOutput

func (o GetTriggerBuildStepArrayOutput) ToGetTriggerBuildStepArrayOutput() GetTriggerBuildStepArrayOutput

func (GetTriggerBuildStepArrayOutput) ToGetTriggerBuildStepArrayOutputWithContext

func (o GetTriggerBuildStepArrayOutput) ToGetTriggerBuildStepArrayOutputWithContext(ctx context.Context) GetTriggerBuildStepArrayOutput

type GetTriggerBuildStepInput

type GetTriggerBuildStepInput interface {
	pulumi.Input

	ToGetTriggerBuildStepOutput() GetTriggerBuildStepOutput
	ToGetTriggerBuildStepOutputWithContext(context.Context) GetTriggerBuildStepOutput
}

GetTriggerBuildStepInput is an input type that accepts GetTriggerBuildStepArgs and GetTriggerBuildStepOutput values. You can construct a concrete instance of `GetTriggerBuildStepInput` via:

GetTriggerBuildStepArgs{...}

type GetTriggerBuildStepOutput

type GetTriggerBuildStepOutput struct{ *pulumi.OutputState }

func (GetTriggerBuildStepOutput) AllowExitCodes

func (o GetTriggerBuildStepOutput) AllowExitCodes() pulumi.IntArrayOutput

Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes.

If 'allowFailure' is also specified, this field will take precedence.

func (GetTriggerBuildStepOutput) AllowFailure

func (o GetTriggerBuildStepOutput) AllowFailure() pulumi.BoolOutput

Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still have a failure status. Error information will be reported in the 'failureDetail' field.

'allowExitCodes' takes precedence over this field.

func (GetTriggerBuildStepOutput) 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 (GetTriggerBuildStepOutput) 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 (GetTriggerBuildStepOutput) ElementType

func (GetTriggerBuildStepOutput) ElementType() reflect.Type

func (GetTriggerBuildStepOutput) Entrypoint

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

func (GetTriggerBuildStepOutput) Envs

A list of environment variable definitions to be used when running a step.

The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE".

func (GetTriggerBuildStepOutput) Id

Unique identifier for this build step, used in 'wait_for' to reference this build step as a dependency.

func (GetTriggerBuildStepOutput) Name

The name of the container image that will run this particular build step.

If the image is available in the host's Docker daemon's cache, it will be run directly. If not, the host will attempt to pull the image first, using the builder service account's credentials if necessary.

The Docker daemon's cache will already have the latest versions of all of the officially supported build steps (see https://github.com/GoogleCloudPlatform/cloud-builders for images and examples). The Docker daemon will also have cached many of the layers for some popular images, like "ubuntu", "debian", but they will be refreshed at the time you attempt to use them.

If you built an image in a previous build step, it will be stored in the host's Docker daemon's cache and is available to use as the name for a later build step.

func (GetTriggerBuildStepOutput) Script

A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.

func (GetTriggerBuildStepOutput) SecretEnvs

A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's 'Secret'.

func (GetTriggerBuildStepOutput) 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 (GetTriggerBuildStepOutput) Timing

Output only. Stores timing information for executing this build step.

func (GetTriggerBuildStepOutput) ToGetTriggerBuildStepOutput

func (o GetTriggerBuildStepOutput) ToGetTriggerBuildStepOutput() GetTriggerBuildStepOutput

func (GetTriggerBuildStepOutput) ToGetTriggerBuildStepOutputWithContext

func (o GetTriggerBuildStepOutput) ToGetTriggerBuildStepOutputWithContext(ctx context.Context) GetTriggerBuildStepOutput

func (GetTriggerBuildStepOutput) Volumes

List of volumes to mount into the build step.

Each volume is created as an empty volume prior to execution of the build step. Upon completion of the build, volumes and their contents are discarded.

Using a named volume in only one step is not valid as it is indicative of a build request with an incorrect configuration.

func (GetTriggerBuildStepOutput) 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 'wait_for' have completed successfully. If 'wait_for' is empty, this build step will start when all previous build steps in the 'Build.Steps' list have completed successfully.

type GetTriggerBuildStepVolume

type GetTriggerBuildStepVolume 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 GetTriggerBuildStepVolumeArgs

type GetTriggerBuildStepVolumeArgs 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 (GetTriggerBuildStepVolumeArgs) ElementType

func (GetTriggerBuildStepVolumeArgs) ToGetTriggerBuildStepVolumeOutput

func (i GetTriggerBuildStepVolumeArgs) ToGetTriggerBuildStepVolumeOutput() GetTriggerBuildStepVolumeOutput

func (GetTriggerBuildStepVolumeArgs) ToGetTriggerBuildStepVolumeOutputWithContext

func (i GetTriggerBuildStepVolumeArgs) ToGetTriggerBuildStepVolumeOutputWithContext(ctx context.Context) GetTriggerBuildStepVolumeOutput

type GetTriggerBuildStepVolumeArray

type GetTriggerBuildStepVolumeArray []GetTriggerBuildStepVolumeInput

func (GetTriggerBuildStepVolumeArray) ElementType

func (GetTriggerBuildStepVolumeArray) ToGetTriggerBuildStepVolumeArrayOutput

func (i GetTriggerBuildStepVolumeArray) ToGetTriggerBuildStepVolumeArrayOutput() GetTriggerBuildStepVolumeArrayOutput

func (GetTriggerBuildStepVolumeArray) ToGetTriggerBuildStepVolumeArrayOutputWithContext

func (i GetTriggerBuildStepVolumeArray) ToGetTriggerBuildStepVolumeArrayOutputWithContext(ctx context.Context) GetTriggerBuildStepVolumeArrayOutput

type GetTriggerBuildStepVolumeArrayInput

type GetTriggerBuildStepVolumeArrayInput interface {
	pulumi.Input

	ToGetTriggerBuildStepVolumeArrayOutput() GetTriggerBuildStepVolumeArrayOutput
	ToGetTriggerBuildStepVolumeArrayOutputWithContext(context.Context) GetTriggerBuildStepVolumeArrayOutput
}

GetTriggerBuildStepVolumeArrayInput is an input type that accepts GetTriggerBuildStepVolumeArray and GetTriggerBuildStepVolumeArrayOutput values. You can construct a concrete instance of `GetTriggerBuildStepVolumeArrayInput` via:

GetTriggerBuildStepVolumeArray{ GetTriggerBuildStepVolumeArgs{...} }

type GetTriggerBuildStepVolumeArrayOutput

type GetTriggerBuildStepVolumeArrayOutput struct{ *pulumi.OutputState }

func (GetTriggerBuildStepVolumeArrayOutput) ElementType

func (GetTriggerBuildStepVolumeArrayOutput) Index

func (GetTriggerBuildStepVolumeArrayOutput) ToGetTriggerBuildStepVolumeArrayOutput

func (o GetTriggerBuildStepVolumeArrayOutput) ToGetTriggerBuildStepVolumeArrayOutput() GetTriggerBuildStepVolumeArrayOutput

func (GetTriggerBuildStepVolumeArrayOutput) ToGetTriggerBuildStepVolumeArrayOutputWithContext

func (o GetTriggerBuildStepVolumeArrayOutput) ToGetTriggerBuildStepVolumeArrayOutputWithContext(ctx context.Context) GetTriggerBuildStepVolumeArrayOutput

type GetTriggerBuildStepVolumeInput

type GetTriggerBuildStepVolumeInput interface {
	pulumi.Input

	ToGetTriggerBuildStepVolumeOutput() GetTriggerBuildStepVolumeOutput
	ToGetTriggerBuildStepVolumeOutputWithContext(context.Context) GetTriggerBuildStepVolumeOutput
}

GetTriggerBuildStepVolumeInput is an input type that accepts GetTriggerBuildStepVolumeArgs and GetTriggerBuildStepVolumeOutput values. You can construct a concrete instance of `GetTriggerBuildStepVolumeInput` via:

GetTriggerBuildStepVolumeArgs{...}

type GetTriggerBuildStepVolumeOutput

type GetTriggerBuildStepVolumeOutput struct{ *pulumi.OutputState }

func (GetTriggerBuildStepVolumeOutput) ElementType

func (GetTriggerBuildStepVolumeOutput) 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 (GetTriggerBuildStepVolumeOutput) 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 (GetTriggerBuildStepVolumeOutput) ToGetTriggerBuildStepVolumeOutput

func (o GetTriggerBuildStepVolumeOutput) ToGetTriggerBuildStepVolumeOutput() GetTriggerBuildStepVolumeOutput

func (GetTriggerBuildStepVolumeOutput) ToGetTriggerBuildStepVolumeOutputWithContext

func (o GetTriggerBuildStepVolumeOutput) ToGetTriggerBuildStepVolumeOutputWithContext(ctx context.Context) GetTriggerBuildStepVolumeOutput

type GetTriggerGitFileSource

type GetTriggerGitFileSource struct {
	// The full resource name of the bitbucket server config.
	// Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
	BitbucketServerConfig string `pulumi:"bitbucketServerConfig"`
	// The full resource name of the github enterprise config.
	// Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
	GithubEnterpriseConfig string `pulumi:"githubEnterpriseConfig"`
	// The path of the file, with the repo root as the root of the path.
	Path string `pulumi:"path"`
	// The type of the repo, since it may not be explicit from the repo field (e.g from a URL).
	// Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER Possible values: ["UNKNOWN", "CLOUD_SOURCE_REPOSITORIES", "GITHUB", "BITBUCKET_SERVER"]
	RepoType string `pulumi:"repoType"`
	// The fully qualified resource name of the Repo API repository. The fully qualified resource name of the Repo API repository.
	// If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.
	Repository string `pulumi:"repository"`
	// The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the
	// filename (optional). This field respects the same syntax/resolution as described here: https://git-scm.com/docs/gitrevisions
	// If unspecified, the revision from which the trigger invocation originated is assumed to be the revision from which to read the specified path.
	Revision string `pulumi:"revision"`
	// The URI of the repo (optional). If unspecified, the repo from which the trigger
	// invocation originated is assumed to be the repo from which to read the specified path.
	Uri string `pulumi:"uri"`
}

type GetTriggerGitFileSourceArgs

type GetTriggerGitFileSourceArgs struct {
	// The full resource name of the bitbucket server config.
	// Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
	BitbucketServerConfig pulumi.StringInput `pulumi:"bitbucketServerConfig"`
	// The full resource name of the github enterprise config.
	// Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
	GithubEnterpriseConfig pulumi.StringInput `pulumi:"githubEnterpriseConfig"`
	// The path of the file, with the repo root as the root of the path.
	Path pulumi.StringInput `pulumi:"path"`
	// The type of the repo, since it may not be explicit from the repo field (e.g from a URL).
	// Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER Possible values: ["UNKNOWN", "CLOUD_SOURCE_REPOSITORIES", "GITHUB", "BITBUCKET_SERVER"]
	RepoType pulumi.StringInput `pulumi:"repoType"`
	// The fully qualified resource name of the Repo API repository. The fully qualified resource name of the Repo API repository.
	// If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.
	Repository pulumi.StringInput `pulumi:"repository"`
	// The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the
	// filename (optional). This field respects the same syntax/resolution as described here: https://git-scm.com/docs/gitrevisions
	// If unspecified, the revision from which the trigger invocation originated is assumed to be the revision from which to read the specified path.
	Revision pulumi.StringInput `pulumi:"revision"`
	// The URI of the repo (optional). If unspecified, the repo from which the trigger
	// invocation originated is assumed to be the repo from which to read the specified path.
	Uri pulumi.StringInput `pulumi:"uri"`
}

func (GetTriggerGitFileSourceArgs) ElementType

func (GetTriggerGitFileSourceArgs) ToGetTriggerGitFileSourceOutput

func (i GetTriggerGitFileSourceArgs) ToGetTriggerGitFileSourceOutput() GetTriggerGitFileSourceOutput

func (GetTriggerGitFileSourceArgs) ToGetTriggerGitFileSourceOutputWithContext

func (i GetTriggerGitFileSourceArgs) ToGetTriggerGitFileSourceOutputWithContext(ctx context.Context) GetTriggerGitFileSourceOutput

type GetTriggerGitFileSourceArray

type GetTriggerGitFileSourceArray []GetTriggerGitFileSourceInput

func (GetTriggerGitFileSourceArray) ElementType

func (GetTriggerGitFileSourceArray) ToGetTriggerGitFileSourceArrayOutput

func (i GetTriggerGitFileSourceArray) ToGetTriggerGitFileSourceArrayOutput() GetTriggerGitFileSourceArrayOutput

func (GetTriggerGitFileSourceArray) ToGetTriggerGitFileSourceArrayOutputWithContext

func (i GetTriggerGitFileSourceArray) ToGetTriggerGitFileSourceArrayOutputWithContext(ctx context.Context) GetTriggerGitFileSourceArrayOutput

type GetTriggerGitFileSourceArrayInput

type GetTriggerGitFileSourceArrayInput interface {
	pulumi.Input

	ToGetTriggerGitFileSourceArrayOutput() GetTriggerGitFileSourceArrayOutput
	ToGetTriggerGitFileSourceArrayOutputWithContext(context.Context) GetTriggerGitFileSourceArrayOutput
}

GetTriggerGitFileSourceArrayInput is an input type that accepts GetTriggerGitFileSourceArray and GetTriggerGitFileSourceArrayOutput values. You can construct a concrete instance of `GetTriggerGitFileSourceArrayInput` via:

GetTriggerGitFileSourceArray{ GetTriggerGitFileSourceArgs{...} }

type GetTriggerGitFileSourceArrayOutput

type GetTriggerGitFileSourceArrayOutput struct{ *pulumi.OutputState }

func (GetTriggerGitFileSourceArrayOutput) ElementType

func (GetTriggerGitFileSourceArrayOutput) Index

func (GetTriggerGitFileSourceArrayOutput) ToGetTriggerGitFileSourceArrayOutput

func (o GetTriggerGitFileSourceArrayOutput) ToGetTriggerGitFileSourceArrayOutput() GetTriggerGitFileSourceArrayOutput

func (GetTriggerGitFileSourceArrayOutput) ToGetTriggerGitFileSourceArrayOutputWithContext

func (o GetTriggerGitFileSourceArrayOutput) ToGetTriggerGitFileSourceArrayOutputWithContext(ctx context.Context) GetTriggerGitFileSourceArrayOutput

type GetTriggerGitFileSourceInput

type GetTriggerGitFileSourceInput interface {
	pulumi.Input

	ToGetTriggerGitFileSourceOutput() GetTriggerGitFileSourceOutput
	ToGetTriggerGitFileSourceOutputWithContext(context.Context) GetTriggerGitFileSourceOutput
}

GetTriggerGitFileSourceInput is an input type that accepts GetTriggerGitFileSourceArgs and GetTriggerGitFileSourceOutput values. You can construct a concrete instance of `GetTriggerGitFileSourceInput` via:

GetTriggerGitFileSourceArgs{...}

type GetTriggerGitFileSourceOutput

type GetTriggerGitFileSourceOutput struct{ *pulumi.OutputState }

func (GetTriggerGitFileSourceOutput) BitbucketServerConfig

func (o GetTriggerGitFileSourceOutput) BitbucketServerConfig() pulumi.StringOutput

The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.

func (GetTriggerGitFileSourceOutput) ElementType

func (GetTriggerGitFileSourceOutput) GithubEnterpriseConfig

func (o GetTriggerGitFileSourceOutput) GithubEnterpriseConfig() pulumi.StringOutput

The full resource name of the github enterprise config. Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.

func (GetTriggerGitFileSourceOutput) Path

The path of the file, with the repo root as the root of the path.

func (GetTriggerGitFileSourceOutput) RepoType

The type of the repo, since it may not be explicit from the repo field (e.g from a URL). Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER Possible values: ["UNKNOWN", "CLOUD_SOURCE_REPOSITORIES", "GITHUB", "BITBUCKET_SERVER"]

func (GetTriggerGitFileSourceOutput) Repository

The fully qualified resource name of the Repo API repository. The fully qualified resource name of the Repo API repository. If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.

func (GetTriggerGitFileSourceOutput) Revision

The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the filename (optional). This field respects the same syntax/resolution as described here: https://git-scm.com/docs/gitrevisions If unspecified, the revision from which the trigger invocation originated is assumed to be the revision from which to read the specified path.

func (GetTriggerGitFileSourceOutput) ToGetTriggerGitFileSourceOutput

func (o GetTriggerGitFileSourceOutput) ToGetTriggerGitFileSourceOutput() GetTriggerGitFileSourceOutput

func (GetTriggerGitFileSourceOutput) ToGetTriggerGitFileSourceOutputWithContext

func (o GetTriggerGitFileSourceOutput) ToGetTriggerGitFileSourceOutputWithContext(ctx context.Context) GetTriggerGitFileSourceOutput

func (GetTriggerGitFileSourceOutput) Uri

The URI of the repo (optional). If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.

type GetTriggerGithub

type GetTriggerGithub struct {
	// The resource name of the github enterprise config that should be applied to this installation.
	// For example: "projects/{$projectId}/locations/{$locationId}/githubEnterpriseConfigs/{$configId}"
	EnterpriseConfigResourceName string `pulumi:"enterpriseConfigResourceName"`
	// Name of the repository. For example: The name for
	// https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
	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 'pull_request' or 'push'.
	PullRequests []GetTriggerGithubPullRequest `pulumi:"pullRequests"`
	// filter to match changes in refs, like branches or tags. Specify only one of 'pull_request' or 'push'.
	Pushes []GetTriggerGithubPush `pulumi:"pushes"`
}

type GetTriggerGithubArgs

type GetTriggerGithubArgs struct {
	// The resource name of the github enterprise config that should be applied to this installation.
	// For example: "projects/{$projectId}/locations/{$locationId}/githubEnterpriseConfigs/{$configId}"
	EnterpriseConfigResourceName pulumi.StringInput `pulumi:"enterpriseConfigResourceName"`
	// Name of the repository. For example: The name for
	// https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
	Name pulumi.StringInput `pulumi:"name"`
	// Owner of the repository. For example: The owner for
	// https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".
	Owner pulumi.StringInput `pulumi:"owner"`
	// filter to match changes in pull requests. Specify only one of 'pull_request' or 'push'.
	PullRequests GetTriggerGithubPullRequestArrayInput `pulumi:"pullRequests"`
	// filter to match changes in refs, like branches or tags. Specify only one of 'pull_request' or 'push'.
	Pushes GetTriggerGithubPushArrayInput `pulumi:"pushes"`
}

func (GetTriggerGithubArgs) ElementType

func (GetTriggerGithubArgs) ElementType() reflect.Type

func (GetTriggerGithubArgs) ToGetTriggerGithubOutput

func (i GetTriggerGithubArgs) ToGetTriggerGithubOutput() GetTriggerGithubOutput

func (GetTriggerGithubArgs) ToGetTriggerGithubOutputWithContext

func (i GetTriggerGithubArgs) ToGetTriggerGithubOutputWithContext(ctx context.Context) GetTriggerGithubOutput

type GetTriggerGithubArray

type GetTriggerGithubArray []GetTriggerGithubInput

func (GetTriggerGithubArray) ElementType

func (GetTriggerGithubArray) ElementType() reflect.Type

func (GetTriggerGithubArray) ToGetTriggerGithubArrayOutput

func (i GetTriggerGithubArray) ToGetTriggerGithubArrayOutput() GetTriggerGithubArrayOutput

func (GetTriggerGithubArray) ToGetTriggerGithubArrayOutputWithContext

func (i GetTriggerGithubArray) ToGetTriggerGithubArrayOutputWithContext(ctx context.Context) GetTriggerGithubArrayOutput

type GetTriggerGithubArrayInput

type GetTriggerGithubArrayInput interface {
	pulumi.Input

	ToGetTriggerGithubArrayOutput() GetTriggerGithubArrayOutput
	ToGetTriggerGithubArrayOutputWithContext(context.Context) GetTriggerGithubArrayOutput
}

GetTriggerGithubArrayInput is an input type that accepts GetTriggerGithubArray and GetTriggerGithubArrayOutput values. You can construct a concrete instance of `GetTriggerGithubArrayInput` via:

GetTriggerGithubArray{ GetTriggerGithubArgs{...} }

type GetTriggerGithubArrayOutput

type GetTriggerGithubArrayOutput struct{ *pulumi.OutputState }

func (GetTriggerGithubArrayOutput) ElementType

func (GetTriggerGithubArrayOutput) Index

func (GetTriggerGithubArrayOutput) ToGetTriggerGithubArrayOutput

func (o GetTriggerGithubArrayOutput) ToGetTriggerGithubArrayOutput() GetTriggerGithubArrayOutput

func (GetTriggerGithubArrayOutput) ToGetTriggerGithubArrayOutputWithContext

func (o GetTriggerGithubArrayOutput) ToGetTriggerGithubArrayOutputWithContext(ctx context.Context) GetTriggerGithubArrayOutput

type GetTriggerGithubInput

type GetTriggerGithubInput interface {
	pulumi.Input

	ToGetTriggerGithubOutput() GetTriggerGithubOutput
	ToGetTriggerGithubOutputWithContext(context.Context) GetTriggerGithubOutput
}

GetTriggerGithubInput is an input type that accepts GetTriggerGithubArgs and GetTriggerGithubOutput values. You can construct a concrete instance of `GetTriggerGithubInput` via:

GetTriggerGithubArgs{...}

type GetTriggerGithubOutput

type GetTriggerGithubOutput struct{ *pulumi.OutputState }

func (GetTriggerGithubOutput) ElementType

func (GetTriggerGithubOutput) ElementType() reflect.Type

func (GetTriggerGithubOutput) EnterpriseConfigResourceName

func (o GetTriggerGithubOutput) EnterpriseConfigResourceName() pulumi.StringOutput

The resource name of the github enterprise config that should be applied to this installation. For example: "projects/{$projectId}/locations/{$locationId}/githubEnterpriseConfigs/{$configId}"

func (GetTriggerGithubOutput) Name

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

func (GetTriggerGithubOutput) Owner

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

func (GetTriggerGithubOutput) PullRequests

filter to match changes in pull requests. Specify only one of 'pull_request' or 'push'.

func (GetTriggerGithubOutput) Pushes

filter to match changes in refs, like branches or tags. Specify only one of 'pull_request' or 'push'.

func (GetTriggerGithubOutput) ToGetTriggerGithubOutput

func (o GetTriggerGithubOutput) ToGetTriggerGithubOutput() GetTriggerGithubOutput

func (GetTriggerGithubOutput) ToGetTriggerGithubOutputWithContext

func (o GetTriggerGithubOutput) ToGetTriggerGithubOutputWithContext(ctx context.Context) GetTriggerGithubOutput

type GetTriggerGithubPullRequest

type GetTriggerGithubPullRequest struct {
	// Regex of branches to match.
	Branch string `pulumi:"branch"`
	// Whether to block builds on a "/gcbrun" comment from a repository owner or collaborator. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]
	CommentControl string `pulumi:"commentControl"`
	// If true, branches that do NOT match the gitRef will trigger a build.
	InvertRegex bool `pulumi:"invertRegex"`
}

type GetTriggerGithubPullRequestArgs

type GetTriggerGithubPullRequestArgs struct {
	// Regex of branches to match.
	Branch pulumi.StringInput `pulumi:"branch"`
	// Whether to block builds on a "/gcbrun" comment from a repository owner or collaborator. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]
	CommentControl pulumi.StringInput `pulumi:"commentControl"`
	// If true, branches that do NOT match the gitRef will trigger a build.
	InvertRegex pulumi.BoolInput `pulumi:"invertRegex"`
}

func (GetTriggerGithubPullRequestArgs) ElementType

func (GetTriggerGithubPullRequestArgs) ToGetTriggerGithubPullRequestOutput

func (i GetTriggerGithubPullRequestArgs) ToGetTriggerGithubPullRequestOutput() GetTriggerGithubPullRequestOutput

func (GetTriggerGithubPullRequestArgs) ToGetTriggerGithubPullRequestOutputWithContext

func (i GetTriggerGithubPullRequestArgs) ToGetTriggerGithubPullRequestOutputWithContext(ctx context.Context) GetTriggerGithubPullRequestOutput

type GetTriggerGithubPullRequestArray

type GetTriggerGithubPullRequestArray []GetTriggerGithubPullRequestInput

func (GetTriggerGithubPullRequestArray) ElementType

func (GetTriggerGithubPullRequestArray) ToGetTriggerGithubPullRequestArrayOutput

func (i GetTriggerGithubPullRequestArray) ToGetTriggerGithubPullRequestArrayOutput() GetTriggerGithubPullRequestArrayOutput

func (GetTriggerGithubPullRequestArray) ToGetTriggerGithubPullRequestArrayOutputWithContext

func (i GetTriggerGithubPullRequestArray) ToGetTriggerGithubPullRequestArrayOutputWithContext(ctx context.Context) GetTriggerGithubPullRequestArrayOutput

type GetTriggerGithubPullRequestArrayInput

type GetTriggerGithubPullRequestArrayInput interface {
	pulumi.Input

	ToGetTriggerGithubPullRequestArrayOutput() GetTriggerGithubPullRequestArrayOutput
	ToGetTriggerGithubPullRequestArrayOutputWithContext(context.Context) GetTriggerGithubPullRequestArrayOutput
}

GetTriggerGithubPullRequestArrayInput is an input type that accepts GetTriggerGithubPullRequestArray and GetTriggerGithubPullRequestArrayOutput values. You can construct a concrete instance of `GetTriggerGithubPullRequestArrayInput` via:

GetTriggerGithubPullRequestArray{ GetTriggerGithubPullRequestArgs{...} }

type GetTriggerGithubPullRequestArrayOutput

type GetTriggerGithubPullRequestArrayOutput struct{ *pulumi.OutputState }

func (GetTriggerGithubPullRequestArrayOutput) ElementType

func (GetTriggerGithubPullRequestArrayOutput) Index

func (GetTriggerGithubPullRequestArrayOutput) ToGetTriggerGithubPullRequestArrayOutput

func (o GetTriggerGithubPullRequestArrayOutput) ToGetTriggerGithubPullRequestArrayOutput() GetTriggerGithubPullRequestArrayOutput

func (GetTriggerGithubPullRequestArrayOutput) ToGetTriggerGithubPullRequestArrayOutputWithContext

func (o GetTriggerGithubPullRequestArrayOutput) ToGetTriggerGithubPullRequestArrayOutputWithContext(ctx context.Context) GetTriggerGithubPullRequestArrayOutput

type GetTriggerGithubPullRequestInput

type GetTriggerGithubPullRequestInput interface {
	pulumi.Input

	ToGetTriggerGithubPullRequestOutput() GetTriggerGithubPullRequestOutput
	ToGetTriggerGithubPullRequestOutputWithContext(context.Context) GetTriggerGithubPullRequestOutput
}

GetTriggerGithubPullRequestInput is an input type that accepts GetTriggerGithubPullRequestArgs and GetTriggerGithubPullRequestOutput values. You can construct a concrete instance of `GetTriggerGithubPullRequestInput` via:

GetTriggerGithubPullRequestArgs{...}

type GetTriggerGithubPullRequestOutput

type GetTriggerGithubPullRequestOutput struct{ *pulumi.OutputState }

func (GetTriggerGithubPullRequestOutput) Branch

Regex of branches to match.

func (GetTriggerGithubPullRequestOutput) CommentControl

Whether to block builds on a "/gcbrun" comment from a repository owner or collaborator. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]

func (GetTriggerGithubPullRequestOutput) ElementType

func (GetTriggerGithubPullRequestOutput) InvertRegex

If true, branches that do NOT match the gitRef will trigger a build.

func (GetTriggerGithubPullRequestOutput) ToGetTriggerGithubPullRequestOutput

func (o GetTriggerGithubPullRequestOutput) ToGetTriggerGithubPullRequestOutput() GetTriggerGithubPullRequestOutput

func (GetTriggerGithubPullRequestOutput) ToGetTriggerGithubPullRequestOutputWithContext

func (o GetTriggerGithubPullRequestOutput) ToGetTriggerGithubPullRequestOutputWithContext(ctx context.Context) GetTriggerGithubPullRequestOutput

type GetTriggerGithubPush

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

type GetTriggerGithubPushArgs

type GetTriggerGithubPushArgs struct {
	// Regex of branches to match.  Specify only one of branch or tag.
	Branch pulumi.StringInput `pulumi:"branch"`
	// When true, only trigger a build if the revision regex does NOT match the gitRef regex.
	InvertRegex pulumi.BoolInput `pulumi:"invertRegex"`
	// Regex of tags to match.  Specify only one of branch or tag.
	Tag pulumi.StringInput `pulumi:"tag"`
}

func (GetTriggerGithubPushArgs) ElementType

func (GetTriggerGithubPushArgs) ElementType() reflect.Type

func (GetTriggerGithubPushArgs) ToGetTriggerGithubPushOutput

func (i GetTriggerGithubPushArgs) ToGetTriggerGithubPushOutput() GetTriggerGithubPushOutput

func (GetTriggerGithubPushArgs) ToGetTriggerGithubPushOutputWithContext

func (i GetTriggerGithubPushArgs) ToGetTriggerGithubPushOutputWithContext(ctx context.Context) GetTriggerGithubPushOutput

type GetTriggerGithubPushArray

type GetTriggerGithubPushArray []GetTriggerGithubPushInput

func (GetTriggerGithubPushArray) ElementType

func (GetTriggerGithubPushArray) ElementType() reflect.Type

func (GetTriggerGithubPushArray) ToGetTriggerGithubPushArrayOutput

func (i GetTriggerGithubPushArray) ToGetTriggerGithubPushArrayOutput() GetTriggerGithubPushArrayOutput

func (GetTriggerGithubPushArray) ToGetTriggerGithubPushArrayOutputWithContext

func (i GetTriggerGithubPushArray) ToGetTriggerGithubPushArrayOutputWithContext(ctx context.Context) GetTriggerGithubPushArrayOutput

type GetTriggerGithubPushArrayInput

type GetTriggerGithubPushArrayInput interface {
	pulumi.Input

	ToGetTriggerGithubPushArrayOutput() GetTriggerGithubPushArrayOutput
	ToGetTriggerGithubPushArrayOutputWithContext(context.Context) GetTriggerGithubPushArrayOutput
}

GetTriggerGithubPushArrayInput is an input type that accepts GetTriggerGithubPushArray and GetTriggerGithubPushArrayOutput values. You can construct a concrete instance of `GetTriggerGithubPushArrayInput` via:

GetTriggerGithubPushArray{ GetTriggerGithubPushArgs{...} }

type GetTriggerGithubPushArrayOutput

type GetTriggerGithubPushArrayOutput struct{ *pulumi.OutputState }

func (GetTriggerGithubPushArrayOutput) ElementType

func (GetTriggerGithubPushArrayOutput) Index

func (GetTriggerGithubPushArrayOutput) ToGetTriggerGithubPushArrayOutput

func (o GetTriggerGithubPushArrayOutput) ToGetTriggerGithubPushArrayOutput() GetTriggerGithubPushArrayOutput

func (GetTriggerGithubPushArrayOutput) ToGetTriggerGithubPushArrayOutputWithContext

func (o GetTriggerGithubPushArrayOutput) ToGetTriggerGithubPushArrayOutputWithContext(ctx context.Context) GetTriggerGithubPushArrayOutput

type GetTriggerGithubPushInput

type GetTriggerGithubPushInput interface {
	pulumi.Input

	ToGetTriggerGithubPushOutput() GetTriggerGithubPushOutput
	ToGetTriggerGithubPushOutputWithContext(context.Context) GetTriggerGithubPushOutput
}

GetTriggerGithubPushInput is an input type that accepts GetTriggerGithubPushArgs and GetTriggerGithubPushOutput values. You can construct a concrete instance of `GetTriggerGithubPushInput` via:

GetTriggerGithubPushArgs{...}

type GetTriggerGithubPushOutput

type GetTriggerGithubPushOutput struct{ *pulumi.OutputState }

func (GetTriggerGithubPushOutput) Branch

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

func (GetTriggerGithubPushOutput) ElementType

func (GetTriggerGithubPushOutput) ElementType() reflect.Type

func (GetTriggerGithubPushOutput) InvertRegex

When true, only trigger a build if the revision regex does NOT match the gitRef regex.

func (GetTriggerGithubPushOutput) Tag

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

func (GetTriggerGithubPushOutput) ToGetTriggerGithubPushOutput

func (o GetTriggerGithubPushOutput) ToGetTriggerGithubPushOutput() GetTriggerGithubPushOutput

func (GetTriggerGithubPushOutput) ToGetTriggerGithubPushOutputWithContext

func (o GetTriggerGithubPushOutput) ToGetTriggerGithubPushOutputWithContext(ctx context.Context) GetTriggerGithubPushOutput

type GetTriggerPubsubConfig

type GetTriggerPubsubConfig 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 GetTriggerPubsubConfigArgs

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

func (GetTriggerPubsubConfigArgs) ElementType

func (GetTriggerPubsubConfigArgs) ElementType() reflect.Type

func (GetTriggerPubsubConfigArgs) ToGetTriggerPubsubConfigOutput

func (i GetTriggerPubsubConfigArgs) ToGetTriggerPubsubConfigOutput() GetTriggerPubsubConfigOutput

func (GetTriggerPubsubConfigArgs) ToGetTriggerPubsubConfigOutputWithContext

func (i GetTriggerPubsubConfigArgs) ToGetTriggerPubsubConfigOutputWithContext(ctx context.Context) GetTriggerPubsubConfigOutput

type GetTriggerPubsubConfigArray

type GetTriggerPubsubConfigArray []GetTriggerPubsubConfigInput

func (GetTriggerPubsubConfigArray) ElementType

func (GetTriggerPubsubConfigArray) ToGetTriggerPubsubConfigArrayOutput

func (i GetTriggerPubsubConfigArray) ToGetTriggerPubsubConfigArrayOutput() GetTriggerPubsubConfigArrayOutput

func (GetTriggerPubsubConfigArray) ToGetTriggerPubsubConfigArrayOutputWithContext

func (i GetTriggerPubsubConfigArray) ToGetTriggerPubsubConfigArrayOutputWithContext(ctx context.Context) GetTriggerPubsubConfigArrayOutput

type GetTriggerPubsubConfigArrayInput

type GetTriggerPubsubConfigArrayInput interface {
	pulumi.Input

	ToGetTriggerPubsubConfigArrayOutput() GetTriggerPubsubConfigArrayOutput
	ToGetTriggerPubsubConfigArrayOutputWithContext(context.Context) GetTriggerPubsubConfigArrayOutput
}

GetTriggerPubsubConfigArrayInput is an input type that accepts GetTriggerPubsubConfigArray and GetTriggerPubsubConfigArrayOutput values. You can construct a concrete instance of `GetTriggerPubsubConfigArrayInput` via:

GetTriggerPubsubConfigArray{ GetTriggerPubsubConfigArgs{...} }

type GetTriggerPubsubConfigArrayOutput

type GetTriggerPubsubConfigArrayOutput struct{ *pulumi.OutputState }

func (GetTriggerPubsubConfigArrayOutput) ElementType

func (GetTriggerPubsubConfigArrayOutput) Index

func (GetTriggerPubsubConfigArrayOutput) ToGetTriggerPubsubConfigArrayOutput

func (o GetTriggerPubsubConfigArrayOutput) ToGetTriggerPubsubConfigArrayOutput() GetTriggerPubsubConfigArrayOutput

func (GetTriggerPubsubConfigArrayOutput) ToGetTriggerPubsubConfigArrayOutputWithContext

func (o GetTriggerPubsubConfigArrayOutput) ToGetTriggerPubsubConfigArrayOutputWithContext(ctx context.Context) GetTriggerPubsubConfigArrayOutput

type GetTriggerPubsubConfigInput

type GetTriggerPubsubConfigInput interface {
	pulumi.Input

	ToGetTriggerPubsubConfigOutput() GetTriggerPubsubConfigOutput
	ToGetTriggerPubsubConfigOutputWithContext(context.Context) GetTriggerPubsubConfigOutput
}

GetTriggerPubsubConfigInput is an input type that accepts GetTriggerPubsubConfigArgs and GetTriggerPubsubConfigOutput values. You can construct a concrete instance of `GetTriggerPubsubConfigInput` via:

GetTriggerPubsubConfigArgs{...}

type GetTriggerPubsubConfigOutput

type GetTriggerPubsubConfigOutput struct{ *pulumi.OutputState }

func (GetTriggerPubsubConfigOutput) ElementType

func (GetTriggerPubsubConfigOutput) ServiceAccountEmail

func (o GetTriggerPubsubConfigOutput) ServiceAccountEmail() pulumi.StringOutput

Service account that will make the push request.

func (GetTriggerPubsubConfigOutput) State

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

func (GetTriggerPubsubConfigOutput) Subscription

Output only. Name of the subscription.

func (GetTriggerPubsubConfigOutput) ToGetTriggerPubsubConfigOutput

func (o GetTriggerPubsubConfigOutput) ToGetTriggerPubsubConfigOutput() GetTriggerPubsubConfigOutput

func (GetTriggerPubsubConfigOutput) ToGetTriggerPubsubConfigOutputWithContext

func (o GetTriggerPubsubConfigOutput) ToGetTriggerPubsubConfigOutputWithContext(ctx context.Context) GetTriggerPubsubConfigOutput

func (GetTriggerPubsubConfigOutput) Topic

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

type GetTriggerRepositoryEventConfig

type GetTriggerRepositoryEventConfig struct {
	// Contains filter properties for matching Pull Requests.
	PullRequests []GetTriggerRepositoryEventConfigPullRequest `pulumi:"pullRequests"`
	// Contains filter properties for matching git pushes.
	Pushes []GetTriggerRepositoryEventConfigPush `pulumi:"pushes"`
	// The resource name of the Repo API resource.
	Repository string `pulumi:"repository"`
}

type GetTriggerRepositoryEventConfigArgs

type GetTriggerRepositoryEventConfigArgs struct {
	// Contains filter properties for matching Pull Requests.
	PullRequests GetTriggerRepositoryEventConfigPullRequestArrayInput `pulumi:"pullRequests"`
	// Contains filter properties for matching git pushes.
	Pushes GetTriggerRepositoryEventConfigPushArrayInput `pulumi:"pushes"`
	// The resource name of the Repo API resource.
	Repository pulumi.StringInput `pulumi:"repository"`
}

func (GetTriggerRepositoryEventConfigArgs) ElementType

func (GetTriggerRepositoryEventConfigArgs) ToGetTriggerRepositoryEventConfigOutput

func (i GetTriggerRepositoryEventConfigArgs) ToGetTriggerRepositoryEventConfigOutput() GetTriggerRepositoryEventConfigOutput

func (GetTriggerRepositoryEventConfigArgs) ToGetTriggerRepositoryEventConfigOutputWithContext

func (i GetTriggerRepositoryEventConfigArgs) ToGetTriggerRepositoryEventConfigOutputWithContext(ctx context.Context) GetTriggerRepositoryEventConfigOutput

type GetTriggerRepositoryEventConfigArray

type GetTriggerRepositoryEventConfigArray []GetTriggerRepositoryEventConfigInput

func (GetTriggerRepositoryEventConfigArray) ElementType

func (GetTriggerRepositoryEventConfigArray) ToGetTriggerRepositoryEventConfigArrayOutput

func (i GetTriggerRepositoryEventConfigArray) ToGetTriggerRepositoryEventConfigArrayOutput() GetTriggerRepositoryEventConfigArrayOutput

func (GetTriggerRepositoryEventConfigArray) ToGetTriggerRepositoryEventConfigArrayOutputWithContext

func (i GetTriggerRepositoryEventConfigArray) ToGetTriggerRepositoryEventConfigArrayOutputWithContext(ctx context.Context) GetTriggerRepositoryEventConfigArrayOutput

type GetTriggerRepositoryEventConfigArrayInput

type GetTriggerRepositoryEventConfigArrayInput interface {
	pulumi.Input

	ToGetTriggerRepositoryEventConfigArrayOutput() GetTriggerRepositoryEventConfigArrayOutput
	ToGetTriggerRepositoryEventConfigArrayOutputWithContext(context.Context) GetTriggerRepositoryEventConfigArrayOutput
}

GetTriggerRepositoryEventConfigArrayInput is an input type that accepts GetTriggerRepositoryEventConfigArray and GetTriggerRepositoryEventConfigArrayOutput values. You can construct a concrete instance of `GetTriggerRepositoryEventConfigArrayInput` via:

GetTriggerRepositoryEventConfigArray{ GetTriggerRepositoryEventConfigArgs{...} }

type GetTriggerRepositoryEventConfigArrayOutput

type GetTriggerRepositoryEventConfigArrayOutput struct{ *pulumi.OutputState }

func (GetTriggerRepositoryEventConfigArrayOutput) ElementType

func (GetTriggerRepositoryEventConfigArrayOutput) Index

func (GetTriggerRepositoryEventConfigArrayOutput) ToGetTriggerRepositoryEventConfigArrayOutput

func (o GetTriggerRepositoryEventConfigArrayOutput) ToGetTriggerRepositoryEventConfigArrayOutput() GetTriggerRepositoryEventConfigArrayOutput

func (GetTriggerRepositoryEventConfigArrayOutput) ToGetTriggerRepositoryEventConfigArrayOutputWithContext

func (o GetTriggerRepositoryEventConfigArrayOutput) ToGetTriggerRepositoryEventConfigArrayOutputWithContext(ctx context.Context) GetTriggerRepositoryEventConfigArrayOutput

type GetTriggerRepositoryEventConfigInput

type GetTriggerRepositoryEventConfigInput interface {
	pulumi.Input

	ToGetTriggerRepositoryEventConfigOutput() GetTriggerRepositoryEventConfigOutput
	ToGetTriggerRepositoryEventConfigOutputWithContext(context.Context) GetTriggerRepositoryEventConfigOutput
}

GetTriggerRepositoryEventConfigInput is an input type that accepts GetTriggerRepositoryEventConfigArgs and GetTriggerRepositoryEventConfigOutput values. You can construct a concrete instance of `GetTriggerRepositoryEventConfigInput` via:

GetTriggerRepositoryEventConfigArgs{...}

type GetTriggerRepositoryEventConfigOutput

type GetTriggerRepositoryEventConfigOutput struct{ *pulumi.OutputState }

func (GetTriggerRepositoryEventConfigOutput) ElementType

func (GetTriggerRepositoryEventConfigOutput) PullRequests

Contains filter properties for matching Pull Requests.

func (GetTriggerRepositoryEventConfigOutput) Pushes

Contains filter properties for matching git pushes.

func (GetTriggerRepositoryEventConfigOutput) Repository

The resource name of the Repo API resource.

func (GetTriggerRepositoryEventConfigOutput) ToGetTriggerRepositoryEventConfigOutput

func (o GetTriggerRepositoryEventConfigOutput) ToGetTriggerRepositoryEventConfigOutput() GetTriggerRepositoryEventConfigOutput

func (GetTriggerRepositoryEventConfigOutput) ToGetTriggerRepositoryEventConfigOutputWithContext

func (o GetTriggerRepositoryEventConfigOutput) ToGetTriggerRepositoryEventConfigOutputWithContext(ctx context.Context) GetTriggerRepositoryEventConfigOutput

type GetTriggerRepositoryEventConfigPullRequest

type GetTriggerRepositoryEventConfigPullRequest struct {
	// Regex of branches to match.
	//
	// The syntax of the regular expressions accepted is the syntax accepted by
	// RE2 and described at https://github.com/google/re2/wiki/Syntax
	Branch string `pulumi:"branch"`
	// Configure builds to run whether a repository owner or collaborator need to comment '/gcbrun'. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]
	CommentControl string `pulumi:"commentControl"`
	// If true, branches that do NOT match the gitRef will trigger a build.
	InvertRegex bool `pulumi:"invertRegex"`
}

type GetTriggerRepositoryEventConfigPullRequestArgs

type GetTriggerRepositoryEventConfigPullRequestArgs struct {
	// Regex of branches to match.
	//
	// The syntax of the regular expressions accepted is the syntax accepted by
	// RE2 and described at https://github.com/google/re2/wiki/Syntax
	Branch pulumi.StringInput `pulumi:"branch"`
	// Configure builds to run whether a repository owner or collaborator need to comment '/gcbrun'. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]
	CommentControl pulumi.StringInput `pulumi:"commentControl"`
	// If true, branches that do NOT match the gitRef will trigger a build.
	InvertRegex pulumi.BoolInput `pulumi:"invertRegex"`
}

func (GetTriggerRepositoryEventConfigPullRequestArgs) ElementType

func (GetTriggerRepositoryEventConfigPullRequestArgs) ToGetTriggerRepositoryEventConfigPullRequestOutput

func (i GetTriggerRepositoryEventConfigPullRequestArgs) ToGetTriggerRepositoryEventConfigPullRequestOutput() GetTriggerRepositoryEventConfigPullRequestOutput

func (GetTriggerRepositoryEventConfigPullRequestArgs) ToGetTriggerRepositoryEventConfigPullRequestOutputWithContext

func (i GetTriggerRepositoryEventConfigPullRequestArgs) ToGetTriggerRepositoryEventConfigPullRequestOutputWithContext(ctx context.Context) GetTriggerRepositoryEventConfigPullRequestOutput

type GetTriggerRepositoryEventConfigPullRequestArray

type GetTriggerRepositoryEventConfigPullRequestArray []GetTriggerRepositoryEventConfigPullRequestInput

func (GetTriggerRepositoryEventConfigPullRequestArray) ElementType

func (GetTriggerRepositoryEventConfigPullRequestArray) ToGetTriggerRepositoryEventConfigPullRequestArrayOutput

func (i GetTriggerRepositoryEventConfigPullRequestArray) ToGetTriggerRepositoryEventConfigPullRequestArrayOutput() GetTriggerRepositoryEventConfigPullRequestArrayOutput

func (GetTriggerRepositoryEventConfigPullRequestArray) ToGetTriggerRepositoryEventConfigPullRequestArrayOutputWithContext

func (i GetTriggerRepositoryEventConfigPullRequestArray) ToGetTriggerRepositoryEventConfigPullRequestArrayOutputWithContext(ctx context.Context) GetTriggerRepositoryEventConfigPullRequestArrayOutput

type GetTriggerRepositoryEventConfigPullRequestArrayInput

type GetTriggerRepositoryEventConfigPullRequestArrayInput interface {
	pulumi.Input

	ToGetTriggerRepositoryEventConfigPullRequestArrayOutput() GetTriggerRepositoryEventConfigPullRequestArrayOutput
	ToGetTriggerRepositoryEventConfigPullRequestArrayOutputWithContext(context.Context) GetTriggerRepositoryEventConfigPullRequestArrayOutput
}

GetTriggerRepositoryEventConfigPullRequestArrayInput is an input type that accepts GetTriggerRepositoryEventConfigPullRequestArray and GetTriggerRepositoryEventConfigPullRequestArrayOutput values. You can construct a concrete instance of `GetTriggerRepositoryEventConfigPullRequestArrayInput` via:

GetTriggerRepositoryEventConfigPullRequestArray{ GetTriggerRepositoryEventConfigPullRequestArgs{...} }

type GetTriggerRepositoryEventConfigPullRequestArrayOutput

type GetTriggerRepositoryEventConfigPullRequestArrayOutput struct{ *pulumi.OutputState }

func (GetTriggerRepositoryEventConfigPullRequestArrayOutput) ElementType

func (GetTriggerRepositoryEventConfigPullRequestArrayOutput) Index

func (GetTriggerRepositoryEventConfigPullRequestArrayOutput) ToGetTriggerRepositoryEventConfigPullRequestArrayOutput

func (GetTriggerRepositoryEventConfigPullRequestArrayOutput) ToGetTriggerRepositoryEventConfigPullRequestArrayOutputWithContext

func (o GetTriggerRepositoryEventConfigPullRequestArrayOutput) ToGetTriggerRepositoryEventConfigPullRequestArrayOutputWithContext(ctx context.Context) GetTriggerRepositoryEventConfigPullRequestArrayOutput

type GetTriggerRepositoryEventConfigPullRequestInput

type GetTriggerRepositoryEventConfigPullRequestInput interface {
	pulumi.Input

	ToGetTriggerRepositoryEventConfigPullRequestOutput() GetTriggerRepositoryEventConfigPullRequestOutput
	ToGetTriggerRepositoryEventConfigPullRequestOutputWithContext(context.Context) GetTriggerRepositoryEventConfigPullRequestOutput
}

GetTriggerRepositoryEventConfigPullRequestInput is an input type that accepts GetTriggerRepositoryEventConfigPullRequestArgs and GetTriggerRepositoryEventConfigPullRequestOutput values. You can construct a concrete instance of `GetTriggerRepositoryEventConfigPullRequestInput` via:

GetTriggerRepositoryEventConfigPullRequestArgs{...}

type GetTriggerRepositoryEventConfigPullRequestOutput

type GetTriggerRepositoryEventConfigPullRequestOutput struct{ *pulumi.OutputState }

func (GetTriggerRepositoryEventConfigPullRequestOutput) Branch

Regex of branches to match.

The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

func (GetTriggerRepositoryEventConfigPullRequestOutput) CommentControl

Configure builds to run whether a repository owner or collaborator need to comment '/gcbrun'. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]

func (GetTriggerRepositoryEventConfigPullRequestOutput) ElementType

func (GetTriggerRepositoryEventConfigPullRequestOutput) InvertRegex

If true, branches that do NOT match the gitRef will trigger a build.

func (GetTriggerRepositoryEventConfigPullRequestOutput) ToGetTriggerRepositoryEventConfigPullRequestOutput

func (o GetTriggerRepositoryEventConfigPullRequestOutput) ToGetTriggerRepositoryEventConfigPullRequestOutput() GetTriggerRepositoryEventConfigPullRequestOutput

func (GetTriggerRepositoryEventConfigPullRequestOutput) ToGetTriggerRepositoryEventConfigPullRequestOutputWithContext

func (o GetTriggerRepositoryEventConfigPullRequestOutput) ToGetTriggerRepositoryEventConfigPullRequestOutputWithContext(ctx context.Context) GetTriggerRepositoryEventConfigPullRequestOutput

type GetTriggerRepositoryEventConfigPush

type GetTriggerRepositoryEventConfigPush struct {
	// Regex of branches to match.
	//
	// The syntax of the regular expressions accepted is the syntax accepted by
	// RE2 and described at https://github.com/google/re2/wiki/Syntax
	Branch string `pulumi:"branch"`
	// If true, only trigger a build if the revision regex does NOT match the gitRef regex.
	InvertRegex bool `pulumi:"invertRegex"`
	// Regex of tags to match.
	//
	// The syntax of the regular expressions accepted is the syntax accepted by
	// RE2 and described at https://github.com/google/re2/wiki/Syntax
	Tag string `pulumi:"tag"`
}

type GetTriggerRepositoryEventConfigPushArgs

type GetTriggerRepositoryEventConfigPushArgs struct {
	// Regex of branches to match.
	//
	// The syntax of the regular expressions accepted is the syntax accepted by
	// RE2 and described at https://github.com/google/re2/wiki/Syntax
	Branch pulumi.StringInput `pulumi:"branch"`
	// If true, only trigger a build if the revision regex does NOT match the gitRef regex.
	InvertRegex pulumi.BoolInput `pulumi:"invertRegex"`
	// Regex of tags to match.
	//
	// The syntax of the regular expressions accepted is the syntax accepted by
	// RE2 and described at https://github.com/google/re2/wiki/Syntax
	Tag pulumi.StringInput `pulumi:"tag"`
}

func (GetTriggerRepositoryEventConfigPushArgs) ElementType

func (GetTriggerRepositoryEventConfigPushArgs) ToGetTriggerRepositoryEventConfigPushOutput

func (i GetTriggerRepositoryEventConfigPushArgs) ToGetTriggerRepositoryEventConfigPushOutput() GetTriggerRepositoryEventConfigPushOutput

func (GetTriggerRepositoryEventConfigPushArgs) ToGetTriggerRepositoryEventConfigPushOutputWithContext

func (i GetTriggerRepositoryEventConfigPushArgs) ToGetTriggerRepositoryEventConfigPushOutputWithContext(ctx context.Context) GetTriggerRepositoryEventConfigPushOutput

type GetTriggerRepositoryEventConfigPushArray

type GetTriggerRepositoryEventConfigPushArray []GetTriggerRepositoryEventConfigPushInput

func (GetTriggerRepositoryEventConfigPushArray) ElementType

func (GetTriggerRepositoryEventConfigPushArray) ToGetTriggerRepositoryEventConfigPushArrayOutput

func (i GetTriggerRepositoryEventConfigPushArray) ToGetTriggerRepositoryEventConfigPushArrayOutput() GetTriggerRepositoryEventConfigPushArrayOutput

func (GetTriggerRepositoryEventConfigPushArray) ToGetTriggerRepositoryEventConfigPushArrayOutputWithContext

func (i GetTriggerRepositoryEventConfigPushArray) ToGetTriggerRepositoryEventConfigPushArrayOutputWithContext(ctx context.Context) GetTriggerRepositoryEventConfigPushArrayOutput

type GetTriggerRepositoryEventConfigPushArrayInput

type GetTriggerRepositoryEventConfigPushArrayInput interface {
	pulumi.Input

	ToGetTriggerRepositoryEventConfigPushArrayOutput() GetTriggerRepositoryEventConfigPushArrayOutput
	ToGetTriggerRepositoryEventConfigPushArrayOutputWithContext(context.Context) GetTriggerRepositoryEventConfigPushArrayOutput
}

GetTriggerRepositoryEventConfigPushArrayInput is an input type that accepts GetTriggerRepositoryEventConfigPushArray and GetTriggerRepositoryEventConfigPushArrayOutput values. You can construct a concrete instance of `GetTriggerRepositoryEventConfigPushArrayInput` via:

GetTriggerRepositoryEventConfigPushArray{ GetTriggerRepositoryEventConfigPushArgs{...} }

type GetTriggerRepositoryEventConfigPushArrayOutput

type GetTriggerRepositoryEventConfigPushArrayOutput struct{ *pulumi.OutputState }

func (GetTriggerRepositoryEventConfigPushArrayOutput) ElementType

func (GetTriggerRepositoryEventConfigPushArrayOutput) Index

func (GetTriggerRepositoryEventConfigPushArrayOutput) ToGetTriggerRepositoryEventConfigPushArrayOutput

func (o GetTriggerRepositoryEventConfigPushArrayOutput) ToGetTriggerRepositoryEventConfigPushArrayOutput() GetTriggerRepositoryEventConfigPushArrayOutput

func (GetTriggerRepositoryEventConfigPushArrayOutput) ToGetTriggerRepositoryEventConfigPushArrayOutputWithContext

func (o GetTriggerRepositoryEventConfigPushArrayOutput) ToGetTriggerRepositoryEventConfigPushArrayOutputWithContext(ctx context.Context) GetTriggerRepositoryEventConfigPushArrayOutput

type GetTriggerRepositoryEventConfigPushInput

type GetTriggerRepositoryEventConfigPushInput interface {
	pulumi.Input

	ToGetTriggerRepositoryEventConfigPushOutput() GetTriggerRepositoryEventConfigPushOutput
	ToGetTriggerRepositoryEventConfigPushOutputWithContext(context.Context) GetTriggerRepositoryEventConfigPushOutput
}

GetTriggerRepositoryEventConfigPushInput is an input type that accepts GetTriggerRepositoryEventConfigPushArgs and GetTriggerRepositoryEventConfigPushOutput values. You can construct a concrete instance of `GetTriggerRepositoryEventConfigPushInput` via:

GetTriggerRepositoryEventConfigPushArgs{...}

type GetTriggerRepositoryEventConfigPushOutput

type GetTriggerRepositoryEventConfigPushOutput struct{ *pulumi.OutputState }

func (GetTriggerRepositoryEventConfigPushOutput) Branch

Regex of branches to match.

The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

func (GetTriggerRepositoryEventConfigPushOutput) ElementType

func (GetTriggerRepositoryEventConfigPushOutput) InvertRegex

If true, only trigger a build if the revision regex does NOT match the gitRef regex.

func (GetTriggerRepositoryEventConfigPushOutput) Tag

Regex of tags to match.

The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

func (GetTriggerRepositoryEventConfigPushOutput) ToGetTriggerRepositoryEventConfigPushOutput

func (o GetTriggerRepositoryEventConfigPushOutput) ToGetTriggerRepositoryEventConfigPushOutput() GetTriggerRepositoryEventConfigPushOutput

func (GetTriggerRepositoryEventConfigPushOutput) ToGetTriggerRepositoryEventConfigPushOutputWithContext

func (o GetTriggerRepositoryEventConfigPushOutput) ToGetTriggerRepositoryEventConfigPushOutputWithContext(ctx context.Context) GetTriggerRepositoryEventConfigPushOutput

type GetTriggerSourceToBuild

type GetTriggerSourceToBuild struct {
	// The full resource name of the bitbucket server config.
	// Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
	BitbucketServerConfig string `pulumi:"bitbucketServerConfig"`
	// The full resource name of the github enterprise config.
	// Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
	GithubEnterpriseConfig string `pulumi:"githubEnterpriseConfig"`
	// The branch or tag to use. Must start with "refs/" (required).
	Ref string `pulumi:"ref"`
	// The type of the repo, since it may not be explicit from the repo field (e.g from a URL).
	// Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER Possible values: ["UNKNOWN", "CLOUD_SOURCE_REPOSITORIES", "GITHUB", "BITBUCKET_SERVER"]
	RepoType string `pulumi:"repoType"`
	// The qualified resource name of the Repo API repository.
	// Either uri or repository can be specified and is required.
	Repository string `pulumi:"repository"`
	// The URI of the repo.
	Uri string `pulumi:"uri"`
}

type GetTriggerSourceToBuildArgs

type GetTriggerSourceToBuildArgs struct {
	// The full resource name of the bitbucket server config.
	// Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
	BitbucketServerConfig pulumi.StringInput `pulumi:"bitbucketServerConfig"`
	// The full resource name of the github enterprise config.
	// Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
	GithubEnterpriseConfig pulumi.StringInput `pulumi:"githubEnterpriseConfig"`
	// The branch or tag to use. Must start with "refs/" (required).
	Ref pulumi.StringInput `pulumi:"ref"`
	// The type of the repo, since it may not be explicit from the repo field (e.g from a URL).
	// Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER Possible values: ["UNKNOWN", "CLOUD_SOURCE_REPOSITORIES", "GITHUB", "BITBUCKET_SERVER"]
	RepoType pulumi.StringInput `pulumi:"repoType"`
	// The qualified resource name of the Repo API repository.
	// Either uri or repository can be specified and is required.
	Repository pulumi.StringInput `pulumi:"repository"`
	// The URI of the repo.
	Uri pulumi.StringInput `pulumi:"uri"`
}

func (GetTriggerSourceToBuildArgs) ElementType

func (GetTriggerSourceToBuildArgs) ToGetTriggerSourceToBuildOutput

func (i GetTriggerSourceToBuildArgs) ToGetTriggerSourceToBuildOutput() GetTriggerSourceToBuildOutput

func (GetTriggerSourceToBuildArgs) ToGetTriggerSourceToBuildOutputWithContext

func (i GetTriggerSourceToBuildArgs) ToGetTriggerSourceToBuildOutputWithContext(ctx context.Context) GetTriggerSourceToBuildOutput

type GetTriggerSourceToBuildArray

type GetTriggerSourceToBuildArray []GetTriggerSourceToBuildInput

func (GetTriggerSourceToBuildArray) ElementType

func (GetTriggerSourceToBuildArray) ToGetTriggerSourceToBuildArrayOutput

func (i GetTriggerSourceToBuildArray) ToGetTriggerSourceToBuildArrayOutput() GetTriggerSourceToBuildArrayOutput

func (GetTriggerSourceToBuildArray) ToGetTriggerSourceToBuildArrayOutputWithContext

func (i GetTriggerSourceToBuildArray) ToGetTriggerSourceToBuildArrayOutputWithContext(ctx context.Context) GetTriggerSourceToBuildArrayOutput

type GetTriggerSourceToBuildArrayInput

type GetTriggerSourceToBuildArrayInput interface {
	pulumi.Input

	ToGetTriggerSourceToBuildArrayOutput() GetTriggerSourceToBuildArrayOutput
	ToGetTriggerSourceToBuildArrayOutputWithContext(context.Context) GetTriggerSourceToBuildArrayOutput
}

GetTriggerSourceToBuildArrayInput is an input type that accepts GetTriggerSourceToBuildArray and GetTriggerSourceToBuildArrayOutput values. You can construct a concrete instance of `GetTriggerSourceToBuildArrayInput` via:

GetTriggerSourceToBuildArray{ GetTriggerSourceToBuildArgs{...} }

type GetTriggerSourceToBuildArrayOutput

type GetTriggerSourceToBuildArrayOutput struct{ *pulumi.OutputState }

func (GetTriggerSourceToBuildArrayOutput) ElementType

func (GetTriggerSourceToBuildArrayOutput) Index

func (GetTriggerSourceToBuildArrayOutput) ToGetTriggerSourceToBuildArrayOutput

func (o GetTriggerSourceToBuildArrayOutput) ToGetTriggerSourceToBuildArrayOutput() GetTriggerSourceToBuildArrayOutput

func (GetTriggerSourceToBuildArrayOutput) ToGetTriggerSourceToBuildArrayOutputWithContext

func (o GetTriggerSourceToBuildArrayOutput) ToGetTriggerSourceToBuildArrayOutputWithContext(ctx context.Context) GetTriggerSourceToBuildArrayOutput

type GetTriggerSourceToBuildInput

type GetTriggerSourceToBuildInput interface {
	pulumi.Input

	ToGetTriggerSourceToBuildOutput() GetTriggerSourceToBuildOutput
	ToGetTriggerSourceToBuildOutputWithContext(context.Context) GetTriggerSourceToBuildOutput
}

GetTriggerSourceToBuildInput is an input type that accepts GetTriggerSourceToBuildArgs and GetTriggerSourceToBuildOutput values. You can construct a concrete instance of `GetTriggerSourceToBuildInput` via:

GetTriggerSourceToBuildArgs{...}

type GetTriggerSourceToBuildOutput

type GetTriggerSourceToBuildOutput struct{ *pulumi.OutputState }

func (GetTriggerSourceToBuildOutput) BitbucketServerConfig

func (o GetTriggerSourceToBuildOutput) BitbucketServerConfig() pulumi.StringOutput

The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.

func (GetTriggerSourceToBuildOutput) ElementType

func (GetTriggerSourceToBuildOutput) GithubEnterpriseConfig

func (o GetTriggerSourceToBuildOutput) GithubEnterpriseConfig() pulumi.StringOutput

The full resource name of the github enterprise config. Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.

func (GetTriggerSourceToBuildOutput) Ref

The branch or tag to use. Must start with "refs/" (required).

func (GetTriggerSourceToBuildOutput) RepoType

The type of the repo, since it may not be explicit from the repo field (e.g from a URL). Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER Possible values: ["UNKNOWN", "CLOUD_SOURCE_REPOSITORIES", "GITHUB", "BITBUCKET_SERVER"]

func (GetTriggerSourceToBuildOutput) Repository

The qualified resource name of the Repo API repository. Either uri or repository can be specified and is required.

func (GetTriggerSourceToBuildOutput) ToGetTriggerSourceToBuildOutput

func (o GetTriggerSourceToBuildOutput) ToGetTriggerSourceToBuildOutput() GetTriggerSourceToBuildOutput

func (GetTriggerSourceToBuildOutput) ToGetTriggerSourceToBuildOutputWithContext

func (o GetTriggerSourceToBuildOutput) ToGetTriggerSourceToBuildOutputWithContext(ctx context.Context) GetTriggerSourceToBuildOutput

func (GetTriggerSourceToBuildOutput) Uri

The URI of the repo.

type GetTriggerTriggerTemplate

type GetTriggerTriggerTemplate struct {
	// Name of the branch to build. Exactly one a of branch name, tag, or commit SHA must be provided.
	// This field is a regular expression.
	BranchName string `pulumi:"branchName"`
	// Explicit commit SHA to build. Exactly one of a branch name, tag, or commit SHA must be provided.
	CommitSha string `pulumi:"commitSha"`
	// Directory, relative to the source root, in which to run the build.
	//
	// This must be a relative path. If a step's dir is specified and
	// is an absolute path, this value is ignored for that 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. If omitted, the name "default" is assumed.
	RepoName string `pulumi:"repoName"`
	// Name of the tag to build. Exactly one of a branch name, tag, or commit SHA must be provided.
	// This field is a regular expression.
	TagName string `pulumi:"tagName"`
}

type GetTriggerTriggerTemplateArgs

type GetTriggerTriggerTemplateArgs struct {
	// Name of the branch to build. Exactly one a of branch name, tag, or commit SHA must be provided.
	// This field is a regular expression.
	BranchName pulumi.StringInput `pulumi:"branchName"`
	// Explicit commit SHA to build. Exactly one of a branch name, tag, or commit SHA must be provided.
	CommitSha pulumi.StringInput `pulumi:"commitSha"`
	// Directory, relative to the source root, in which to run the build.
	//
	// This must be a relative path. If a step's dir is specified and
	// is an absolute path, this value is ignored for that step's
	// execution.
	Dir pulumi.StringInput `pulumi:"dir"`
	// Only trigger a build if the revision regex does NOT match the revision regex.
	InvertRegex pulumi.BoolInput `pulumi:"invertRegex"`
	// ID of the project that owns the Cloud Source Repository. If
	// omitted, the project ID requesting the build is assumed.
	ProjectId pulumi.StringInput `pulumi:"projectId"`
	// Name of the Cloud Source Repository. If omitted, the name "default" is assumed.
	RepoName pulumi.StringInput `pulumi:"repoName"`
	// Name of the tag to build. Exactly one of a branch name, tag, or commit SHA must be provided.
	// This field is a regular expression.
	TagName pulumi.StringInput `pulumi:"tagName"`
}

func (GetTriggerTriggerTemplateArgs) ElementType

func (GetTriggerTriggerTemplateArgs) ToGetTriggerTriggerTemplateOutput

func (i GetTriggerTriggerTemplateArgs) ToGetTriggerTriggerTemplateOutput() GetTriggerTriggerTemplateOutput

func (GetTriggerTriggerTemplateArgs) ToGetTriggerTriggerTemplateOutputWithContext

func (i GetTriggerTriggerTemplateArgs) ToGetTriggerTriggerTemplateOutputWithContext(ctx context.Context) GetTriggerTriggerTemplateOutput

type GetTriggerTriggerTemplateArray

type GetTriggerTriggerTemplateArray []GetTriggerTriggerTemplateInput

func (GetTriggerTriggerTemplateArray) ElementType

func (GetTriggerTriggerTemplateArray) ToGetTriggerTriggerTemplateArrayOutput

func (i GetTriggerTriggerTemplateArray) ToGetTriggerTriggerTemplateArrayOutput() GetTriggerTriggerTemplateArrayOutput

func (GetTriggerTriggerTemplateArray) ToGetTriggerTriggerTemplateArrayOutputWithContext

func (i GetTriggerTriggerTemplateArray) ToGetTriggerTriggerTemplateArrayOutputWithContext(ctx context.Context) GetTriggerTriggerTemplateArrayOutput

type GetTriggerTriggerTemplateArrayInput

type GetTriggerTriggerTemplateArrayInput interface {
	pulumi.Input

	ToGetTriggerTriggerTemplateArrayOutput() GetTriggerTriggerTemplateArrayOutput
	ToGetTriggerTriggerTemplateArrayOutputWithContext(context.Context) GetTriggerTriggerTemplateArrayOutput
}

GetTriggerTriggerTemplateArrayInput is an input type that accepts GetTriggerTriggerTemplateArray and GetTriggerTriggerTemplateArrayOutput values. You can construct a concrete instance of `GetTriggerTriggerTemplateArrayInput` via:

GetTriggerTriggerTemplateArray{ GetTriggerTriggerTemplateArgs{...} }

type GetTriggerTriggerTemplateArrayOutput

type GetTriggerTriggerTemplateArrayOutput struct{ *pulumi.OutputState }

func (GetTriggerTriggerTemplateArrayOutput) ElementType

func (GetTriggerTriggerTemplateArrayOutput) Index

func (GetTriggerTriggerTemplateArrayOutput) ToGetTriggerTriggerTemplateArrayOutput

func (o GetTriggerTriggerTemplateArrayOutput) ToGetTriggerTriggerTemplateArrayOutput() GetTriggerTriggerTemplateArrayOutput

func (GetTriggerTriggerTemplateArrayOutput) ToGetTriggerTriggerTemplateArrayOutputWithContext

func (o GetTriggerTriggerTemplateArrayOutput) ToGetTriggerTriggerTemplateArrayOutputWithContext(ctx context.Context) GetTriggerTriggerTemplateArrayOutput

type GetTriggerTriggerTemplateInput

type GetTriggerTriggerTemplateInput interface {
	pulumi.Input

	ToGetTriggerTriggerTemplateOutput() GetTriggerTriggerTemplateOutput
	ToGetTriggerTriggerTemplateOutputWithContext(context.Context) GetTriggerTriggerTemplateOutput
}

GetTriggerTriggerTemplateInput is an input type that accepts GetTriggerTriggerTemplateArgs and GetTriggerTriggerTemplateOutput values. You can construct a concrete instance of `GetTriggerTriggerTemplateInput` via:

GetTriggerTriggerTemplateArgs{...}

type GetTriggerTriggerTemplateOutput

type GetTriggerTriggerTemplateOutput struct{ *pulumi.OutputState }

func (GetTriggerTriggerTemplateOutput) BranchName

Name of the branch to build. Exactly one a of branch name, tag, or commit SHA must be provided. This field is a regular expression.

func (GetTriggerTriggerTemplateOutput) CommitSha

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

func (GetTriggerTriggerTemplateOutput) Dir

Directory, relative to the source root, in which to run the build.

This must be a relative path. If a step's dir is specified and is an absolute path, this value is ignored for that step's execution.

func (GetTriggerTriggerTemplateOutput) ElementType

func (GetTriggerTriggerTemplateOutput) InvertRegex

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

func (GetTriggerTriggerTemplateOutput) ProjectId

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

func (GetTriggerTriggerTemplateOutput) RepoName

Name of the Cloud Source Repository. If omitted, the name "default" is assumed.

func (GetTriggerTriggerTemplateOutput) TagName

Name of the tag to build. Exactly one of a branch name, tag, or commit SHA must be provided. This field is a regular expression.

func (GetTriggerTriggerTemplateOutput) ToGetTriggerTriggerTemplateOutput

func (o GetTriggerTriggerTemplateOutput) ToGetTriggerTriggerTemplateOutput() GetTriggerTriggerTemplateOutput

func (GetTriggerTriggerTemplateOutput) ToGetTriggerTriggerTemplateOutputWithContext

func (o GetTriggerTriggerTemplateOutput) ToGetTriggerTriggerTemplateOutputWithContext(ctx context.Context) GetTriggerTriggerTemplateOutput

type GetTriggerWebhookConfig

type GetTriggerWebhookConfig struct {
	// Resource name for the secret required as a URL parameter.
	Secret string `pulumi:"secret"`
	// Potential issues with the underlying Pub/Sub subscription configuration.
	// Only populated on get requests.
	State string `pulumi:"state"`
}

type GetTriggerWebhookConfigArgs

type GetTriggerWebhookConfigArgs struct {
	// Resource name for the secret required as a URL parameter.
	Secret pulumi.StringInput `pulumi:"secret"`
	// Potential issues with the underlying Pub/Sub subscription configuration.
	// Only populated on get requests.
	State pulumi.StringInput `pulumi:"state"`
}

func (GetTriggerWebhookConfigArgs) ElementType

func (GetTriggerWebhookConfigArgs) ToGetTriggerWebhookConfigOutput

func (i GetTriggerWebhookConfigArgs) ToGetTriggerWebhookConfigOutput() GetTriggerWebhookConfigOutput

func (GetTriggerWebhookConfigArgs) ToGetTriggerWebhookConfigOutputWithContext

func (i GetTriggerWebhookConfigArgs) ToGetTriggerWebhookConfigOutputWithContext(ctx context.Context) GetTriggerWebhookConfigOutput

type GetTriggerWebhookConfigArray

type GetTriggerWebhookConfigArray []GetTriggerWebhookConfigInput

func (GetTriggerWebhookConfigArray) ElementType

func (GetTriggerWebhookConfigArray) ToGetTriggerWebhookConfigArrayOutput

func (i GetTriggerWebhookConfigArray) ToGetTriggerWebhookConfigArrayOutput() GetTriggerWebhookConfigArrayOutput

func (GetTriggerWebhookConfigArray) ToGetTriggerWebhookConfigArrayOutputWithContext

func (i GetTriggerWebhookConfigArray) ToGetTriggerWebhookConfigArrayOutputWithContext(ctx context.Context) GetTriggerWebhookConfigArrayOutput

type GetTriggerWebhookConfigArrayInput

type GetTriggerWebhookConfigArrayInput interface {
	pulumi.Input

	ToGetTriggerWebhookConfigArrayOutput() GetTriggerWebhookConfigArrayOutput
	ToGetTriggerWebhookConfigArrayOutputWithContext(context.Context) GetTriggerWebhookConfigArrayOutput
}

GetTriggerWebhookConfigArrayInput is an input type that accepts GetTriggerWebhookConfigArray and GetTriggerWebhookConfigArrayOutput values. You can construct a concrete instance of `GetTriggerWebhookConfigArrayInput` via:

GetTriggerWebhookConfigArray{ GetTriggerWebhookConfigArgs{...} }

type GetTriggerWebhookConfigArrayOutput

type GetTriggerWebhookConfigArrayOutput struct{ *pulumi.OutputState }

func (GetTriggerWebhookConfigArrayOutput) ElementType

func (GetTriggerWebhookConfigArrayOutput) Index

func (GetTriggerWebhookConfigArrayOutput) ToGetTriggerWebhookConfigArrayOutput

func (o GetTriggerWebhookConfigArrayOutput) ToGetTriggerWebhookConfigArrayOutput() GetTriggerWebhookConfigArrayOutput

func (GetTriggerWebhookConfigArrayOutput) ToGetTriggerWebhookConfigArrayOutputWithContext

func (o GetTriggerWebhookConfigArrayOutput) ToGetTriggerWebhookConfigArrayOutputWithContext(ctx context.Context) GetTriggerWebhookConfigArrayOutput

type GetTriggerWebhookConfigInput

type GetTriggerWebhookConfigInput interface {
	pulumi.Input

	ToGetTriggerWebhookConfigOutput() GetTriggerWebhookConfigOutput
	ToGetTriggerWebhookConfigOutputWithContext(context.Context) GetTriggerWebhookConfigOutput
}

GetTriggerWebhookConfigInput is an input type that accepts GetTriggerWebhookConfigArgs and GetTriggerWebhookConfigOutput values. You can construct a concrete instance of `GetTriggerWebhookConfigInput` via:

GetTriggerWebhookConfigArgs{...}

type GetTriggerWebhookConfigOutput

type GetTriggerWebhookConfigOutput struct{ *pulumi.OutputState }

func (GetTriggerWebhookConfigOutput) ElementType

func (GetTriggerWebhookConfigOutput) Secret

Resource name for the secret required as a URL parameter.

func (GetTriggerWebhookConfigOutput) State

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

func (GetTriggerWebhookConfigOutput) ToGetTriggerWebhookConfigOutput

func (o GetTriggerWebhookConfigOutput) ToGetTriggerWebhookConfigOutput() GetTriggerWebhookConfigOutput

func (GetTriggerWebhookConfigOutput) ToGetTriggerWebhookConfigOutputWithContext

func (o GetTriggerWebhookConfigOutput) ToGetTriggerWebhookConfigOutputWithContext(ctx context.Context) GetTriggerWebhookConfigOutput

type LookupTriggerArgs

type LookupTriggerArgs struct {
	// The Cloud Build location for the trigger.
	//
	// ***
	Location string `pulumi:"location"`
	// The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
	Project *string `pulumi:"project"`
	// The unique identifier for the trigger..
	TriggerId string `pulumi:"triggerId"`
}

A collection of arguments for invoking getTrigger.

type LookupTriggerOutputArgs

type LookupTriggerOutputArgs struct {
	// The Cloud Build location for the trigger.
	//
	// ***
	Location pulumi.StringInput `pulumi:"location"`
	// The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput `pulumi:"project"`
	// The unique identifier for the trigger..
	TriggerId pulumi.StringInput `pulumi:"triggerId"`
}

A collection of arguments for invoking getTrigger.

func (LookupTriggerOutputArgs) ElementType

func (LookupTriggerOutputArgs) ElementType() reflect.Type

type LookupTriggerResult

type LookupTriggerResult struct {
	ApprovalConfigs               []GetTriggerApprovalConfig               `pulumi:"approvalConfigs"`
	BitbucketServerTriggerConfigs []GetTriggerBitbucketServerTriggerConfig `pulumi:"bitbucketServerTriggerConfigs"`
	Builds                        []GetTriggerBuild                        `pulumi:"builds"`
	CreateTime                    string                                   `pulumi:"createTime"`
	Description                   string                                   `pulumi:"description"`
	Disabled                      bool                                     `pulumi:"disabled"`
	Filename                      string                                   `pulumi:"filename"`
	Filter                        string                                   `pulumi:"filter"`
	GitFileSources                []GetTriggerGitFileSource                `pulumi:"gitFileSources"`
	Githubs                       []GetTriggerGithub                       `pulumi:"githubs"`
	// The provider-assigned unique ID for this managed resource.
	Id                     string                            `pulumi:"id"`
	IgnoredFiles           []string                          `pulumi:"ignoredFiles"`
	IncludeBuildLogs       string                            `pulumi:"includeBuildLogs"`
	IncludedFiles          []string                          `pulumi:"includedFiles"`
	Location               string                            `pulumi:"location"`
	Name                   string                            `pulumi:"name"`
	Project                *string                           `pulumi:"project"`
	PubsubConfigs          []GetTriggerPubsubConfig          `pulumi:"pubsubConfigs"`
	RepositoryEventConfigs []GetTriggerRepositoryEventConfig `pulumi:"repositoryEventConfigs"`
	ServiceAccount         string                            `pulumi:"serviceAccount"`
	SourceToBuilds         []GetTriggerSourceToBuild         `pulumi:"sourceToBuilds"`
	Substitutions          map[string]string                 `pulumi:"substitutions"`
	Tags                   []string                          `pulumi:"tags"`
	TriggerId              string                            `pulumi:"triggerId"`
	TriggerTemplates       []GetTriggerTriggerTemplate       `pulumi:"triggerTemplates"`
	WebhookConfigs         []GetTriggerWebhookConfig         `pulumi:"webhookConfigs"`
}

A collection of values returned by getTrigger.

func LookupTrigger

func LookupTrigger(ctx *pulumi.Context, args *LookupTriggerArgs, opts ...pulumi.InvokeOption) (*LookupTriggerResult, error)

To get more information about Cloudbuild Trigger, see:

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

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudbuild.LookupTrigger(ctx, &cloudbuild.LookupTriggerArgs{
			Project:   pulumi.StringRef("your-project-id"),
			TriggerId: filename_trigger.TriggerId,
			Location:  "location of trigger build",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupTriggerResultOutput

type LookupTriggerResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTrigger.

func (LookupTriggerResultOutput) ApprovalConfigs

func (LookupTriggerResultOutput) BitbucketServerTriggerConfigs

func (LookupTriggerResultOutput) Builds

func (LookupTriggerResultOutput) CreateTime

func (LookupTriggerResultOutput) Description

func (LookupTriggerResultOutput) Disabled

func (LookupTriggerResultOutput) ElementType

func (LookupTriggerResultOutput) ElementType() reflect.Type

func (LookupTriggerResultOutput) Filename

func (LookupTriggerResultOutput) Filter

func (LookupTriggerResultOutput) GitFileSources

func (LookupTriggerResultOutput) Githubs

func (LookupTriggerResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupTriggerResultOutput) IgnoredFiles

func (LookupTriggerResultOutput) IncludeBuildLogs

func (o LookupTriggerResultOutput) IncludeBuildLogs() pulumi.StringOutput

func (LookupTriggerResultOutput) IncludedFiles

func (LookupTriggerResultOutput) Location

func (LookupTriggerResultOutput) Name

func (LookupTriggerResultOutput) Project

func (LookupTriggerResultOutput) PubsubConfigs

func (LookupTriggerResultOutput) RepositoryEventConfigs

func (LookupTriggerResultOutput) ServiceAccount

func (o LookupTriggerResultOutput) ServiceAccount() pulumi.StringOutput

func (LookupTriggerResultOutput) SourceToBuilds

func (LookupTriggerResultOutput) Substitutions

func (LookupTriggerResultOutput) Tags

func (LookupTriggerResultOutput) ToLookupTriggerResultOutput

func (o LookupTriggerResultOutput) ToLookupTriggerResultOutput() LookupTriggerResultOutput

func (LookupTriggerResultOutput) ToLookupTriggerResultOutputWithContext

func (o LookupTriggerResultOutput) ToLookupTriggerResultOutputWithContext(ctx context.Context) LookupTriggerResultOutput

func (LookupTriggerResultOutput) TriggerId

func (LookupTriggerResultOutput) TriggerTemplates

func (LookupTriggerResultOutput) WebhookConfigs

type Trigger

type Trigger struct {
	pulumi.CustomResourceState

	// Configuration for manual approval to start a build invocation of this BuildTrigger.
	// Builds created by this trigger will require approval before they execute.
	// Any user with a Cloud Build Approver role for the project can approve a build.
	// Structure is documented below.
	ApprovalConfig TriggerApprovalConfigOutput `pulumi:"approvalConfig"`
	// BitbucketServerTriggerConfig describes the configuration of a trigger that creates a build whenever a Bitbucket Server event is received.
	// Structure is documented below.
	BitbucketServerTriggerConfig TriggerBitbucketServerTriggerConfigPtrOutput `pulumi:"bitbucketServerTriggerConfig"`
	// 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. Set this only when using triggerTemplate or github.
	// When using Pub/Sub, Webhook or Manual set the file name using gitFileSource instead.
	Filename pulumi.StringPtrOutput `pulumi:"filename"`
	// A Common Expression Language string. Used only with Pub/Sub and Webhook.
	Filter pulumi.StringPtrOutput `pulumi:"filter"`
	// The file source describing the local or remote Build template.
	// Structure is documented below.
	GitFileSource TriggerGitFileSourcePtrOutput `pulumi:"gitFileSource"`
	// 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"`
	// Build logs will be sent back to GitHub as part of the checkrun
	// result.  Values can be INCLUDE_BUILD_LOGS_UNSPECIFIED or
	// INCLUDE_BUILD_LOGS_WITH_STATUS
	// Possible values are: `INCLUDE_BUILD_LOGS_UNSPECIFIED`, `INCLUDE_BUILD_LOGS_WITH_STATUS`.
	IncludeBuildLogs pulumi.StringPtrOutput `pulumi:"includeBuildLogs"`
	// 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"`
	// The [Cloud Build location](https://cloud.google.com/build/docs/locations) for the trigger.
	// If not specified, "global" is used.
	Location pulumi.StringPtrOutput `pulumi:"location"`
	// Name of the trigger. Must be unique within the project.
	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` `webhookConfig` or `sourceToBuild` must be provided.
	// Structure is documented below.
	PubsubConfig TriggerPubsubConfigPtrOutput `pulumi:"pubsubConfig"`
	// The configuration of a trigger that creates a build whenever an event from Repo API is received.
	// Structure is documented below.
	RepositoryEventConfig TriggerRepositoryEventConfigPtrOutput `pulumi:"repositoryEventConfig"`
	// 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"`
	// The repo and ref of the repository from which to build.
	// This field is used only for those triggers that do not respond to SCM events.
	// Triggers that respond to such events build source at whatever commit caused the event.
	// This field is currently only used by Webhook, Pub/Sub, Manual, and Cron triggers.
	// One of `triggerTemplate`, `github`, `pubsubConfig` `webhookConfig` or `sourceToBuild` must be provided.
	// Structure is documented below.
	SourceToBuild TriggerSourceToBuildPtrOutput `pulumi:"sourceToBuild"`
	// Substitutions data for Build resource.
	Substitutions pulumi.StringMapOutput `pulumi:"substitutions"`
	// Tags for annotation of a BuildTrigger
	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`, `webhookConfig` or `sourceToBuild` 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` `webhookConfig` or `sourceToBuild` 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/v7/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{
			Location: pulumi.String("us-central1"),
			TriggerTemplate: &cloudbuild.TriggerTriggerTemplateArgs{
				BranchName: pulumi.String("main"),
				RepoName:   pulumi.String("my-repo"),
			},
			Substitutions: pulumi.StringMap{
				"_FOO": pulumi.String("bar"),
				"_BAZ": pulumi.String("qux"),
			},
			Filename: pulumi.String("cloudbuild.yaml"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Cloudbuild Trigger Build

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/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{
			Name:     pulumi.String("my-trigger"),
			Location: pulumi.String("global"),
			TriggerTemplate: &cloudbuild.TriggerTriggerTemplateArgs{
				BranchName: pulumi.String("main"),
				RepoName:   pulumi.String("my-repo"),
			},
			Build: &cloudbuild.TriggerBuildArgs{
				Steps: cloudbuild.TriggerBuildStepArray{
					&cloudbuild.TriggerBuildStepArgs{
						Name: pulumi.String("gcr.io/cloud-builders/gsutil"),
						Args: pulumi.StringArray{
							pulumi.String("cp"),
							pulumi.String("gs://mybucket/remotefile.zip"),
							pulumi.String("localfile.zip"),
						},
						Timeout: pulumi.String("120s"),
						SecretEnvs: pulumi.StringArray{
							pulumi.String("MY_SECRET"),
						},
					},
					&cloudbuild.TriggerBuildStepArgs{
						Name:   pulumi.String("ubuntu"),
						Script: pulumi.String("echo hello"),
					},
				},
				Source: &cloudbuild.TriggerBuildSourceArgs{
					StorageSource: &cloudbuild.TriggerBuildSourceStorageSourceArgs{
						Bucket: pulumi.String("mybucket"),
						Object: pulumi.String("source_code.tar.gz"),
					},
				},
				Tags: pulumi.StringArray{
					pulumi.String("build"),
					pulumi.String("newFeature"),
				},
				Substitutions: pulumi.StringMap{
					"_FOO": pulumi.String("bar"),
					"_BAZ": pulumi.String("qux"),
				},
				QueueTtl:   pulumi.String("20s"),
				LogsBucket: pulumi.String("gs://mybucket/logs"),
				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=="),
						},
					},
				},
				AvailableSecrets: &cloudbuild.TriggerBuildAvailableSecretsArgs{
					SecretManagers: cloudbuild.TriggerBuildAvailableSecretsSecretManagerArray{
						&cloudbuild.TriggerBuildAvailableSecretsSecretManagerArgs{
							Env:         pulumi.String("MY_SECRET"),
							VersionName: pulumi.String("projects/myProject/secrets/mySecret/versions/latest"),
						},
					},
				},
				Artifacts: &cloudbuild.TriggerBuildArtifactsArgs{
					Images: pulumi.StringArray{
						pulumi.String("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"),
						},
					},
					NpmPackages: cloudbuild.TriggerBuildArtifactsNpmPackageArray{
						&cloudbuild.TriggerBuildArtifactsNpmPackageArgs{
							PackagePath: pulumi.String("package.json"),
							Repository:  pulumi.String("https://us-west1-npm.pkg.dev/myProject/quickstart-nodejs-repo"),
						},
					},
					PythonPackages: cloudbuild.TriggerBuildArtifactsPythonPackageArray{
						&cloudbuild.TriggerBuildArtifactsPythonPackageArgs{
							Paths: pulumi.StringArray{
								pulumi.String("dist/*"),
							},
							Repository: pulumi.String("https://us-west1-python.pkg.dev/myProject/quickstart-python-repo"),
						},
					},
					MavenArtifacts: cloudbuild.TriggerBuildArtifactsMavenArtifactArray{
						&cloudbuild.TriggerBuildArtifactsMavenArtifactArgs{
							Repository: pulumi.String("https://us-west1-maven.pkg.dev/myProject/quickstart-java-repo"),
							Path:       pulumi.String("/workspace/my-app/target/my-app-1.0.SNAPSHOT.jar"),
							ArtifactId: pulumi.String("my-app"),
							GroupId:    pulumi.String("com.mycompany.app"),
							Version:    pulumi.String("1.0"),
						},
					},
				},
				Options: &cloudbuild.TriggerBuildOptionsArgs{
					SourceProvenanceHashes: pulumi.StringArray{
						pulumi.String("MD5"),
					},
					RequestedVerifyOption: pulumi.String("VERIFIED"),
					MachineType:           pulumi.String("N1_HIGHCPU_8"),
					DiskSizeGb:            pulumi.Int(100),
					SubstitutionOption:    pulumi.String("ALLOW_LOOSE"),
					DynamicSubstitutions:  pulumi.Bool(true),
					LogStreamingOption:    pulumi.String("STREAM_OFF"),
					WorkerPool:            pulumi.String("pool"),
					Logging:               pulumi.String("LEGACY"),
					Envs: pulumi.StringArray{
						pulumi.String("ekey = evalue"),
					},
					SecretEnvs: pulumi.StringArray{
						pulumi.String("secretenv = svalue"),
					},
					Volumes: cloudbuild.TriggerBuildOptionsVolumeArray{
						&cloudbuild.TriggerBuildOptionsVolumeArgs{
							Name: pulumi.String("v1"),
							Path: pulumi.String("v1"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Cloudbuild Trigger Service Account

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/cloudbuild"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/organizations"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/projects"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/serviceaccount"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := organizations.LookupProject(ctx, nil, nil)
		if err != nil {
			return err
		}
		cloudbuildServiceAccount, err := serviceaccount.NewAccount(ctx, "cloudbuild_service_account", &serviceaccount.AccountArgs{
			AccountId: pulumi.String("cloud-sa"),
		})
		if err != nil {
			return err
		}
		_, err = cloudbuild.NewTrigger(ctx, "service-account-trigger", &cloudbuild.TriggerArgs{
			TriggerTemplate: &cloudbuild.TriggerTriggerTemplateArgs{
				BranchName: pulumi.String("main"),
				RepoName:   pulumi.String("my-repo"),
			},
			ServiceAccount: cloudbuildServiceAccount.ID(),
			Filename:       pulumi.String("cloudbuild.yaml"),
		})
		if err != nil {
			return err
		}
		_, err = projects.NewIAMMember(ctx, "act_as", &projects.IAMMemberArgs{
			Project: pulumi.String(project.ProjectId),
			Role:    pulumi.String("roles/iam.serviceAccountUser"),
			Member: cloudbuildServiceAccount.Email.ApplyT(func(email string) (string, error) {
				return fmt.Sprintf("serviceAccount:%v", email), nil
			}).(pulumi.StringOutput),
		})
		if err != nil {
			return err
		}
		_, err = projects.NewIAMMember(ctx, "logs_writer", &projects.IAMMemberArgs{
			Project: pulumi.String(project.ProjectId),
			Role:    pulumi.String("roles/logging.logWriter"),
			Member: cloudbuildServiceAccount.Email.ApplyT(func(email string) (string, error) {
				return fmt.Sprintf("serviceAccount:%v", email), nil
			}).(pulumi.StringOutput),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Cloudbuild Trigger Include Build Logs

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudbuild.NewTrigger(ctx, "include-build-logs-trigger", &cloudbuild.TriggerArgs{
			Location: pulumi.String("us-central1"),
			Name:     pulumi.String("include-build-logs-trigger"),
			Filename: pulumi.String("cloudbuild.yaml"),
			Github: &cloudbuild.TriggerGithubArgs{
				Owner: pulumi.String("hashicorp"),
				Name:  pulumi.String("terraform-provider-google-beta"),
				Push: &cloudbuild.TriggerGithubPushArgs{
					Branch: pulumi.String("^main$"),
				},
			},
			IncludeBuildLogs: pulumi.String("INCLUDE_BUILD_LOGS_WITH_STATUS"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Cloudbuild Trigger Pubsub Config

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		mytopic, err := pubsub.NewTopic(ctx, "mytopic", &pubsub.TopicArgs{
			Name: pulumi.String("my-topic"),
		})
		if err != nil {
			return err
		}
		_, err = cloudbuild.NewTrigger(ctx, "pubsub-config-trigger", &cloudbuild.TriggerArgs{
			Location:    pulumi.String("us-central1"),
			Name:        pulumi.String("pubsub-trigger"),
			Description: pulumi.String("acceptance test example pubsub build trigger"),
			PubsubConfig: &cloudbuild.TriggerPubsubConfigArgs{
				Topic: mytopic.ID(),
			},
			SourceToBuild: &cloudbuild.TriggerSourceToBuildArgs{
				Uri:      pulumi.String("https://hashicorp/terraform-provider-google-beta"),
				Ref:      pulumi.String("refs/heads/main"),
				RepoType: pulumi.String("GITHUB"),
			},
			GitFileSource: &cloudbuild.TriggerGitFileSourceArgs{
				Path:     pulumi.String("cloudbuild.yaml"),
				Uri:      pulumi.String("https://hashicorp/terraform-provider-google-beta"),
				Revision: pulumi.String("refs/heads/main"),
				RepoType: pulumi.String("GITHUB"),
			},
			Substitutions: pulumi.StringMap{
				"_ACTION": pulumi.String("$(body.message.data.action)"),
			},
			Filter: pulumi.String("_ACTION.matches('INSERT')"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Cloudbuild Trigger Webhook Config

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/cloudbuild"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/organizations"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/secretmanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		webhookTriggerSecretKey, err := secretmanager.NewSecret(ctx, "webhook_trigger_secret_key", &secretmanager.SecretArgs{
			SecretId: pulumi.String("webhook-trigger-secret-key"),
			Replication: &secretmanager.SecretReplicationArgs{
				UserManaged: &secretmanager.SecretReplicationUserManagedArgs{
					Replicas: secretmanager.SecretReplicationUserManagedReplicaArray{
						&secretmanager.SecretReplicationUserManagedReplicaArgs{
							Location: pulumi.String("us-central1"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		webhookTriggerSecretKeyData, err := secretmanager.NewSecretVersion(ctx, "webhook_trigger_secret_key_data", &secretmanager.SecretVersionArgs{
			Secret:     webhookTriggerSecretKey.ID(),
			SecretData: pulumi.String("secretkeygoeshere"),
		})
		if err != nil {
			return err
		}
		project, err := organizations.LookupProject(ctx, nil, nil)
		if err != nil {
			return err
		}
		secretAccessor, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
			Bindings: []organizations.GetIAMPolicyBinding{
				{
					Role: "roles/secretmanager.secretAccessor",
					Members: []string{
						fmt.Sprintf("serviceAccount:service-%v@gcp-sa-cloudbuild.iam.gserviceaccount.com", project.Number),
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = secretmanager.NewSecretIamPolicy(ctx, "policy", &secretmanager.SecretIamPolicyArgs{
			Project:    webhookTriggerSecretKey.Project,
			SecretId:   webhookTriggerSecretKey.SecretId,
			PolicyData: pulumi.String(secretAccessor.PolicyData),
		})
		if err != nil {
			return err
		}
		_, err = cloudbuild.NewTrigger(ctx, "webhook-config-trigger", &cloudbuild.TriggerArgs{
			Name:        pulumi.String("webhook-trigger"),
			Description: pulumi.String("acceptance test example webhook build trigger"),
			WebhookConfig: &cloudbuild.TriggerWebhookConfigArgs{
				Secret: webhookTriggerSecretKeyData.ID(),
			},
			SourceToBuild: &cloudbuild.TriggerSourceToBuildArgs{
				Uri:      pulumi.String("https://hashicorp/terraform-provider-google-beta"),
				Ref:      pulumi.String("refs/heads/main"),
				RepoType: pulumi.String("GITHUB"),
			},
			GitFileSource: &cloudbuild.TriggerGitFileSourceArgs{
				Path:     pulumi.String("cloudbuild.yaml"),
				Uri:      pulumi.String("https://hashicorp/terraform-provider-google-beta"),
				Revision: pulumi.String("refs/heads/main"),
				RepoType: pulumi.String("GITHUB"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Cloudbuild Trigger Manual

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudbuild.NewTrigger(ctx, "manual-trigger", &cloudbuild.TriggerArgs{
			Name: pulumi.String("manual-trigger"),
			SourceToBuild: &cloudbuild.TriggerSourceToBuildArgs{
				Uri:      pulumi.String("https://hashicorp/terraform-provider-google-beta"),
				Ref:      pulumi.String("refs/heads/main"),
				RepoType: pulumi.String("GITHUB"),
			},
			GitFileSource: &cloudbuild.TriggerGitFileSourceArgs{
				Path:     pulumi.String("cloudbuild.yaml"),
				Uri:      pulumi.String("https://hashicorp/terraform-provider-google-beta"),
				Revision: pulumi.String("refs/heads/main"),
				RepoType: pulumi.String("GITHUB"),
			},
			ApprovalConfig: &cloudbuild.TriggerApprovalConfigArgs{
				ApprovalRequired: pulumi.Bool(true),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Cloudbuild Trigger Manual Github Enterprise

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudbuild.NewTrigger(ctx, "manual-ghe-trigger", &cloudbuild.TriggerArgs{
			Name: pulumi.String(""),
			SourceToBuild: &cloudbuild.TriggerSourceToBuildArgs{
				Uri:                    pulumi.String("https://hashicorp/terraform-provider-google-beta"),
				Ref:                    pulumi.String("refs/heads/main"),
				RepoType:               pulumi.String("GITHUB"),
				GithubEnterpriseConfig: pulumi.String("projects/myProject/locations/global/githubEnterpriseConfigs/configID"),
			},
			GitFileSource: &cloudbuild.TriggerGitFileSourceArgs{
				Path:                   pulumi.String("cloudbuild.yaml"),
				Uri:                    pulumi.String("https://hashicorp/terraform-provider-google-beta"),
				Revision:               pulumi.String("refs/heads/main"),
				RepoType:               pulumi.String("GITHUB"),
				GithubEnterpriseConfig: pulumi.String("projects/myProject/locations/global/githubEnterpriseConfigs/configID"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Cloudbuild Trigger Manual Bitbucket Server

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudbuild.NewTrigger(ctx, "manual-bitbucket-trigger", &cloudbuild.TriggerArgs{
			Name: pulumi.String("terraform-manual-bbs-trigger"),
			SourceToBuild: &cloudbuild.TriggerSourceToBuildArgs{
				Uri:                   pulumi.String("https://bbs.com/scm/stag/test-repo.git"),
				Ref:                   pulumi.String("refs/heads/main"),
				RepoType:              pulumi.String("BITBUCKET_SERVER"),
				BitbucketServerConfig: pulumi.String("projects/myProject/locations/global/bitbucketServerConfigs/configID"),
			},
			GitFileSource: &cloudbuild.TriggerGitFileSourceArgs{
				Path:                  pulumi.String("cloudbuild.yaml"),
				Uri:                   pulumi.String("https://bbs.com/scm/stag/test-repo.git"),
				Revision:              pulumi.String("refs/heads/main"),
				RepoType:              pulumi.String("BITBUCKET_SERVER"),
				BitbucketServerConfig: pulumi.String("projects/myProject/locations/global/bitbucketServerConfigs/configID"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Cloudbuild Trigger Repo

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudbuildv2.NewConnection(ctx, "my-connection", &cloudbuildv2.ConnectionArgs{
			Location: pulumi.String("us-central1"),
			Name:     pulumi.String("my-connection"),
			GithubConfig: &cloudbuildv2.ConnectionGithubConfigArgs{
				AppInstallationId: pulumi.Int(123123),
				AuthorizerCredential: &cloudbuildv2.ConnectionGithubConfigAuthorizerCredentialArgs{
					OauthTokenSecretVersion: pulumi.String("projects/my-project/secrets/github-pat-secret/versions/latest"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = cloudbuildv2.NewRepository(ctx, "my-repository", &cloudbuildv2.RepositoryArgs{
			Name:             pulumi.String("my-repo"),
			ParentConnection: my_connection.ID(),
			RemoteUri:        pulumi.String("https://github.com/myuser/my-repo.git"),
		})
		if err != nil {
			return err
		}
		_, err = cloudbuild.NewTrigger(ctx, "repo-trigger", &cloudbuild.TriggerArgs{
			Location: pulumi.String("us-central1"),
			RepositoryEventConfig: &cloudbuild.TriggerRepositoryEventConfigArgs{
				Repository: my_repository.ID(),
				Push: &cloudbuild.TriggerRepositoryEventConfigPushArgs{
					Branch: pulumi.String("feature-.*"),
				},
			},
			Filename: pulumi.String("cloudbuild.yaml"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Cloudbuild Trigger Bitbucket Server Push

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudbuild.NewTrigger(ctx, "bbs-push-trigger", &cloudbuild.TriggerArgs{
			Name:     pulumi.String("bbs-push-trigger"),
			Location: pulumi.String("us-central1"),
			BitbucketServerTriggerConfig: &cloudbuild.TriggerBitbucketServerTriggerConfigArgs{
				RepoSlug:                      pulumi.String("bbs-push-trigger"),
				ProjectKey:                    pulumi.String("STAG"),
				BitbucketServerConfigResource: pulumi.String("projects/123456789/locations/us-central1/bitbucketServerConfigs/myBitbucketConfig"),
				Push: &cloudbuild.TriggerBitbucketServerTriggerConfigPushArgs{
					Tag:         pulumi.String("^0.1.*"),
					InvertRegex: pulumi.Bool(true),
				},
			},
			Filename: pulumi.String("cloudbuild.yaml"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Cloudbuild Trigger Bitbucket Server Pull Request

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudbuild.NewTrigger(ctx, "bbs-pull-request-trigger", &cloudbuild.TriggerArgs{
			Name:     pulumi.String("ghe-trigger"),
			Location: pulumi.String("us-central1"),
			BitbucketServerTriggerConfig: &cloudbuild.TriggerBitbucketServerTriggerConfigArgs{
				RepoSlug:                      pulumi.String("terraform-provider-google"),
				ProjectKey:                    pulumi.String("STAG"),
				BitbucketServerConfigResource: pulumi.String("projects/123456789/locations/us-central1/bitbucketServerConfigs/myBitbucketConfig"),
				PullRequest: &cloudbuild.TriggerBitbucketServerTriggerConfigPullRequestArgs{
					Branch:         pulumi.String("^master$"),
					InvertRegex:    pulumi.Bool(false),
					CommentControl: pulumi.String("COMMENTS_ENABLED"),
				},
			},
			Filename: pulumi.String("cloudbuild.yaml"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Cloudbuild Trigger Github Enterprise

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudbuild.NewTrigger(ctx, "ghe-trigger", &cloudbuild.TriggerArgs{
			Name:     pulumi.String("ghe-trigger"),
			Location: pulumi.String("us-central1"),
			Github: &cloudbuild.TriggerGithubArgs{
				Owner: pulumi.String("hashicorp"),
				Name:  pulumi.String("terraform-provider-google"),
				Push: &cloudbuild.TriggerGithubPushArgs{
					Branch: pulumi.String("^main$"),
				},
				EnterpriseConfigResourceName: pulumi.String("projects/123456789/locations/us-central1/githubEnterpriseConfigs/configID"),
			},
			Filename: pulumi.String("cloudbuild.yaml"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Cloudbuild Trigger Allow Failure

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudbuild.NewTrigger(ctx, "allow-failure-trigger", &cloudbuild.TriggerArgs{
			Name:     pulumi.String("my-trigger"),
			Location: pulumi.String("global"),
			TriggerTemplate: &cloudbuild.TriggerTriggerTemplateArgs{
				BranchName: pulumi.String("main"),
				RepoName:   pulumi.String("my-repo"),
			},
			Build: &cloudbuild.TriggerBuildArgs{
				Steps: cloudbuild.TriggerBuildStepArray{
					&cloudbuild.TriggerBuildStepArgs{
						Name: pulumi.String("ubuntu"),
						Args: pulumi.StringArray{
							pulumi.String("-c"),
							pulumi.String("exit 1"),
						},
						AllowFailure: pulumi.Bool(true),
					},
				},
				Source: &cloudbuild.TriggerBuildSourceArgs{
					StorageSource: &cloudbuild.TriggerBuildSourceStorageSourceArgs{
						Bucket: pulumi.String("mybucket"),
						Object: pulumi.String("source_code.tar.gz"),
					},
				},
				Tags: pulumi.StringArray{
					pulumi.String("build"),
					pulumi.String("newFeature"),
				},
				Substitutions: pulumi.StringMap{
					"_FOO": pulumi.String("bar"),
					"_BAZ": pulumi.String("qux"),
				},
				QueueTtl:   pulumi.String("20s"),
				LogsBucket: pulumi.String("gs://mybucket/logs"),
				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=="),
						},
					},
				},
				AvailableSecrets: &cloudbuild.TriggerBuildAvailableSecretsArgs{
					SecretManagers: cloudbuild.TriggerBuildAvailableSecretsSecretManagerArray{
						&cloudbuild.TriggerBuildAvailableSecretsSecretManagerArgs{
							Env:         pulumi.String("MY_SECRET"),
							VersionName: pulumi.String("projects/myProject/secrets/mySecret/versions/latest"),
						},
					},
				},
				Artifacts: &cloudbuild.TriggerBuildArtifactsArgs{
					Images: pulumi.StringArray{
						pulumi.String("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"),
						},
					},
				},
				Options: &cloudbuild.TriggerBuildOptionsArgs{
					SourceProvenanceHashes: pulumi.StringArray{
						pulumi.String("MD5"),
					},
					RequestedVerifyOption: pulumi.String("VERIFIED"),
					MachineType:           pulumi.String("N1_HIGHCPU_8"),
					DiskSizeGb:            pulumi.Int(100),
					SubstitutionOption:    pulumi.String("ALLOW_LOOSE"),
					DynamicSubstitutions:  pulumi.Bool(true),
					LogStreamingOption:    pulumi.String("STREAM_OFF"),
					WorkerPool:            pulumi.String("pool"),
					Logging:               pulumi.String("LEGACY"),
					Envs: pulumi.StringArray{
						pulumi.String("ekey = evalue"),
					},
					SecretEnvs: pulumi.StringArray{
						pulumi.String("secretenv = svalue"),
					},
					Volumes: cloudbuild.TriggerBuildOptionsVolumeArray{
						&cloudbuild.TriggerBuildOptionsVolumeArgs{
							Name: pulumi.String("v1"),
							Path: pulumi.String("v1"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Cloudbuild Trigger Allow Exit Codes

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudbuild.NewTrigger(ctx, "allow-exit-codes-trigger", &cloudbuild.TriggerArgs{
			Name:     pulumi.String("my-trigger"),
			Location: pulumi.String("global"),
			TriggerTemplate: &cloudbuild.TriggerTriggerTemplateArgs{
				BranchName: pulumi.String("main"),
				RepoName:   pulumi.String("my-repo"),
			},
			Build: &cloudbuild.TriggerBuildArgs{
				Steps: cloudbuild.TriggerBuildStepArray{
					&cloudbuild.TriggerBuildStepArgs{
						Name: pulumi.String("ubuntu"),
						Args: pulumi.StringArray{
							pulumi.String("-c"),
							pulumi.String("exit 1"),
						},
						AllowExitCodes: pulumi.IntArray{
							pulumi.Int(1),
							pulumi.Int(3),
						},
					},
				},
				Source: &cloudbuild.TriggerBuildSourceArgs{
					StorageSource: &cloudbuild.TriggerBuildSourceStorageSourceArgs{
						Bucket: pulumi.String("mybucket"),
						Object: pulumi.String("source_code.tar.gz"),
					},
				},
				Tags: pulumi.StringArray{
					pulumi.String("build"),
					pulumi.String("newFeature"),
				},
				Substitutions: pulumi.StringMap{
					"_FOO": pulumi.String("bar"),
					"_BAZ": pulumi.String("qux"),
				},
				QueueTtl:   pulumi.String("20s"),
				LogsBucket: pulumi.String("gs://mybucket/logs"),
				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=="),
						},
					},
				},
				AvailableSecrets: &cloudbuild.TriggerBuildAvailableSecretsArgs{
					SecretManagers: cloudbuild.TriggerBuildAvailableSecretsSecretManagerArray{
						&cloudbuild.TriggerBuildAvailableSecretsSecretManagerArgs{
							Env:         pulumi.String("MY_SECRET"),
							VersionName: pulumi.String("projects/myProject/secrets/mySecret/versions/latest"),
						},
					},
				},
				Artifacts: &cloudbuild.TriggerBuildArtifactsArgs{
					Images: pulumi.StringArray{
						pulumi.String("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"),
						},
					},
				},
				Options: &cloudbuild.TriggerBuildOptionsArgs{
					SourceProvenanceHashes: pulumi.StringArray{
						pulumi.String("MD5"),
					},
					RequestedVerifyOption: pulumi.String("VERIFIED"),
					MachineType:           pulumi.String("N1_HIGHCPU_8"),
					DiskSizeGb:            pulumi.Int(100),
					SubstitutionOption:    pulumi.String("ALLOW_LOOSE"),
					DynamicSubstitutions:  pulumi.Bool(true),
					LogStreamingOption:    pulumi.String("STREAM_OFF"),
					WorkerPool:            pulumi.String("pool"),
					Logging:               pulumi.String("LEGACY"),
					Envs: pulumi.StringArray{
						pulumi.String("ekey = evalue"),
					},
					SecretEnvs: pulumi.StringArray{
						pulumi.String("secretenv = svalue"),
					},
					Volumes: cloudbuild.TriggerBuildOptionsVolumeArray{
						&cloudbuild.TriggerBuildOptionsVolumeArgs{
							Name: pulumi.String("v1"),
							Path: pulumi.String("v1"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Cloudbuild Trigger Pubsub With Repo

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/cloudbuild"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/cloudbuildv2"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/pubsub"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudbuildv2.NewConnection(ctx, "my-connection", &cloudbuildv2.ConnectionArgs{
			Location: pulumi.String("us-central1"),
			Name:     pulumi.String("my-connection"),
			GithubConfig: &cloudbuildv2.ConnectionGithubConfigArgs{
				AppInstallationId: pulumi.Int(123123),
				AuthorizerCredential: &cloudbuildv2.ConnectionGithubConfigAuthorizerCredentialArgs{
					OauthTokenSecretVersion: pulumi.String("projects/my-project/secrets/github-pat-secret/versions/latest"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = cloudbuildv2.NewRepository(ctx, "my-repository", &cloudbuildv2.RepositoryArgs{
			Name:             pulumi.String("my-repo"),
			ParentConnection: my_connection.ID(),
			RemoteUri:        pulumi.String("https://github.com/myuser/my-repo.git"),
		})
		if err != nil {
			return err
		}
		mytopic, err := pubsub.NewTopic(ctx, "mytopic", &pubsub.TopicArgs{
			Name: pulumi.String("my-topic"),
		})
		if err != nil {
			return err
		}
		_, err = cloudbuild.NewTrigger(ctx, "pubsub-with-repo-trigger", &cloudbuild.TriggerArgs{
			Name:     pulumi.String("pubsub-with-repo-trigger"),
			Location: pulumi.String("us-central1"),
			PubsubConfig: &cloudbuild.TriggerPubsubConfigArgs{
				Topic: mytopic.ID(),
			},
			SourceToBuild: &cloudbuild.TriggerSourceToBuildArgs{
				Repository: my_repository.ID(),
				Ref:        pulumi.String("refs/heads/main"),
				RepoType:   pulumi.String("GITHUB"),
			},
			GitFileSource: &cloudbuild.TriggerGitFileSourceArgs{
				Path:       pulumi.String("cloudbuild.yaml"),
				Repository: my_repository.ID(),
				Revision:   pulumi.String("refs/heads/main"),
				RepoType:   pulumi.String("GITHUB"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Trigger can be imported using any of these accepted formats:

* `projects/{{project}}/locations/{{location}}/triggers/{{trigger_id}}`

* `projects/{{project}}/triggers/{{trigger_id}}`

* `{{project}}/{{trigger_id}}`

* `{{trigger_id}}`

When using the `pulumi import` command, Trigger can be imported using one of the formats above. For example:

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

```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

type TriggerApprovalConfig

type TriggerApprovalConfig struct {
	// Whether or not approval is needed. If this is set on a build, it will become pending when run,
	// and will need to be explicitly approved to start.
	ApprovalRequired *bool `pulumi:"approvalRequired"`
}

type TriggerApprovalConfigArgs

type TriggerApprovalConfigArgs struct {
	// Whether or not approval is needed. If this is set on a build, it will become pending when run,
	// and will need to be explicitly approved to start.
	ApprovalRequired pulumi.BoolPtrInput `pulumi:"approvalRequired"`
}

func (TriggerApprovalConfigArgs) ElementType

func (TriggerApprovalConfigArgs) ElementType() reflect.Type

func (TriggerApprovalConfigArgs) ToTriggerApprovalConfigOutput

func (i TriggerApprovalConfigArgs) ToTriggerApprovalConfigOutput() TriggerApprovalConfigOutput

func (TriggerApprovalConfigArgs) ToTriggerApprovalConfigOutputWithContext

func (i TriggerApprovalConfigArgs) ToTriggerApprovalConfigOutputWithContext(ctx context.Context) TriggerApprovalConfigOutput

func (TriggerApprovalConfigArgs) ToTriggerApprovalConfigPtrOutput

func (i TriggerApprovalConfigArgs) ToTriggerApprovalConfigPtrOutput() TriggerApprovalConfigPtrOutput

func (TriggerApprovalConfigArgs) ToTriggerApprovalConfigPtrOutputWithContext

func (i TriggerApprovalConfigArgs) ToTriggerApprovalConfigPtrOutputWithContext(ctx context.Context) TriggerApprovalConfigPtrOutput

type TriggerApprovalConfigInput

type TriggerApprovalConfigInput interface {
	pulumi.Input

	ToTriggerApprovalConfigOutput() TriggerApprovalConfigOutput
	ToTriggerApprovalConfigOutputWithContext(context.Context) TriggerApprovalConfigOutput
}

TriggerApprovalConfigInput is an input type that accepts TriggerApprovalConfigArgs and TriggerApprovalConfigOutput values. You can construct a concrete instance of `TriggerApprovalConfigInput` via:

TriggerApprovalConfigArgs{...}

type TriggerApprovalConfigOutput

type TriggerApprovalConfigOutput struct{ *pulumi.OutputState }

func (TriggerApprovalConfigOutput) ApprovalRequired

func (o TriggerApprovalConfigOutput) ApprovalRequired() pulumi.BoolPtrOutput

Whether or not approval is needed. If this is set on a build, it will become pending when run, and will need to be explicitly approved to start.

func (TriggerApprovalConfigOutput) ElementType

func (TriggerApprovalConfigOutput) ToTriggerApprovalConfigOutput

func (o TriggerApprovalConfigOutput) ToTriggerApprovalConfigOutput() TriggerApprovalConfigOutput

func (TriggerApprovalConfigOutput) ToTriggerApprovalConfigOutputWithContext

func (o TriggerApprovalConfigOutput) ToTriggerApprovalConfigOutputWithContext(ctx context.Context) TriggerApprovalConfigOutput

func (TriggerApprovalConfigOutput) ToTriggerApprovalConfigPtrOutput

func (o TriggerApprovalConfigOutput) ToTriggerApprovalConfigPtrOutput() TriggerApprovalConfigPtrOutput

func (TriggerApprovalConfigOutput) ToTriggerApprovalConfigPtrOutputWithContext

func (o TriggerApprovalConfigOutput) ToTriggerApprovalConfigPtrOutputWithContext(ctx context.Context) TriggerApprovalConfigPtrOutput

type TriggerApprovalConfigPtrInput

type TriggerApprovalConfigPtrInput interface {
	pulumi.Input

	ToTriggerApprovalConfigPtrOutput() TriggerApprovalConfigPtrOutput
	ToTriggerApprovalConfigPtrOutputWithContext(context.Context) TriggerApprovalConfigPtrOutput
}

TriggerApprovalConfigPtrInput is an input type that accepts TriggerApprovalConfigArgs, TriggerApprovalConfigPtr and TriggerApprovalConfigPtrOutput values. You can construct a concrete instance of `TriggerApprovalConfigPtrInput` via:

        TriggerApprovalConfigArgs{...}

or:

        nil

type TriggerApprovalConfigPtrOutput

type TriggerApprovalConfigPtrOutput struct{ *pulumi.OutputState }

func (TriggerApprovalConfigPtrOutput) ApprovalRequired

Whether or not approval is needed. If this is set on a build, it will become pending when run, and will need to be explicitly approved to start.

func (TriggerApprovalConfigPtrOutput) Elem

func (TriggerApprovalConfigPtrOutput) ElementType

func (TriggerApprovalConfigPtrOutput) ToTriggerApprovalConfigPtrOutput

func (o TriggerApprovalConfigPtrOutput) ToTriggerApprovalConfigPtrOutput() TriggerApprovalConfigPtrOutput

func (TriggerApprovalConfigPtrOutput) ToTriggerApprovalConfigPtrOutputWithContext

func (o TriggerApprovalConfigPtrOutput) ToTriggerApprovalConfigPtrOutputWithContext(ctx context.Context) TriggerApprovalConfigPtrOutput

type TriggerArgs

type TriggerArgs struct {
	// Configuration for manual approval to start a build invocation of this BuildTrigger.
	// Builds created by this trigger will require approval before they execute.
	// Any user with a Cloud Build Approver role for the project can approve a build.
	// Structure is documented below.
	ApprovalConfig TriggerApprovalConfigPtrInput
	// BitbucketServerTriggerConfig describes the configuration of a trigger that creates a build whenever a Bitbucket Server event is received.
	// Structure is documented below.
	BitbucketServerTriggerConfig TriggerBitbucketServerTriggerConfigPtrInput
	// 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. Set this only when using triggerTemplate or github.
	// When using Pub/Sub, Webhook or Manual set the file name using gitFileSource instead.
	Filename pulumi.StringPtrInput
	// A Common Expression Language string. Used only with Pub/Sub and Webhook.
	Filter pulumi.StringPtrInput
	// The file source describing the local or remote Build template.
	// Structure is documented below.
	GitFileSource TriggerGitFileSourcePtrInput
	// 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
	// Build logs will be sent back to GitHub as part of the checkrun
	// result.  Values can be INCLUDE_BUILD_LOGS_UNSPECIFIED or
	// INCLUDE_BUILD_LOGS_WITH_STATUS
	// Possible values are: `INCLUDE_BUILD_LOGS_UNSPECIFIED`, `INCLUDE_BUILD_LOGS_WITH_STATUS`.
	IncludeBuildLogs pulumi.StringPtrInput
	// 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
	// The [Cloud Build location](https://cloud.google.com/build/docs/locations) for the trigger.
	// If not specified, "global" is used.
	Location pulumi.StringPtrInput
	// Name of the trigger. Must be unique within the project.
	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` `webhookConfig` or `sourceToBuild` must be provided.
	// Structure is documented below.
	PubsubConfig TriggerPubsubConfigPtrInput
	// The configuration of a trigger that creates a build whenever an event from Repo API is received.
	// Structure is documented below.
	RepositoryEventConfig TriggerRepositoryEventConfigPtrInput
	// 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
	// The repo and ref of the repository from which to build.
	// This field is used only for those triggers that do not respond to SCM events.
	// Triggers that respond to such events build source at whatever commit caused the event.
	// This field is currently only used by Webhook, Pub/Sub, Manual, and Cron triggers.
	// One of `triggerTemplate`, `github`, `pubsubConfig` `webhookConfig` or `sourceToBuild` must be provided.
	// Structure is documented below.
	SourceToBuild TriggerSourceToBuildPtrInput
	// Substitutions data for Build resource.
	Substitutions pulumi.StringMapInput
	// Tags for annotation of a BuildTrigger
	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`, `webhookConfig` or `sourceToBuild` 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` `webhookConfig` or `sourceToBuild` 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 TriggerBitbucketServerTriggerConfig

type TriggerBitbucketServerTriggerConfig struct {
	// The Bitbucket server config resource that this trigger config maps to.
	BitbucketServerConfigResource string `pulumi:"bitbucketServerConfigResource"`
	// Key of the project that the repo is in. For example: The key for https://mybitbucket.server/projects/TEST/repos/test-repo is "TEST".
	ProjectKey string `pulumi:"projectKey"`
	// Filter to match changes in pull requests.
	// Structure is documented below.
	PullRequest *TriggerBitbucketServerTriggerConfigPullRequest `pulumi:"pullRequest"`
	// Filter to match changes in refs like branches, tags.
	// Structure is documented below.
	Push *TriggerBitbucketServerTriggerConfigPush `pulumi:"push"`
	// Slug of the repository. A repository slug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL.
	// For example, if the repository name is 'test repo', in the URL it would become 'test-repo' as in https://mybitbucket.server/projects/TEST/repos/test-repo.
	RepoSlug string `pulumi:"repoSlug"`
}

type TriggerBitbucketServerTriggerConfigArgs

type TriggerBitbucketServerTriggerConfigArgs struct {
	// The Bitbucket server config resource that this trigger config maps to.
	BitbucketServerConfigResource pulumi.StringInput `pulumi:"bitbucketServerConfigResource"`
	// Key of the project that the repo is in. For example: The key for https://mybitbucket.server/projects/TEST/repos/test-repo is "TEST".
	ProjectKey pulumi.StringInput `pulumi:"projectKey"`
	// Filter to match changes in pull requests.
	// Structure is documented below.
	PullRequest TriggerBitbucketServerTriggerConfigPullRequestPtrInput `pulumi:"pullRequest"`
	// Filter to match changes in refs like branches, tags.
	// Structure is documented below.
	Push TriggerBitbucketServerTriggerConfigPushPtrInput `pulumi:"push"`
	// Slug of the repository. A repository slug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL.
	// For example, if the repository name is 'test repo', in the URL it would become 'test-repo' as in https://mybitbucket.server/projects/TEST/repos/test-repo.
	RepoSlug pulumi.StringInput `pulumi:"repoSlug"`
}

func (TriggerBitbucketServerTriggerConfigArgs) ElementType

func (TriggerBitbucketServerTriggerConfigArgs) ToTriggerBitbucketServerTriggerConfigOutput

func (i TriggerBitbucketServerTriggerConfigArgs) ToTriggerBitbucketServerTriggerConfigOutput() TriggerBitbucketServerTriggerConfigOutput

func (TriggerBitbucketServerTriggerConfigArgs) ToTriggerBitbucketServerTriggerConfigOutputWithContext

func (i TriggerBitbucketServerTriggerConfigArgs) ToTriggerBitbucketServerTriggerConfigOutputWithContext(ctx context.Context) TriggerBitbucketServerTriggerConfigOutput

func (TriggerBitbucketServerTriggerConfigArgs) ToTriggerBitbucketServerTriggerConfigPtrOutput

func (i TriggerBitbucketServerTriggerConfigArgs) ToTriggerBitbucketServerTriggerConfigPtrOutput() TriggerBitbucketServerTriggerConfigPtrOutput

func (TriggerBitbucketServerTriggerConfigArgs) ToTriggerBitbucketServerTriggerConfigPtrOutputWithContext

func (i TriggerBitbucketServerTriggerConfigArgs) ToTriggerBitbucketServerTriggerConfigPtrOutputWithContext(ctx context.Context) TriggerBitbucketServerTriggerConfigPtrOutput

type TriggerBitbucketServerTriggerConfigInput

type TriggerBitbucketServerTriggerConfigInput interface {
	pulumi.Input

	ToTriggerBitbucketServerTriggerConfigOutput() TriggerBitbucketServerTriggerConfigOutput
	ToTriggerBitbucketServerTriggerConfigOutputWithContext(context.Context) TriggerBitbucketServerTriggerConfigOutput
}

TriggerBitbucketServerTriggerConfigInput is an input type that accepts TriggerBitbucketServerTriggerConfigArgs and TriggerBitbucketServerTriggerConfigOutput values. You can construct a concrete instance of `TriggerBitbucketServerTriggerConfigInput` via:

TriggerBitbucketServerTriggerConfigArgs{...}

type TriggerBitbucketServerTriggerConfigOutput

type TriggerBitbucketServerTriggerConfigOutput struct{ *pulumi.OutputState }

func (TriggerBitbucketServerTriggerConfigOutput) BitbucketServerConfigResource

func (o TriggerBitbucketServerTriggerConfigOutput) BitbucketServerConfigResource() pulumi.StringOutput

The Bitbucket server config resource that this trigger config maps to.

func (TriggerBitbucketServerTriggerConfigOutput) ElementType

func (TriggerBitbucketServerTriggerConfigOutput) ProjectKey

Key of the project that the repo is in. For example: The key for https://mybitbucket.server/projects/TEST/repos/test-repo is "TEST".

func (TriggerBitbucketServerTriggerConfigOutput) PullRequest

Filter to match changes in pull requests. Structure is documented below.

func (TriggerBitbucketServerTriggerConfigOutput) Push

Filter to match changes in refs like branches, tags. Structure is documented below.

func (TriggerBitbucketServerTriggerConfigOutput) RepoSlug

Slug of the repository. A repository slug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL. For example, if the repository name is 'test repo', in the URL it would become 'test-repo' as in https://mybitbucket.server/projects/TEST/repos/test-repo.

func (TriggerBitbucketServerTriggerConfigOutput) ToTriggerBitbucketServerTriggerConfigOutput

func (o TriggerBitbucketServerTriggerConfigOutput) ToTriggerBitbucketServerTriggerConfigOutput() TriggerBitbucketServerTriggerConfigOutput

func (TriggerBitbucketServerTriggerConfigOutput) ToTriggerBitbucketServerTriggerConfigOutputWithContext

func (o TriggerBitbucketServerTriggerConfigOutput) ToTriggerBitbucketServerTriggerConfigOutputWithContext(ctx context.Context) TriggerBitbucketServerTriggerConfigOutput

func (TriggerBitbucketServerTriggerConfigOutput) ToTriggerBitbucketServerTriggerConfigPtrOutput

func (o TriggerBitbucketServerTriggerConfigOutput) ToTriggerBitbucketServerTriggerConfigPtrOutput() TriggerBitbucketServerTriggerConfigPtrOutput

func (TriggerBitbucketServerTriggerConfigOutput) ToTriggerBitbucketServerTriggerConfigPtrOutputWithContext

func (o TriggerBitbucketServerTriggerConfigOutput) ToTriggerBitbucketServerTriggerConfigPtrOutputWithContext(ctx context.Context) TriggerBitbucketServerTriggerConfigPtrOutput

type TriggerBitbucketServerTriggerConfigPtrInput

type TriggerBitbucketServerTriggerConfigPtrInput interface {
	pulumi.Input

	ToTriggerBitbucketServerTriggerConfigPtrOutput() TriggerBitbucketServerTriggerConfigPtrOutput
	ToTriggerBitbucketServerTriggerConfigPtrOutputWithContext(context.Context) TriggerBitbucketServerTriggerConfigPtrOutput
}

TriggerBitbucketServerTriggerConfigPtrInput is an input type that accepts TriggerBitbucketServerTriggerConfigArgs, TriggerBitbucketServerTriggerConfigPtr and TriggerBitbucketServerTriggerConfigPtrOutput values. You can construct a concrete instance of `TriggerBitbucketServerTriggerConfigPtrInput` via:

        TriggerBitbucketServerTriggerConfigArgs{...}

or:

        nil

type TriggerBitbucketServerTriggerConfigPtrOutput

type TriggerBitbucketServerTriggerConfigPtrOutput struct{ *pulumi.OutputState }

func (TriggerBitbucketServerTriggerConfigPtrOutput) BitbucketServerConfigResource

func (o TriggerBitbucketServerTriggerConfigPtrOutput) BitbucketServerConfigResource() pulumi.StringPtrOutput

The Bitbucket server config resource that this trigger config maps to.

func (TriggerBitbucketServerTriggerConfigPtrOutput) Elem

func (TriggerBitbucketServerTriggerConfigPtrOutput) ElementType

func (TriggerBitbucketServerTriggerConfigPtrOutput) ProjectKey

Key of the project that the repo is in. For example: The key for https://mybitbucket.server/projects/TEST/repos/test-repo is "TEST".

func (TriggerBitbucketServerTriggerConfigPtrOutput) PullRequest

Filter to match changes in pull requests. Structure is documented below.

func (TriggerBitbucketServerTriggerConfigPtrOutput) Push

Filter to match changes in refs like branches, tags. Structure is documented below.

func (TriggerBitbucketServerTriggerConfigPtrOutput) RepoSlug

Slug of the repository. A repository slug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL. For example, if the repository name is 'test repo', in the URL it would become 'test-repo' as in https://mybitbucket.server/projects/TEST/repos/test-repo.

func (TriggerBitbucketServerTriggerConfigPtrOutput) ToTriggerBitbucketServerTriggerConfigPtrOutput

func (o TriggerBitbucketServerTriggerConfigPtrOutput) ToTriggerBitbucketServerTriggerConfigPtrOutput() TriggerBitbucketServerTriggerConfigPtrOutput

func (TriggerBitbucketServerTriggerConfigPtrOutput) ToTriggerBitbucketServerTriggerConfigPtrOutputWithContext

func (o TriggerBitbucketServerTriggerConfigPtrOutput) ToTriggerBitbucketServerTriggerConfigPtrOutputWithContext(ctx context.Context) TriggerBitbucketServerTriggerConfigPtrOutput

type TriggerBitbucketServerTriggerConfigPullRequest

type TriggerBitbucketServerTriggerConfigPullRequest struct {
	// Regex of branches to match.
	// The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
	Branch string `pulumi:"branch"`
	// Configure builds to run whether a repository owner or collaborator need to comment /gcbrun.
	// Possible values are: `COMMENTS_DISABLED`, `COMMENTS_ENABLED`, `COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY`.
	CommentControl *string `pulumi:"commentControl"`
	// If true, branches that do NOT match the gitRef will trigger a build.
	InvertRegex *bool `pulumi:"invertRegex"`
}

type TriggerBitbucketServerTriggerConfigPullRequestArgs

type TriggerBitbucketServerTriggerConfigPullRequestArgs struct {
	// Regex of branches to match.
	// The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
	Branch pulumi.StringInput `pulumi:"branch"`
	// Configure builds to run whether a repository owner or collaborator need to comment /gcbrun.
	// Possible values are: `COMMENTS_DISABLED`, `COMMENTS_ENABLED`, `COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY`.
	CommentControl pulumi.StringPtrInput `pulumi:"commentControl"`
	// If true, branches that do NOT match the gitRef will trigger a build.
	InvertRegex pulumi.BoolPtrInput `pulumi:"invertRegex"`
}

func (TriggerBitbucketServerTriggerConfigPullRequestArgs) ElementType

func (TriggerBitbucketServerTriggerConfigPullRequestArgs) ToTriggerBitbucketServerTriggerConfigPullRequestOutput

func (i TriggerBitbucketServerTriggerConfigPullRequestArgs) ToTriggerBitbucketServerTriggerConfigPullRequestOutput() TriggerBitbucketServerTriggerConfigPullRequestOutput

func (TriggerBitbucketServerTriggerConfigPullRequestArgs) ToTriggerBitbucketServerTriggerConfigPullRequestOutputWithContext

func (i TriggerBitbucketServerTriggerConfigPullRequestArgs) ToTriggerBitbucketServerTriggerConfigPullRequestOutputWithContext(ctx context.Context) TriggerBitbucketServerTriggerConfigPullRequestOutput

func (TriggerBitbucketServerTriggerConfigPullRequestArgs) ToTriggerBitbucketServerTriggerConfigPullRequestPtrOutput

func (i TriggerBitbucketServerTriggerConfigPullRequestArgs) ToTriggerBitbucketServerTriggerConfigPullRequestPtrOutput() TriggerBitbucketServerTriggerConfigPullRequestPtrOutput

func (TriggerBitbucketServerTriggerConfigPullRequestArgs) ToTriggerBitbucketServerTriggerConfigPullRequestPtrOutputWithContext

func (i TriggerBitbucketServerTriggerConfigPullRequestArgs) ToTriggerBitbucketServerTriggerConfigPullRequestPtrOutputWithContext(ctx context.Context) TriggerBitbucketServerTriggerConfigPullRequestPtrOutput

type TriggerBitbucketServerTriggerConfigPullRequestInput

type TriggerBitbucketServerTriggerConfigPullRequestInput interface {
	pulumi.Input

	ToTriggerBitbucketServerTriggerConfigPullRequestOutput() TriggerBitbucketServerTriggerConfigPullRequestOutput
	ToTriggerBitbucketServerTriggerConfigPullRequestOutputWithContext(context.Context) TriggerBitbucketServerTriggerConfigPullRequestOutput
}

TriggerBitbucketServerTriggerConfigPullRequestInput is an input type that accepts TriggerBitbucketServerTriggerConfigPullRequestArgs and TriggerBitbucketServerTriggerConfigPullRequestOutput values. You can construct a concrete instance of `TriggerBitbucketServerTriggerConfigPullRequestInput` via:

TriggerBitbucketServerTriggerConfigPullRequestArgs{...}

type TriggerBitbucketServerTriggerConfigPullRequestOutput

type TriggerBitbucketServerTriggerConfigPullRequestOutput struct{ *pulumi.OutputState }

func (TriggerBitbucketServerTriggerConfigPullRequestOutput) Branch

Regex of branches to match. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

func (TriggerBitbucketServerTriggerConfigPullRequestOutput) CommentControl

Configure builds to run whether a repository owner or collaborator need to comment /gcbrun. Possible values are: `COMMENTS_DISABLED`, `COMMENTS_ENABLED`, `COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY`.

func (TriggerBitbucketServerTriggerConfigPullRequestOutput) ElementType

func (TriggerBitbucketServerTriggerConfigPullRequestOutput) InvertRegex

If true, branches that do NOT match the gitRef will trigger a build.

func (TriggerBitbucketServerTriggerConfigPullRequestOutput) ToTriggerBitbucketServerTriggerConfigPullRequestOutput

func (TriggerBitbucketServerTriggerConfigPullRequestOutput) ToTriggerBitbucketServerTriggerConfigPullRequestOutputWithContext

func (o TriggerBitbucketServerTriggerConfigPullRequestOutput) ToTriggerBitbucketServerTriggerConfigPullRequestOutputWithContext(ctx context.Context) TriggerBitbucketServerTriggerConfigPullRequestOutput

func (TriggerBitbucketServerTriggerConfigPullRequestOutput) ToTriggerBitbucketServerTriggerConfigPullRequestPtrOutput

func (o TriggerBitbucketServerTriggerConfigPullRequestOutput) ToTriggerBitbucketServerTriggerConfigPullRequestPtrOutput() TriggerBitbucketServerTriggerConfigPullRequestPtrOutput

func (TriggerBitbucketServerTriggerConfigPullRequestOutput) ToTriggerBitbucketServerTriggerConfigPullRequestPtrOutputWithContext

func (o TriggerBitbucketServerTriggerConfigPullRequestOutput) ToTriggerBitbucketServerTriggerConfigPullRequestPtrOutputWithContext(ctx context.Context) TriggerBitbucketServerTriggerConfigPullRequestPtrOutput

type TriggerBitbucketServerTriggerConfigPullRequestPtrInput

type TriggerBitbucketServerTriggerConfigPullRequestPtrInput interface {
	pulumi.Input

	ToTriggerBitbucketServerTriggerConfigPullRequestPtrOutput() TriggerBitbucketServerTriggerConfigPullRequestPtrOutput
	ToTriggerBitbucketServerTriggerConfigPullRequestPtrOutputWithContext(context.Context) TriggerBitbucketServerTriggerConfigPullRequestPtrOutput
}

TriggerBitbucketServerTriggerConfigPullRequestPtrInput is an input type that accepts TriggerBitbucketServerTriggerConfigPullRequestArgs, TriggerBitbucketServerTriggerConfigPullRequestPtr and TriggerBitbucketServerTriggerConfigPullRequestPtrOutput values. You can construct a concrete instance of `TriggerBitbucketServerTriggerConfigPullRequestPtrInput` via:

        TriggerBitbucketServerTriggerConfigPullRequestArgs{...}

or:

        nil

type TriggerBitbucketServerTriggerConfigPullRequestPtrOutput

type TriggerBitbucketServerTriggerConfigPullRequestPtrOutput struct{ *pulumi.OutputState }

func (TriggerBitbucketServerTriggerConfigPullRequestPtrOutput) Branch

Regex of branches to match. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

func (TriggerBitbucketServerTriggerConfigPullRequestPtrOutput) CommentControl

Configure builds to run whether a repository owner or collaborator need to comment /gcbrun. Possible values are: `COMMENTS_DISABLED`, `COMMENTS_ENABLED`, `COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY`.

func (TriggerBitbucketServerTriggerConfigPullRequestPtrOutput) Elem

func (TriggerBitbucketServerTriggerConfigPullRequestPtrOutput) ElementType

func (TriggerBitbucketServerTriggerConfigPullRequestPtrOutput) InvertRegex

If true, branches that do NOT match the gitRef will trigger a build.

func (TriggerBitbucketServerTriggerConfigPullRequestPtrOutput) ToTriggerBitbucketServerTriggerConfigPullRequestPtrOutput

func (TriggerBitbucketServerTriggerConfigPullRequestPtrOutput) ToTriggerBitbucketServerTriggerConfigPullRequestPtrOutputWithContext

func (o TriggerBitbucketServerTriggerConfigPullRequestPtrOutput) ToTriggerBitbucketServerTriggerConfigPullRequestPtrOutputWithContext(ctx context.Context) TriggerBitbucketServerTriggerConfigPullRequestPtrOutput

type TriggerBitbucketServerTriggerConfigPush

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

type TriggerBitbucketServerTriggerConfigPushArgs

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

func (TriggerBitbucketServerTriggerConfigPushArgs) ElementType

func (TriggerBitbucketServerTriggerConfigPushArgs) ToTriggerBitbucketServerTriggerConfigPushOutput

func (i TriggerBitbucketServerTriggerConfigPushArgs) ToTriggerBitbucketServerTriggerConfigPushOutput() TriggerBitbucketServerTriggerConfigPushOutput

func (TriggerBitbucketServerTriggerConfigPushArgs) ToTriggerBitbucketServerTriggerConfigPushOutputWithContext

func (i TriggerBitbucketServerTriggerConfigPushArgs) ToTriggerBitbucketServerTriggerConfigPushOutputWithContext(ctx context.Context) TriggerBitbucketServerTriggerConfigPushOutput

func (TriggerBitbucketServerTriggerConfigPushArgs) ToTriggerBitbucketServerTriggerConfigPushPtrOutput

func (i TriggerBitbucketServerTriggerConfigPushArgs) ToTriggerBitbucketServerTriggerConfigPushPtrOutput() TriggerBitbucketServerTriggerConfigPushPtrOutput

func (TriggerBitbucketServerTriggerConfigPushArgs) ToTriggerBitbucketServerTriggerConfigPushPtrOutputWithContext

func (i TriggerBitbucketServerTriggerConfigPushArgs) ToTriggerBitbucketServerTriggerConfigPushPtrOutputWithContext(ctx context.Context) TriggerBitbucketServerTriggerConfigPushPtrOutput

type TriggerBitbucketServerTriggerConfigPushInput

type TriggerBitbucketServerTriggerConfigPushInput interface {
	pulumi.Input

	ToTriggerBitbucketServerTriggerConfigPushOutput() TriggerBitbucketServerTriggerConfigPushOutput
	ToTriggerBitbucketServerTriggerConfigPushOutputWithContext(context.Context) TriggerBitbucketServerTriggerConfigPushOutput
}

TriggerBitbucketServerTriggerConfigPushInput is an input type that accepts TriggerBitbucketServerTriggerConfigPushArgs and TriggerBitbucketServerTriggerConfigPushOutput values. You can construct a concrete instance of `TriggerBitbucketServerTriggerConfigPushInput` via:

TriggerBitbucketServerTriggerConfigPushArgs{...}

type TriggerBitbucketServerTriggerConfigPushOutput

type TriggerBitbucketServerTriggerConfigPushOutput struct{ *pulumi.OutputState }

func (TriggerBitbucketServerTriggerConfigPushOutput) Branch

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

func (TriggerBitbucketServerTriggerConfigPushOutput) ElementType

func (TriggerBitbucketServerTriggerConfigPushOutput) InvertRegex

When true, only trigger a build if the revision regex does NOT match the gitRef regex.

func (TriggerBitbucketServerTriggerConfigPushOutput) Tag

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

func (TriggerBitbucketServerTriggerConfigPushOutput) ToTriggerBitbucketServerTriggerConfigPushOutput

func (o TriggerBitbucketServerTriggerConfigPushOutput) ToTriggerBitbucketServerTriggerConfigPushOutput() TriggerBitbucketServerTriggerConfigPushOutput

func (TriggerBitbucketServerTriggerConfigPushOutput) ToTriggerBitbucketServerTriggerConfigPushOutputWithContext

func (o TriggerBitbucketServerTriggerConfigPushOutput) ToTriggerBitbucketServerTriggerConfigPushOutputWithContext(ctx context.Context) TriggerBitbucketServerTriggerConfigPushOutput

func (TriggerBitbucketServerTriggerConfigPushOutput) ToTriggerBitbucketServerTriggerConfigPushPtrOutput

func (o TriggerBitbucketServerTriggerConfigPushOutput) ToTriggerBitbucketServerTriggerConfigPushPtrOutput() TriggerBitbucketServerTriggerConfigPushPtrOutput

func (TriggerBitbucketServerTriggerConfigPushOutput) ToTriggerBitbucketServerTriggerConfigPushPtrOutputWithContext

func (o TriggerBitbucketServerTriggerConfigPushOutput) ToTriggerBitbucketServerTriggerConfigPushPtrOutputWithContext(ctx context.Context) TriggerBitbucketServerTriggerConfigPushPtrOutput

type TriggerBitbucketServerTriggerConfigPushPtrInput

type TriggerBitbucketServerTriggerConfigPushPtrInput interface {
	pulumi.Input

	ToTriggerBitbucketServerTriggerConfigPushPtrOutput() TriggerBitbucketServerTriggerConfigPushPtrOutput
	ToTriggerBitbucketServerTriggerConfigPushPtrOutputWithContext(context.Context) TriggerBitbucketServerTriggerConfigPushPtrOutput
}

TriggerBitbucketServerTriggerConfigPushPtrInput is an input type that accepts TriggerBitbucketServerTriggerConfigPushArgs, TriggerBitbucketServerTriggerConfigPushPtr and TriggerBitbucketServerTriggerConfigPushPtrOutput values. You can construct a concrete instance of `TriggerBitbucketServerTriggerConfigPushPtrInput` via:

        TriggerBitbucketServerTriggerConfigPushArgs{...}

or:

        nil

type TriggerBitbucketServerTriggerConfigPushPtrOutput

type TriggerBitbucketServerTriggerConfigPushPtrOutput struct{ *pulumi.OutputState }

func (TriggerBitbucketServerTriggerConfigPushPtrOutput) Branch

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

func (TriggerBitbucketServerTriggerConfigPushPtrOutput) Elem

func (TriggerBitbucketServerTriggerConfigPushPtrOutput) ElementType

func (TriggerBitbucketServerTriggerConfigPushPtrOutput) InvertRegex

When true, only trigger a build if the revision regex does NOT match the gitRef regex.

func (TriggerBitbucketServerTriggerConfigPushPtrOutput) Tag

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

func (TriggerBitbucketServerTriggerConfigPushPtrOutput) ToTriggerBitbucketServerTriggerConfigPushPtrOutput

func (o TriggerBitbucketServerTriggerConfigPushPtrOutput) ToTriggerBitbucketServerTriggerConfigPushPtrOutput() TriggerBitbucketServerTriggerConfigPushPtrOutput

func (TriggerBitbucketServerTriggerConfigPushPtrOutput) ToTriggerBitbucketServerTriggerConfigPushPtrOutputWithContext

func (o TriggerBitbucketServerTriggerConfigPushPtrOutput) ToTriggerBitbucketServerTriggerConfigPushPtrOutputWithContext(ctx context.Context) TriggerBitbucketServerTriggerConfigPushPtrOutput

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"`
	// Secrets and secret environment variables.
	// Structure is documented below.
	AvailableSecrets *TriggerBuildAvailableSecrets `pulumi:"availableSecrets"`
	// A list of images to be pushed upon the successful completion of all build steps.
	// The images are 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 status 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 data for Build resource.
	Substitutions map[string]string `pulumi:"substitutions"`
	// Tags for annotation of a Build. These are not docker tags.
	Tags []string `pulumi:"tags"`
	// Amount of time that this build should be allowed to run, to second granularity.
	// If this amount of time elapses, work on the build will cease and the build status will be TIMEOUT.
	// This timeout must be equal to or greater than the sum of the timeouts for build steps within the build.
	// The expected format is the number of seconds followed by s.
	// Default time is ten minutes (600s).
	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"`
	// Secrets and secret environment variables.
	// Structure is documented below.
	AvailableSecrets TriggerBuildAvailableSecretsPtrInput `pulumi:"availableSecrets"`
	// A list of images to be pushed upon the successful completion of all build steps.
	// The images are 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 status 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 data for Build resource.
	Substitutions pulumi.StringMapInput `pulumi:"substitutions"`
	// Tags for annotation of a Build. These are not docker tags.
	Tags pulumi.StringArrayInput `pulumi:"tags"`
	// Amount of time that this build should be allowed to run, to second granularity.
	// If this amount of time elapses, work on the build will cease and the build status will be TIMEOUT.
	// This timeout must be equal to or greater than the sum of the timeouts for build steps within the build.
	// The expected format is the number of seconds followed by s.
	// Default time is ten minutes (600s).
	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 Maven artifact to upload to Artifact Registry upon successful completion of all build steps.
	// 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.
	MavenArtifacts []TriggerBuildArtifactsMavenArtifact `pulumi:"mavenArtifacts"`
	// Npm package to upload to Artifact Registry upon successful completion of all build steps.
	// 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.
	NpmPackages []TriggerBuildArtifactsNpmPackage `pulumi:"npmPackages"`
	// 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"`
	// Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.
	// 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.
	PythonPackages []TriggerBuildArtifactsPythonPackage `pulumi:"pythonPackages"`
}

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 Maven artifact to upload to Artifact Registry upon successful completion of all build steps.
	// 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.
	MavenArtifacts TriggerBuildArtifactsMavenArtifactArrayInput `pulumi:"mavenArtifacts"`
	// Npm package to upload to Artifact Registry upon successful completion of all build steps.
	// 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.
	NpmPackages TriggerBuildArtifactsNpmPackageArrayInput `pulumi:"npmPackages"`
	// 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"`
	// Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.
	// 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.
	PythonPackages TriggerBuildArtifactsPythonPackageArrayInput `pulumi:"pythonPackages"`
}

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 TriggerBuildArtifactsMavenArtifact added in v7.3.0

type TriggerBuildArtifactsMavenArtifact struct {
	// Maven artifactId value used when uploading the artifact to Artifact Registry.
	ArtifactId *string `pulumi:"artifactId"`
	// Maven groupId value used when uploading the artifact to Artifact Registry.
	GroupId *string `pulumi:"groupId"`
	// Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.
	Path *string `pulumi:"path"`
	// Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY"
	// Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.
	Repository *string `pulumi:"repository"`
	// Maven version value used when uploading the artifact to Artifact Registry.
	Version *string `pulumi:"version"`
}

type TriggerBuildArtifactsMavenArtifactArgs added in v7.3.0

type TriggerBuildArtifactsMavenArtifactArgs struct {
	// Maven artifactId value used when uploading the artifact to Artifact Registry.
	ArtifactId pulumi.StringPtrInput `pulumi:"artifactId"`
	// Maven groupId value used when uploading the artifact to Artifact Registry.
	GroupId pulumi.StringPtrInput `pulumi:"groupId"`
	// Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.
	Path pulumi.StringPtrInput `pulumi:"path"`
	// Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY"
	// Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.
	Repository pulumi.StringPtrInput `pulumi:"repository"`
	// Maven version value used when uploading the artifact to Artifact Registry.
	Version pulumi.StringPtrInput `pulumi:"version"`
}

func (TriggerBuildArtifactsMavenArtifactArgs) ElementType added in v7.3.0

func (TriggerBuildArtifactsMavenArtifactArgs) ToTriggerBuildArtifactsMavenArtifactOutput added in v7.3.0

func (i TriggerBuildArtifactsMavenArtifactArgs) ToTriggerBuildArtifactsMavenArtifactOutput() TriggerBuildArtifactsMavenArtifactOutput

func (TriggerBuildArtifactsMavenArtifactArgs) ToTriggerBuildArtifactsMavenArtifactOutputWithContext added in v7.3.0

func (i TriggerBuildArtifactsMavenArtifactArgs) ToTriggerBuildArtifactsMavenArtifactOutputWithContext(ctx context.Context) TriggerBuildArtifactsMavenArtifactOutput

type TriggerBuildArtifactsMavenArtifactArray added in v7.3.0

type TriggerBuildArtifactsMavenArtifactArray []TriggerBuildArtifactsMavenArtifactInput

func (TriggerBuildArtifactsMavenArtifactArray) ElementType added in v7.3.0

func (TriggerBuildArtifactsMavenArtifactArray) ToTriggerBuildArtifactsMavenArtifactArrayOutput added in v7.3.0

func (i TriggerBuildArtifactsMavenArtifactArray) ToTriggerBuildArtifactsMavenArtifactArrayOutput() TriggerBuildArtifactsMavenArtifactArrayOutput

func (TriggerBuildArtifactsMavenArtifactArray) ToTriggerBuildArtifactsMavenArtifactArrayOutputWithContext added in v7.3.0

func (i TriggerBuildArtifactsMavenArtifactArray) ToTriggerBuildArtifactsMavenArtifactArrayOutputWithContext(ctx context.Context) TriggerBuildArtifactsMavenArtifactArrayOutput

type TriggerBuildArtifactsMavenArtifactArrayInput added in v7.3.0

type TriggerBuildArtifactsMavenArtifactArrayInput interface {
	pulumi.Input

	ToTriggerBuildArtifactsMavenArtifactArrayOutput() TriggerBuildArtifactsMavenArtifactArrayOutput
	ToTriggerBuildArtifactsMavenArtifactArrayOutputWithContext(context.Context) TriggerBuildArtifactsMavenArtifactArrayOutput
}

TriggerBuildArtifactsMavenArtifactArrayInput is an input type that accepts TriggerBuildArtifactsMavenArtifactArray and TriggerBuildArtifactsMavenArtifactArrayOutput values. You can construct a concrete instance of `TriggerBuildArtifactsMavenArtifactArrayInput` via:

TriggerBuildArtifactsMavenArtifactArray{ TriggerBuildArtifactsMavenArtifactArgs{...} }

type TriggerBuildArtifactsMavenArtifactArrayOutput added in v7.3.0

type TriggerBuildArtifactsMavenArtifactArrayOutput struct{ *pulumi.OutputState }

func (TriggerBuildArtifactsMavenArtifactArrayOutput) ElementType added in v7.3.0

func (TriggerBuildArtifactsMavenArtifactArrayOutput) Index added in v7.3.0

func (TriggerBuildArtifactsMavenArtifactArrayOutput) ToTriggerBuildArtifactsMavenArtifactArrayOutput added in v7.3.0

func (o TriggerBuildArtifactsMavenArtifactArrayOutput) ToTriggerBuildArtifactsMavenArtifactArrayOutput() TriggerBuildArtifactsMavenArtifactArrayOutput

func (TriggerBuildArtifactsMavenArtifactArrayOutput) ToTriggerBuildArtifactsMavenArtifactArrayOutputWithContext added in v7.3.0

func (o TriggerBuildArtifactsMavenArtifactArrayOutput) ToTriggerBuildArtifactsMavenArtifactArrayOutputWithContext(ctx context.Context) TriggerBuildArtifactsMavenArtifactArrayOutput

type TriggerBuildArtifactsMavenArtifactInput added in v7.3.0

type TriggerBuildArtifactsMavenArtifactInput interface {
	pulumi.Input

	ToTriggerBuildArtifactsMavenArtifactOutput() TriggerBuildArtifactsMavenArtifactOutput
	ToTriggerBuildArtifactsMavenArtifactOutputWithContext(context.Context) TriggerBuildArtifactsMavenArtifactOutput
}

TriggerBuildArtifactsMavenArtifactInput is an input type that accepts TriggerBuildArtifactsMavenArtifactArgs and TriggerBuildArtifactsMavenArtifactOutput values. You can construct a concrete instance of `TriggerBuildArtifactsMavenArtifactInput` via:

TriggerBuildArtifactsMavenArtifactArgs{...}

type TriggerBuildArtifactsMavenArtifactOutput added in v7.3.0

type TriggerBuildArtifactsMavenArtifactOutput struct{ *pulumi.OutputState }

func (TriggerBuildArtifactsMavenArtifactOutput) ArtifactId added in v7.3.0

Maven artifactId value used when uploading the artifact to Artifact Registry.

func (TriggerBuildArtifactsMavenArtifactOutput) ElementType added in v7.3.0

func (TriggerBuildArtifactsMavenArtifactOutput) GroupId added in v7.3.0

Maven groupId value used when uploading the artifact to Artifact Registry.

func (TriggerBuildArtifactsMavenArtifactOutput) Path added in v7.3.0

Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.

func (TriggerBuildArtifactsMavenArtifactOutput) Repository added in v7.3.0

Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY" Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.

func (TriggerBuildArtifactsMavenArtifactOutput) ToTriggerBuildArtifactsMavenArtifactOutput added in v7.3.0

func (o TriggerBuildArtifactsMavenArtifactOutput) ToTriggerBuildArtifactsMavenArtifactOutput() TriggerBuildArtifactsMavenArtifactOutput

func (TriggerBuildArtifactsMavenArtifactOutput) ToTriggerBuildArtifactsMavenArtifactOutputWithContext added in v7.3.0

func (o TriggerBuildArtifactsMavenArtifactOutput) ToTriggerBuildArtifactsMavenArtifactOutputWithContext(ctx context.Context) TriggerBuildArtifactsMavenArtifactOutput

func (TriggerBuildArtifactsMavenArtifactOutput) Version added in v7.3.0

Maven version value used when uploading the artifact to Artifact Registry.

type TriggerBuildArtifactsNpmPackage added in v7.3.0

type TriggerBuildArtifactsNpmPackage struct {
	// Path to the package.json. e.g. workspace/path/to/package
	PackagePath *string `pulumi:"packagePath"`
	// Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY"
	// Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix.
	Repository *string `pulumi:"repository"`
}

type TriggerBuildArtifactsNpmPackageArgs added in v7.3.0

type TriggerBuildArtifactsNpmPackageArgs struct {
	// Path to the package.json. e.g. workspace/path/to/package
	PackagePath pulumi.StringPtrInput `pulumi:"packagePath"`
	// Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY"
	// Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix.
	Repository pulumi.StringPtrInput `pulumi:"repository"`
}

func (TriggerBuildArtifactsNpmPackageArgs) ElementType added in v7.3.0

func (TriggerBuildArtifactsNpmPackageArgs) ToTriggerBuildArtifactsNpmPackageOutput added in v7.3.0

func (i TriggerBuildArtifactsNpmPackageArgs) ToTriggerBuildArtifactsNpmPackageOutput() TriggerBuildArtifactsNpmPackageOutput

func (TriggerBuildArtifactsNpmPackageArgs) ToTriggerBuildArtifactsNpmPackageOutputWithContext added in v7.3.0

func (i TriggerBuildArtifactsNpmPackageArgs) ToTriggerBuildArtifactsNpmPackageOutputWithContext(ctx context.Context) TriggerBuildArtifactsNpmPackageOutput

type TriggerBuildArtifactsNpmPackageArray added in v7.3.0

type TriggerBuildArtifactsNpmPackageArray []TriggerBuildArtifactsNpmPackageInput

func (TriggerBuildArtifactsNpmPackageArray) ElementType added in v7.3.0

func (TriggerBuildArtifactsNpmPackageArray) ToTriggerBuildArtifactsNpmPackageArrayOutput added in v7.3.0

func (i TriggerBuildArtifactsNpmPackageArray) ToTriggerBuildArtifactsNpmPackageArrayOutput() TriggerBuildArtifactsNpmPackageArrayOutput

func (TriggerBuildArtifactsNpmPackageArray) ToTriggerBuildArtifactsNpmPackageArrayOutputWithContext added in v7.3.0

func (i TriggerBuildArtifactsNpmPackageArray) ToTriggerBuildArtifactsNpmPackageArrayOutputWithContext(ctx context.Context) TriggerBuildArtifactsNpmPackageArrayOutput

type TriggerBuildArtifactsNpmPackageArrayInput added in v7.3.0

type TriggerBuildArtifactsNpmPackageArrayInput interface {
	pulumi.Input

	ToTriggerBuildArtifactsNpmPackageArrayOutput() TriggerBuildArtifactsNpmPackageArrayOutput
	ToTriggerBuildArtifactsNpmPackageArrayOutputWithContext(context.Context) TriggerBuildArtifactsNpmPackageArrayOutput
}

TriggerBuildArtifactsNpmPackageArrayInput is an input type that accepts TriggerBuildArtifactsNpmPackageArray and TriggerBuildArtifactsNpmPackageArrayOutput values. You can construct a concrete instance of `TriggerBuildArtifactsNpmPackageArrayInput` via:

TriggerBuildArtifactsNpmPackageArray{ TriggerBuildArtifactsNpmPackageArgs{...} }

type TriggerBuildArtifactsNpmPackageArrayOutput added in v7.3.0

type TriggerBuildArtifactsNpmPackageArrayOutput struct{ *pulumi.OutputState }

func (TriggerBuildArtifactsNpmPackageArrayOutput) ElementType added in v7.3.0

func (TriggerBuildArtifactsNpmPackageArrayOutput) Index added in v7.3.0

func (TriggerBuildArtifactsNpmPackageArrayOutput) ToTriggerBuildArtifactsNpmPackageArrayOutput added in v7.3.0

func (o TriggerBuildArtifactsNpmPackageArrayOutput) ToTriggerBuildArtifactsNpmPackageArrayOutput() TriggerBuildArtifactsNpmPackageArrayOutput

func (TriggerBuildArtifactsNpmPackageArrayOutput) ToTriggerBuildArtifactsNpmPackageArrayOutputWithContext added in v7.3.0

func (o TriggerBuildArtifactsNpmPackageArrayOutput) ToTriggerBuildArtifactsNpmPackageArrayOutputWithContext(ctx context.Context) TriggerBuildArtifactsNpmPackageArrayOutput

type TriggerBuildArtifactsNpmPackageInput added in v7.3.0

type TriggerBuildArtifactsNpmPackageInput interface {
	pulumi.Input

	ToTriggerBuildArtifactsNpmPackageOutput() TriggerBuildArtifactsNpmPackageOutput
	ToTriggerBuildArtifactsNpmPackageOutputWithContext(context.Context) TriggerBuildArtifactsNpmPackageOutput
}

TriggerBuildArtifactsNpmPackageInput is an input type that accepts TriggerBuildArtifactsNpmPackageArgs and TriggerBuildArtifactsNpmPackageOutput values. You can construct a concrete instance of `TriggerBuildArtifactsNpmPackageInput` via:

TriggerBuildArtifactsNpmPackageArgs{...}

type TriggerBuildArtifactsNpmPackageOutput added in v7.3.0

type TriggerBuildArtifactsNpmPackageOutput struct{ *pulumi.OutputState }

func (TriggerBuildArtifactsNpmPackageOutput) ElementType added in v7.3.0

func (TriggerBuildArtifactsNpmPackageOutput) PackagePath added in v7.3.0

Path to the package.json. e.g. workspace/path/to/package

func (TriggerBuildArtifactsNpmPackageOutput) Repository added in v7.3.0

Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY" Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix.

func (TriggerBuildArtifactsNpmPackageOutput) ToTriggerBuildArtifactsNpmPackageOutput added in v7.3.0

func (o TriggerBuildArtifactsNpmPackageOutput) ToTriggerBuildArtifactsNpmPackageOutput() TriggerBuildArtifactsNpmPackageOutput

func (TriggerBuildArtifactsNpmPackageOutput) ToTriggerBuildArtifactsNpmPackageOutputWithContext added in v7.3.0

func (o TriggerBuildArtifactsNpmPackageOutput) ToTriggerBuildArtifactsNpmPackageOutputWithContext(ctx context.Context) TriggerBuildArtifactsNpmPackageOutput

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)
	// Output only. Stores timing information for pushing all artifact objects.
	// Structure is documented below.
	//
	// <a name="nestedTiming"></a>The `timing` block contains:
	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)
	// Output only. Stores timing information for pushing all artifact objects.
	// Structure is documented below.
	//
	// <a name="nestedTiming"></a>The `timing` block contains:
	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) Output only. Stores timing information for pushing all artifact objects. Structure is documented below.

<a name="nestedTiming"></a>The `timing` block contains:

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) Output only. Stores timing information for pushing all artifact objects. Structure is documented below.

<a name="nestedTiming"></a>The `timing` block contains:

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) MavenArtifacts added in v7.3.0

A Maven artifact to upload to Artifact Registry upon successful completion of all build steps. 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) NpmPackages added in v7.3.0

Npm package to upload to Artifact Registry upon successful completion of all build steps. 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) 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) PythonPackages added in v7.3.0

Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository. 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) MavenArtifacts added in v7.3.0

A Maven artifact to upload to Artifact Registry upon successful completion of all build steps. 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) NpmPackages added in v7.3.0

Npm package to upload to Artifact Registry upon successful completion of all build steps. 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) 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) PythonPackages added in v7.3.0

Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository. 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 TriggerBuildArtifactsPythonPackage added in v7.3.0

type TriggerBuildArtifactsPythonPackage struct {
	// Path globs used to match files in the build's workspace. For Python/ Twine, this is usually dist/*, and sometimes additionally an .asc file.
	Paths []string `pulumi:"paths"`
	// Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY"
	// Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.
	Repository *string `pulumi:"repository"`
}

type TriggerBuildArtifactsPythonPackageArgs added in v7.3.0

type TriggerBuildArtifactsPythonPackageArgs struct {
	// Path globs used to match files in the build's workspace. For Python/ Twine, this is usually dist/*, and sometimes additionally an .asc file.
	Paths pulumi.StringArrayInput `pulumi:"paths"`
	// Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY"
	// Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.
	Repository pulumi.StringPtrInput `pulumi:"repository"`
}

func (TriggerBuildArtifactsPythonPackageArgs) ElementType added in v7.3.0

func (TriggerBuildArtifactsPythonPackageArgs) ToTriggerBuildArtifactsPythonPackageOutput added in v7.3.0

func (i TriggerBuildArtifactsPythonPackageArgs) ToTriggerBuildArtifactsPythonPackageOutput() TriggerBuildArtifactsPythonPackageOutput

func (TriggerBuildArtifactsPythonPackageArgs) ToTriggerBuildArtifactsPythonPackageOutputWithContext added in v7.3.0

func (i TriggerBuildArtifactsPythonPackageArgs) ToTriggerBuildArtifactsPythonPackageOutputWithContext(ctx context.Context) TriggerBuildArtifactsPythonPackageOutput

type TriggerBuildArtifactsPythonPackageArray added in v7.3.0

type TriggerBuildArtifactsPythonPackageArray []TriggerBuildArtifactsPythonPackageInput

func (TriggerBuildArtifactsPythonPackageArray) ElementType added in v7.3.0

func (TriggerBuildArtifactsPythonPackageArray) ToTriggerBuildArtifactsPythonPackageArrayOutput added in v7.3.0

func (i TriggerBuildArtifactsPythonPackageArray) ToTriggerBuildArtifactsPythonPackageArrayOutput() TriggerBuildArtifactsPythonPackageArrayOutput

func (TriggerBuildArtifactsPythonPackageArray) ToTriggerBuildArtifactsPythonPackageArrayOutputWithContext added in v7.3.0

func (i TriggerBuildArtifactsPythonPackageArray) ToTriggerBuildArtifactsPythonPackageArrayOutputWithContext(ctx context.Context) TriggerBuildArtifactsPythonPackageArrayOutput

type TriggerBuildArtifactsPythonPackageArrayInput added in v7.3.0

type TriggerBuildArtifactsPythonPackageArrayInput interface {
	pulumi.Input

	ToTriggerBuildArtifactsPythonPackageArrayOutput() TriggerBuildArtifactsPythonPackageArrayOutput
	ToTriggerBuildArtifactsPythonPackageArrayOutputWithContext(context.Context) TriggerBuildArtifactsPythonPackageArrayOutput
}

TriggerBuildArtifactsPythonPackageArrayInput is an input type that accepts TriggerBuildArtifactsPythonPackageArray and TriggerBuildArtifactsPythonPackageArrayOutput values. You can construct a concrete instance of `TriggerBuildArtifactsPythonPackageArrayInput` via:

TriggerBuildArtifactsPythonPackageArray{ TriggerBuildArtifactsPythonPackageArgs{...} }

type TriggerBuildArtifactsPythonPackageArrayOutput added in v7.3.0

type TriggerBuildArtifactsPythonPackageArrayOutput struct{ *pulumi.OutputState }

func (TriggerBuildArtifactsPythonPackageArrayOutput) ElementType added in v7.3.0

func (TriggerBuildArtifactsPythonPackageArrayOutput) Index added in v7.3.0

func (TriggerBuildArtifactsPythonPackageArrayOutput) ToTriggerBuildArtifactsPythonPackageArrayOutput added in v7.3.0

func (o TriggerBuildArtifactsPythonPackageArrayOutput) ToTriggerBuildArtifactsPythonPackageArrayOutput() TriggerBuildArtifactsPythonPackageArrayOutput

func (TriggerBuildArtifactsPythonPackageArrayOutput) ToTriggerBuildArtifactsPythonPackageArrayOutputWithContext added in v7.3.0

func (o TriggerBuildArtifactsPythonPackageArrayOutput) ToTriggerBuildArtifactsPythonPackageArrayOutputWithContext(ctx context.Context) TriggerBuildArtifactsPythonPackageArrayOutput

type TriggerBuildArtifactsPythonPackageInput added in v7.3.0

type TriggerBuildArtifactsPythonPackageInput interface {
	pulumi.Input

	ToTriggerBuildArtifactsPythonPackageOutput() TriggerBuildArtifactsPythonPackageOutput
	ToTriggerBuildArtifactsPythonPackageOutputWithContext(context.Context) TriggerBuildArtifactsPythonPackageOutput
}

TriggerBuildArtifactsPythonPackageInput is an input type that accepts TriggerBuildArtifactsPythonPackageArgs and TriggerBuildArtifactsPythonPackageOutput values. You can construct a concrete instance of `TriggerBuildArtifactsPythonPackageInput` via:

TriggerBuildArtifactsPythonPackageArgs{...}

type TriggerBuildArtifactsPythonPackageOutput added in v7.3.0

type TriggerBuildArtifactsPythonPackageOutput struct{ *pulumi.OutputState }

func (TriggerBuildArtifactsPythonPackageOutput) ElementType added in v7.3.0

func (TriggerBuildArtifactsPythonPackageOutput) Paths added in v7.3.0

Path globs used to match files in the build's workspace. For Python/ Twine, this is usually dist/*, and sometimes additionally an .asc file.

func (TriggerBuildArtifactsPythonPackageOutput) Repository added in v7.3.0

Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY" Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.

func (TriggerBuildArtifactsPythonPackageOutput) ToTriggerBuildArtifactsPythonPackageOutput added in v7.3.0

func (o TriggerBuildArtifactsPythonPackageOutput) ToTriggerBuildArtifactsPythonPackageOutput() TriggerBuildArtifactsPythonPackageOutput

func (TriggerBuildArtifactsPythonPackageOutput) ToTriggerBuildArtifactsPythonPackageOutputWithContext added in v7.3.0

func (o TriggerBuildArtifactsPythonPackageOutput) ToTriggerBuildArtifactsPythonPackageOutputWithContext(ctx context.Context) TriggerBuildArtifactsPythonPackageOutput

type TriggerBuildAvailableSecrets

type TriggerBuildAvailableSecrets struct {
	// Pairs a secret environment variable with a SecretVersion in Secret Manager.
	// Structure is documented below.
	SecretManagers []TriggerBuildAvailableSecretsSecretManager `pulumi:"secretManagers"`
}

type TriggerBuildAvailableSecretsArgs

type TriggerBuildAvailableSecretsArgs struct {
	// Pairs a secret environment variable with a SecretVersion in Secret Manager.
	// Structure is documented below.
	SecretManagers TriggerBuildAvailableSecretsSecretManagerArrayInput `pulumi:"secretManagers"`
}

func (TriggerBuildAvailableSecretsArgs) ElementType

func (TriggerBuildAvailableSecretsArgs) ToTriggerBuildAvailableSecretsOutput

func (i TriggerBuildAvailableSecretsArgs) ToTriggerBuildAvailableSecretsOutput() TriggerBuildAvailableSecretsOutput

func (TriggerBuildAvailableSecretsArgs) ToTriggerBuildAvailableSecretsOutputWithContext

func (i TriggerBuildAvailableSecretsArgs) ToTriggerBuildAvailableSecretsOutputWithContext(ctx context.Context) TriggerBuildAvailableSecretsOutput

func (TriggerBuildAvailableSecretsArgs) ToTriggerBuildAvailableSecretsPtrOutput

func (i TriggerBuildAvailableSecretsArgs) ToTriggerBuildAvailableSecretsPtrOutput() TriggerBuildAvailableSecretsPtrOutput

func (TriggerBuildAvailableSecretsArgs) ToTriggerBuildAvailableSecretsPtrOutputWithContext

func (i TriggerBuildAvailableSecretsArgs) ToTriggerBuildAvailableSecretsPtrOutputWithContext(ctx context.Context) TriggerBuildAvailableSecretsPtrOutput

type TriggerBuildAvailableSecretsInput

type TriggerBuildAvailableSecretsInput interface {
	pulumi.Input

	ToTriggerBuildAvailableSecretsOutput() TriggerBuildAvailableSecretsOutput
	ToTriggerBuildAvailableSecretsOutputWithContext(context.Context) TriggerBuildAvailableSecretsOutput
}

TriggerBuildAvailableSecretsInput is an input type that accepts TriggerBuildAvailableSecretsArgs and TriggerBuildAvailableSecretsOutput values. You can construct a concrete instance of `TriggerBuildAvailableSecretsInput` via:

TriggerBuildAvailableSecretsArgs{...}

type TriggerBuildAvailableSecretsOutput

type TriggerBuildAvailableSecretsOutput struct{ *pulumi.OutputState }

func (TriggerBuildAvailableSecretsOutput) ElementType

func (TriggerBuildAvailableSecretsOutput) SecretManagers

Pairs a secret environment variable with a SecretVersion in Secret Manager. Structure is documented below.

func (TriggerBuildAvailableSecretsOutput) ToTriggerBuildAvailableSecretsOutput

func (o TriggerBuildAvailableSecretsOutput) ToTriggerBuildAvailableSecretsOutput() TriggerBuildAvailableSecretsOutput

func (TriggerBuildAvailableSecretsOutput) ToTriggerBuildAvailableSecretsOutputWithContext

func (o TriggerBuildAvailableSecretsOutput) ToTriggerBuildAvailableSecretsOutputWithContext(ctx context.Context) TriggerBuildAvailableSecretsOutput

func (TriggerBuildAvailableSecretsOutput) ToTriggerBuildAvailableSecretsPtrOutput

func (o TriggerBuildAvailableSecretsOutput) ToTriggerBuildAvailableSecretsPtrOutput() TriggerBuildAvailableSecretsPtrOutput

func (TriggerBuildAvailableSecretsOutput) ToTriggerBuildAvailableSecretsPtrOutputWithContext

func (o TriggerBuildAvailableSecretsOutput) ToTriggerBuildAvailableSecretsPtrOutputWithContext(ctx context.Context) TriggerBuildAvailableSecretsPtrOutput

type TriggerBuildAvailableSecretsPtrInput

type TriggerBuildAvailableSecretsPtrInput interface {
	pulumi.Input

	ToTriggerBuildAvailableSecretsPtrOutput() TriggerBuildAvailableSecretsPtrOutput
	ToTriggerBuildAvailableSecretsPtrOutputWithContext(context.Context) TriggerBuildAvailableSecretsPtrOutput
}

TriggerBuildAvailableSecretsPtrInput is an input type that accepts TriggerBuildAvailableSecretsArgs, TriggerBuildAvailableSecretsPtr and TriggerBuildAvailableSecretsPtrOutput values. You can construct a concrete instance of `TriggerBuildAvailableSecretsPtrInput` via:

        TriggerBuildAvailableSecretsArgs{...}

or:

        nil

type TriggerBuildAvailableSecretsPtrOutput

type TriggerBuildAvailableSecretsPtrOutput struct{ *pulumi.OutputState }

func (TriggerBuildAvailableSecretsPtrOutput) Elem

func (TriggerBuildAvailableSecretsPtrOutput) ElementType

func (TriggerBuildAvailableSecretsPtrOutput) SecretManagers

Pairs a secret environment variable with a SecretVersion in Secret Manager. Structure is documented below.

func (TriggerBuildAvailableSecretsPtrOutput) ToTriggerBuildAvailableSecretsPtrOutput

func (o TriggerBuildAvailableSecretsPtrOutput) ToTriggerBuildAvailableSecretsPtrOutput() TriggerBuildAvailableSecretsPtrOutput

func (TriggerBuildAvailableSecretsPtrOutput) ToTriggerBuildAvailableSecretsPtrOutputWithContext

func (o TriggerBuildAvailableSecretsPtrOutput) ToTriggerBuildAvailableSecretsPtrOutputWithContext(ctx context.Context) TriggerBuildAvailableSecretsPtrOutput

type TriggerBuildAvailableSecretsSecretManager

type TriggerBuildAvailableSecretsSecretManager struct {
	// Environment variable name to associate with the secret. Secret environment
	// variables must be unique across all of a build's secrets, and must be used
	// by at least one build step.
	Env string `pulumi:"env"`
	// Resource name of the SecretVersion. In format: projects/*/secrets/*/versions/*
	VersionName string `pulumi:"versionName"`
}

type TriggerBuildAvailableSecretsSecretManagerArgs

type TriggerBuildAvailableSecretsSecretManagerArgs struct {
	// Environment variable name to associate with the secret. Secret environment
	// variables must be unique across all of a build's secrets, and must be used
	// by at least one build step.
	Env pulumi.StringInput `pulumi:"env"`
	// Resource name of the SecretVersion. In format: projects/*/secrets/*/versions/*
	VersionName pulumi.StringInput `pulumi:"versionName"`
}

func (TriggerBuildAvailableSecretsSecretManagerArgs) ElementType

func (TriggerBuildAvailableSecretsSecretManagerArgs) ToTriggerBuildAvailableSecretsSecretManagerOutput

func (i TriggerBuildAvailableSecretsSecretManagerArgs) ToTriggerBuildAvailableSecretsSecretManagerOutput() TriggerBuildAvailableSecretsSecretManagerOutput

func (TriggerBuildAvailableSecretsSecretManagerArgs) ToTriggerBuildAvailableSecretsSecretManagerOutputWithContext

func (i TriggerBuildAvailableSecretsSecretManagerArgs) ToTriggerBuildAvailableSecretsSecretManagerOutputWithContext(ctx context.Context) TriggerBuildAvailableSecretsSecretManagerOutput

type TriggerBuildAvailableSecretsSecretManagerArray

type TriggerBuildAvailableSecretsSecretManagerArray []TriggerBuildAvailableSecretsSecretManagerInput

func (TriggerBuildAvailableSecretsSecretManagerArray) ElementType

func (TriggerBuildAvailableSecretsSecretManagerArray) ToTriggerBuildAvailableSecretsSecretManagerArrayOutput

func (i TriggerBuildAvailableSecretsSecretManagerArray) ToTriggerBuildAvailableSecretsSecretManagerArrayOutput() TriggerBuildAvailableSecretsSecretManagerArrayOutput

func (TriggerBuildAvailableSecretsSecretManagerArray) ToTriggerBuildAvailableSecretsSecretManagerArrayOutputWithContext

func (i TriggerBuildAvailableSecretsSecretManagerArray) ToTriggerBuildAvailableSecretsSecretManagerArrayOutputWithContext(ctx context.Context) TriggerBuildAvailableSecretsSecretManagerArrayOutput

type TriggerBuildAvailableSecretsSecretManagerArrayInput

type TriggerBuildAvailableSecretsSecretManagerArrayInput interface {
	pulumi.Input

	ToTriggerBuildAvailableSecretsSecretManagerArrayOutput() TriggerBuildAvailableSecretsSecretManagerArrayOutput
	ToTriggerBuildAvailableSecretsSecretManagerArrayOutputWithContext(context.Context) TriggerBuildAvailableSecretsSecretManagerArrayOutput
}

TriggerBuildAvailableSecretsSecretManagerArrayInput is an input type that accepts TriggerBuildAvailableSecretsSecretManagerArray and TriggerBuildAvailableSecretsSecretManagerArrayOutput values. You can construct a concrete instance of `TriggerBuildAvailableSecretsSecretManagerArrayInput` via:

TriggerBuildAvailableSecretsSecretManagerArray{ TriggerBuildAvailableSecretsSecretManagerArgs{...} }

type TriggerBuildAvailableSecretsSecretManagerArrayOutput

type TriggerBuildAvailableSecretsSecretManagerArrayOutput struct{ *pulumi.OutputState }

func (TriggerBuildAvailableSecretsSecretManagerArrayOutput) ElementType

func (TriggerBuildAvailableSecretsSecretManagerArrayOutput) Index

func (TriggerBuildAvailableSecretsSecretManagerArrayOutput) ToTriggerBuildAvailableSecretsSecretManagerArrayOutput

func (TriggerBuildAvailableSecretsSecretManagerArrayOutput) ToTriggerBuildAvailableSecretsSecretManagerArrayOutputWithContext

func (o TriggerBuildAvailableSecretsSecretManagerArrayOutput) ToTriggerBuildAvailableSecretsSecretManagerArrayOutputWithContext(ctx context.Context) TriggerBuildAvailableSecretsSecretManagerArrayOutput

type TriggerBuildAvailableSecretsSecretManagerInput

type TriggerBuildAvailableSecretsSecretManagerInput interface {
	pulumi.Input

	ToTriggerBuildAvailableSecretsSecretManagerOutput() TriggerBuildAvailableSecretsSecretManagerOutput
	ToTriggerBuildAvailableSecretsSecretManagerOutputWithContext(context.Context) TriggerBuildAvailableSecretsSecretManagerOutput
}

TriggerBuildAvailableSecretsSecretManagerInput is an input type that accepts TriggerBuildAvailableSecretsSecretManagerArgs and TriggerBuildAvailableSecretsSecretManagerOutput values. You can construct a concrete instance of `TriggerBuildAvailableSecretsSecretManagerInput` via:

TriggerBuildAvailableSecretsSecretManagerArgs{...}

type TriggerBuildAvailableSecretsSecretManagerOutput

type TriggerBuildAvailableSecretsSecretManagerOutput struct{ *pulumi.OutputState }

func (TriggerBuildAvailableSecretsSecretManagerOutput) ElementType

func (TriggerBuildAvailableSecretsSecretManagerOutput) Env

Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.

func (TriggerBuildAvailableSecretsSecretManagerOutput) ToTriggerBuildAvailableSecretsSecretManagerOutput

func (o TriggerBuildAvailableSecretsSecretManagerOutput) ToTriggerBuildAvailableSecretsSecretManagerOutput() TriggerBuildAvailableSecretsSecretManagerOutput

func (TriggerBuildAvailableSecretsSecretManagerOutput) ToTriggerBuildAvailableSecretsSecretManagerOutputWithContext

func (o TriggerBuildAvailableSecretsSecretManagerOutput) ToTriggerBuildAvailableSecretsSecretManagerOutputWithContext(ctx context.Context) TriggerBuildAvailableSecretsSecretManagerOutput

func (TriggerBuildAvailableSecretsSecretManagerOutput) VersionName

Resource name of the SecretVersion. In format: projects/*/secrets/*/versions/*

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`, `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`, `CLOUD_LOGGING_ONLY`, `NONE`.
	Logging *string `pulumi:"logging"`
	// Compute Engine machine type on which to run the build.
	MachineType *string `pulumi:"machineType"`
	// Requested verifiability options.
	// Possible values are: `NOT_VERIFIED`, `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`, `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`, `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`, `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`, `CLOUD_LOGGING_ONLY`, `NONE`.
	Logging pulumi.StringPtrInput `pulumi:"logging"`
	// Compute Engine machine type on which to run the build.
	MachineType pulumi.StringPtrInput `pulumi:"machineType"`
	// Requested verifiability options.
	// Possible values are: `NOT_VERIFIED`, `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`, `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`, `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`, `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`, `CLOUD_LOGGING_ONLY`, `NONE`.

func (TriggerBuildOptionsOutput) MachineType

Compute Engine machine type on which to run the build.

func (TriggerBuildOptionsOutput) RequestedVerifyOption

func (o TriggerBuildOptionsOutput) RequestedVerifyOption() pulumi.StringPtrOutput

Requested verifiability options. Possible values are: `NOT_VERIFIED`, `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`, `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`, `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`, `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`, `CLOUD_LOGGING_ONLY`, `NONE`.

func (TriggerBuildOptionsPtrOutput) MachineType

Compute Engine machine type on which to run the build.

func (TriggerBuildOptionsPtrOutput) RequestedVerifyOption

func (o TriggerBuildOptionsPtrOutput) RequestedVerifyOption() pulumi.StringPtrOutput

Requested verifiability options. Possible values are: `NOT_VERIFIED`, `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`, `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`, `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) AvailableSecrets

Secrets and secret environment variables. 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 are 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 status 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 data for Build resource.

func (TriggerBuildOutput) Tags

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

func (TriggerBuildOutput) Timeout

Amount of time that this build should be allowed to run, to second granularity. If this amount of time elapses, work on the build will cease and the build status will be TIMEOUT. This timeout must be equal to or greater than the sum of the timeouts for build steps within the build. The expected format is the number of seconds followed by s. Default time is ten minutes (600s).

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) AvailableSecrets

Secrets and secret environment variables. 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 are 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 status 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 data for Build resource.

func (TriggerBuildPtrOutput) Tags

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

func (TriggerBuildPtrOutput) Timeout

Amount of time that this build should be allowed to run, to second granularity. If this amount of time elapses, work on the build will cease and the build status will be TIMEOUT. This timeout must be equal to or greater than the sum of the timeouts for build steps within the build. The expected format is the number of seconds followed by s. Default time is ten minutes (600s).

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"`
	// Map of environment variable name to its encrypted value.
	// Secret environment variables must be unique across all of a build's secrets,
	// and must be used by at least one build step. Values can be at most 64 KB in size.
	// There can be at most 100 secret values across all of a build's secrets.
	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"`
	// Map of environment variable name to its encrypted value.
	// Secret environment variables must be unique across all of a build's secrets,
	// and must be used by at least one build step. Values can be at most 64 KB in size.
	// There can be at most 100 secret values across all of a build's secrets.
	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

Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.

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"`
	// Directory, relative to the source root, in which to run the build.
	// This must be a relative path. If a step's dir is specified and is an absolute path,
	// this value is ignored for that 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"`
	// Directory, relative to the source root, in which to run the build.
	// This must be a relative path. If a step's dir is specified and is an absolute path,
	// this value is ignored for that 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

Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's dir is specified and is an absolute path, this value is ignored for that 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

Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's dir is specified and is an absolute path, this value is ignored for that 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 {
	// Allow this build step to fail without failing the entire build if and
	// only if the exit code is one of the specified codes.
	// If `allowFailure` is also specified, this field will take precedence.
	AllowExitCodes []int `pulumi:"allowExitCodes"`
	// Allow this build step to fail without failing the entire build.
	// If false, the entire build will fail if this step fails. Otherwise, the
	// build will succeed, but this step will still have a failure status.
	// Error information will be reported in the `failureDetail` field.
	// `allowExitCodes` takes precedence over this field.
	AllowFailure *bool `pulumi:"allowFailure"`
	// 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 environment variable definitions to be used when
	// running a step.
	// 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"`
	// The name of the container image that will run this particular build step.
	// If the image is available in the host's Docker daemon's cache, it will be
	// run directly. If not, the host will attempt to pull the image first, using
	// the builder service account's credentials if necessary.
	// The Docker daemon's cache will already have the latest versions of all of
	// the officially supported build steps (see https://github.com/GoogleCloudPlatform/cloud-builders
	// for images and examples).
	// The Docker daemon will also have cached many of the layers for some popular
	// images, like "ubuntu", "debian", but they will be refreshed at the time
	// you attempt to use them.
	// If you built an image in a previous build step, it will be stored in the
	// host's Docker daemon's cache and is available to use as the name for a
	// later build step.
	Name string `pulumi:"name"`
	// A shell script to be executed in the step.
	// When script is provided, the user cannot specify the entrypoint or args.
	Script *string `pulumi:"script"`
	// A list of environment variables which are encrypted using
	// a Cloud Key
	// Management Service crypto key. These values must be specified in
	// the build's `Secret`.
	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 executing this
	// build step.
	Timing *string `pulumi:"timing"`
	// List of volumes to mount into the build step.
	// Each volume is created as an empty volume prior to execution of the
	// build step. Upon completion of the build, volumes and their contents
	// are discarded.
	// Using a named volume in 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 {
	// Allow this build step to fail without failing the entire build if and
	// only if the exit code is one of the specified codes.
	// If `allowFailure` is also specified, this field will take precedence.
	AllowExitCodes pulumi.IntArrayInput `pulumi:"allowExitCodes"`
	// Allow this build step to fail without failing the entire build.
	// If false, the entire build will fail if this step fails. Otherwise, the
	// build will succeed, but this step will still have a failure status.
	// Error information will be reported in the `failureDetail` field.
	// `allowExitCodes` takes precedence over this field.
	AllowFailure pulumi.BoolPtrInput `pulumi:"allowFailure"`
	// 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 environment variable definitions to be used when
	// running a step.
	// 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"`
	// The name of the container image that will run this particular build step.
	// If the image is available in the host's Docker daemon's cache, it will be
	// run directly. If not, the host will attempt to pull the image first, using
	// the builder service account's credentials if necessary.
	// The Docker daemon's cache will already have the latest versions of all of
	// the officially supported build steps (see https://github.com/GoogleCloudPlatform/cloud-builders
	// for images and examples).
	// The Docker daemon will also have cached many of the layers for some popular
	// images, like "ubuntu", "debian", but they will be refreshed at the time
	// you attempt to use them.
	// If you built an image in a previous build step, it will be stored in the
	// host's Docker daemon's cache and is available to use as the name for a
	// later build step.
	Name pulumi.StringInput `pulumi:"name"`
	// A shell script to be executed in the step.
	// When script is provided, the user cannot specify the entrypoint or args.
	Script pulumi.StringPtrInput `pulumi:"script"`
	// A list of environment variables which are encrypted using
	// a Cloud Key
	// Management Service crypto key. These values must be specified in
	// the build's `Secret`.
	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 executing this
	// build step.
	Timing pulumi.StringPtrInput `pulumi:"timing"`
	// List of volumes to mount into the build step.
	// Each volume is created as an empty volume prior to execution of the
	// build step. Upon completion of the build, volumes and their contents
	// are discarded.
	// Using a named volume in 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) AllowExitCodes

func (o TriggerBuildStepOutput) AllowExitCodes() pulumi.IntArrayOutput

Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If `allowFailure` is also specified, this field will take precedence.

func (TriggerBuildStepOutput) AllowFailure

func (o TriggerBuildStepOutput) AllowFailure() pulumi.BoolPtrOutput

Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still have a failure status. Error information will be reported in the `failureDetail` field. `allowExitCodes` takes precedence over this field.

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 environment variable definitions to be used when running a step. 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

The name of the container image that will run this particular build step. If the image is available in the host's Docker daemon's cache, it will be run directly. If not, the host will attempt to pull the image first, using the builder service account's credentials if necessary. The Docker daemon's cache will already have the latest versions of all of the officially supported build steps (see https://github.com/GoogleCloudPlatform/cloud-builders for images and examples). The Docker daemon will also have cached many of the layers for some popular images, like "ubuntu", "debian", but they will be refreshed at the time you attempt to use them. If you built an image in a previous build step, it will be stored in the host's Docker daemon's cache and is available to use as the name for a later build step.

func (TriggerBuildStepOutput) Script

A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.

func (TriggerBuildStepOutput) SecretEnvs

A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`.

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 executing this build step.

func (TriggerBuildStepOutput) ToTriggerBuildStepOutput

func (o TriggerBuildStepOutput) ToTriggerBuildStepOutput() TriggerBuildStepOutput

func (TriggerBuildStepOutput) ToTriggerBuildStepOutputWithContext

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

func (TriggerBuildStepOutput) Volumes

List of volumes to mount into the build step. Each volume is created as an empty volume prior to execution of the build step. Upon completion of the build, volumes and their contents are discarded. Using a named volume in 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 TriggerGitFileSource

type TriggerGitFileSource struct {
	// The full resource name of the bitbucket server config.
	// Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
	BitbucketServerConfig *string `pulumi:"bitbucketServerConfig"`
	// The full resource name of the github enterprise config.
	// Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
	GithubEnterpriseConfig *string `pulumi:"githubEnterpriseConfig"`
	// The path of the file, with the repo root as the root of the path.
	Path string `pulumi:"path"`
	// The type of the repo, since it may not be explicit from the repo field (e.g from a URL).
	// Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER
	// Possible values are: `UNKNOWN`, `CLOUD_SOURCE_REPOSITORIES`, `GITHUB`, `BITBUCKET_SERVER`.
	RepoType string `pulumi:"repoType"`
	// The fully qualified resource name of the Repo API repository. The fully qualified resource name of the Repo API repository.
	// If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.
	Repository *string `pulumi:"repository"`
	// The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the
	// filename (optional). This field respects the same syntax/resolution as described here: https://git-scm.com/docs/gitrevisions
	// If unspecified, the revision from which the trigger invocation originated is assumed to be the revision from which to read the specified path.
	Revision *string `pulumi:"revision"`
	// The URI of the repo (optional). If unspecified, the repo from which the trigger
	// invocation originated is assumed to be the repo from which to read the specified path.
	Uri *string `pulumi:"uri"`
}

type TriggerGitFileSourceArgs

type TriggerGitFileSourceArgs struct {
	// The full resource name of the bitbucket server config.
	// Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
	BitbucketServerConfig pulumi.StringPtrInput `pulumi:"bitbucketServerConfig"`
	// The full resource name of the github enterprise config.
	// Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
	GithubEnterpriseConfig pulumi.StringPtrInput `pulumi:"githubEnterpriseConfig"`
	// The path of the file, with the repo root as the root of the path.
	Path pulumi.StringInput `pulumi:"path"`
	// The type of the repo, since it may not be explicit from the repo field (e.g from a URL).
	// Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER
	// Possible values are: `UNKNOWN`, `CLOUD_SOURCE_REPOSITORIES`, `GITHUB`, `BITBUCKET_SERVER`.
	RepoType pulumi.StringInput `pulumi:"repoType"`
	// The fully qualified resource name of the Repo API repository. The fully qualified resource name of the Repo API repository.
	// If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.
	Repository pulumi.StringPtrInput `pulumi:"repository"`
	// The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the
	// filename (optional). This field respects the same syntax/resolution as described here: https://git-scm.com/docs/gitrevisions
	// If unspecified, the revision from which the trigger invocation originated is assumed to be the revision from which to read the specified path.
	Revision pulumi.StringPtrInput `pulumi:"revision"`
	// The URI of the repo (optional). If unspecified, the repo from which the trigger
	// invocation originated is assumed to be the repo from which to read the specified path.
	Uri pulumi.StringPtrInput `pulumi:"uri"`
}

func (TriggerGitFileSourceArgs) ElementType

func (TriggerGitFileSourceArgs) ElementType() reflect.Type

func (TriggerGitFileSourceArgs) ToTriggerGitFileSourceOutput

func (i TriggerGitFileSourceArgs) ToTriggerGitFileSourceOutput() TriggerGitFileSourceOutput

func (TriggerGitFileSourceArgs) ToTriggerGitFileSourceOutputWithContext

func (i TriggerGitFileSourceArgs) ToTriggerGitFileSourceOutputWithContext(ctx context.Context) TriggerGitFileSourceOutput

func (TriggerGitFileSourceArgs) ToTriggerGitFileSourcePtrOutput

func (i TriggerGitFileSourceArgs) ToTriggerGitFileSourcePtrOutput() TriggerGitFileSourcePtrOutput

func (TriggerGitFileSourceArgs) ToTriggerGitFileSourcePtrOutputWithContext

func (i TriggerGitFileSourceArgs) ToTriggerGitFileSourcePtrOutputWithContext(ctx context.Context) TriggerGitFileSourcePtrOutput

type TriggerGitFileSourceInput

type TriggerGitFileSourceInput interface {
	pulumi.Input

	ToTriggerGitFileSourceOutput() TriggerGitFileSourceOutput
	ToTriggerGitFileSourceOutputWithContext(context.Context) TriggerGitFileSourceOutput
}

TriggerGitFileSourceInput is an input type that accepts TriggerGitFileSourceArgs and TriggerGitFileSourceOutput values. You can construct a concrete instance of `TriggerGitFileSourceInput` via:

TriggerGitFileSourceArgs{...}

type TriggerGitFileSourceOutput

type TriggerGitFileSourceOutput struct{ *pulumi.OutputState }

func (TriggerGitFileSourceOutput) BitbucketServerConfig

func (o TriggerGitFileSourceOutput) BitbucketServerConfig() pulumi.StringPtrOutput

The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.

func (TriggerGitFileSourceOutput) ElementType

func (TriggerGitFileSourceOutput) ElementType() reflect.Type

func (TriggerGitFileSourceOutput) GithubEnterpriseConfig

func (o TriggerGitFileSourceOutput) GithubEnterpriseConfig() pulumi.StringPtrOutput

The full resource name of the github enterprise config. Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.

func (TriggerGitFileSourceOutput) Path

The path of the file, with the repo root as the root of the path.

func (TriggerGitFileSourceOutput) RepoType

The type of the repo, since it may not be explicit from the repo field (e.g from a URL). Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER Possible values are: `UNKNOWN`, `CLOUD_SOURCE_REPOSITORIES`, `GITHUB`, `BITBUCKET_SERVER`.

func (TriggerGitFileSourceOutput) Repository

The fully qualified resource name of the Repo API repository. The fully qualified resource name of the Repo API repository. If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.

func (TriggerGitFileSourceOutput) Revision

The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the filename (optional). This field respects the same syntax/resolution as described here: https://git-scm.com/docs/gitrevisions If unspecified, the revision from which the trigger invocation originated is assumed to be the revision from which to read the specified path.

func (TriggerGitFileSourceOutput) ToTriggerGitFileSourceOutput

func (o TriggerGitFileSourceOutput) ToTriggerGitFileSourceOutput() TriggerGitFileSourceOutput

func (TriggerGitFileSourceOutput) ToTriggerGitFileSourceOutputWithContext

func (o TriggerGitFileSourceOutput) ToTriggerGitFileSourceOutputWithContext(ctx context.Context) TriggerGitFileSourceOutput

func (TriggerGitFileSourceOutput) ToTriggerGitFileSourcePtrOutput

func (o TriggerGitFileSourceOutput) ToTriggerGitFileSourcePtrOutput() TriggerGitFileSourcePtrOutput

func (TriggerGitFileSourceOutput) ToTriggerGitFileSourcePtrOutputWithContext

func (o TriggerGitFileSourceOutput) ToTriggerGitFileSourcePtrOutputWithContext(ctx context.Context) TriggerGitFileSourcePtrOutput

func (TriggerGitFileSourceOutput) Uri

The URI of the repo (optional). If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.

type TriggerGitFileSourcePtrInput

type TriggerGitFileSourcePtrInput interface {
	pulumi.Input

	ToTriggerGitFileSourcePtrOutput() TriggerGitFileSourcePtrOutput
	ToTriggerGitFileSourcePtrOutputWithContext(context.Context) TriggerGitFileSourcePtrOutput
}

TriggerGitFileSourcePtrInput is an input type that accepts TriggerGitFileSourceArgs, TriggerGitFileSourcePtr and TriggerGitFileSourcePtrOutput values. You can construct a concrete instance of `TriggerGitFileSourcePtrInput` via:

        TriggerGitFileSourceArgs{...}

or:

        nil

type TriggerGitFileSourcePtrOutput

type TriggerGitFileSourcePtrOutput struct{ *pulumi.OutputState }

func (TriggerGitFileSourcePtrOutput) BitbucketServerConfig

func (o TriggerGitFileSourcePtrOutput) BitbucketServerConfig() pulumi.StringPtrOutput

The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.

func (TriggerGitFileSourcePtrOutput) Elem

func (TriggerGitFileSourcePtrOutput) ElementType

func (TriggerGitFileSourcePtrOutput) GithubEnterpriseConfig

func (o TriggerGitFileSourcePtrOutput) GithubEnterpriseConfig() pulumi.StringPtrOutput

The full resource name of the github enterprise config. Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.

func (TriggerGitFileSourcePtrOutput) Path

The path of the file, with the repo root as the root of the path.

func (TriggerGitFileSourcePtrOutput) RepoType

The type of the repo, since it may not be explicit from the repo field (e.g from a URL). Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER Possible values are: `UNKNOWN`, `CLOUD_SOURCE_REPOSITORIES`, `GITHUB`, `BITBUCKET_SERVER`.

func (TriggerGitFileSourcePtrOutput) Repository

The fully qualified resource name of the Repo API repository. The fully qualified resource name of the Repo API repository. If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.

func (TriggerGitFileSourcePtrOutput) Revision

The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the filename (optional). This field respects the same syntax/resolution as described here: https://git-scm.com/docs/gitrevisions If unspecified, the revision from which the trigger invocation originated is assumed to be the revision from which to read the specified path.

func (TriggerGitFileSourcePtrOutput) ToTriggerGitFileSourcePtrOutput

func (o TriggerGitFileSourcePtrOutput) ToTriggerGitFileSourcePtrOutput() TriggerGitFileSourcePtrOutput

func (TriggerGitFileSourcePtrOutput) ToTriggerGitFileSourcePtrOutputWithContext

func (o TriggerGitFileSourcePtrOutput) ToTriggerGitFileSourcePtrOutputWithContext(ctx context.Context) TriggerGitFileSourcePtrOutput

func (TriggerGitFileSourcePtrOutput) Uri

The URI of the repo (optional). If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.

type TriggerGithub

type TriggerGithub struct {
	// The resource name of the github enterprise config that should be applied to this installation.
	// For example: "projects/{$projectId}/locations/{$locationId}/githubEnterpriseConfigs/{$configId}"
	EnterpriseConfigResourceName *string `pulumi:"enterpriseConfigResourceName"`
	// Name of the repository. For example: The name for
	// https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
	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 {
	// The resource name of the github enterprise config that should be applied to this installation.
	// For example: "projects/{$projectId}/locations/{$locationId}/githubEnterpriseConfigs/{$configId}"
	EnterpriseConfigResourceName pulumi.StringPtrInput `pulumi:"enterpriseConfigResourceName"`
	// Name of the repository. For example: The name for
	// https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
	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) EnterpriseConfigResourceName

func (o TriggerGithubOutput) EnterpriseConfigResourceName() pulumi.StringPtrOutput

The resource name of the github enterprise config that should be applied to this installation. For example: "projects/{$projectId}/locations/{$locationId}/githubEnterpriseConfigs/{$configId}"

func (TriggerGithubOutput) Name

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

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) EnterpriseConfigResourceName

func (o TriggerGithubPtrOutput) EnterpriseConfigResourceName() pulumi.StringPtrOutput

The resource name of the github enterprise config that should be applied to this installation. For example: "projects/{$projectId}/locations/{$locationId}/githubEnterpriseConfigs/{$configId}"

func (TriggerGithubPtrOutput) Name

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

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.
	// The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
	Branch string `pulumi:"branch"`
	// Configure builds to run whether a repository owner or collaborator need to comment /gcbrun.
	// Possible values are: `COMMENTS_DISABLED`, `COMMENTS_ENABLED`, `COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY`.
	CommentControl *string `pulumi:"commentControl"`
	// If true, branches that do NOT match the gitRef will trigger a build.
	InvertRegex *bool `pulumi:"invertRegex"`
}

type TriggerGithubPullRequestArgs

type TriggerGithubPullRequestArgs struct {
	// Regex of branches to match.
	// The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
	Branch pulumi.StringInput `pulumi:"branch"`
	// Configure builds to run whether a repository owner or collaborator need to comment /gcbrun.
	// Possible values are: `COMMENTS_DISABLED`, `COMMENTS_ENABLED`, `COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY`.
	CommentControl pulumi.StringPtrInput `pulumi:"commentControl"`
	// If true, branches that do NOT match the gitRef will trigger a build.
	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. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

func (TriggerGithubPullRequestOutput) CommentControl

Configure builds to run whether a repository owner or collaborator need to comment /gcbrun. Possible values are: `COMMENTS_DISABLED`, `COMMENTS_ENABLED`, `COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY`.

func (TriggerGithubPullRequestOutput) ElementType

func (TriggerGithubPullRequestOutput) InvertRegex

If true, branches that do NOT match the gitRef will trigger a build.

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. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

func (TriggerGithubPullRequestPtrOutput) CommentControl

Configure builds to run whether a repository owner or collaborator need to comment /gcbrun. Possible values are: `COMMENTS_DISABLED`, `COMMENTS_ENABLED`, `COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY`.

func (TriggerGithubPullRequestPtrOutput) Elem

func (TriggerGithubPullRequestPtrOutput) ElementType

func (TriggerGithubPullRequestPtrOutput) InvertRegex

If true, branches that do NOT match the gitRef will trigger a build.

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"`
	// When true, only trigger a build if the revision regex does NOT match the gitRef 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"`
	// When true, only trigger a build if the revision regex does NOT match the gitRef 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

When true, only trigger a build if the revision regex does NOT match the gitRef 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

When true, only trigger a build if the revision regex does NOT match the gitRef 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) ApprovalConfig

func (o TriggerOutput) ApprovalConfig() TriggerApprovalConfigOutput

Configuration for manual approval to start a build invocation of this BuildTrigger. Builds created by this trigger will require approval before they execute. Any user with a Cloud Build Approver role for the project can approve a build. Structure is documented below.

func (TriggerOutput) BitbucketServerTriggerConfig

func (o TriggerOutput) BitbucketServerTriggerConfig() TriggerBitbucketServerTriggerConfigPtrOutput

BitbucketServerTriggerConfig describes the configuration of a trigger that creates a build whenever a Bitbucket Server event is received. Structure is documented below.

func (TriggerOutput) Build

Contents of the build template. Either a filename or build template must be provided. Structure is documented below.

func (TriggerOutput) CreateTime

func (o TriggerOutput) CreateTime() pulumi.StringOutput

Time when the trigger was created.

func (TriggerOutput) Description

func (o TriggerOutput) Description() pulumi.StringPtrOutput

Human-readable description of the trigger.

func (TriggerOutput) Disabled

func (o TriggerOutput) Disabled() pulumi.BoolPtrOutput

Whether the trigger is disabled or not. If true, the trigger will never result in a build.

func (TriggerOutput) ElementType

func (TriggerOutput) ElementType() reflect.Type

func (TriggerOutput) Filename

func (o TriggerOutput) Filename() pulumi.StringPtrOutput

Path, from the source root, to a file whose contents is used for the template. Either a filename or build template must be provided. Set this only when using triggerTemplate or github. When using Pub/Sub, Webhook or Manual set the file name using gitFileSource instead.

func (TriggerOutput) Filter

A Common Expression Language string. Used only with Pub/Sub and Webhook.

func (TriggerOutput) GitFileSource

func (o TriggerOutput) GitFileSource() TriggerGitFileSourcePtrOutput

The file source describing the local or remote Build template. Structure is documented below.

func (TriggerOutput) Github

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.

func (TriggerOutput) IgnoredFiles

func (o TriggerOutput) IgnoredFiles() pulumi.StringArrayOutput

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.

func (TriggerOutput) IncludeBuildLogs

func (o TriggerOutput) IncludeBuildLogs() pulumi.StringPtrOutput

Build logs will be sent back to GitHub as part of the checkrun result. Values can be INCLUDE_BUILD_LOGS_UNSPECIFIED or INCLUDE_BUILD_LOGS_WITH_STATUS Possible values are: `INCLUDE_BUILD_LOGS_UNSPECIFIED`, `INCLUDE_BUILD_LOGS_WITH_STATUS`.

func (TriggerOutput) IncludedFiles

func (o TriggerOutput) IncludedFiles() pulumi.StringArrayOutput

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.

func (TriggerOutput) Location

func (o TriggerOutput) Location() pulumi.StringPtrOutput

The [Cloud Build location](https://cloud.google.com/build/docs/locations) for the trigger. If not specified, "global" is used.

func (TriggerOutput) Name

Name of the trigger. Must be unique within the project.

func (TriggerOutput) Project

func (o TriggerOutput) Project() pulumi.StringOutput

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (TriggerOutput) PubsubConfig

PubsubConfig describes the configuration of a trigger that creates a build whenever a Pub/Sub message is published. One of `triggerTemplate`, `github`, `pubsubConfig` `webhookConfig` or `sourceToBuild` must be provided. Structure is documented below.

func (TriggerOutput) RepositoryEventConfig

func (o TriggerOutput) RepositoryEventConfig() TriggerRepositoryEventConfigPtrOutput

The configuration of a trigger that creates a build whenever an event from Repo API is received. Structure is documented below.

func (TriggerOutput) ServiceAccount

func (o TriggerOutput) ServiceAccount() pulumi.StringPtrOutput

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}

func (TriggerOutput) SourceToBuild

func (o TriggerOutput) SourceToBuild() TriggerSourceToBuildPtrOutput

The repo and ref of the repository from which to build. This field is used only for those triggers that do not respond to SCM events. Triggers that respond to such events build source at whatever commit caused the event. This field is currently only used by Webhook, Pub/Sub, Manual, and Cron triggers. One of `triggerTemplate`, `github`, `pubsubConfig` `webhookConfig` or `sourceToBuild` must be provided. Structure is documented below.

func (TriggerOutput) Substitutions

func (o TriggerOutput) Substitutions() pulumi.StringMapOutput

Substitutions data for Build resource.

func (TriggerOutput) Tags

Tags for annotation of a BuildTrigger

func (TriggerOutput) ToTriggerOutput

func (o TriggerOutput) ToTriggerOutput() TriggerOutput

func (TriggerOutput) ToTriggerOutputWithContext

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

func (TriggerOutput) TriggerId

func (o TriggerOutput) TriggerId() pulumi.StringOutput

The unique identifier for the trigger.

func (TriggerOutput) TriggerTemplate

func (o TriggerOutput) TriggerTemplate() TriggerTriggerTemplatePtrOutput

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`, `webhookConfig` or `sourceToBuild` must be provided. Structure is documented below.

func (TriggerOutput) WebhookConfig

func (o TriggerOutput) WebhookConfig() TriggerWebhookConfigPtrOutput

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` `webhookConfig` or `sourceToBuild` must be provided. Structure is documented below.

type TriggerPubsubConfig

type TriggerPubsubConfig struct {
	// Service account that will make the push request.
	ServiceAccountEmail *string `pulumi:"serviceAccountEmail"`
	// (Output)
	// Potential issues with the underlying Pub/Sub subscription configuration.
	// Only populated on get requests.
	State *string `pulumi:"state"`
	// (Output)
	// 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

type TriggerPubsubConfigArgs struct {
	// Service account that will make the push request.
	ServiceAccountEmail pulumi.StringPtrInput `pulumi:"serviceAccountEmail"`
	// (Output)
	// Potential issues with the underlying Pub/Sub subscription configuration.
	// Only populated on get requests.
	State pulumi.StringPtrInput `pulumi:"state"`
	// (Output)
	// 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

func (TriggerPubsubConfigArgs) ElementType() reflect.Type

func (TriggerPubsubConfigArgs) ToTriggerPubsubConfigOutput

func (i TriggerPubsubConfigArgs) ToTriggerPubsubConfigOutput() TriggerPubsubConfigOutput

func (TriggerPubsubConfigArgs) ToTriggerPubsubConfigOutputWithContext

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

func (TriggerPubsubConfigArgs) ToTriggerPubsubConfigPtrOutput

func (i TriggerPubsubConfigArgs) ToTriggerPubsubConfigPtrOutput() TriggerPubsubConfigPtrOutput

func (TriggerPubsubConfigArgs) ToTriggerPubsubConfigPtrOutputWithContext

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

type TriggerPubsubConfigInput

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

type TriggerPubsubConfigOutput struct{ *pulumi.OutputState }

func (TriggerPubsubConfigOutput) ElementType

func (TriggerPubsubConfigOutput) ElementType() reflect.Type

func (TriggerPubsubConfigOutput) ServiceAccountEmail

func (o TriggerPubsubConfigOutput) ServiceAccountEmail() pulumi.StringPtrOutput

Service account that will make the push request.

func (TriggerPubsubConfigOutput) State

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

func (TriggerPubsubConfigOutput) Subscription

(Output) Output only. Name of the subscription.

func (TriggerPubsubConfigOutput) ToTriggerPubsubConfigOutput

func (o TriggerPubsubConfigOutput) ToTriggerPubsubConfigOutput() TriggerPubsubConfigOutput

func (TriggerPubsubConfigOutput) ToTriggerPubsubConfigOutputWithContext

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

func (TriggerPubsubConfigOutput) ToTriggerPubsubConfigPtrOutput

func (o TriggerPubsubConfigOutput) ToTriggerPubsubConfigPtrOutput() TriggerPubsubConfigPtrOutput

func (TriggerPubsubConfigOutput) ToTriggerPubsubConfigPtrOutputWithContext

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

func (TriggerPubsubConfigOutput) Topic

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

type TriggerPubsubConfigPtrInput

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

type TriggerPubsubConfigPtrOutput

type TriggerPubsubConfigPtrOutput struct{ *pulumi.OutputState }

func (TriggerPubsubConfigPtrOutput) Elem

func (TriggerPubsubConfigPtrOutput) ElementType

func (TriggerPubsubConfigPtrOutput) ServiceAccountEmail

func (o TriggerPubsubConfigPtrOutput) ServiceAccountEmail() pulumi.StringPtrOutput

Service account that will make the push request.

func (TriggerPubsubConfigPtrOutput) State

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

func (TriggerPubsubConfigPtrOutput) Subscription

(Output) Output only. Name of the subscription.

func (TriggerPubsubConfigPtrOutput) ToTriggerPubsubConfigPtrOutput

func (o TriggerPubsubConfigPtrOutput) ToTriggerPubsubConfigPtrOutput() TriggerPubsubConfigPtrOutput

func (TriggerPubsubConfigPtrOutput) ToTriggerPubsubConfigPtrOutputWithContext

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

func (TriggerPubsubConfigPtrOutput) Topic

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

type TriggerRepositoryEventConfig

type TriggerRepositoryEventConfig struct {
	// Contains filter properties for matching Pull Requests.
	// Structure is documented below.
	PullRequest *TriggerRepositoryEventConfigPullRequest `pulumi:"pullRequest"`
	// Contains filter properties for matching git pushes.
	// Structure is documented below.
	Push *TriggerRepositoryEventConfigPush `pulumi:"push"`
	// The resource name of the Repo API resource.
	Repository *string `pulumi:"repository"`
}

type TriggerRepositoryEventConfigArgs

type TriggerRepositoryEventConfigArgs struct {
	// Contains filter properties for matching Pull Requests.
	// Structure is documented below.
	PullRequest TriggerRepositoryEventConfigPullRequestPtrInput `pulumi:"pullRequest"`
	// Contains filter properties for matching git pushes.
	// Structure is documented below.
	Push TriggerRepositoryEventConfigPushPtrInput `pulumi:"push"`
	// The resource name of the Repo API resource.
	Repository pulumi.StringPtrInput `pulumi:"repository"`
}

func (TriggerRepositoryEventConfigArgs) ElementType

func (TriggerRepositoryEventConfigArgs) ToTriggerRepositoryEventConfigOutput

func (i TriggerRepositoryEventConfigArgs) ToTriggerRepositoryEventConfigOutput() TriggerRepositoryEventConfigOutput

func (TriggerRepositoryEventConfigArgs) ToTriggerRepositoryEventConfigOutputWithContext

func (i TriggerRepositoryEventConfigArgs) ToTriggerRepositoryEventConfigOutputWithContext(ctx context.Context) TriggerRepositoryEventConfigOutput

func (TriggerRepositoryEventConfigArgs) ToTriggerRepositoryEventConfigPtrOutput

func (i TriggerRepositoryEventConfigArgs) ToTriggerRepositoryEventConfigPtrOutput() TriggerRepositoryEventConfigPtrOutput

func (TriggerRepositoryEventConfigArgs) ToTriggerRepositoryEventConfigPtrOutputWithContext

func (i TriggerRepositoryEventConfigArgs) ToTriggerRepositoryEventConfigPtrOutputWithContext(ctx context.Context) TriggerRepositoryEventConfigPtrOutput

type TriggerRepositoryEventConfigInput

type TriggerRepositoryEventConfigInput interface {
	pulumi.Input

	ToTriggerRepositoryEventConfigOutput() TriggerRepositoryEventConfigOutput
	ToTriggerRepositoryEventConfigOutputWithContext(context.Context) TriggerRepositoryEventConfigOutput
}

TriggerRepositoryEventConfigInput is an input type that accepts TriggerRepositoryEventConfigArgs and TriggerRepositoryEventConfigOutput values. You can construct a concrete instance of `TriggerRepositoryEventConfigInput` via:

TriggerRepositoryEventConfigArgs{...}

type TriggerRepositoryEventConfigOutput

type TriggerRepositoryEventConfigOutput struct{ *pulumi.OutputState }

func (TriggerRepositoryEventConfigOutput) ElementType

func (TriggerRepositoryEventConfigOutput) PullRequest

Contains filter properties for matching Pull Requests. Structure is documented below.

func (TriggerRepositoryEventConfigOutput) Push

Contains filter properties for matching git pushes. Structure is documented below.

func (TriggerRepositoryEventConfigOutput) Repository

The resource name of the Repo API resource.

func (TriggerRepositoryEventConfigOutput) ToTriggerRepositoryEventConfigOutput

func (o TriggerRepositoryEventConfigOutput) ToTriggerRepositoryEventConfigOutput() TriggerRepositoryEventConfigOutput

func (TriggerRepositoryEventConfigOutput) ToTriggerRepositoryEventConfigOutputWithContext

func (o TriggerRepositoryEventConfigOutput) ToTriggerRepositoryEventConfigOutputWithContext(ctx context.Context) TriggerRepositoryEventConfigOutput

func (TriggerRepositoryEventConfigOutput) ToTriggerRepositoryEventConfigPtrOutput

func (o TriggerRepositoryEventConfigOutput) ToTriggerRepositoryEventConfigPtrOutput() TriggerRepositoryEventConfigPtrOutput

func (TriggerRepositoryEventConfigOutput) ToTriggerRepositoryEventConfigPtrOutputWithContext

func (o TriggerRepositoryEventConfigOutput) ToTriggerRepositoryEventConfigPtrOutputWithContext(ctx context.Context) TriggerRepositoryEventConfigPtrOutput

type TriggerRepositoryEventConfigPtrInput

type TriggerRepositoryEventConfigPtrInput interface {
	pulumi.Input

	ToTriggerRepositoryEventConfigPtrOutput() TriggerRepositoryEventConfigPtrOutput
	ToTriggerRepositoryEventConfigPtrOutputWithContext(context.Context) TriggerRepositoryEventConfigPtrOutput
}

TriggerRepositoryEventConfigPtrInput is an input type that accepts TriggerRepositoryEventConfigArgs, TriggerRepositoryEventConfigPtr and TriggerRepositoryEventConfigPtrOutput values. You can construct a concrete instance of `TriggerRepositoryEventConfigPtrInput` via:

        TriggerRepositoryEventConfigArgs{...}

or:

        nil

type TriggerRepositoryEventConfigPtrOutput

type TriggerRepositoryEventConfigPtrOutput struct{ *pulumi.OutputState }

func (TriggerRepositoryEventConfigPtrOutput) Elem

func (TriggerRepositoryEventConfigPtrOutput) ElementType

func (TriggerRepositoryEventConfigPtrOutput) PullRequest

Contains filter properties for matching Pull Requests. Structure is documented below.

func (TriggerRepositoryEventConfigPtrOutput) Push

Contains filter properties for matching git pushes. Structure is documented below.

func (TriggerRepositoryEventConfigPtrOutput) Repository

The resource name of the Repo API resource.

func (TriggerRepositoryEventConfigPtrOutput) ToTriggerRepositoryEventConfigPtrOutput

func (o TriggerRepositoryEventConfigPtrOutput) ToTriggerRepositoryEventConfigPtrOutput() TriggerRepositoryEventConfigPtrOutput

func (TriggerRepositoryEventConfigPtrOutput) ToTriggerRepositoryEventConfigPtrOutputWithContext

func (o TriggerRepositoryEventConfigPtrOutput) ToTriggerRepositoryEventConfigPtrOutputWithContext(ctx context.Context) TriggerRepositoryEventConfigPtrOutput

type TriggerRepositoryEventConfigPullRequest

type TriggerRepositoryEventConfigPullRequest struct {
	// Regex of branches to match.
	// The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
	Branch *string `pulumi:"branch"`
	// Configure builds to run whether a repository owner or collaborator need to comment /gcbrun.
	// Possible values are: `COMMENTS_DISABLED`, `COMMENTS_ENABLED`, `COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY`.
	CommentControl *string `pulumi:"commentControl"`
	// If true, branches that do NOT match the gitRef will trigger a build.
	InvertRegex *bool `pulumi:"invertRegex"`
}

type TriggerRepositoryEventConfigPullRequestArgs

type TriggerRepositoryEventConfigPullRequestArgs struct {
	// Regex of branches to match.
	// The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
	Branch pulumi.StringPtrInput `pulumi:"branch"`
	// Configure builds to run whether a repository owner or collaborator need to comment /gcbrun.
	// Possible values are: `COMMENTS_DISABLED`, `COMMENTS_ENABLED`, `COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY`.
	CommentControl pulumi.StringPtrInput `pulumi:"commentControl"`
	// If true, branches that do NOT match the gitRef will trigger a build.
	InvertRegex pulumi.BoolPtrInput `pulumi:"invertRegex"`
}

func (TriggerRepositoryEventConfigPullRequestArgs) ElementType

func (TriggerRepositoryEventConfigPullRequestArgs) ToTriggerRepositoryEventConfigPullRequestOutput

func (i TriggerRepositoryEventConfigPullRequestArgs) ToTriggerRepositoryEventConfigPullRequestOutput() TriggerRepositoryEventConfigPullRequestOutput

func (TriggerRepositoryEventConfigPullRequestArgs) ToTriggerRepositoryEventConfigPullRequestOutputWithContext

func (i TriggerRepositoryEventConfigPullRequestArgs) ToTriggerRepositoryEventConfigPullRequestOutputWithContext(ctx context.Context) TriggerRepositoryEventConfigPullRequestOutput

func (TriggerRepositoryEventConfigPullRequestArgs) ToTriggerRepositoryEventConfigPullRequestPtrOutput

func (i TriggerRepositoryEventConfigPullRequestArgs) ToTriggerRepositoryEventConfigPullRequestPtrOutput() TriggerRepositoryEventConfigPullRequestPtrOutput

func (TriggerRepositoryEventConfigPullRequestArgs) ToTriggerRepositoryEventConfigPullRequestPtrOutputWithContext

func (i TriggerRepositoryEventConfigPullRequestArgs) ToTriggerRepositoryEventConfigPullRequestPtrOutputWithContext(ctx context.Context) TriggerRepositoryEventConfigPullRequestPtrOutput

type TriggerRepositoryEventConfigPullRequestInput

type TriggerRepositoryEventConfigPullRequestInput interface {
	pulumi.Input

	ToTriggerRepositoryEventConfigPullRequestOutput() TriggerRepositoryEventConfigPullRequestOutput
	ToTriggerRepositoryEventConfigPullRequestOutputWithContext(context.Context) TriggerRepositoryEventConfigPullRequestOutput
}

TriggerRepositoryEventConfigPullRequestInput is an input type that accepts TriggerRepositoryEventConfigPullRequestArgs and TriggerRepositoryEventConfigPullRequestOutput values. You can construct a concrete instance of `TriggerRepositoryEventConfigPullRequestInput` via:

TriggerRepositoryEventConfigPullRequestArgs{...}

type TriggerRepositoryEventConfigPullRequestOutput

type TriggerRepositoryEventConfigPullRequestOutput struct{ *pulumi.OutputState }

func (TriggerRepositoryEventConfigPullRequestOutput) Branch

Regex of branches to match. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

func (TriggerRepositoryEventConfigPullRequestOutput) CommentControl

Configure builds to run whether a repository owner or collaborator need to comment /gcbrun. Possible values are: `COMMENTS_DISABLED`, `COMMENTS_ENABLED`, `COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY`.

func (TriggerRepositoryEventConfigPullRequestOutput) ElementType

func (TriggerRepositoryEventConfigPullRequestOutput) InvertRegex

If true, branches that do NOT match the gitRef will trigger a build.

func (TriggerRepositoryEventConfigPullRequestOutput) ToTriggerRepositoryEventConfigPullRequestOutput

func (o TriggerRepositoryEventConfigPullRequestOutput) ToTriggerRepositoryEventConfigPullRequestOutput() TriggerRepositoryEventConfigPullRequestOutput

func (TriggerRepositoryEventConfigPullRequestOutput) ToTriggerRepositoryEventConfigPullRequestOutputWithContext

func (o TriggerRepositoryEventConfigPullRequestOutput) ToTriggerRepositoryEventConfigPullRequestOutputWithContext(ctx context.Context) TriggerRepositoryEventConfigPullRequestOutput

func (TriggerRepositoryEventConfigPullRequestOutput) ToTriggerRepositoryEventConfigPullRequestPtrOutput

func (o TriggerRepositoryEventConfigPullRequestOutput) ToTriggerRepositoryEventConfigPullRequestPtrOutput() TriggerRepositoryEventConfigPullRequestPtrOutput

func (TriggerRepositoryEventConfigPullRequestOutput) ToTriggerRepositoryEventConfigPullRequestPtrOutputWithContext

func (o TriggerRepositoryEventConfigPullRequestOutput) ToTriggerRepositoryEventConfigPullRequestPtrOutputWithContext(ctx context.Context) TriggerRepositoryEventConfigPullRequestPtrOutput

type TriggerRepositoryEventConfigPullRequestPtrInput

type TriggerRepositoryEventConfigPullRequestPtrInput interface {
	pulumi.Input

	ToTriggerRepositoryEventConfigPullRequestPtrOutput() TriggerRepositoryEventConfigPullRequestPtrOutput
	ToTriggerRepositoryEventConfigPullRequestPtrOutputWithContext(context.Context) TriggerRepositoryEventConfigPullRequestPtrOutput
}

TriggerRepositoryEventConfigPullRequestPtrInput is an input type that accepts TriggerRepositoryEventConfigPullRequestArgs, TriggerRepositoryEventConfigPullRequestPtr and TriggerRepositoryEventConfigPullRequestPtrOutput values. You can construct a concrete instance of `TriggerRepositoryEventConfigPullRequestPtrInput` via:

        TriggerRepositoryEventConfigPullRequestArgs{...}

or:

        nil

type TriggerRepositoryEventConfigPullRequestPtrOutput

type TriggerRepositoryEventConfigPullRequestPtrOutput struct{ *pulumi.OutputState }

func (TriggerRepositoryEventConfigPullRequestPtrOutput) Branch

Regex of branches to match. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

func (TriggerRepositoryEventConfigPullRequestPtrOutput) CommentControl

Configure builds to run whether a repository owner or collaborator need to comment /gcbrun. Possible values are: `COMMENTS_DISABLED`, `COMMENTS_ENABLED`, `COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY`.

func (TriggerRepositoryEventConfigPullRequestPtrOutput) Elem

func (TriggerRepositoryEventConfigPullRequestPtrOutput) ElementType

func (TriggerRepositoryEventConfigPullRequestPtrOutput) InvertRegex

If true, branches that do NOT match the gitRef will trigger a build.

func (TriggerRepositoryEventConfigPullRequestPtrOutput) ToTriggerRepositoryEventConfigPullRequestPtrOutput

func (o TriggerRepositoryEventConfigPullRequestPtrOutput) ToTriggerRepositoryEventConfigPullRequestPtrOutput() TriggerRepositoryEventConfigPullRequestPtrOutput

func (TriggerRepositoryEventConfigPullRequestPtrOutput) ToTriggerRepositoryEventConfigPullRequestPtrOutputWithContext

func (o TriggerRepositoryEventConfigPullRequestPtrOutput) ToTriggerRepositoryEventConfigPullRequestPtrOutputWithContext(ctx context.Context) TriggerRepositoryEventConfigPullRequestPtrOutput

type TriggerRepositoryEventConfigPush

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

type TriggerRepositoryEventConfigPushArgs

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

func (TriggerRepositoryEventConfigPushArgs) ElementType

func (TriggerRepositoryEventConfigPushArgs) ToTriggerRepositoryEventConfigPushOutput

func (i TriggerRepositoryEventConfigPushArgs) ToTriggerRepositoryEventConfigPushOutput() TriggerRepositoryEventConfigPushOutput

func (TriggerRepositoryEventConfigPushArgs) ToTriggerRepositoryEventConfigPushOutputWithContext

func (i TriggerRepositoryEventConfigPushArgs) ToTriggerRepositoryEventConfigPushOutputWithContext(ctx context.Context) TriggerRepositoryEventConfigPushOutput

func (TriggerRepositoryEventConfigPushArgs) ToTriggerRepositoryEventConfigPushPtrOutput

func (i TriggerRepositoryEventConfigPushArgs) ToTriggerRepositoryEventConfigPushPtrOutput() TriggerRepositoryEventConfigPushPtrOutput

func (TriggerRepositoryEventConfigPushArgs) ToTriggerRepositoryEventConfigPushPtrOutputWithContext

func (i TriggerRepositoryEventConfigPushArgs) ToTriggerRepositoryEventConfigPushPtrOutputWithContext(ctx context.Context) TriggerRepositoryEventConfigPushPtrOutput

type TriggerRepositoryEventConfigPushInput

type TriggerRepositoryEventConfigPushInput interface {
	pulumi.Input

	ToTriggerRepositoryEventConfigPushOutput() TriggerRepositoryEventConfigPushOutput
	ToTriggerRepositoryEventConfigPushOutputWithContext(context.Context) TriggerRepositoryEventConfigPushOutput
}

TriggerRepositoryEventConfigPushInput is an input type that accepts TriggerRepositoryEventConfigPushArgs and TriggerRepositoryEventConfigPushOutput values. You can construct a concrete instance of `TriggerRepositoryEventConfigPushInput` via:

TriggerRepositoryEventConfigPushArgs{...}

type TriggerRepositoryEventConfigPushOutput

type TriggerRepositoryEventConfigPushOutput struct{ *pulumi.OutputState }

func (TriggerRepositoryEventConfigPushOutput) Branch

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

func (TriggerRepositoryEventConfigPushOutput) ElementType

func (TriggerRepositoryEventConfigPushOutput) InvertRegex

When true, only trigger a build if the revision regex does NOT match the gitRef regex.

func (TriggerRepositoryEventConfigPushOutput) Tag

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

func (TriggerRepositoryEventConfigPushOutput) ToTriggerRepositoryEventConfigPushOutput

func (o TriggerRepositoryEventConfigPushOutput) ToTriggerRepositoryEventConfigPushOutput() TriggerRepositoryEventConfigPushOutput

func (TriggerRepositoryEventConfigPushOutput) ToTriggerRepositoryEventConfigPushOutputWithContext

func (o TriggerRepositoryEventConfigPushOutput) ToTriggerRepositoryEventConfigPushOutputWithContext(ctx context.Context) TriggerRepositoryEventConfigPushOutput

func (TriggerRepositoryEventConfigPushOutput) ToTriggerRepositoryEventConfigPushPtrOutput

func (o TriggerRepositoryEventConfigPushOutput) ToTriggerRepositoryEventConfigPushPtrOutput() TriggerRepositoryEventConfigPushPtrOutput

func (TriggerRepositoryEventConfigPushOutput) ToTriggerRepositoryEventConfigPushPtrOutputWithContext

func (o TriggerRepositoryEventConfigPushOutput) ToTriggerRepositoryEventConfigPushPtrOutputWithContext(ctx context.Context) TriggerRepositoryEventConfigPushPtrOutput

type TriggerRepositoryEventConfigPushPtrInput

type TriggerRepositoryEventConfigPushPtrInput interface {
	pulumi.Input

	ToTriggerRepositoryEventConfigPushPtrOutput() TriggerRepositoryEventConfigPushPtrOutput
	ToTriggerRepositoryEventConfigPushPtrOutputWithContext(context.Context) TriggerRepositoryEventConfigPushPtrOutput
}

TriggerRepositoryEventConfigPushPtrInput is an input type that accepts TriggerRepositoryEventConfigPushArgs, TriggerRepositoryEventConfigPushPtr and TriggerRepositoryEventConfigPushPtrOutput values. You can construct a concrete instance of `TriggerRepositoryEventConfigPushPtrInput` via:

        TriggerRepositoryEventConfigPushArgs{...}

or:

        nil

type TriggerRepositoryEventConfigPushPtrOutput

type TriggerRepositoryEventConfigPushPtrOutput struct{ *pulumi.OutputState }

func (TriggerRepositoryEventConfigPushPtrOutput) Branch

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

func (TriggerRepositoryEventConfigPushPtrOutput) Elem

func (TriggerRepositoryEventConfigPushPtrOutput) ElementType

func (TriggerRepositoryEventConfigPushPtrOutput) InvertRegex

When true, only trigger a build if the revision regex does NOT match the gitRef regex.

func (TriggerRepositoryEventConfigPushPtrOutput) Tag

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

func (TriggerRepositoryEventConfigPushPtrOutput) ToTriggerRepositoryEventConfigPushPtrOutput

func (o TriggerRepositoryEventConfigPushPtrOutput) ToTriggerRepositoryEventConfigPushPtrOutput() TriggerRepositoryEventConfigPushPtrOutput

func (TriggerRepositoryEventConfigPushPtrOutput) ToTriggerRepositoryEventConfigPushPtrOutputWithContext

func (o TriggerRepositoryEventConfigPushPtrOutput) ToTriggerRepositoryEventConfigPushPtrOutputWithContext(ctx context.Context) TriggerRepositoryEventConfigPushPtrOutput

type TriggerSourceToBuild

type TriggerSourceToBuild struct {
	// The full resource name of the bitbucket server config.
	// Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
	BitbucketServerConfig *string `pulumi:"bitbucketServerConfig"`
	// The full resource name of the github enterprise config.
	// Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
	GithubEnterpriseConfig *string `pulumi:"githubEnterpriseConfig"`
	// The branch or tag to use. Must start with "refs/" (required).
	Ref string `pulumi:"ref"`
	// The type of the repo, since it may not be explicit from the repo field (e.g from a URL).
	// Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER
	// Possible values are: `UNKNOWN`, `CLOUD_SOURCE_REPOSITORIES`, `GITHUB`, `BITBUCKET_SERVER`.
	RepoType string `pulumi:"repoType"`
	// The qualified resource name of the Repo API repository.
	// Either uri or repository can be specified and is required.
	Repository *string `pulumi:"repository"`
	// The URI of the repo.
	Uri *string `pulumi:"uri"`
}

type TriggerSourceToBuildArgs

type TriggerSourceToBuildArgs struct {
	// The full resource name of the bitbucket server config.
	// Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
	BitbucketServerConfig pulumi.StringPtrInput `pulumi:"bitbucketServerConfig"`
	// The full resource name of the github enterprise config.
	// Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
	GithubEnterpriseConfig pulumi.StringPtrInput `pulumi:"githubEnterpriseConfig"`
	// The branch or tag to use. Must start with "refs/" (required).
	Ref pulumi.StringInput `pulumi:"ref"`
	// The type of the repo, since it may not be explicit from the repo field (e.g from a URL).
	// Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER
	// Possible values are: `UNKNOWN`, `CLOUD_SOURCE_REPOSITORIES`, `GITHUB`, `BITBUCKET_SERVER`.
	RepoType pulumi.StringInput `pulumi:"repoType"`
	// The qualified resource name of the Repo API repository.
	// Either uri or repository can be specified and is required.
	Repository pulumi.StringPtrInput `pulumi:"repository"`
	// The URI of the repo.
	Uri pulumi.StringPtrInput `pulumi:"uri"`
}

func (TriggerSourceToBuildArgs) ElementType

func (TriggerSourceToBuildArgs) ElementType() reflect.Type

func (TriggerSourceToBuildArgs) ToTriggerSourceToBuildOutput

func (i TriggerSourceToBuildArgs) ToTriggerSourceToBuildOutput() TriggerSourceToBuildOutput

func (TriggerSourceToBuildArgs) ToTriggerSourceToBuildOutputWithContext

func (i TriggerSourceToBuildArgs) ToTriggerSourceToBuildOutputWithContext(ctx context.Context) TriggerSourceToBuildOutput

func (TriggerSourceToBuildArgs) ToTriggerSourceToBuildPtrOutput

func (i TriggerSourceToBuildArgs) ToTriggerSourceToBuildPtrOutput() TriggerSourceToBuildPtrOutput

func (TriggerSourceToBuildArgs) ToTriggerSourceToBuildPtrOutputWithContext

func (i TriggerSourceToBuildArgs) ToTriggerSourceToBuildPtrOutputWithContext(ctx context.Context) TriggerSourceToBuildPtrOutput

type TriggerSourceToBuildInput

type TriggerSourceToBuildInput interface {
	pulumi.Input

	ToTriggerSourceToBuildOutput() TriggerSourceToBuildOutput
	ToTriggerSourceToBuildOutputWithContext(context.Context) TriggerSourceToBuildOutput
}

TriggerSourceToBuildInput is an input type that accepts TriggerSourceToBuildArgs and TriggerSourceToBuildOutput values. You can construct a concrete instance of `TriggerSourceToBuildInput` via:

TriggerSourceToBuildArgs{...}

type TriggerSourceToBuildOutput

type TriggerSourceToBuildOutput struct{ *pulumi.OutputState }

func (TriggerSourceToBuildOutput) BitbucketServerConfig

func (o TriggerSourceToBuildOutput) BitbucketServerConfig() pulumi.StringPtrOutput

The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.

func (TriggerSourceToBuildOutput) ElementType

func (TriggerSourceToBuildOutput) ElementType() reflect.Type

func (TriggerSourceToBuildOutput) GithubEnterpriseConfig

func (o TriggerSourceToBuildOutput) GithubEnterpriseConfig() pulumi.StringPtrOutput

The full resource name of the github enterprise config. Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.

func (TriggerSourceToBuildOutput) Ref

The branch or tag to use. Must start with "refs/" (required).

func (TriggerSourceToBuildOutput) RepoType

The type of the repo, since it may not be explicit from the repo field (e.g from a URL). Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER Possible values are: `UNKNOWN`, `CLOUD_SOURCE_REPOSITORIES`, `GITHUB`, `BITBUCKET_SERVER`.

func (TriggerSourceToBuildOutput) Repository

The qualified resource name of the Repo API repository. Either uri or repository can be specified and is required.

func (TriggerSourceToBuildOutput) ToTriggerSourceToBuildOutput

func (o TriggerSourceToBuildOutput) ToTriggerSourceToBuildOutput() TriggerSourceToBuildOutput

func (TriggerSourceToBuildOutput) ToTriggerSourceToBuildOutputWithContext

func (o TriggerSourceToBuildOutput) ToTriggerSourceToBuildOutputWithContext(ctx context.Context) TriggerSourceToBuildOutput

func (TriggerSourceToBuildOutput) ToTriggerSourceToBuildPtrOutput

func (o TriggerSourceToBuildOutput) ToTriggerSourceToBuildPtrOutput() TriggerSourceToBuildPtrOutput

func (TriggerSourceToBuildOutput) ToTriggerSourceToBuildPtrOutputWithContext

func (o TriggerSourceToBuildOutput) ToTriggerSourceToBuildPtrOutputWithContext(ctx context.Context) TriggerSourceToBuildPtrOutput

func (TriggerSourceToBuildOutput) Uri

The URI of the repo.

type TriggerSourceToBuildPtrInput

type TriggerSourceToBuildPtrInput interface {
	pulumi.Input

	ToTriggerSourceToBuildPtrOutput() TriggerSourceToBuildPtrOutput
	ToTriggerSourceToBuildPtrOutputWithContext(context.Context) TriggerSourceToBuildPtrOutput
}

TriggerSourceToBuildPtrInput is an input type that accepts TriggerSourceToBuildArgs, TriggerSourceToBuildPtr and TriggerSourceToBuildPtrOutput values. You can construct a concrete instance of `TriggerSourceToBuildPtrInput` via:

        TriggerSourceToBuildArgs{...}

or:

        nil

type TriggerSourceToBuildPtrOutput

type TriggerSourceToBuildPtrOutput struct{ *pulumi.OutputState }

func (TriggerSourceToBuildPtrOutput) BitbucketServerConfig

func (o TriggerSourceToBuildPtrOutput) BitbucketServerConfig() pulumi.StringPtrOutput

The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.

func (TriggerSourceToBuildPtrOutput) Elem

func (TriggerSourceToBuildPtrOutput) ElementType

func (TriggerSourceToBuildPtrOutput) GithubEnterpriseConfig

func (o TriggerSourceToBuildPtrOutput) GithubEnterpriseConfig() pulumi.StringPtrOutput

The full resource name of the github enterprise config. Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.

func (TriggerSourceToBuildPtrOutput) Ref

The branch or tag to use. Must start with "refs/" (required).

func (TriggerSourceToBuildPtrOutput) RepoType

The type of the repo, since it may not be explicit from the repo field (e.g from a URL). Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER Possible values are: `UNKNOWN`, `CLOUD_SOURCE_REPOSITORIES`, `GITHUB`, `BITBUCKET_SERVER`.

func (TriggerSourceToBuildPtrOutput) Repository

The qualified resource name of the Repo API repository. Either uri or repository can be specified and is required.

func (TriggerSourceToBuildPtrOutput) ToTriggerSourceToBuildPtrOutput

func (o TriggerSourceToBuildPtrOutput) ToTriggerSourceToBuildPtrOutput() TriggerSourceToBuildPtrOutput

func (TriggerSourceToBuildPtrOutput) ToTriggerSourceToBuildPtrOutputWithContext

func (o TriggerSourceToBuildPtrOutput) ToTriggerSourceToBuildPtrOutputWithContext(ctx context.Context) TriggerSourceToBuildPtrOutput

func (TriggerSourceToBuildPtrOutput) Uri

The URI of the repo.

type TriggerState

type TriggerState struct {
	// Configuration for manual approval to start a build invocation of this BuildTrigger.
	// Builds created by this trigger will require approval before they execute.
	// Any user with a Cloud Build Approver role for the project can approve a build.
	// Structure is documented below.
	ApprovalConfig TriggerApprovalConfigPtrInput
	// BitbucketServerTriggerConfig describes the configuration of a trigger that creates a build whenever a Bitbucket Server event is received.
	// Structure is documented below.
	BitbucketServerTriggerConfig TriggerBitbucketServerTriggerConfigPtrInput
	// 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. Set this only when using triggerTemplate or github.
	// When using Pub/Sub, Webhook or Manual set the file name using gitFileSource instead.
	Filename pulumi.StringPtrInput
	// A Common Expression Language string. Used only with Pub/Sub and Webhook.
	Filter pulumi.StringPtrInput
	// The file source describing the local or remote Build template.
	// Structure is documented below.
	GitFileSource TriggerGitFileSourcePtrInput
	// 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
	// Build logs will be sent back to GitHub as part of the checkrun
	// result.  Values can be INCLUDE_BUILD_LOGS_UNSPECIFIED or
	// INCLUDE_BUILD_LOGS_WITH_STATUS
	// Possible values are: `INCLUDE_BUILD_LOGS_UNSPECIFIED`, `INCLUDE_BUILD_LOGS_WITH_STATUS`.
	IncludeBuildLogs pulumi.StringPtrInput
	// 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
	// The [Cloud Build location](https://cloud.google.com/build/docs/locations) for the trigger.
	// If not specified, "global" is used.
	Location pulumi.StringPtrInput
	// Name of the trigger. Must be unique within the project.
	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` `webhookConfig` or `sourceToBuild` must be provided.
	// Structure is documented below.
	PubsubConfig TriggerPubsubConfigPtrInput
	// The configuration of a trigger that creates a build whenever an event from Repo API is received.
	// Structure is documented below.
	RepositoryEventConfig TriggerRepositoryEventConfigPtrInput
	// 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
	// The repo and ref of the repository from which to build.
	// This field is used only for those triggers that do not respond to SCM events.
	// Triggers that respond to such events build source at whatever commit caused the event.
	// This field is currently only used by Webhook, Pub/Sub, Manual, and Cron triggers.
	// One of `triggerTemplate`, `github`, `pubsubConfig` `webhookConfig` or `sourceToBuild` must be provided.
	// Structure is documented below.
	SourceToBuild TriggerSourceToBuildPtrInput
	// Substitutions data for Build resource.
	Substitutions pulumi.StringMapInput
	// Tags for annotation of a BuildTrigger
	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`, `webhookConfig` or `sourceToBuild` 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` `webhookConfig` or `sourceToBuild` must be provided.
	// Structure is documented below.
	WebhookConfig TriggerWebhookConfigPtrInput
}

func (TriggerState) ElementType

func (TriggerState) ElementType() reflect.Type

type TriggerTriggerTemplate

type TriggerTriggerTemplate struct {
	// Name of the branch to build. Exactly one a of branch name, tag, or commit SHA must be provided.
	// This field is a regular expression.
	BranchName *string `pulumi:"branchName"`
	// Explicit commit SHA to build. Exactly one of a branch name, tag, or commit SHA must be provided.
	CommitSha *string `pulumi:"commitSha"`
	// Directory, relative to the source root, in which to run the build.
	// This must be a relative path. If a step's dir is specified and
	// is an absolute path, this value is ignored for that 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. If omitted, the name "default" is assumed.
	RepoName *string `pulumi:"repoName"`
	// Name of the tag to build. Exactly one of a branch name, tag, or commit SHA must be provided.
	// This field is a regular expression.
	TagName *string `pulumi:"tagName"`
}

type TriggerTriggerTemplateArgs

type TriggerTriggerTemplateArgs struct {
	// Name of the branch to build. Exactly one a of branch name, tag, or commit SHA must be provided.
	// This field is a regular expression.
	BranchName pulumi.StringPtrInput `pulumi:"branchName"`
	// Explicit commit SHA to build. Exactly one of a branch name, tag, or commit SHA must be provided.
	CommitSha pulumi.StringPtrInput `pulumi:"commitSha"`
	// Directory, relative to the source root, in which to run the build.
	// This must be a relative path. If a step's dir is specified and
	// is an absolute path, this value is ignored for that 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. If omitted, the name "default" is assumed.
	RepoName pulumi.StringPtrInput `pulumi:"repoName"`
	// Name of the tag to build. Exactly one of a branch name, tag, or commit SHA must be provided.
	// This field is a regular expression.
	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

Name of the branch to build. Exactly one a of branch name, tag, or commit SHA must be provided. This field is a regular expression.

func (TriggerTriggerTemplateOutput) CommitSha

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

func (TriggerTriggerTemplateOutput) Dir

Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's dir is specified and is an absolute path, this value is ignored for that 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. If omitted, the name "default" is assumed.

func (TriggerTriggerTemplateOutput) TagName

Name of the tag to build. Exactly one of a branch name, tag, or commit SHA must be provided. This field is a regular expression.

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

Name of the branch to build. Exactly one a of branch name, tag, or commit SHA must be provided. This field is a regular expression.

func (TriggerTriggerTemplatePtrOutput) CommitSha

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

func (TriggerTriggerTemplatePtrOutput) Dir

Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's dir is specified and is an absolute path, this value is ignored for that 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. If omitted, the name "default" is assumed.

func (TriggerTriggerTemplatePtrOutput) TagName

Name of the tag to build. Exactly one of a branch name, tag, or commit SHA must be provided. This field is a regular expression.

func (TriggerTriggerTemplatePtrOutput) ToTriggerTriggerTemplatePtrOutput

func (o TriggerTriggerTemplatePtrOutput) ToTriggerTriggerTemplatePtrOutput() TriggerTriggerTemplatePtrOutput

func (TriggerTriggerTemplatePtrOutput) ToTriggerTriggerTemplatePtrOutputWithContext

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

type TriggerWebhookConfig

type TriggerWebhookConfig struct {
	// Resource name for the secret required as a URL parameter.
	Secret string `pulumi:"secret"`
	// (Output)
	// Potential issues with the underlying Pub/Sub subscription configuration.
	// Only populated on get requests.
	State *string `pulumi:"state"`
}

type TriggerWebhookConfigArgs

type TriggerWebhookConfigArgs struct {
	// Resource name for the secret required as a URL parameter.
	Secret pulumi.StringInput `pulumi:"secret"`
	// (Output)
	// Potential issues with the underlying Pub/Sub subscription configuration.
	// Only populated on get requests.
	State pulumi.StringPtrInput `pulumi:"state"`
}

func (TriggerWebhookConfigArgs) ElementType

func (TriggerWebhookConfigArgs) ElementType() reflect.Type

func (TriggerWebhookConfigArgs) ToTriggerWebhookConfigOutput

func (i TriggerWebhookConfigArgs) ToTriggerWebhookConfigOutput() TriggerWebhookConfigOutput

func (TriggerWebhookConfigArgs) ToTriggerWebhookConfigOutputWithContext

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

func (TriggerWebhookConfigArgs) ToTriggerWebhookConfigPtrOutput

func (i TriggerWebhookConfigArgs) ToTriggerWebhookConfigPtrOutput() TriggerWebhookConfigPtrOutput

func (TriggerWebhookConfigArgs) ToTriggerWebhookConfigPtrOutputWithContext

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

type TriggerWebhookConfigInput

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

type TriggerWebhookConfigOutput struct{ *pulumi.OutputState }

func (TriggerWebhookConfigOutput) ElementType

func (TriggerWebhookConfigOutput) ElementType() reflect.Type

func (TriggerWebhookConfigOutput) Secret

Resource name for the secret required as a URL parameter.

func (TriggerWebhookConfigOutput) State

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

func (TriggerWebhookConfigOutput) ToTriggerWebhookConfigOutput

func (o TriggerWebhookConfigOutput) ToTriggerWebhookConfigOutput() TriggerWebhookConfigOutput

func (TriggerWebhookConfigOutput) ToTriggerWebhookConfigOutputWithContext

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

func (TriggerWebhookConfigOutput) ToTriggerWebhookConfigPtrOutput

func (o TriggerWebhookConfigOutput) ToTriggerWebhookConfigPtrOutput() TriggerWebhookConfigPtrOutput

func (TriggerWebhookConfigOutput) ToTriggerWebhookConfigPtrOutputWithContext

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

type TriggerWebhookConfigPtrInput

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

type TriggerWebhookConfigPtrOutput

type TriggerWebhookConfigPtrOutput struct{ *pulumi.OutputState }

func (TriggerWebhookConfigPtrOutput) Elem

func (TriggerWebhookConfigPtrOutput) ElementType

func (TriggerWebhookConfigPtrOutput) Secret

Resource name for the secret required as a URL parameter.

func (TriggerWebhookConfigPtrOutput) State

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

func (TriggerWebhookConfigPtrOutput) ToTriggerWebhookConfigPtrOutput

func (o TriggerWebhookConfigPtrOutput) ToTriggerWebhookConfigPtrOutput() TriggerWebhookConfigPtrOutput

func (TriggerWebhookConfigPtrOutput) ToTriggerWebhookConfigPtrOutputWithContext

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

type WorkerPool

type WorkerPool struct {
	pulumi.CustomResourceState

	// User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size
	// limitations. **Note**: This field is non-authoritative, and will only manage the annotations present in your
	// configuration. Please refer to the field `effective_annotations` for all of the annotations present on the resource.
	Annotations pulumi.StringMapOutput `pulumi:"annotations"`
	// 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"`
	// A user-specified, human-readable name for the `WorkerPool`. If provided, this value must be 1-63 characters.
	DisplayName pulumi.StringPtrOutput `pulumi:"displayName"`
	// All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
	// Terraform, other clients and services.
	EffectiveAnnotations pulumi.MapOutput `pulumi:"effectiveAnnotations"`
	// 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. A unique identifier for the `WorkerPool`.
	Uid pulumi.StringOutput `pulumi:"uid"`
	// 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"`
}

Definition of custom Cloud Build WorkerPools for running jobs with custom configuration and custom networking.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudbuild.NewWorkerPool(ctx, "pool", &cloudbuild.WorkerPoolArgs{
			Name:     pulumi.String("my-pool"),
			Location: pulumi.String("europe-west1"),
			WorkerConfig: &cloudbuild.WorkerPoolWorkerConfigArgs{
				DiskSizeGb:   pulumi.Int(100),
				MachineType:  pulumi.String("e2-standard-4"),
				NoExternalIp: pulumi.Bool(false),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Network Config

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/cloudbuild"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/projects"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/servicenetworking"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := projects.NewService(ctx, "servicenetworking", &projects.ServiceArgs{
			Service:          pulumi.String("servicenetworking.googleapis.com"),
			DisableOnDestroy: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		network, err := compute.NewNetwork(ctx, "network", &compute.NetworkArgs{
			Name:                  pulumi.String("my-network"),
			AutoCreateSubnetworks: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		workerRange, err := compute.NewGlobalAddress(ctx, "worker_range", &compute.GlobalAddressArgs{
			Name:         pulumi.String("worker-pool-range"),
			Purpose:      pulumi.String("VPC_PEERING"),
			AddressType:  pulumi.String("INTERNAL"),
			PrefixLength: pulumi.Int(16),
			Network:      network.ID(),
		})
		if err != nil {
			return err
		}
		_, err = servicenetworking.NewConnection(ctx, "worker_pool_conn", &servicenetworking.ConnectionArgs{
			Network: network.ID(),
			Service: pulumi.String("servicenetworking.googleapis.com"),
			ReservedPeeringRanges: pulumi.StringArray{
				workerRange.Name,
			},
		})
		if err != nil {
			return err
		}
		_, err = cloudbuild.NewWorkerPool(ctx, "pool", &cloudbuild.WorkerPoolArgs{
			Name:     pulumi.String("my-pool"),
			Location: pulumi.String("europe-west1"),
			WorkerConfig: &cloudbuild.WorkerPoolWorkerConfigArgs{
				DiskSizeGb:   pulumi.Int(100),
				MachineType:  pulumi.String("e2-standard-4"),
				NoExternalIp: pulumi.Bool(false),
			},
			NetworkConfig: &cloudbuild.WorkerPoolNetworkConfigArgs{
				PeeredNetwork:        network.ID(),
				PeeredNetworkIpRange: pulumi.String("/29"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

WorkerPool can be imported using any of these accepted formats:

* `projects/{{project}}/locations/{{location}}/workerPools/{{name}}`

* `{{project}}/{{location}}/{{name}}`

* `{{location}}/{{name}}`

When using the `pulumi import` command, WorkerPool can be imported using one of the formats above. For example:

```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

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

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

func (*WorkerPool) ElementType() reflect.Type

func (*WorkerPool) ToWorkerPoolOutput

func (i *WorkerPool) ToWorkerPoolOutput() WorkerPoolOutput

func (*WorkerPool) ToWorkerPoolOutputWithContext

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

type WorkerPoolArgs

type WorkerPoolArgs struct {
	// User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size
	// limitations. **Note**: This field is non-authoritative, and will only manage the annotations present in your
	// configuration. Please refer to the field `effective_annotations` for all of the annotations present on the resource.
	Annotations pulumi.StringMapInput
	// A user-specified, human-readable name for the `WorkerPool`. If provided, this value must be 1-63 characters.
	DisplayName pulumi.StringPtrInput
	// 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

func (WorkerPoolArgs) ElementType() reflect.Type

type WorkerPoolArray

type WorkerPoolArray []WorkerPoolInput

func (WorkerPoolArray) ElementType

func (WorkerPoolArray) ElementType() reflect.Type

func (WorkerPoolArray) ToWorkerPoolArrayOutput

func (i WorkerPoolArray) ToWorkerPoolArrayOutput() WorkerPoolArrayOutput

func (WorkerPoolArray) ToWorkerPoolArrayOutputWithContext

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

type WorkerPoolArrayInput

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

type WorkerPoolArrayOutput struct{ *pulumi.OutputState }

func (WorkerPoolArrayOutput) ElementType

func (WorkerPoolArrayOutput) ElementType() reflect.Type

func (WorkerPoolArrayOutput) Index

func (WorkerPoolArrayOutput) ToWorkerPoolArrayOutput

func (o WorkerPoolArrayOutput) ToWorkerPoolArrayOutput() WorkerPoolArrayOutput

func (WorkerPoolArrayOutput) ToWorkerPoolArrayOutputWithContext

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

type WorkerPoolInput

type WorkerPoolInput interface {
	pulumi.Input

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

type WorkerPoolMap

type WorkerPoolMap map[string]WorkerPoolInput

func (WorkerPoolMap) ElementType

func (WorkerPoolMap) ElementType() reflect.Type

func (WorkerPoolMap) ToWorkerPoolMapOutput

func (i WorkerPoolMap) ToWorkerPoolMapOutput() WorkerPoolMapOutput

func (WorkerPoolMap) ToWorkerPoolMapOutputWithContext

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

type WorkerPoolMapInput

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

type WorkerPoolMapOutput struct{ *pulumi.OutputState }

func (WorkerPoolMapOutput) ElementType

func (WorkerPoolMapOutput) ElementType() reflect.Type

func (WorkerPoolMapOutput) MapIndex

func (WorkerPoolMapOutput) ToWorkerPoolMapOutput

func (o WorkerPoolMapOutput) ToWorkerPoolMapOutput() WorkerPoolMapOutput

func (WorkerPoolMapOutput) ToWorkerPoolMapOutputWithContext

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

type WorkerPoolNetworkConfig

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"`
	// Immutable. Subnet IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g. `192.168.0.0/29` would specify an IP range starting at 192.168.0.0 with a prefix size of 29 bits. `/16` would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of `/24` will be used.
	PeeredNetworkIpRange *string `pulumi:"peeredNetworkIpRange"`
}

type WorkerPoolNetworkConfigArgs

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"`
	// Immutable. Subnet IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g. `192.168.0.0/29` would specify an IP range starting at 192.168.0.0 with a prefix size of 29 bits. `/16` would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of `/24` will be used.
	PeeredNetworkIpRange pulumi.StringPtrInput `pulumi:"peeredNetworkIpRange"`
}

func (WorkerPoolNetworkConfigArgs) ElementType

func (WorkerPoolNetworkConfigArgs) ToWorkerPoolNetworkConfigOutput

func (i WorkerPoolNetworkConfigArgs) ToWorkerPoolNetworkConfigOutput() WorkerPoolNetworkConfigOutput

func (WorkerPoolNetworkConfigArgs) ToWorkerPoolNetworkConfigOutputWithContext

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

func (WorkerPoolNetworkConfigArgs) ToWorkerPoolNetworkConfigPtrOutput

func (i WorkerPoolNetworkConfigArgs) ToWorkerPoolNetworkConfigPtrOutput() WorkerPoolNetworkConfigPtrOutput

func (WorkerPoolNetworkConfigArgs) ToWorkerPoolNetworkConfigPtrOutputWithContext

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

type WorkerPoolNetworkConfigInput

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

type WorkerPoolNetworkConfigOutput struct{ *pulumi.OutputState }

func (WorkerPoolNetworkConfigOutput) ElementType

func (WorkerPoolNetworkConfigOutput) PeeredNetwork

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) PeeredNetworkIpRange

func (o WorkerPoolNetworkConfigOutput) PeeredNetworkIpRange() pulumi.StringPtrOutput

Immutable. Subnet IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g. `192.168.0.0/29` would specify an IP range starting at 192.168.0.0 with a prefix size of 29 bits. `/16` would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of `/24` will be used.

func (WorkerPoolNetworkConfigOutput) ToWorkerPoolNetworkConfigOutput

func (o WorkerPoolNetworkConfigOutput) ToWorkerPoolNetworkConfigOutput() WorkerPoolNetworkConfigOutput

func (WorkerPoolNetworkConfigOutput) ToWorkerPoolNetworkConfigOutputWithContext

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

func (WorkerPoolNetworkConfigOutput) ToWorkerPoolNetworkConfigPtrOutput

func (o WorkerPoolNetworkConfigOutput) ToWorkerPoolNetworkConfigPtrOutput() WorkerPoolNetworkConfigPtrOutput

func (WorkerPoolNetworkConfigOutput) ToWorkerPoolNetworkConfigPtrOutputWithContext

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

type WorkerPoolNetworkConfigPtrInput

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

type WorkerPoolNetworkConfigPtrOutput

type WorkerPoolNetworkConfigPtrOutput struct{ *pulumi.OutputState }

func (WorkerPoolNetworkConfigPtrOutput) Elem

func (WorkerPoolNetworkConfigPtrOutput) ElementType

func (WorkerPoolNetworkConfigPtrOutput) PeeredNetwork

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) PeeredNetworkIpRange

func (o WorkerPoolNetworkConfigPtrOutput) PeeredNetworkIpRange() pulumi.StringPtrOutput

Immutable. Subnet IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g. `192.168.0.0/29` would specify an IP range starting at 192.168.0.0 with a prefix size of 29 bits. `/16` would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of `/24` will be used.

func (WorkerPoolNetworkConfigPtrOutput) ToWorkerPoolNetworkConfigPtrOutput

func (o WorkerPoolNetworkConfigPtrOutput) ToWorkerPoolNetworkConfigPtrOutput() WorkerPoolNetworkConfigPtrOutput

func (WorkerPoolNetworkConfigPtrOutput) ToWorkerPoolNetworkConfigPtrOutputWithContext

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

type WorkerPoolOutput

type WorkerPoolOutput struct{ *pulumi.OutputState }

func (WorkerPoolOutput) Annotations

func (o WorkerPoolOutput) Annotations() pulumi.StringMapOutput

User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations. **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field `effective_annotations` for all of the annotations present on the resource.

func (WorkerPoolOutput) CreateTime

func (o WorkerPoolOutput) CreateTime() pulumi.StringOutput

Output only. Time at which the request to create the `WorkerPool` was received.

func (WorkerPoolOutput) DeleteTime

func (o WorkerPoolOutput) DeleteTime() pulumi.StringOutput

Output only. Time at which the request to delete the `WorkerPool` was received.

func (WorkerPoolOutput) DisplayName

func (o WorkerPoolOutput) DisplayName() pulumi.StringPtrOutput

A user-specified, human-readable name for the `WorkerPool`. If provided, this value must be 1-63 characters.

func (WorkerPoolOutput) EffectiveAnnotations

func (o WorkerPoolOutput) EffectiveAnnotations() pulumi.MapOutput

All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.

func (WorkerPoolOutput) ElementType

func (WorkerPoolOutput) ElementType() reflect.Type

func (WorkerPoolOutput) Location

func (o WorkerPoolOutput) Location() pulumi.StringOutput

The location for the resource

func (WorkerPoolOutput) Name

User-defined name of the `WorkerPool`.

***

func (WorkerPoolOutput) NetworkConfig

Network configuration for the `WorkerPool`. Structure is documented below.

func (WorkerPoolOutput) Project

func (o WorkerPoolOutput) Project() pulumi.StringOutput

The project for the resource

func (WorkerPoolOutput) State

Output only. WorkerPool state. Possible values: STATE_UNSPECIFIED, PENDING, APPROVED, REJECTED, CANCELLED

func (WorkerPoolOutput) ToWorkerPoolOutput

func (o WorkerPoolOutput) ToWorkerPoolOutput() WorkerPoolOutput

func (WorkerPoolOutput) ToWorkerPoolOutputWithContext

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

func (WorkerPoolOutput) Uid

Output only. A unique identifier for the `WorkerPool`.

func (WorkerPoolOutput) UpdateTime

func (o WorkerPoolOutput) UpdateTime() pulumi.StringOutput

Output only. Time at which the request to update the `WorkerPool` was received.

func (WorkerPoolOutput) WorkerConfig

Configuration to be used for a creating workers in the `WorkerPool`. Structure is documented below.

type WorkerPoolState

type WorkerPoolState struct {
	// User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size
	// limitations. **Note**: This field is non-authoritative, and will only manage the annotations present in your
	// configuration. Please refer to the field `effective_annotations` for all of the annotations present on the resource.
	Annotations pulumi.StringMapInput
	// 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
	// A user-specified, human-readable name for the `WorkerPool`. If provided, this value must be 1-63 characters.
	DisplayName pulumi.StringPtrInput
	// All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
	// Terraform, other clients and services.
	EffectiveAnnotations pulumi.MapInput
	// 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. A unique identifier for the `WorkerPool`.
	Uid 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

func (WorkerPoolState) ElementType() reflect.Type

type WorkerPoolWorkerConfig

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

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

func (WorkerPoolWorkerConfigArgs) ElementType() reflect.Type

func (WorkerPoolWorkerConfigArgs) ToWorkerPoolWorkerConfigOutput

func (i WorkerPoolWorkerConfigArgs) ToWorkerPoolWorkerConfigOutput() WorkerPoolWorkerConfigOutput

func (WorkerPoolWorkerConfigArgs) ToWorkerPoolWorkerConfigOutputWithContext

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

func (WorkerPoolWorkerConfigArgs) ToWorkerPoolWorkerConfigPtrOutput

func (i WorkerPoolWorkerConfigArgs) ToWorkerPoolWorkerConfigPtrOutput() WorkerPoolWorkerConfigPtrOutput

func (WorkerPoolWorkerConfigArgs) ToWorkerPoolWorkerConfigPtrOutputWithContext

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

type WorkerPoolWorkerConfigInput

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

type WorkerPoolWorkerConfigOutput struct{ *pulumi.OutputState }

func (WorkerPoolWorkerConfigOutput) DiskSizeGb

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

func (WorkerPoolWorkerConfigOutput) MachineType

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

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

func (WorkerPoolWorkerConfigOutput) ToWorkerPoolWorkerConfigOutput

func (o WorkerPoolWorkerConfigOutput) ToWorkerPoolWorkerConfigOutput() WorkerPoolWorkerConfigOutput

func (WorkerPoolWorkerConfigOutput) ToWorkerPoolWorkerConfigOutputWithContext

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

func (WorkerPoolWorkerConfigOutput) ToWorkerPoolWorkerConfigPtrOutput

func (o WorkerPoolWorkerConfigOutput) ToWorkerPoolWorkerConfigPtrOutput() WorkerPoolWorkerConfigPtrOutput

func (WorkerPoolWorkerConfigOutput) ToWorkerPoolWorkerConfigPtrOutputWithContext

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

type WorkerPoolWorkerConfigPtrInput

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

type WorkerPoolWorkerConfigPtrOutput

type WorkerPoolWorkerConfigPtrOutput struct{ *pulumi.OutputState }

func (WorkerPoolWorkerConfigPtrOutput) DiskSizeGb

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

func (WorkerPoolWorkerConfigPtrOutput) ElementType

func (WorkerPoolWorkerConfigPtrOutput) MachineType

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

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

func (WorkerPoolWorkerConfigPtrOutput) ToWorkerPoolWorkerConfigPtrOutput

func (o WorkerPoolWorkerConfigPtrOutput) ToWorkerPoolWorkerConfigPtrOutput() WorkerPoolWorkerConfigPtrOutput

func (WorkerPoolWorkerConfigPtrOutput) ToWorkerPoolWorkerConfigPtrOutputWithContext

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