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.



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
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2002

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(s) required for Rollout jobs were 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 Optional. 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})

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



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
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2002

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(s) required for Rollout jobs were 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 Optional. List of artifacts to pass through to Skaffold command.

Returns:



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
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2002

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(s) required for Rollout jobs were 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:



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
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2002

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(s) required for Rollout jobs were 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:



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
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2002

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(s) required for Rollout jobs were 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:



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
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2002

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(s) required for Rollout jobs were 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:



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
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2002

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(s) required for Rollout jobs were 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.



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
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2002

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(s) required for Rollout jobs were 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 Optional. Description of the Release. Max length is 255 characters.

Returns:

  • (::String)

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



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
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2002

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(s) required for Rollout jobs were 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.



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
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2002

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(s) required for Rollout jobs were 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.



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
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2002

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(s) required for Rollout jobs were 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 Identifier. 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)

    Identifier. 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])?



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
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2002

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(s) required for Rollout jobs were 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:



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
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2002

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(s) required for Rollout jobs were 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:



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
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2002

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(s) required for Rollout jobs were 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:



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
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2002

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(s) required for Rollout jobs were 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 Optional. Filepath of the Skaffold config inside of the config URI.

Returns:

  • (::String)

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



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
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2002

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(s) required for Rollout jobs were 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 Optional. Cloud Storage URI of tar.gz archive containing Skaffold configuration.

Returns:

  • (::String)

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



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
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2002

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(s) required for Rollout jobs were 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 Optional. 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)

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



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
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2002

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(s) required for Rollout jobs were 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:



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
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2002

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(s) required for Rollout jobs were 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:



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
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2002

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(s) required for Rollout jobs were 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:



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
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2002

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(s) required for Rollout jobs were 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.



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
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 2002

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(s) required for Rollout jobs were 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