Class: Google::Cloud::Deploy::V1::Release

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

Overview

A Release resource in the Cloud Deploy API.

A Release defines a specific Skaffold configuration instance that can be deployed.

Defined Under Namespace

Modules: RenderState Classes: AnnotationsEntry, DeployParametersEntry, LabelsEntry, ReleaseCondition, ReleaseReadyCondition, SkaffoldSupportedCondition, TargetArtifactsEntry, TargetRender, TargetRendersEntry

Instance Attribute Summary collapse

Instance Attribute Details

#abandoned::Boolean (readonly)

Returns Output only. Indicates whether this is an abandoned release.

Returns:

  • (::Boolean)

    Output only. Indicates whether this is an abandoned release.



1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1898

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

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

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

Returns User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.

Returns:

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

    User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.



1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1898

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

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#build_artifacts::Array<::Google::Cloud::Deploy::V1::BuildArtifact>

Returns List of artifacts to pass through to Skaffold command.

Returns:



1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1898

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

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#condition::Google::Cloud::Deploy::V1::Release::ReleaseCondition (readonly)

Returns Output only. Information around the state of the Release.

Returns:



1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1898

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

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

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

Returns Output only. Time at which the Release was created.

Returns:



1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1898

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

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#custom_target_type_snapshots::Array<::Google::Cloud::Deploy::V1::CustomTargetType> (readonly)

Returns Output only. Snapshot of the custom target types referenced by the targets taken at release creation time.

Returns:



1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1898

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

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#delivery_pipeline_snapshot::Google::Cloud::Deploy::V1::DeliveryPipeline (readonly)

Returns Output only. Snapshot of the parent pipeline taken at release creation time.

Returns:



1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1898

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

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

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

Returns Optional. The deploy parameters to use for all targets in this release.

Returns:

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

    Optional. The deploy parameters to use for all targets in this release.



1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1898

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

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#description::String

Returns Description of the Release. Max length is 255 characters.

Returns:

  • (::String)

    Description of the Release. Max length is 255 characters.



1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1898

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

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#etag::String

Returns This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

Returns:

  • (::String)

    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.



1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1898

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

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

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

Returns Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints:

  • Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
  • All characters must use UTF-8 encoding, and international characters are allowed.
  • Keys must start with a lowercase letter or international character.
  • Each resource is limited to a maximum of 64 labels.

Both keys and values are additionally constrained to be <= 128 bytes.

Returns:

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

    Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints:

    • Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
    • All characters must use UTF-8 encoding, and international characters are allowed.
    • Keys must start with a lowercase letter or international character.
    • Each resource is limited to a maximum of 64 labels.

    Both keys and values are additionally constrained to be <= 128 bytes.



1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1898

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

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#name::String

Returns Optional. Name of the Release. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}. The release component must match [a-z]([a-z0-9-]{0,61}[a-z0-9])?.

Returns:

  • (::String)

    Optional. Name of the Release. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}. The release component must match [a-z]([a-z0-9-]{0,61}[a-z0-9])?



1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1898

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

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

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

Returns Output only. Time at which the render completed.

Returns:



1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1898

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

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

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

Returns Output only. Time at which the render began.

Returns:



1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1898

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

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#render_state::Google::Cloud::Deploy::V1::Release::RenderState (readonly)

Returns Output only. Current state of the render operation.

Returns:



1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1898

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

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#skaffold_config_path::String

Returns Filepath of the Skaffold config inside of the config URI.

Returns:

  • (::String)

    Filepath of the Skaffold config inside of the config URI.



1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1898

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

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#skaffold_config_uri::String

Returns Cloud Storage URI of tar.gz archive containing Skaffold configuration.

Returns:

  • (::String)

    Cloud Storage URI of tar.gz archive containing Skaffold configuration.



1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1898

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

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#skaffold_version::String

Returns The Skaffold version to use when operating on this release, such as "1.20.0". Not all versions are valid; Cloud Deploy supports a specific set of versions.

If unset, the most recent supported Skaffold version will be used.

Returns:

  • (::String)

    The Skaffold version to use when operating on this release, such as "1.20.0". Not all versions are valid; Cloud Deploy supports a specific set of versions.

    If unset, the most recent supported Skaffold version will be used.



1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1898

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

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#target_artifacts::Google::Protobuf::Map{::String => ::Google::Cloud::Deploy::V1::TargetArtifact} (readonly)

Returns Output only. Map from target ID to the target artifacts created during the render operation.

Returns:



1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1898

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

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#target_renders::Google::Protobuf::Map{::String => ::Google::Cloud::Deploy::V1::Release::TargetRender} (readonly)

Returns Output only. Map from target ID to details of the render operation for that target.

Returns:



1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1898

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

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#target_snapshots::Array<::Google::Cloud::Deploy::V1::Target> (readonly)

Returns Output only. Snapshot of the targets taken at release creation time.

Returns:



1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1898

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

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end

#uid::String (readonly)

Returns Output only. Unique identifier of the Release.

Returns:

  • (::String)

    Output only. Unique identifier of the Release.



1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1898

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

  # Details of rendering for a single target.
  # @!attribute [r] rendering_build
  #   @return [::String]
  #     Output only. The resource name of the Cloud Build `Build` object that is
  #     used to render the manifest for this target. Format is
  #     `projects/{project}/locations/{location}/builds/{build}`.
  # @!attribute [r] rendering_state
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
  #     Output only. Current state of the render operation for this Target.
  # @!attribute [r] metadata
  #   @return [::Google::Cloud::Deploy::V1::RenderMetadata]
  #     Output only. Metadata related to the `Release` render for this Target.
  # @!attribute [r] failure_cause
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
  #     Output only. Reason this render failed. This will always be unspecified
  #     while the render in progress.
  # @!attribute [r] failure_message
  #   @return [::String]
  #     Output only. Additional information about the render failure, if
  #     available.
  class TargetRender
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Valid states of the render operation.
    module TargetRenderState
      # The render operation state is unspecified.
      TARGET_RENDER_STATE_UNSPECIFIED = 0

      # The render operation has completed successfully.
      SUCCEEDED = 1

      # The render operation has failed.
      FAILED = 2

      # The render operation is in progress.
      IN_PROGRESS = 3
    end

    # Well-known rendering failures.
    module FailureCause
      # No reason for failure is specified.
      FAILURE_CAUSE_UNSPECIFIED = 0

      # Cloud Build is not available, either because it is not enabled or
      # because Cloud Deploy has insufficient permissions. See [required
      # permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
      CLOUD_BUILD_UNAVAILABLE = 1

      # The render operation did not complete successfully; check Cloud Build
      # logs.
      EXECUTION_FAILED = 2

      # Cloud Build failed to fulfill Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3

      # The render operation did not complete successfully because the
      # verification stanza required for verify was not found on the Skaffold
      # configuration.
      VERIFICATION_CONFIG_NOT_FOUND = 4

      # The render operation did not complete successfully because the custom
      # action required for predeploy or postdeploy was not found in the
      # Skaffold configuration. See failure_message for additional details.
      CUSTOM_ACTION_NOT_FOUND = 5

      # Release failed during rendering because the release configuration is
      # not supported with the specified deployment strategy.
      DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6

      # The render operation had a feature configured that is not supported.
      RENDER_FEATURE_NOT_SUPPORTED = 7
    end
  end

  # ReleaseReadyCondition contains information around the status of the
  # Release. If a release is not ready, you cannot create a rollout with the
  # release.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the Release is in a valid state. Otherwise at least one condition
  #     in `ReleaseCondition` is in an invalid state. Iterate over those
  #     conditions and see which condition(s) has status = false to find out what
  #     is wrong with the Release.
  class ReleaseReadyCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # SkaffoldSupportedCondition contains information about when support for the
  # release's version of Skaffold ends.
  # @!attribute [rw] status
  #   @return [::Boolean]
  #     True if the version of Skaffold used by this release is supported.
  # @!attribute [rw] skaffold_support_state
  #   @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
  #     The Skaffold support state for this release's version of Skaffold.
  # @!attribute [rw] maintenance_mode_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will enter
  #     maintenance mode.
  # @!attribute [rw] support_expiration_time
  #   @return [::Google::Protobuf::Timestamp]
  #     The time at which this release's version of Skaffold will no longer be
  #     supported.
  class SkaffoldSupportedCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # ReleaseCondition contains all conditions relevant to a Release.
  # @!attribute [rw] release_ready_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::ReleaseReadyCondition]
  #     Details around the Releases's overall status.
  # @!attribute [rw] skaffold_supported_condition
  #   @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
  #     Details around the support state of the release's Skaffold
  #     version.
  class ReleaseCondition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::TargetArtifact]
  class TargetArtifactsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Deploy::V1::Release::TargetRender]
  class TargetRendersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

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

  # Valid states of the render operation.
  module RenderState
    # The render state is unspecified.
    RENDER_STATE_UNSPECIFIED = 0

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

    # All rendering operations have completed, and one or more have failed.
    FAILED = 2

    # Rendering has started and is not complete.
    IN_PROGRESS = 3
  end
end