Class TriggerSourceToBuild
- java.lang.Object
-
- com.pulumi.gcp.cloudbuild.outputs.TriggerSourceToBuild
-
public final class TriggerSourceToBuild extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TriggerSourceToBuild.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.String>
bitbucketServerConfig()
static TriggerSourceToBuild.Builder
builder()
static TriggerSourceToBuild.Builder
builder(TriggerSourceToBuild defaults)
java.util.Optional<java.lang.String>
githubEnterpriseConfig()
java.lang.String
ref()
java.util.Optional<java.lang.String>
repository()
java.lang.String
repoType()
java.util.Optional<java.lang.String>
uri()
-
-
-
Method Detail
-
bitbucketServerConfig
public java.util.Optional<java.lang.String> bitbucketServerConfig()
- Returns:
- The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
-
githubEnterpriseConfig
public java.util.Optional<java.lang.String> githubEnterpriseConfig()
- Returns:
- The full resource name of the github enterprise config. Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
-
ref
public java.lang.String ref()
- Returns:
- The branch or tag to use. Must start with "refs/" (required).
-
repoType
public java.lang.String repoType()
- Returns:
- 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`.
-
repository
public java.util.Optional<java.lang.String> repository()
- Returns:
- The qualified resource name of the Repo API repository. Either uri or repository can be specified and is required.
-
uri
public java.util.Optional<java.lang.String> uri()
- Returns:
- The URI of the repo.
-
builder
public static TriggerSourceToBuild.Builder builder()
-
builder
public static TriggerSourceToBuild.Builder builder(TriggerSourceToBuild defaults)
-
-