Class: Google::Cloud::Build::V1::Build

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb

Overview

A build resource in the Cloud Build API.

At a high level, a Build describes where to find source code, how to build it (for example, the builder image to run on the source), and where to store the built artifacts.

Fields can include the following variables, which will be expanded when the build is created:

  • $PROJECT_ID: the project ID of the build.
  • $PROJECT_NUMBER: the project number of the build.
  • $LOCATION: the location/region of the build.
  • $BUILD_ID: the autogenerated ID of the build.
  • $REPO_NAME: the source repository name specified by RepoSource.
  • $BRANCH_NAME: the branch name specified by RepoSource.
  • $TAG_NAME: the tag name specified by RepoSource.
  • $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or resolved from the specified branch or tag.
  • $SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA.

Defined Under Namespace

Modules: Status Classes: FailureInfo, SubstitutionsEntry, TimingEntry, Warning

Instance Attribute Summary collapse

Instance Attribute Details

#approval::Google::Cloud::Build::V1::BuildApproval (readonly)

Returns Output only. Describes this build's approval configuration, status, and result.

Returns:



749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 749

class Build
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A non-fatal problem encountered during the execution of the build.
  # @!attribute [rw] text
  #   @return [::String]
  #     Explanation of the warning generated.
  # @!attribute [rw] priority
  #   @return [::Google::Cloud::Build::V1::Build::Warning::Priority]
  #     The priority for this warning.
  class Warning
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The relative importance of this warning.
    module Priority
      # Should not be used.
      PRIORITY_UNSPECIFIED = 0

      # e.g. deprecation warnings and alternative feature highlights.
      INFO = 1

      # e.g. automated detection of possible issues with the build.
      WARNING = 2

      # e.g. alerts that a feature used in the build is pending removal
      ALERT = 3
    end
  end

  # A fatal problem encountered during the execution of the build.
  # @!attribute [rw] type
  #   @return [::Google::Cloud::Build::V1::Build::FailureInfo::FailureType]
  #     The name of the failure.
  # @!attribute [rw] detail
  #   @return [::String]
  #     Explains the failure issue in more detail using hard-coded text.
  class FailureInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The name of a fatal problem encountered during the execution of the
    # build.
    module FailureType
      # Type unspecified
      FAILURE_TYPE_UNSPECIFIED = 0

      # Unable to push the image to the repository.
      PUSH_FAILED = 1

      # Final image not found.
      PUSH_IMAGE_NOT_FOUND = 2

      # Unauthorized push of the final image.
      PUSH_NOT_AUTHORIZED = 3

      # Backend logging failures. Should retry.
      LOGGING_FAILURE = 4

      # A build step has failed.
      USER_BUILD_STEP = 5

      # The source fetching has failed.
      FETCH_SOURCE_FAILED = 6
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SubstitutionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Build::V1::TimeSpan]
  class TimingEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible status of a build or build step.
  module Status
    # Status of the build is unknown.
    STATUS_UNKNOWN = 0

    # Build has been created and is pending execution and queuing. It has not
    # been queued.
    PENDING = 10

    # Build or step is queued; work has not yet begun.
    QUEUED = 1

    # Build or step is being executed.
    WORKING = 2

    # Build or step finished successfully.
    SUCCESS = 3

    # Build or step failed to complete successfully.
    FAILURE = 4

    # Build or step failed due to an internal cause.
    INTERNAL_ERROR = 5

    # Build or step took longer than was allowed.
    TIMEOUT = 6

    # Build or step was canceled by a user.
    CANCELLED = 7

    # Build was enqueued for longer than the value of `queue_ttl`.
    EXPIRED = 9
  end
end

#artifacts::Google::Cloud::Build::V1::Artifacts

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

Returns:



749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 749

class Build
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A non-fatal problem encountered during the execution of the build.
  # @!attribute [rw] text
  #   @return [::String]
  #     Explanation of the warning generated.
  # @!attribute [rw] priority
  #   @return [::Google::Cloud::Build::V1::Build::Warning::Priority]
  #     The priority for this warning.
  class Warning
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The relative importance of this warning.
    module Priority
      # Should not be used.
      PRIORITY_UNSPECIFIED = 0

      # e.g. deprecation warnings and alternative feature highlights.
      INFO = 1

      # e.g. automated detection of possible issues with the build.
      WARNING = 2

      # e.g. alerts that a feature used in the build is pending removal
      ALERT = 3
    end
  end

  # A fatal problem encountered during the execution of the build.
  # @!attribute [rw] type
  #   @return [::Google::Cloud::Build::V1::Build::FailureInfo::FailureType]
  #     The name of the failure.
  # @!attribute [rw] detail
  #   @return [::String]
  #     Explains the failure issue in more detail using hard-coded text.
  class FailureInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The name of a fatal problem encountered during the execution of the
    # build.
    module FailureType
      # Type unspecified
      FAILURE_TYPE_UNSPECIFIED = 0

      # Unable to push the image to the repository.
      PUSH_FAILED = 1

      # Final image not found.
      PUSH_IMAGE_NOT_FOUND = 2

      # Unauthorized push of the final image.
      PUSH_NOT_AUTHORIZED = 3

      # Backend logging failures. Should retry.
      LOGGING_FAILURE = 4

      # A build step has failed.
      USER_BUILD_STEP = 5

      # The source fetching has failed.
      FETCH_SOURCE_FAILED = 6
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SubstitutionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Build::V1::TimeSpan]
  class TimingEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible status of a build or build step.
  module Status
    # Status of the build is unknown.
    STATUS_UNKNOWN = 0

    # Build has been created and is pending execution and queuing. It has not
    # been queued.
    PENDING = 10

    # Build or step is queued; work has not yet begun.
    QUEUED = 1

    # Build or step is being executed.
    WORKING = 2

    # Build or step finished successfully.
    SUCCESS = 3

    # Build or step failed to complete successfully.
    FAILURE = 4

    # Build or step failed due to an internal cause.
    INTERNAL_ERROR = 5

    # Build or step took longer than was allowed.
    TIMEOUT = 6

    # Build or step was canceled by a user.
    CANCELLED = 7

    # Build was enqueued for longer than the value of `queue_ttl`.
    EXPIRED = 9
  end
end

#available_secrets::Google::Cloud::Build::V1::Secrets

Returns Secrets and secret environment variables.

Returns:



749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 749

class Build
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A non-fatal problem encountered during the execution of the build.
  # @!attribute [rw] text
  #   @return [::String]
  #     Explanation of the warning generated.
  # @!attribute [rw] priority
  #   @return [::Google::Cloud::Build::V1::Build::Warning::Priority]
  #     The priority for this warning.
  class Warning
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The relative importance of this warning.
    module Priority
      # Should not be used.
      PRIORITY_UNSPECIFIED = 0

      # e.g. deprecation warnings and alternative feature highlights.
      INFO = 1

      # e.g. automated detection of possible issues with the build.
      WARNING = 2

      # e.g. alerts that a feature used in the build is pending removal
      ALERT = 3
    end
  end

  # A fatal problem encountered during the execution of the build.
  # @!attribute [rw] type
  #   @return [::Google::Cloud::Build::V1::Build::FailureInfo::FailureType]
  #     The name of the failure.
  # @!attribute [rw] detail
  #   @return [::String]
  #     Explains the failure issue in more detail using hard-coded text.
  class FailureInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The name of a fatal problem encountered during the execution of the
    # build.
    module FailureType
      # Type unspecified
      FAILURE_TYPE_UNSPECIFIED = 0

      # Unable to push the image to the repository.
      PUSH_FAILED = 1

      # Final image not found.
      PUSH_IMAGE_NOT_FOUND = 2

      # Unauthorized push of the final image.
      PUSH_NOT_AUTHORIZED = 3

      # Backend logging failures. Should retry.
      LOGGING_FAILURE = 4

      # A build step has failed.
      USER_BUILD_STEP = 5

      # The source fetching has failed.
      FETCH_SOURCE_FAILED = 6
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SubstitutionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Build::V1::TimeSpan]
  class TimingEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible status of a build or build step.
  module Status
    # Status of the build is unknown.
    STATUS_UNKNOWN = 0

    # Build has been created and is pending execution and queuing. It has not
    # been queued.
    PENDING = 10

    # Build or step is queued; work has not yet begun.
    QUEUED = 1

    # Build or step is being executed.
    WORKING = 2

    # Build or step finished successfully.
    SUCCESS = 3

    # Build or step failed to complete successfully.
    FAILURE = 4

    # Build or step failed due to an internal cause.
    INTERNAL_ERROR = 5

    # Build or step took longer than was allowed.
    TIMEOUT = 6

    # Build or step was canceled by a user.
    CANCELLED = 7

    # Build was enqueued for longer than the value of `queue_ttl`.
    EXPIRED = 9
  end
end

#build_trigger_id::String (readonly)

Returns Output only. The ID of the BuildTrigger that triggered this build, if it was triggered automatically.

Returns:

  • (::String)

    Output only. The ID of the BuildTrigger that triggered this build, if it was triggered automatically.



749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 749

class Build
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A non-fatal problem encountered during the execution of the build.
  # @!attribute [rw] text
  #   @return [::String]
  #     Explanation of the warning generated.
  # @!attribute [rw] priority
  #   @return [::Google::Cloud::Build::V1::Build::Warning::Priority]
  #     The priority for this warning.
  class Warning
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The relative importance of this warning.
    module Priority
      # Should not be used.
      PRIORITY_UNSPECIFIED = 0

      # e.g. deprecation warnings and alternative feature highlights.
      INFO = 1

      # e.g. automated detection of possible issues with the build.
      WARNING = 2

      # e.g. alerts that a feature used in the build is pending removal
      ALERT = 3
    end
  end

  # A fatal problem encountered during the execution of the build.
  # @!attribute [rw] type
  #   @return [::Google::Cloud::Build::V1::Build::FailureInfo::FailureType]
  #     The name of the failure.
  # @!attribute [rw] detail
  #   @return [::String]
  #     Explains the failure issue in more detail using hard-coded text.
  class FailureInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The name of a fatal problem encountered during the execution of the
    # build.
    module FailureType
      # Type unspecified
      FAILURE_TYPE_UNSPECIFIED = 0

      # Unable to push the image to the repository.
      PUSH_FAILED = 1

      # Final image not found.
      PUSH_IMAGE_NOT_FOUND = 2

      # Unauthorized push of the final image.
      PUSH_NOT_AUTHORIZED = 3

      # Backend logging failures. Should retry.
      LOGGING_FAILURE = 4

      # A build step has failed.
      USER_BUILD_STEP = 5

      # The source fetching has failed.
      FETCH_SOURCE_FAILED = 6
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SubstitutionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Build::V1::TimeSpan]
  class TimingEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible status of a build or build step.
  module Status
    # Status of the build is unknown.
    STATUS_UNKNOWN = 0

    # Build has been created and is pending execution and queuing. It has not
    # been queued.
    PENDING = 10

    # Build or step is queued; work has not yet begun.
    QUEUED = 1

    # Build or step is being executed.
    WORKING = 2

    # Build or step finished successfully.
    SUCCESS = 3

    # Build or step failed to complete successfully.
    FAILURE = 4

    # Build or step failed due to an internal cause.
    INTERNAL_ERROR = 5

    # Build or step took longer than was allowed.
    TIMEOUT = 6

    # Build or step was canceled by a user.
    CANCELLED = 7

    # Build was enqueued for longer than the value of `queue_ttl`.
    EXPIRED = 9
  end
end

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Time at which the request to create the build was received.

Returns:



749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 749

class Build
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A non-fatal problem encountered during the execution of the build.
  # @!attribute [rw] text
  #   @return [::String]
  #     Explanation of the warning generated.
  # @!attribute [rw] priority
  #   @return [::Google::Cloud::Build::V1::Build::Warning::Priority]
  #     The priority for this warning.
  class Warning
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The relative importance of this warning.
    module Priority
      # Should not be used.
      PRIORITY_UNSPECIFIED = 0

      # e.g. deprecation warnings and alternative feature highlights.
      INFO = 1

      # e.g. automated detection of possible issues with the build.
      WARNING = 2

      # e.g. alerts that a feature used in the build is pending removal
      ALERT = 3
    end
  end

  # A fatal problem encountered during the execution of the build.
  # @!attribute [rw] type
  #   @return [::Google::Cloud::Build::V1::Build::FailureInfo::FailureType]
  #     The name of the failure.
  # @!attribute [rw] detail
  #   @return [::String]
  #     Explains the failure issue in more detail using hard-coded text.
  class FailureInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The name of a fatal problem encountered during the execution of the
    # build.
    module FailureType
      # Type unspecified
      FAILURE_TYPE_UNSPECIFIED = 0

      # Unable to push the image to the repository.
      PUSH_FAILED = 1

      # Final image not found.
      PUSH_IMAGE_NOT_FOUND = 2

      # Unauthorized push of the final image.
      PUSH_NOT_AUTHORIZED = 3

      # Backend logging failures. Should retry.
      LOGGING_FAILURE = 4

      # A build step has failed.
      USER_BUILD_STEP = 5

      # The source fetching has failed.
      FETCH_SOURCE_FAILED = 6
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SubstitutionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Build::V1::TimeSpan]
  class TimingEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible status of a build or build step.
  module Status
    # Status of the build is unknown.
    STATUS_UNKNOWN = 0

    # Build has been created and is pending execution and queuing. It has not
    # been queued.
    PENDING = 10

    # Build or step is queued; work has not yet begun.
    QUEUED = 1

    # Build or step is being executed.
    WORKING = 2

    # Build or step finished successfully.
    SUCCESS = 3

    # Build or step failed to complete successfully.
    FAILURE = 4

    # Build or step failed due to an internal cause.
    INTERNAL_ERROR = 5

    # Build or step took longer than was allowed.
    TIMEOUT = 6

    # Build or step was canceled by a user.
    CANCELLED = 7

    # Build was enqueued for longer than the value of `queue_ttl`.
    EXPIRED = 9
  end
end

#dependencies::Array<::Google::Cloud::Build::V1::Dependency>

Returns Optional. Dependencies that the Cloud Build worker will fetch before executing user steps.

Returns:



749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 749

class Build
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A non-fatal problem encountered during the execution of the build.
  # @!attribute [rw] text
  #   @return [::String]
  #     Explanation of the warning generated.
  # @!attribute [rw] priority
  #   @return [::Google::Cloud::Build::V1::Build::Warning::Priority]
  #     The priority for this warning.
  class Warning
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The relative importance of this warning.
    module Priority
      # Should not be used.
      PRIORITY_UNSPECIFIED = 0

      # e.g. deprecation warnings and alternative feature highlights.
      INFO = 1

      # e.g. automated detection of possible issues with the build.
      WARNING = 2

      # e.g. alerts that a feature used in the build is pending removal
      ALERT = 3
    end
  end

  # A fatal problem encountered during the execution of the build.
  # @!attribute [rw] type
  #   @return [::Google::Cloud::Build::V1::Build::FailureInfo::FailureType]
  #     The name of the failure.
  # @!attribute [rw] detail
  #   @return [::String]
  #     Explains the failure issue in more detail using hard-coded text.
  class FailureInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The name of a fatal problem encountered during the execution of the
    # build.
    module FailureType
      # Type unspecified
      FAILURE_TYPE_UNSPECIFIED = 0

      # Unable to push the image to the repository.
      PUSH_FAILED = 1

      # Final image not found.
      PUSH_IMAGE_NOT_FOUND = 2

      # Unauthorized push of the final image.
      PUSH_NOT_AUTHORIZED = 3

      # Backend logging failures. Should retry.
      LOGGING_FAILURE = 4

      # A build step has failed.
      USER_BUILD_STEP = 5

      # The source fetching has failed.
      FETCH_SOURCE_FAILED = 6
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SubstitutionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Build::V1::TimeSpan]
  class TimingEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible status of a build or build step.
  module Status
    # Status of the build is unknown.
    STATUS_UNKNOWN = 0

    # Build has been created and is pending execution and queuing. It has not
    # been queued.
    PENDING = 10

    # Build or step is queued; work has not yet begun.
    QUEUED = 1

    # Build or step is being executed.
    WORKING = 2

    # Build or step finished successfully.
    SUCCESS = 3

    # Build or step failed to complete successfully.
    FAILURE = 4

    # Build or step failed due to an internal cause.
    INTERNAL_ERROR = 5

    # Build or step took longer than was allowed.
    TIMEOUT = 6

    # Build or step was canceled by a user.
    CANCELLED = 7

    # Build was enqueued for longer than the value of `queue_ttl`.
    EXPIRED = 9
  end
end

#failure_info::Google::Cloud::Build::V1::Build::FailureInfo (readonly)

Returns Output only. Contains information about the build when status=FAILURE.

Returns:



749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 749

class Build
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A non-fatal problem encountered during the execution of the build.
  # @!attribute [rw] text
  #   @return [::String]
  #     Explanation of the warning generated.
  # @!attribute [rw] priority
  #   @return [::Google::Cloud::Build::V1::Build::Warning::Priority]
  #     The priority for this warning.
  class Warning
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The relative importance of this warning.
    module Priority
      # Should not be used.
      PRIORITY_UNSPECIFIED = 0

      # e.g. deprecation warnings and alternative feature highlights.
      INFO = 1

      # e.g. automated detection of possible issues with the build.
      WARNING = 2

      # e.g. alerts that a feature used in the build is pending removal
      ALERT = 3
    end
  end

  # A fatal problem encountered during the execution of the build.
  # @!attribute [rw] type
  #   @return [::Google::Cloud::Build::V1::Build::FailureInfo::FailureType]
  #     The name of the failure.
  # @!attribute [rw] detail
  #   @return [::String]
  #     Explains the failure issue in more detail using hard-coded text.
  class FailureInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The name of a fatal problem encountered during the execution of the
    # build.
    module FailureType
      # Type unspecified
      FAILURE_TYPE_UNSPECIFIED = 0

      # Unable to push the image to the repository.
      PUSH_FAILED = 1

      # Final image not found.
      PUSH_IMAGE_NOT_FOUND = 2

      # Unauthorized push of the final image.
      PUSH_NOT_AUTHORIZED = 3

      # Backend logging failures. Should retry.
      LOGGING_FAILURE = 4

      # A build step has failed.
      USER_BUILD_STEP = 5

      # The source fetching has failed.
      FETCH_SOURCE_FAILED = 6
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SubstitutionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Build::V1::TimeSpan]
  class TimingEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible status of a build or build step.
  module Status
    # Status of the build is unknown.
    STATUS_UNKNOWN = 0

    # Build has been created and is pending execution and queuing. It has not
    # been queued.
    PENDING = 10

    # Build or step is queued; work has not yet begun.
    QUEUED = 1

    # Build or step is being executed.
    WORKING = 2

    # Build or step finished successfully.
    SUCCESS = 3

    # Build or step failed to complete successfully.
    FAILURE = 4

    # Build or step failed due to an internal cause.
    INTERNAL_ERROR = 5

    # Build or step took longer than was allowed.
    TIMEOUT = 6

    # Build or step was canceled by a user.
    CANCELLED = 7

    # Build was enqueued for longer than the value of `queue_ttl`.
    EXPIRED = 9
  end
end

#finish_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Time at which execution of the build was finished.

The difference between finish_time and start_time is the duration of the build's execution.

Returns:

  • (::Google::Protobuf::Timestamp)

    Output only. Time at which execution of the build was finished.

    The difference between finish_time and start_time is the duration of the build's execution.



749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 749

class Build
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A non-fatal problem encountered during the execution of the build.
  # @!attribute [rw] text
  #   @return [::String]
  #     Explanation of the warning generated.
  # @!attribute [rw] priority
  #   @return [::Google::Cloud::Build::V1::Build::Warning::Priority]
  #     The priority for this warning.
  class Warning
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The relative importance of this warning.
    module Priority
      # Should not be used.
      PRIORITY_UNSPECIFIED = 0

      # e.g. deprecation warnings and alternative feature highlights.
      INFO = 1

      # e.g. automated detection of possible issues with the build.
      WARNING = 2

      # e.g. alerts that a feature used in the build is pending removal
      ALERT = 3
    end
  end

  # A fatal problem encountered during the execution of the build.
  # @!attribute [rw] type
  #   @return [::Google::Cloud::Build::V1::Build::FailureInfo::FailureType]
  #     The name of the failure.
  # @!attribute [rw] detail
  #   @return [::String]
  #     Explains the failure issue in more detail using hard-coded text.
  class FailureInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The name of a fatal problem encountered during the execution of the
    # build.
    module FailureType
      # Type unspecified
      FAILURE_TYPE_UNSPECIFIED = 0

      # Unable to push the image to the repository.
      PUSH_FAILED = 1

      # Final image not found.
      PUSH_IMAGE_NOT_FOUND = 2

      # Unauthorized push of the final image.
      PUSH_NOT_AUTHORIZED = 3

      # Backend logging failures. Should retry.
      LOGGING_FAILURE = 4

      # A build step has failed.
      USER_BUILD_STEP = 5

      # The source fetching has failed.
      FETCH_SOURCE_FAILED = 6
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SubstitutionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Build::V1::TimeSpan]
  class TimingEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible status of a build or build step.
  module Status
    # Status of the build is unknown.
    STATUS_UNKNOWN = 0

    # Build has been created and is pending execution and queuing. It has not
    # been queued.
    PENDING = 10

    # Build or step is queued; work has not yet begun.
    QUEUED = 1

    # Build or step is being executed.
    WORKING = 2

    # Build or step finished successfully.
    SUCCESS = 3

    # Build or step failed to complete successfully.
    FAILURE = 4

    # Build or step failed due to an internal cause.
    INTERNAL_ERROR = 5

    # Build or step took longer than was allowed.
    TIMEOUT = 6

    # Build or step was canceled by a user.
    CANCELLED = 7

    # Build was enqueued for longer than the value of `queue_ttl`.
    EXPIRED = 9
  end
end

#git_config::Google::Cloud::Build::V1::GitConfig

Returns Optional. Configuration for git operations.

Returns:



749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 749

class Build
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A non-fatal problem encountered during the execution of the build.
  # @!attribute [rw] text
  #   @return [::String]
  #     Explanation of the warning generated.
  # @!attribute [rw] priority
  #   @return [::Google::Cloud::Build::V1::Build::Warning::Priority]
  #     The priority for this warning.
  class Warning
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The relative importance of this warning.
    module Priority
      # Should not be used.
      PRIORITY_UNSPECIFIED = 0

      # e.g. deprecation warnings and alternative feature highlights.
      INFO = 1

      # e.g. automated detection of possible issues with the build.
      WARNING = 2

      # e.g. alerts that a feature used in the build is pending removal
      ALERT = 3
    end
  end

  # A fatal problem encountered during the execution of the build.
  # @!attribute [rw] type
  #   @return [::Google::Cloud::Build::V1::Build::FailureInfo::FailureType]
  #     The name of the failure.
  # @!attribute [rw] detail
  #   @return [::String]
  #     Explains the failure issue in more detail using hard-coded text.
  class FailureInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The name of a fatal problem encountered during the execution of the
    # build.
    module FailureType
      # Type unspecified
      FAILURE_TYPE_UNSPECIFIED = 0

      # Unable to push the image to the repository.
      PUSH_FAILED = 1

      # Final image not found.
      PUSH_IMAGE_NOT_FOUND = 2

      # Unauthorized push of the final image.
      PUSH_NOT_AUTHORIZED = 3

      # Backend logging failures. Should retry.
      LOGGING_FAILURE = 4

      # A build step has failed.
      USER_BUILD_STEP = 5

      # The source fetching has failed.
      FETCH_SOURCE_FAILED = 6
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SubstitutionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Build::V1::TimeSpan]
  class TimingEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible status of a build or build step.
  module Status
    # Status of the build is unknown.
    STATUS_UNKNOWN = 0

    # Build has been created and is pending execution and queuing. It has not
    # been queued.
    PENDING = 10

    # Build or step is queued; work has not yet begun.
    QUEUED = 1

    # Build or step is being executed.
    WORKING = 2

    # Build or step finished successfully.
    SUCCESS = 3

    # Build or step failed to complete successfully.
    FAILURE = 4

    # Build or step failed due to an internal cause.
    INTERNAL_ERROR = 5

    # Build or step took longer than was allowed.
    TIMEOUT = 6

    # Build or step was canceled by a user.
    CANCELLED = 7

    # Build was enqueued for longer than the value of `queue_ttl`.
    EXPIRED = 9
  end
end

#id::String (readonly)

Returns Output only. Unique identifier of the build.

Returns:

  • (::String)

    Output only. Unique identifier of the build.



749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 749

class Build
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A non-fatal problem encountered during the execution of the build.
  # @!attribute [rw] text
  #   @return [::String]
  #     Explanation of the warning generated.
  # @!attribute [rw] priority
  #   @return [::Google::Cloud::Build::V1::Build::Warning::Priority]
  #     The priority for this warning.
  class Warning
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The relative importance of this warning.
    module Priority
      # Should not be used.
      PRIORITY_UNSPECIFIED = 0

      # e.g. deprecation warnings and alternative feature highlights.
      INFO = 1

      # e.g. automated detection of possible issues with the build.
      WARNING = 2

      # e.g. alerts that a feature used in the build is pending removal
      ALERT = 3
    end
  end

  # A fatal problem encountered during the execution of the build.
  # @!attribute [rw] type
  #   @return [::Google::Cloud::Build::V1::Build::FailureInfo::FailureType]
  #     The name of the failure.
  # @!attribute [rw] detail
  #   @return [::String]
  #     Explains the failure issue in more detail using hard-coded text.
  class FailureInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The name of a fatal problem encountered during the execution of the
    # build.
    module FailureType
      # Type unspecified
      FAILURE_TYPE_UNSPECIFIED = 0

      # Unable to push the image to the repository.
      PUSH_FAILED = 1

      # Final image not found.
      PUSH_IMAGE_NOT_FOUND = 2

      # Unauthorized push of the final image.
      PUSH_NOT_AUTHORIZED = 3

      # Backend logging failures. Should retry.
      LOGGING_FAILURE = 4

      # A build step has failed.
      USER_BUILD_STEP = 5

      # The source fetching has failed.
      FETCH_SOURCE_FAILED = 6
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SubstitutionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Build::V1::TimeSpan]
  class TimingEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible status of a build or build step.
  module Status
    # Status of the build is unknown.
    STATUS_UNKNOWN = 0

    # Build has been created and is pending execution and queuing. It has not
    # been queued.
    PENDING = 10

    # Build or step is queued; work has not yet begun.
    QUEUED = 1

    # Build or step is being executed.
    WORKING = 2

    # Build or step finished successfully.
    SUCCESS = 3

    # Build or step failed to complete successfully.
    FAILURE = 4

    # Build or step failed due to an internal cause.
    INTERNAL_ERROR = 5

    # Build or step took longer than was allowed.
    TIMEOUT = 6

    # Build or step was canceled by a user.
    CANCELLED = 7

    # Build was enqueued for longer than the value of `queue_ttl`.
    EXPIRED = 9
  end
end

#images::Array<::String>

Returns 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.

Returns:

  • (::Array<::String>)

    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.



749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 749

class Build
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A non-fatal problem encountered during the execution of the build.
  # @!attribute [rw] text
  #   @return [::String]
  #     Explanation of the warning generated.
  # @!attribute [rw] priority
  #   @return [::Google::Cloud::Build::V1::Build::Warning::Priority]
  #     The priority for this warning.
  class Warning
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The relative importance of this warning.
    module Priority
      # Should not be used.
      PRIORITY_UNSPECIFIED = 0

      # e.g. deprecation warnings and alternative feature highlights.
      INFO = 1

      # e.g. automated detection of possible issues with the build.
      WARNING = 2

      # e.g. alerts that a feature used in the build is pending removal
      ALERT = 3
    end
  end

  # A fatal problem encountered during the execution of the build.
  # @!attribute [rw] type
  #   @return [::Google::Cloud::Build::V1::Build::FailureInfo::FailureType]
  #     The name of the failure.
  # @!attribute [rw] detail
  #   @return [::String]
  #     Explains the failure issue in more detail using hard-coded text.
  class FailureInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The name of a fatal problem encountered during the execution of the
    # build.
    module FailureType
      # Type unspecified
      FAILURE_TYPE_UNSPECIFIED = 0

      # Unable to push the image to the repository.
      PUSH_FAILED = 1

      # Final image not found.
      PUSH_IMAGE_NOT_FOUND = 2

      # Unauthorized push of the final image.
      PUSH_NOT_AUTHORIZED = 3

      # Backend logging failures. Should retry.
      LOGGING_FAILURE = 4

      # A build step has failed.
      USER_BUILD_STEP = 5

      # The source fetching has failed.
      FETCH_SOURCE_FAILED = 6
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SubstitutionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Build::V1::TimeSpan]
  class TimingEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible status of a build or build step.
  module Status
    # Status of the build is unknown.
    STATUS_UNKNOWN = 0

    # Build has been created and is pending execution and queuing. It has not
    # been queued.
    PENDING = 10

    # Build or step is queued; work has not yet begun.
    QUEUED = 1

    # Build or step is being executed.
    WORKING = 2

    # Build or step finished successfully.
    SUCCESS = 3

    # Build or step failed to complete successfully.
    FAILURE = 4

    # Build or step failed due to an internal cause.
    INTERNAL_ERROR = 5

    # Build or step took longer than was allowed.
    TIMEOUT = 6

    # Build or step was canceled by a user.
    CANCELLED = 7

    # Build was enqueued for longer than the value of `queue_ttl`.
    EXPIRED = 9
  end
end

#log_url::String (readonly)

Returns Output only. URL to logs for this build in Google Cloud Console.

Returns:

  • (::String)

    Output only. URL to logs for this build in Google Cloud Console.



749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 749

class Build
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A non-fatal problem encountered during the execution of the build.
  # @!attribute [rw] text
  #   @return [::String]
  #     Explanation of the warning generated.
  # @!attribute [rw] priority
  #   @return [::Google::Cloud::Build::V1::Build::Warning::Priority]
  #     The priority for this warning.
  class Warning
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The relative importance of this warning.
    module Priority
      # Should not be used.
      PRIORITY_UNSPECIFIED = 0

      # e.g. deprecation warnings and alternative feature highlights.
      INFO = 1

      # e.g. automated detection of possible issues with the build.
      WARNING = 2

      # e.g. alerts that a feature used in the build is pending removal
      ALERT = 3
    end
  end

  # A fatal problem encountered during the execution of the build.
  # @!attribute [rw] type
  #   @return [::Google::Cloud::Build::V1::Build::FailureInfo::FailureType]
  #     The name of the failure.
  # @!attribute [rw] detail
  #   @return [::String]
  #     Explains the failure issue in more detail using hard-coded text.
  class FailureInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The name of a fatal problem encountered during the execution of the
    # build.
    module FailureType
      # Type unspecified
      FAILURE_TYPE_UNSPECIFIED = 0

      # Unable to push the image to the repository.
      PUSH_FAILED = 1

      # Final image not found.
      PUSH_IMAGE_NOT_FOUND = 2

      # Unauthorized push of the final image.
      PUSH_NOT_AUTHORIZED = 3

      # Backend logging failures. Should retry.
      LOGGING_FAILURE = 4

      # A build step has failed.
      USER_BUILD_STEP = 5

      # The source fetching has failed.
      FETCH_SOURCE_FAILED = 6
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SubstitutionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Build::V1::TimeSpan]
  class TimingEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible status of a build or build step.
  module Status
    # Status of the build is unknown.
    STATUS_UNKNOWN = 0

    # Build has been created and is pending execution and queuing. It has not
    # been queued.
    PENDING = 10

    # Build or step is queued; work has not yet begun.
    QUEUED = 1

    # Build or step is being executed.
    WORKING = 2

    # Build or step finished successfully.
    SUCCESS = 3

    # Build or step failed to complete successfully.
    FAILURE = 4

    # Build or step failed due to an internal cause.
    INTERNAL_ERROR = 5

    # Build or step took longer than was allowed.
    TIMEOUT = 6

    # Build or step was canceled by a user.
    CANCELLED = 7

    # Build was enqueued for longer than the value of `queue_ttl`.
    EXPIRED = 9
  end
end

#logs_bucket::String

Returns Cloud Storage bucket where logs should be written (see Bucket Name Requirements). Logs file names will be of the format ${logs_bucket}/log-${build_id}.txt.

Returns:

  • (::String)

    Cloud Storage bucket where logs should be written (see Bucket Name Requirements). Logs file names will be of the format ${logs_bucket}/log-${build_id}.txt.



749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 749

class Build
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A non-fatal problem encountered during the execution of the build.
  # @!attribute [rw] text
  #   @return [::String]
  #     Explanation of the warning generated.
  # @!attribute [rw] priority
  #   @return [::Google::Cloud::Build::V1::Build::Warning::Priority]
  #     The priority for this warning.
  class Warning
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The relative importance of this warning.
    module Priority
      # Should not be used.
      PRIORITY_UNSPECIFIED = 0

      # e.g. deprecation warnings and alternative feature highlights.
      INFO = 1

      # e.g. automated detection of possible issues with the build.
      WARNING = 2

      # e.g. alerts that a feature used in the build is pending removal
      ALERT = 3
    end
  end

  # A fatal problem encountered during the execution of the build.
  # @!attribute [rw] type
  #   @return [::Google::Cloud::Build::V1::Build::FailureInfo::FailureType]
  #     The name of the failure.
  # @!attribute [rw] detail
  #   @return [::String]
  #     Explains the failure issue in more detail using hard-coded text.
  class FailureInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The name of a fatal problem encountered during the execution of the
    # build.
    module FailureType
      # Type unspecified
      FAILURE_TYPE_UNSPECIFIED = 0

      # Unable to push the image to the repository.
      PUSH_FAILED = 1

      # Final image not found.
      PUSH_IMAGE_NOT_FOUND = 2

      # Unauthorized push of the final image.
      PUSH_NOT_AUTHORIZED = 3

      # Backend logging failures. Should retry.
      LOGGING_FAILURE = 4

      # A build step has failed.
      USER_BUILD_STEP = 5

      # The source fetching has failed.
      FETCH_SOURCE_FAILED = 6
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SubstitutionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Build::V1::TimeSpan]
  class TimingEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible status of a build or build step.
  module Status
    # Status of the build is unknown.
    STATUS_UNKNOWN = 0

    # Build has been created and is pending execution and queuing. It has not
    # been queued.
    PENDING = 10

    # Build or step is queued; work has not yet begun.
    QUEUED = 1

    # Build or step is being executed.
    WORKING = 2

    # Build or step finished successfully.
    SUCCESS = 3

    # Build or step failed to complete successfully.
    FAILURE = 4

    # Build or step failed due to an internal cause.
    INTERNAL_ERROR = 5

    # Build or step took longer than was allowed.
    TIMEOUT = 6

    # Build or step was canceled by a user.
    CANCELLED = 7

    # Build was enqueued for longer than the value of `queue_ttl`.
    EXPIRED = 9
  end
end

#name::String (readonly)

Returns Output only. The 'Build' name with format: projects/{project}/locations/{location}/builds/{build}, where {build} is a unique identifier generated by the service.

Returns:

  • (::String)

    Output only. The 'Build' name with format: projects/{project}/locations/{location}/builds/{build}, where {build} is a unique identifier generated by the service.



749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 749

class Build
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A non-fatal problem encountered during the execution of the build.
  # @!attribute [rw] text
  #   @return [::String]
  #     Explanation of the warning generated.
  # @!attribute [rw] priority
  #   @return [::Google::Cloud::Build::V1::Build::Warning::Priority]
  #     The priority for this warning.
  class Warning
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The relative importance of this warning.
    module Priority
      # Should not be used.
      PRIORITY_UNSPECIFIED = 0

      # e.g. deprecation warnings and alternative feature highlights.
      INFO = 1

      # e.g. automated detection of possible issues with the build.
      WARNING = 2

      # e.g. alerts that a feature used in the build is pending removal
      ALERT = 3
    end
  end

  # A fatal problem encountered during the execution of the build.
  # @!attribute [rw] type
  #   @return [::Google::Cloud::Build::V1::Build::FailureInfo::FailureType]
  #     The name of the failure.
  # @!attribute [rw] detail
  #   @return [::String]
  #     Explains the failure issue in more detail using hard-coded text.
  class FailureInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The name of a fatal problem encountered during the execution of the
    # build.
    module FailureType
      # Type unspecified
      FAILURE_TYPE_UNSPECIFIED = 0

      # Unable to push the image to the repository.
      PUSH_FAILED = 1

      # Final image not found.
      PUSH_IMAGE_NOT_FOUND = 2

      # Unauthorized push of the final image.
      PUSH_NOT_AUTHORIZED = 3

      # Backend logging failures. Should retry.
      LOGGING_FAILURE = 4

      # A build step has failed.
      USER_BUILD_STEP = 5

      # The source fetching has failed.
      FETCH_SOURCE_FAILED = 6
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SubstitutionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Build::V1::TimeSpan]
  class TimingEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible status of a build or build step.
  module Status
    # Status of the build is unknown.
    STATUS_UNKNOWN = 0

    # Build has been created and is pending execution and queuing. It has not
    # been queued.
    PENDING = 10

    # Build or step is queued; work has not yet begun.
    QUEUED = 1

    # Build or step is being executed.
    WORKING = 2

    # Build or step finished successfully.
    SUCCESS = 3

    # Build or step failed to complete successfully.
    FAILURE = 4

    # Build or step failed due to an internal cause.
    INTERNAL_ERROR = 5

    # Build or step took longer than was allowed.
    TIMEOUT = 6

    # Build or step was canceled by a user.
    CANCELLED = 7

    # Build was enqueued for longer than the value of `queue_ttl`.
    EXPIRED = 9
  end
end

#options::Google::Cloud::Build::V1::BuildOptions

Returns Special options for this build.

Returns:



749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 749

class Build
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A non-fatal problem encountered during the execution of the build.
  # @!attribute [rw] text
  #   @return [::String]
  #     Explanation of the warning generated.
  # @!attribute [rw] priority
  #   @return [::Google::Cloud::Build::V1::Build::Warning::Priority]
  #     The priority for this warning.
  class Warning
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The relative importance of this warning.
    module Priority
      # Should not be used.
      PRIORITY_UNSPECIFIED = 0

      # e.g. deprecation warnings and alternative feature highlights.
      INFO = 1

      # e.g. automated detection of possible issues with the build.
      WARNING = 2

      # e.g. alerts that a feature used in the build is pending removal
      ALERT = 3
    end
  end

  # A fatal problem encountered during the execution of the build.
  # @!attribute [rw] type
  #   @return [::Google::Cloud::Build::V1::Build::FailureInfo::FailureType]
  #     The name of the failure.
  # @!attribute [rw] detail
  #   @return [::String]
  #     Explains the failure issue in more detail using hard-coded text.
  class FailureInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The name of a fatal problem encountered during the execution of the
    # build.
    module FailureType
      # Type unspecified
      FAILURE_TYPE_UNSPECIFIED = 0

      # Unable to push the image to the repository.
      PUSH_FAILED = 1

      # Final image not found.
      PUSH_IMAGE_NOT_FOUND = 2

      # Unauthorized push of the final image.
      PUSH_NOT_AUTHORIZED = 3

      # Backend logging failures. Should retry.
      LOGGING_FAILURE = 4

      # A build step has failed.
      USER_BUILD_STEP = 5

      # The source fetching has failed.
      FETCH_SOURCE_FAILED = 6
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SubstitutionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Build::V1::TimeSpan]
  class TimingEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible status of a build or build step.
  module Status
    # Status of the build is unknown.
    STATUS_UNKNOWN = 0

    # Build has been created and is pending execution and queuing. It has not
    # been queued.
    PENDING = 10

    # Build or step is queued; work has not yet begun.
    QUEUED = 1

    # Build or step is being executed.
    WORKING = 2

    # Build or step finished successfully.
    SUCCESS = 3

    # Build or step failed to complete successfully.
    FAILURE = 4

    # Build or step failed due to an internal cause.
    INTERNAL_ERROR = 5

    # Build or step took longer than was allowed.
    TIMEOUT = 6

    # Build or step was canceled by a user.
    CANCELLED = 7

    # Build was enqueued for longer than the value of `queue_ttl`.
    EXPIRED = 9
  end
end

#project_id::String (readonly)

Returns Output only. ID of the project.

Returns:

  • (::String)

    Output only. ID of the project.



749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 749

class Build
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A non-fatal problem encountered during the execution of the build.
  # @!attribute [rw] text
  #   @return [::String]
  #     Explanation of the warning generated.
  # @!attribute [rw] priority
  #   @return [::Google::Cloud::Build::V1::Build::Warning::Priority]
  #     The priority for this warning.
  class Warning
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The relative importance of this warning.
    module Priority
      # Should not be used.
      PRIORITY_UNSPECIFIED = 0

      # e.g. deprecation warnings and alternative feature highlights.
      INFO = 1

      # e.g. automated detection of possible issues with the build.
      WARNING = 2

      # e.g. alerts that a feature used in the build is pending removal
      ALERT = 3
    end
  end

  # A fatal problem encountered during the execution of the build.
  # @!attribute [rw] type
  #   @return [::Google::Cloud::Build::V1::Build::FailureInfo::FailureType]
  #     The name of the failure.
  # @!attribute [rw] detail
  #   @return [::String]
  #     Explains the failure issue in more detail using hard-coded text.
  class FailureInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The name of a fatal problem encountered during the execution of the
    # build.
    module FailureType
      # Type unspecified
      FAILURE_TYPE_UNSPECIFIED = 0

      # Unable to push the image to the repository.
      PUSH_FAILED = 1

      # Final image not found.
      PUSH_IMAGE_NOT_FOUND = 2

      # Unauthorized push of the final image.
      PUSH_NOT_AUTHORIZED = 3

      # Backend logging failures. Should retry.
      LOGGING_FAILURE = 4

      # A build step has failed.
      USER_BUILD_STEP = 5

      # The source fetching has failed.
      FETCH_SOURCE_FAILED = 6
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SubstitutionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Build::V1::TimeSpan]
  class TimingEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible status of a build or build step.
  module Status
    # Status of the build is unknown.
    STATUS_UNKNOWN = 0

    # Build has been created and is pending execution and queuing. It has not
    # been queued.
    PENDING = 10

    # Build or step is queued; work has not yet begun.
    QUEUED = 1

    # Build or step is being executed.
    WORKING = 2

    # Build or step finished successfully.
    SUCCESS = 3

    # Build or step failed to complete successfully.
    FAILURE = 4

    # Build or step failed due to an internal cause.
    INTERNAL_ERROR = 5

    # Build or step took longer than was allowed.
    TIMEOUT = 6

    # Build or step was canceled by a user.
    CANCELLED = 7

    # Build was enqueued for longer than the value of `queue_ttl`.
    EXPIRED = 9
  end
end

#queue_ttl::Google::Protobuf::Duration

Returns 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 create_time.

Returns:

  • (::Google::Protobuf::Duration)

    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 create_time.



749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 749

class Build
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A non-fatal problem encountered during the execution of the build.
  # @!attribute [rw] text
  #   @return [::String]
  #     Explanation of the warning generated.
  # @!attribute [rw] priority
  #   @return [::Google::Cloud::Build::V1::Build::Warning::Priority]
  #     The priority for this warning.
  class Warning
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The relative importance of this warning.
    module Priority
      # Should not be used.
      PRIORITY_UNSPECIFIED = 0

      # e.g. deprecation warnings and alternative feature highlights.
      INFO = 1

      # e.g. automated detection of possible issues with the build.
      WARNING = 2

      # e.g. alerts that a feature used in the build is pending removal
      ALERT = 3
    end
  end

  # A fatal problem encountered during the execution of the build.
  # @!attribute [rw] type
  #   @return [::Google::Cloud::Build::V1::Build::FailureInfo::FailureType]
  #     The name of the failure.
  # @!attribute [rw] detail
  #   @return [::String]
  #     Explains the failure issue in more detail using hard-coded text.
  class FailureInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The name of a fatal problem encountered during the execution of the
    # build.
    module FailureType
      # Type unspecified
      FAILURE_TYPE_UNSPECIFIED = 0

      # Unable to push the image to the repository.
      PUSH_FAILED = 1

      # Final image not found.
      PUSH_IMAGE_NOT_FOUND = 2

      # Unauthorized push of the final image.
      PUSH_NOT_AUTHORIZED = 3

      # Backend logging failures. Should retry.
      LOGGING_FAILURE = 4

      # A build step has failed.
      USER_BUILD_STEP = 5

      # The source fetching has failed.
      FETCH_SOURCE_FAILED = 6
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SubstitutionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Build::V1::TimeSpan]
  class TimingEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible status of a build or build step.
  module Status
    # Status of the build is unknown.
    STATUS_UNKNOWN = 0

    # Build has been created and is pending execution and queuing. It has not
    # been queued.
    PENDING = 10

    # Build or step is queued; work has not yet begun.
    QUEUED = 1

    # Build or step is being executed.
    WORKING = 2

    # Build or step finished successfully.
    SUCCESS = 3

    # Build or step failed to complete successfully.
    FAILURE = 4

    # Build or step failed due to an internal cause.
    INTERNAL_ERROR = 5

    # Build or step took longer than was allowed.
    TIMEOUT = 6

    # Build or step was canceled by a user.
    CANCELLED = 7

    # Build was enqueued for longer than the value of `queue_ttl`.
    EXPIRED = 9
  end
end

#results::Google::Cloud::Build::V1::Results (readonly)

Returns Output only. Results of the build.

Returns:



749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 749

class Build
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A non-fatal problem encountered during the execution of the build.
  # @!attribute [rw] text
  #   @return [::String]
  #     Explanation of the warning generated.
  # @!attribute [rw] priority
  #   @return [::Google::Cloud::Build::V1::Build::Warning::Priority]
  #     The priority for this warning.
  class Warning
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The relative importance of this warning.
    module Priority
      # Should not be used.
      PRIORITY_UNSPECIFIED = 0

      # e.g. deprecation warnings and alternative feature highlights.
      INFO = 1

      # e.g. automated detection of possible issues with the build.
      WARNING = 2

      # e.g. alerts that a feature used in the build is pending removal
      ALERT = 3
    end
  end

  # A fatal problem encountered during the execution of the build.
  # @!attribute [rw] type
  #   @return [::Google::Cloud::Build::V1::Build::FailureInfo::FailureType]
  #     The name of the failure.
  # @!attribute [rw] detail
  #   @return [::String]
  #     Explains the failure issue in more detail using hard-coded text.
  class FailureInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The name of a fatal problem encountered during the execution of the
    # build.
    module FailureType
      # Type unspecified
      FAILURE_TYPE_UNSPECIFIED = 0

      # Unable to push the image to the repository.
      PUSH_FAILED = 1

      # Final image not found.
      PUSH_IMAGE_NOT_FOUND = 2

      # Unauthorized push of the final image.
      PUSH_NOT_AUTHORIZED = 3

      # Backend logging failures. Should retry.
      LOGGING_FAILURE = 4

      # A build step has failed.
      USER_BUILD_STEP = 5

      # The source fetching has failed.
      FETCH_SOURCE_FAILED = 6
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SubstitutionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Build::V1::TimeSpan]
  class TimingEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible status of a build or build step.
  module Status
    # Status of the build is unknown.
    STATUS_UNKNOWN = 0

    # Build has been created and is pending execution and queuing. It has not
    # been queued.
    PENDING = 10

    # Build or step is queued; work has not yet begun.
    QUEUED = 1

    # Build or step is being executed.
    WORKING = 2

    # Build or step finished successfully.
    SUCCESS = 3

    # Build or step failed to complete successfully.
    FAILURE = 4

    # Build or step failed due to an internal cause.
    INTERNAL_ERROR = 5

    # Build or step took longer than was allowed.
    TIMEOUT = 6

    # Build or step was canceled by a user.
    CANCELLED = 7

    # Build was enqueued for longer than the value of `queue_ttl`.
    EXPIRED = 9
  end
end

#secrets::Array<::Google::Cloud::Build::V1::Secret>

Returns Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is the recommended technique for managing sensitive data with Cloud Build. Use available_secrets to configure builds to access secrets from Secret Manager. For instructions, see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets.

Returns:



749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 749

class Build
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A non-fatal problem encountered during the execution of the build.
  # @!attribute [rw] text
  #   @return [::String]
  #     Explanation of the warning generated.
  # @!attribute [rw] priority
  #   @return [::Google::Cloud::Build::V1::Build::Warning::Priority]
  #     The priority for this warning.
  class Warning
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The relative importance of this warning.
    module Priority
      # Should not be used.
      PRIORITY_UNSPECIFIED = 0

      # e.g. deprecation warnings and alternative feature highlights.
      INFO = 1

      # e.g. automated detection of possible issues with the build.
      WARNING = 2

      # e.g. alerts that a feature used in the build is pending removal
      ALERT = 3
    end
  end

  # A fatal problem encountered during the execution of the build.
  # @!attribute [rw] type
  #   @return [::Google::Cloud::Build::V1::Build::FailureInfo::FailureType]
  #     The name of the failure.
  # @!attribute [rw] detail
  #   @return [::String]
  #     Explains the failure issue in more detail using hard-coded text.
  class FailureInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The name of a fatal problem encountered during the execution of the
    # build.
    module FailureType
      # Type unspecified
      FAILURE_TYPE_UNSPECIFIED = 0

      # Unable to push the image to the repository.
      PUSH_FAILED = 1

      # Final image not found.
      PUSH_IMAGE_NOT_FOUND = 2

      # Unauthorized push of the final image.
      PUSH_NOT_AUTHORIZED = 3

      # Backend logging failures. Should retry.
      LOGGING_FAILURE = 4

      # A build step has failed.
      USER_BUILD_STEP = 5

      # The source fetching has failed.
      FETCH_SOURCE_FAILED = 6
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SubstitutionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Build::V1::TimeSpan]
  class TimingEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible status of a build or build step.
  module Status
    # Status of the build is unknown.
    STATUS_UNKNOWN = 0

    # Build has been created and is pending execution and queuing. It has not
    # been queued.
    PENDING = 10

    # Build or step is queued; work has not yet begun.
    QUEUED = 1

    # Build or step is being executed.
    WORKING = 2

    # Build or step finished successfully.
    SUCCESS = 3

    # Build or step failed to complete successfully.
    FAILURE = 4

    # Build or step failed due to an internal cause.
    INTERNAL_ERROR = 5

    # Build or step took longer than was allowed.
    TIMEOUT = 6

    # Build or step was canceled by a user.
    CANCELLED = 7

    # Build was enqueued for longer than the value of `queue_ttl`.
    EXPIRED = 9
  end
end

#service_account::String

Returns IAM service account whose credentials will be used at build runtime. Must be of the format projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}. ACCOUNT can be email address or uniqueId of the service account.

Returns:

  • (::String)

    IAM service account whose credentials will be used at build runtime. Must be of the format projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}. ACCOUNT can be email address or uniqueId of the service account.



749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 749

class Build
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A non-fatal problem encountered during the execution of the build.
  # @!attribute [rw] text
  #   @return [::String]
  #     Explanation of the warning generated.
  # @!attribute [rw] priority
  #   @return [::Google::Cloud::Build::V1::Build::Warning::Priority]
  #     The priority for this warning.
  class Warning
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The relative importance of this warning.
    module Priority
      # Should not be used.
      PRIORITY_UNSPECIFIED = 0

      # e.g. deprecation warnings and alternative feature highlights.
      INFO = 1

      # e.g. automated detection of possible issues with the build.
      WARNING = 2

      # e.g. alerts that a feature used in the build is pending removal
      ALERT = 3
    end
  end

  # A fatal problem encountered during the execution of the build.
  # @!attribute [rw] type
  #   @return [::Google::Cloud::Build::V1::Build::FailureInfo::FailureType]
  #     The name of the failure.
  # @!attribute [rw] detail
  #   @return [::String]
  #     Explains the failure issue in more detail using hard-coded text.
  class FailureInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The name of a fatal problem encountered during the execution of the
    # build.
    module FailureType
      # Type unspecified
      FAILURE_TYPE_UNSPECIFIED = 0

      # Unable to push the image to the repository.
      PUSH_FAILED = 1

      # Final image not found.
      PUSH_IMAGE_NOT_FOUND = 2

      # Unauthorized push of the final image.
      PUSH_NOT_AUTHORIZED = 3

      # Backend logging failures. Should retry.
      LOGGING_FAILURE = 4

      # A build step has failed.
      USER_BUILD_STEP = 5

      # The source fetching has failed.
      FETCH_SOURCE_FAILED = 6
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SubstitutionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Build::V1::TimeSpan]
  class TimingEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible status of a build or build step.
  module Status
    # Status of the build is unknown.
    STATUS_UNKNOWN = 0

    # Build has been created and is pending execution and queuing. It has not
    # been queued.
    PENDING = 10

    # Build or step is queued; work has not yet begun.
    QUEUED = 1

    # Build or step is being executed.
    WORKING = 2

    # Build or step finished successfully.
    SUCCESS = 3

    # Build or step failed to complete successfully.
    FAILURE = 4

    # Build or step failed due to an internal cause.
    INTERNAL_ERROR = 5

    # Build or step took longer than was allowed.
    TIMEOUT = 6

    # Build or step was canceled by a user.
    CANCELLED = 7

    # Build was enqueued for longer than the value of `queue_ttl`.
    EXPIRED = 9
  end
end

#source::Google::Cloud::Build::V1::Source

Returns Optional. The location of the source files to build.

Returns:



749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 749

class Build
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A non-fatal problem encountered during the execution of the build.
  # @!attribute [rw] text
  #   @return [::String]
  #     Explanation of the warning generated.
  # @!attribute [rw] priority
  #   @return [::Google::Cloud::Build::V1::Build::Warning::Priority]
  #     The priority for this warning.
  class Warning
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The relative importance of this warning.
    module Priority
      # Should not be used.
      PRIORITY_UNSPECIFIED = 0

      # e.g. deprecation warnings and alternative feature highlights.
      INFO = 1

      # e.g. automated detection of possible issues with the build.
      WARNING = 2

      # e.g. alerts that a feature used in the build is pending removal
      ALERT = 3
    end
  end

  # A fatal problem encountered during the execution of the build.
  # @!attribute [rw] type
  #   @return [::Google::Cloud::Build::V1::Build::FailureInfo::FailureType]
  #     The name of the failure.
  # @!attribute [rw] detail
  #   @return [::String]
  #     Explains the failure issue in more detail using hard-coded text.
  class FailureInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The name of a fatal problem encountered during the execution of the
    # build.
    module FailureType
      # Type unspecified
      FAILURE_TYPE_UNSPECIFIED = 0

      # Unable to push the image to the repository.
      PUSH_FAILED = 1

      # Final image not found.
      PUSH_IMAGE_NOT_FOUND = 2

      # Unauthorized push of the final image.
      PUSH_NOT_AUTHORIZED = 3

      # Backend logging failures. Should retry.
      LOGGING_FAILURE = 4

      # A build step has failed.
      USER_BUILD_STEP = 5

      # The source fetching has failed.
      FETCH_SOURCE_FAILED = 6
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SubstitutionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Build::V1::TimeSpan]
  class TimingEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible status of a build or build step.
  module Status
    # Status of the build is unknown.
    STATUS_UNKNOWN = 0

    # Build has been created and is pending execution and queuing. It has not
    # been queued.
    PENDING = 10

    # Build or step is queued; work has not yet begun.
    QUEUED = 1

    # Build or step is being executed.
    WORKING = 2

    # Build or step finished successfully.
    SUCCESS = 3

    # Build or step failed to complete successfully.
    FAILURE = 4

    # Build or step failed due to an internal cause.
    INTERNAL_ERROR = 5

    # Build or step took longer than was allowed.
    TIMEOUT = 6

    # Build or step was canceled by a user.
    CANCELLED = 7

    # Build was enqueued for longer than the value of `queue_ttl`.
    EXPIRED = 9
  end
end

#source_provenance::Google::Cloud::Build::V1::SourceProvenance (readonly)

Returns Output only. A permanent fixed identifier for source.

Returns:



749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 749

class Build
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A non-fatal problem encountered during the execution of the build.
  # @!attribute [rw] text
  #   @return [::String]
  #     Explanation of the warning generated.
  # @!attribute [rw] priority
  #   @return [::Google::Cloud::Build::V1::Build::Warning::Priority]
  #     The priority for this warning.
  class Warning
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The relative importance of this warning.
    module Priority
      # Should not be used.
      PRIORITY_UNSPECIFIED = 0

      # e.g. deprecation warnings and alternative feature highlights.
      INFO = 1

      # e.g. automated detection of possible issues with the build.
      WARNING = 2

      # e.g. alerts that a feature used in the build is pending removal
      ALERT = 3
    end
  end

  # A fatal problem encountered during the execution of the build.
  # @!attribute [rw] type
  #   @return [::Google::Cloud::Build::V1::Build::FailureInfo::FailureType]
  #     The name of the failure.
  # @!attribute [rw] detail
  #   @return [::String]
  #     Explains the failure issue in more detail using hard-coded text.
  class FailureInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The name of a fatal problem encountered during the execution of the
    # build.
    module FailureType
      # Type unspecified
      FAILURE_TYPE_UNSPECIFIED = 0

      # Unable to push the image to the repository.
      PUSH_FAILED = 1

      # Final image not found.
      PUSH_IMAGE_NOT_FOUND = 2

      # Unauthorized push of the final image.
      PUSH_NOT_AUTHORIZED = 3

      # Backend logging failures. Should retry.
      LOGGING_FAILURE = 4

      # A build step has failed.
      USER_BUILD_STEP = 5

      # The source fetching has failed.
      FETCH_SOURCE_FAILED = 6
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SubstitutionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Build::V1::TimeSpan]
  class TimingEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible status of a build or build step.
  module Status
    # Status of the build is unknown.
    STATUS_UNKNOWN = 0

    # Build has been created and is pending execution and queuing. It has not
    # been queued.
    PENDING = 10

    # Build or step is queued; work has not yet begun.
    QUEUED = 1

    # Build or step is being executed.
    WORKING = 2

    # Build or step finished successfully.
    SUCCESS = 3

    # Build or step failed to complete successfully.
    FAILURE = 4

    # Build or step failed due to an internal cause.
    INTERNAL_ERROR = 5

    # Build or step took longer than was allowed.
    TIMEOUT = 6

    # Build or step was canceled by a user.
    CANCELLED = 7

    # Build was enqueued for longer than the value of `queue_ttl`.
    EXPIRED = 9
  end
end

#start_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Time at which execution of the build was started.

Returns:



749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 749

class Build
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A non-fatal problem encountered during the execution of the build.
  # @!attribute [rw] text
  #   @return [::String]
  #     Explanation of the warning generated.
  # @!attribute [rw] priority
  #   @return [::Google::Cloud::Build::V1::Build::Warning::Priority]
  #     The priority for this warning.
  class Warning
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The relative importance of this warning.
    module Priority
      # Should not be used.
      PRIORITY_UNSPECIFIED = 0

      # e.g. deprecation warnings and alternative feature highlights.
      INFO = 1

      # e.g. automated detection of possible issues with the build.
      WARNING = 2

      # e.g. alerts that a feature used in the build is pending removal
      ALERT = 3
    end
  end

  # A fatal problem encountered during the execution of the build.
  # @!attribute [rw] type
  #   @return [::Google::Cloud::Build::V1::Build::FailureInfo::FailureType]
  #     The name of the failure.
  # @!attribute [rw] detail
  #   @return [::String]
  #     Explains the failure issue in more detail using hard-coded text.
  class FailureInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The name of a fatal problem encountered during the execution of the
    # build.
    module FailureType
      # Type unspecified
      FAILURE_TYPE_UNSPECIFIED = 0

      # Unable to push the image to the repository.
      PUSH_FAILED = 1

      # Final image not found.
      PUSH_IMAGE_NOT_FOUND = 2

      # Unauthorized push of the final image.
      PUSH_NOT_AUTHORIZED = 3

      # Backend logging failures. Should retry.
      LOGGING_FAILURE = 4

      # A build step has failed.
      USER_BUILD_STEP = 5

      # The source fetching has failed.
      FETCH_SOURCE_FAILED = 6
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SubstitutionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Build::V1::TimeSpan]
  class TimingEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible status of a build or build step.
  module Status
    # Status of the build is unknown.
    STATUS_UNKNOWN = 0

    # Build has been created and is pending execution and queuing. It has not
    # been queued.
    PENDING = 10

    # Build or step is queued; work has not yet begun.
    QUEUED = 1

    # Build or step is being executed.
    WORKING = 2

    # Build or step finished successfully.
    SUCCESS = 3

    # Build or step failed to complete successfully.
    FAILURE = 4

    # Build or step failed due to an internal cause.
    INTERNAL_ERROR = 5

    # Build or step took longer than was allowed.
    TIMEOUT = 6

    # Build or step was canceled by a user.
    CANCELLED = 7

    # Build was enqueued for longer than the value of `queue_ttl`.
    EXPIRED = 9
  end
end

#status::Google::Cloud::Build::V1::Build::Status (readonly)

Returns Output only. Status of the build.

Returns:



749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 749

class Build
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A non-fatal problem encountered during the execution of the build.
  # @!attribute [rw] text
  #   @return [::String]
  #     Explanation of the warning generated.
  # @!attribute [rw] priority
  #   @return [::Google::Cloud::Build::V1::Build::Warning::Priority]
  #     The priority for this warning.
  class Warning
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The relative importance of this warning.
    module Priority
      # Should not be used.
      PRIORITY_UNSPECIFIED = 0

      # e.g. deprecation warnings and alternative feature highlights.
      INFO = 1

      # e.g. automated detection of possible issues with the build.
      WARNING = 2

      # e.g. alerts that a feature used in the build is pending removal
      ALERT = 3
    end
  end

  # A fatal problem encountered during the execution of the build.
  # @!attribute [rw] type
  #   @return [::Google::Cloud::Build::V1::Build::FailureInfo::FailureType]
  #     The name of the failure.
  # @!attribute [rw] detail
  #   @return [::String]
  #     Explains the failure issue in more detail using hard-coded text.
  class FailureInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The name of a fatal problem encountered during the execution of the
    # build.
    module FailureType
      # Type unspecified
      FAILURE_TYPE_UNSPECIFIED = 0

      # Unable to push the image to the repository.
      PUSH_FAILED = 1

      # Final image not found.
      PUSH_IMAGE_NOT_FOUND = 2

      # Unauthorized push of the final image.
      PUSH_NOT_AUTHORIZED = 3

      # Backend logging failures. Should retry.
      LOGGING_FAILURE = 4

      # A build step has failed.
      USER_BUILD_STEP = 5

      # The source fetching has failed.
      FETCH_SOURCE_FAILED = 6
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SubstitutionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Build::V1::TimeSpan]
  class TimingEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible status of a build or build step.
  module Status
    # Status of the build is unknown.
    STATUS_UNKNOWN = 0

    # Build has been created and is pending execution and queuing. It has not
    # been queued.
    PENDING = 10

    # Build or step is queued; work has not yet begun.
    QUEUED = 1

    # Build or step is being executed.
    WORKING = 2

    # Build or step finished successfully.
    SUCCESS = 3

    # Build or step failed to complete successfully.
    FAILURE = 4

    # Build or step failed due to an internal cause.
    INTERNAL_ERROR = 5

    # Build or step took longer than was allowed.
    TIMEOUT = 6

    # Build or step was canceled by a user.
    CANCELLED = 7

    # Build was enqueued for longer than the value of `queue_ttl`.
    EXPIRED = 9
  end
end

#status_detail::String (readonly)

Returns Output only. Customer-readable message about the current status.

Returns:

  • (::String)

    Output only. Customer-readable message about the current status.



749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 749

class Build
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A non-fatal problem encountered during the execution of the build.
  # @!attribute [rw] text
  #   @return [::String]
  #     Explanation of the warning generated.
  # @!attribute [rw] priority
  #   @return [::Google::Cloud::Build::V1::Build::Warning::Priority]
  #     The priority for this warning.
  class Warning
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The relative importance of this warning.
    module Priority
      # Should not be used.
      PRIORITY_UNSPECIFIED = 0

      # e.g. deprecation warnings and alternative feature highlights.
      INFO = 1

      # e.g. automated detection of possible issues with the build.
      WARNING = 2

      # e.g. alerts that a feature used in the build is pending removal
      ALERT = 3
    end
  end

  # A fatal problem encountered during the execution of the build.
  # @!attribute [rw] type
  #   @return [::Google::Cloud::Build::V1::Build::FailureInfo::FailureType]
  #     The name of the failure.
  # @!attribute [rw] detail
  #   @return [::String]
  #     Explains the failure issue in more detail using hard-coded text.
  class FailureInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The name of a fatal problem encountered during the execution of the
    # build.
    module FailureType
      # Type unspecified
      FAILURE_TYPE_UNSPECIFIED = 0

      # Unable to push the image to the repository.
      PUSH_FAILED = 1

      # Final image not found.
      PUSH_IMAGE_NOT_FOUND = 2

      # Unauthorized push of the final image.
      PUSH_NOT_AUTHORIZED = 3

      # Backend logging failures. Should retry.
      LOGGING_FAILURE = 4

      # A build step has failed.
      USER_BUILD_STEP = 5

      # The source fetching has failed.
      FETCH_SOURCE_FAILED = 6
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SubstitutionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Build::V1::TimeSpan]
  class TimingEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible status of a build or build step.
  module Status
    # Status of the build is unknown.
    STATUS_UNKNOWN = 0

    # Build has been created and is pending execution and queuing. It has not
    # been queued.
    PENDING = 10

    # Build or step is queued; work has not yet begun.
    QUEUED = 1

    # Build or step is being executed.
    WORKING = 2

    # Build or step finished successfully.
    SUCCESS = 3

    # Build or step failed to complete successfully.
    FAILURE = 4

    # Build or step failed due to an internal cause.
    INTERNAL_ERROR = 5

    # Build or step took longer than was allowed.
    TIMEOUT = 6

    # Build or step was canceled by a user.
    CANCELLED = 7

    # Build was enqueued for longer than the value of `queue_ttl`.
    EXPIRED = 9
  end
end

#steps::Array<::Google::Cloud::Build::V1::BuildStep>

Returns Required. The operations to be performed on the workspace.

Returns:



749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 749

class Build
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A non-fatal problem encountered during the execution of the build.
  # @!attribute [rw] text
  #   @return [::String]
  #     Explanation of the warning generated.
  # @!attribute [rw] priority
  #   @return [::Google::Cloud::Build::V1::Build::Warning::Priority]
  #     The priority for this warning.
  class Warning
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The relative importance of this warning.
    module Priority
      # Should not be used.
      PRIORITY_UNSPECIFIED = 0

      # e.g. deprecation warnings and alternative feature highlights.
      INFO = 1

      # e.g. automated detection of possible issues with the build.
      WARNING = 2

      # e.g. alerts that a feature used in the build is pending removal
      ALERT = 3
    end
  end

  # A fatal problem encountered during the execution of the build.
  # @!attribute [rw] type
  #   @return [::Google::Cloud::Build::V1::Build::FailureInfo::FailureType]
  #     The name of the failure.
  # @!attribute [rw] detail
  #   @return [::String]
  #     Explains the failure issue in more detail using hard-coded text.
  class FailureInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The name of a fatal problem encountered during the execution of the
    # build.
    module FailureType
      # Type unspecified
      FAILURE_TYPE_UNSPECIFIED = 0

      # Unable to push the image to the repository.
      PUSH_FAILED = 1

      # Final image not found.
      PUSH_IMAGE_NOT_FOUND = 2

      # Unauthorized push of the final image.
      PUSH_NOT_AUTHORIZED = 3

      # Backend logging failures. Should retry.
      LOGGING_FAILURE = 4

      # A build step has failed.
      USER_BUILD_STEP = 5

      # The source fetching has failed.
      FETCH_SOURCE_FAILED = 6
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SubstitutionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Build::V1::TimeSpan]
  class TimingEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible status of a build or build step.
  module Status
    # Status of the build is unknown.
    STATUS_UNKNOWN = 0

    # Build has been created and is pending execution and queuing. It has not
    # been queued.
    PENDING = 10

    # Build or step is queued; work has not yet begun.
    QUEUED = 1

    # Build or step is being executed.
    WORKING = 2

    # Build or step finished successfully.
    SUCCESS = 3

    # Build or step failed to complete successfully.
    FAILURE = 4

    # Build or step failed due to an internal cause.
    INTERNAL_ERROR = 5

    # Build or step took longer than was allowed.
    TIMEOUT = 6

    # Build or step was canceled by a user.
    CANCELLED = 7

    # Build was enqueued for longer than the value of `queue_ttl`.
    EXPIRED = 9
  end
end

#substitutions::Google::Protobuf::Map{::String => ::String}

Returns Substitutions data for Build resource.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Substitutions data for Build resource.



749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 749

class Build
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A non-fatal problem encountered during the execution of the build.
  # @!attribute [rw] text
  #   @return [::String]
  #     Explanation of the warning generated.
  # @!attribute [rw] priority
  #   @return [::Google::Cloud::Build::V1::Build::Warning::Priority]
  #     The priority for this warning.
  class Warning
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The relative importance of this warning.
    module Priority
      # Should not be used.
      PRIORITY_UNSPECIFIED = 0

      # e.g. deprecation warnings and alternative feature highlights.
      INFO = 1

      # e.g. automated detection of possible issues with the build.
      WARNING = 2

      # e.g. alerts that a feature used in the build is pending removal
      ALERT = 3
    end
  end

  # A fatal problem encountered during the execution of the build.
  # @!attribute [rw] type
  #   @return [::Google::Cloud::Build::V1::Build::FailureInfo::FailureType]
  #     The name of the failure.
  # @!attribute [rw] detail
  #   @return [::String]
  #     Explains the failure issue in more detail using hard-coded text.
  class FailureInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The name of a fatal problem encountered during the execution of the
    # build.
    module FailureType
      # Type unspecified
      FAILURE_TYPE_UNSPECIFIED = 0

      # Unable to push the image to the repository.
      PUSH_FAILED = 1

      # Final image not found.
      PUSH_IMAGE_NOT_FOUND = 2

      # Unauthorized push of the final image.
      PUSH_NOT_AUTHORIZED = 3

      # Backend logging failures. Should retry.
      LOGGING_FAILURE = 4

      # A build step has failed.
      USER_BUILD_STEP = 5

      # The source fetching has failed.
      FETCH_SOURCE_FAILED = 6
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SubstitutionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Build::V1::TimeSpan]
  class TimingEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible status of a build or build step.
  module Status
    # Status of the build is unknown.
    STATUS_UNKNOWN = 0

    # Build has been created and is pending execution and queuing. It has not
    # been queued.
    PENDING = 10

    # Build or step is queued; work has not yet begun.
    QUEUED = 1

    # Build or step is being executed.
    WORKING = 2

    # Build or step finished successfully.
    SUCCESS = 3

    # Build or step failed to complete successfully.
    FAILURE = 4

    # Build or step failed due to an internal cause.
    INTERNAL_ERROR = 5

    # Build or step took longer than was allowed.
    TIMEOUT = 6

    # Build or step was canceled by a user.
    CANCELLED = 7

    # Build was enqueued for longer than the value of `queue_ttl`.
    EXPIRED = 9
  end
end

#tags::Array<::String>

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

Returns:

  • (::Array<::String>)

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



749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 749

class Build
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A non-fatal problem encountered during the execution of the build.
  # @!attribute [rw] text
  #   @return [::String]
  #     Explanation of the warning generated.
  # @!attribute [rw] priority
  #   @return [::Google::Cloud::Build::V1::Build::Warning::Priority]
  #     The priority for this warning.
  class Warning
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The relative importance of this warning.
    module Priority
      # Should not be used.
      PRIORITY_UNSPECIFIED = 0

      # e.g. deprecation warnings and alternative feature highlights.
      INFO = 1

      # e.g. automated detection of possible issues with the build.
      WARNING = 2

      # e.g. alerts that a feature used in the build is pending removal
      ALERT = 3
    end
  end

  # A fatal problem encountered during the execution of the build.
  # @!attribute [rw] type
  #   @return [::Google::Cloud::Build::V1::Build::FailureInfo::FailureType]
  #     The name of the failure.
  # @!attribute [rw] detail
  #   @return [::String]
  #     Explains the failure issue in more detail using hard-coded text.
  class FailureInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The name of a fatal problem encountered during the execution of the
    # build.
    module FailureType
      # Type unspecified
      FAILURE_TYPE_UNSPECIFIED = 0

      # Unable to push the image to the repository.
      PUSH_FAILED = 1

      # Final image not found.
      PUSH_IMAGE_NOT_FOUND = 2

      # Unauthorized push of the final image.
      PUSH_NOT_AUTHORIZED = 3

      # Backend logging failures. Should retry.
      LOGGING_FAILURE = 4

      # A build step has failed.
      USER_BUILD_STEP = 5

      # The source fetching has failed.
      FETCH_SOURCE_FAILED = 6
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SubstitutionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Build::V1::TimeSpan]
  class TimingEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible status of a build or build step.
  module Status
    # Status of the build is unknown.
    STATUS_UNKNOWN = 0

    # Build has been created and is pending execution and queuing. It has not
    # been queued.
    PENDING = 10

    # Build or step is queued; work has not yet begun.
    QUEUED = 1

    # Build or step is being executed.
    WORKING = 2

    # Build or step finished successfully.
    SUCCESS = 3

    # Build or step failed to complete successfully.
    FAILURE = 4

    # Build or step failed due to an internal cause.
    INTERNAL_ERROR = 5

    # Build or step took longer than was allowed.
    TIMEOUT = 6

    # Build or step was canceled by a user.
    CANCELLED = 7

    # Build was enqueued for longer than the value of `queue_ttl`.
    EXPIRED = 9
  end
end

#timeout::Google::Protobuf::Duration

Returns 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.

timeout starts ticking from startTime.

Default time is 60 minutes.

Returns:

  • (::Google::Protobuf::Duration)

    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.

    timeout starts ticking from startTime.

    Default time is 60 minutes.



749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 749

class Build
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A non-fatal problem encountered during the execution of the build.
  # @!attribute [rw] text
  #   @return [::String]
  #     Explanation of the warning generated.
  # @!attribute [rw] priority
  #   @return [::Google::Cloud::Build::V1::Build::Warning::Priority]
  #     The priority for this warning.
  class Warning
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The relative importance of this warning.
    module Priority
      # Should not be used.
      PRIORITY_UNSPECIFIED = 0

      # e.g. deprecation warnings and alternative feature highlights.
      INFO = 1

      # e.g. automated detection of possible issues with the build.
      WARNING = 2

      # e.g. alerts that a feature used in the build is pending removal
      ALERT = 3
    end
  end

  # A fatal problem encountered during the execution of the build.
  # @!attribute [rw] type
  #   @return [::Google::Cloud::Build::V1::Build::FailureInfo::FailureType]
  #     The name of the failure.
  # @!attribute [rw] detail
  #   @return [::String]
  #     Explains the failure issue in more detail using hard-coded text.
  class FailureInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The name of a fatal problem encountered during the execution of the
    # build.
    module FailureType
      # Type unspecified
      FAILURE_TYPE_UNSPECIFIED = 0

      # Unable to push the image to the repository.
      PUSH_FAILED = 1

      # Final image not found.
      PUSH_IMAGE_NOT_FOUND = 2

      # Unauthorized push of the final image.
      PUSH_NOT_AUTHORIZED = 3

      # Backend logging failures. Should retry.
      LOGGING_FAILURE = 4

      # A build step has failed.
      USER_BUILD_STEP = 5

      # The source fetching has failed.
      FETCH_SOURCE_FAILED = 6
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SubstitutionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Build::V1::TimeSpan]
  class TimingEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible status of a build or build step.
  module Status
    # Status of the build is unknown.
    STATUS_UNKNOWN = 0

    # Build has been created and is pending execution and queuing. It has not
    # been queued.
    PENDING = 10

    # Build or step is queued; work has not yet begun.
    QUEUED = 1

    # Build or step is being executed.
    WORKING = 2

    # Build or step finished successfully.
    SUCCESS = 3

    # Build or step failed to complete successfully.
    FAILURE = 4

    # Build or step failed due to an internal cause.
    INTERNAL_ERROR = 5

    # Build or step took longer than was allowed.
    TIMEOUT = 6

    # Build or step was canceled by a user.
    CANCELLED = 7

    # Build was enqueued for longer than the value of `queue_ttl`.
    EXPIRED = 9
  end
end

#timing::Google::Protobuf::Map{::String => ::Google::Cloud::Build::V1::TimeSpan} (readonly)

Returns Output only. Stores timing information for phases of the build. Valid keys are:

  • BUILD: time to execute all build steps.
  • PUSH: time to push all artifacts including docker images and non docker artifacts.
  • FETCHSOURCE: time to fetch source.
  • SETUPBUILD: time to set up build.

If the build does not specify source or images, these keys will not be included.

Returns:

  • (::Google::Protobuf::Map{::String => ::Google::Cloud::Build::V1::TimeSpan})

    Output only. Stores timing information for phases of the build. Valid keys are:

    • BUILD: time to execute all build steps.
    • PUSH: time to push all artifacts including docker images and non docker artifacts.
    • FETCHSOURCE: time to fetch source.
    • SETUPBUILD: time to set up build.

    If the build does not specify source or images, these keys will not be included.



749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 749

class Build
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A non-fatal problem encountered during the execution of the build.
  # @!attribute [rw] text
  #   @return [::String]
  #     Explanation of the warning generated.
  # @!attribute [rw] priority
  #   @return [::Google::Cloud::Build::V1::Build::Warning::Priority]
  #     The priority for this warning.
  class Warning
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The relative importance of this warning.
    module Priority
      # Should not be used.
      PRIORITY_UNSPECIFIED = 0

      # e.g. deprecation warnings and alternative feature highlights.
      INFO = 1

      # e.g. automated detection of possible issues with the build.
      WARNING = 2

      # e.g. alerts that a feature used in the build is pending removal
      ALERT = 3
    end
  end

  # A fatal problem encountered during the execution of the build.
  # @!attribute [rw] type
  #   @return [::Google::Cloud::Build::V1::Build::FailureInfo::FailureType]
  #     The name of the failure.
  # @!attribute [rw] detail
  #   @return [::String]
  #     Explains the failure issue in more detail using hard-coded text.
  class FailureInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The name of a fatal problem encountered during the execution of the
    # build.
    module FailureType
      # Type unspecified
      FAILURE_TYPE_UNSPECIFIED = 0

      # Unable to push the image to the repository.
      PUSH_FAILED = 1

      # Final image not found.
      PUSH_IMAGE_NOT_FOUND = 2

      # Unauthorized push of the final image.
      PUSH_NOT_AUTHORIZED = 3

      # Backend logging failures. Should retry.
      LOGGING_FAILURE = 4

      # A build step has failed.
      USER_BUILD_STEP = 5

      # The source fetching has failed.
      FETCH_SOURCE_FAILED = 6
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SubstitutionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Build::V1::TimeSpan]
  class TimingEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible status of a build or build step.
  module Status
    # Status of the build is unknown.
    STATUS_UNKNOWN = 0

    # Build has been created and is pending execution and queuing. It has not
    # been queued.
    PENDING = 10

    # Build or step is queued; work has not yet begun.
    QUEUED = 1

    # Build or step is being executed.
    WORKING = 2

    # Build or step finished successfully.
    SUCCESS = 3

    # Build or step failed to complete successfully.
    FAILURE = 4

    # Build or step failed due to an internal cause.
    INTERNAL_ERROR = 5

    # Build or step took longer than was allowed.
    TIMEOUT = 6

    # Build or step was canceled by a user.
    CANCELLED = 7

    # Build was enqueued for longer than the value of `queue_ttl`.
    EXPIRED = 9
  end
end

#warnings::Array<::Google::Cloud::Build::V1::Build::Warning> (readonly)

Returns Output only. Non-fatal problems encountered during the execution of the build.

Returns:



749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 749

class Build
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A non-fatal problem encountered during the execution of the build.
  # @!attribute [rw] text
  #   @return [::String]
  #     Explanation of the warning generated.
  # @!attribute [rw] priority
  #   @return [::Google::Cloud::Build::V1::Build::Warning::Priority]
  #     The priority for this warning.
  class Warning
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The relative importance of this warning.
    module Priority
      # Should not be used.
      PRIORITY_UNSPECIFIED = 0

      # e.g. deprecation warnings and alternative feature highlights.
      INFO = 1

      # e.g. automated detection of possible issues with the build.
      WARNING = 2

      # e.g. alerts that a feature used in the build is pending removal
      ALERT = 3
    end
  end

  # A fatal problem encountered during the execution of the build.
  # @!attribute [rw] type
  #   @return [::Google::Cloud::Build::V1::Build::FailureInfo::FailureType]
  #     The name of the failure.
  # @!attribute [rw] detail
  #   @return [::String]
  #     Explains the failure issue in more detail using hard-coded text.
  class FailureInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The name of a fatal problem encountered during the execution of the
    # build.
    module FailureType
      # Type unspecified
      FAILURE_TYPE_UNSPECIFIED = 0

      # Unable to push the image to the repository.
      PUSH_FAILED = 1

      # Final image not found.
      PUSH_IMAGE_NOT_FOUND = 2

      # Unauthorized push of the final image.
      PUSH_NOT_AUTHORIZED = 3

      # Backend logging failures. Should retry.
      LOGGING_FAILURE = 4

      # A build step has failed.
      USER_BUILD_STEP = 5

      # The source fetching has failed.
      FETCH_SOURCE_FAILED = 6
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SubstitutionsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Build::V1::TimeSpan]
  class TimingEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible status of a build or build step.
  module Status
    # Status of the build is unknown.
    STATUS_UNKNOWN = 0

    # Build has been created and is pending execution and queuing. It has not
    # been queued.
    PENDING = 10

    # Build or step is queued; work has not yet begun.
    QUEUED = 1

    # Build or step is being executed.
    WORKING = 2

    # Build or step finished successfully.
    SUCCESS = 3

    # Build or step failed to complete successfully.
    FAILURE = 4

    # Build or step failed due to an internal cause.
    INTERNAL_ERROR = 5

    # Build or step took longer than was allowed.
    TIMEOUT = 6

    # Build or step was canceled by a user.
    CANCELLED = 7

    # Build was enqueued for longer than the value of `queue_ttl`.
    EXPIRED = 9
  end
end