Class TriggerSourceToBuild


  • public final class TriggerSourceToBuild
    extends java.lang.Object
    • 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.