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 Google Cloud Deploy API.

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

Defined Under Namespace

Modules: RenderState Classes: AnnotationsEntry, 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.



1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1027

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 Google Cloud Deploy has insufficient permissions. See [required
      # permission](/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 Google Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3
    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

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

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

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

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

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

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

Returns:

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

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



1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1027

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 Google Cloud Deploy has insufficient permissions. See [required
      # permission](/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 Google Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3
    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

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

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

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

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

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

Returns List of artifacts to pass through to Skaffold command.

Returns:



1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1027

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 Google Cloud Deploy has insufficient permissions. See [required
      # permission](/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 Google Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3
    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

  # 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:



1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1027

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 Google Cloud Deploy has insufficient permissions. See [required
      # permission](/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 Google Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3
    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

  # 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:



1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1027

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 Google Cloud Deploy has insufficient permissions. See [required
      # permission](/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 Google Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3
    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

  # 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:



1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1027

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 Google Cloud Deploy has insufficient permissions. See [required
      # permission](/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 Google Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3
    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

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

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

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

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

#description::String

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

Returns:

  • (::String)

    Description of the Release. Max length is 255 characters.



1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1027

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 Google Cloud Deploy has insufficient permissions. See [required
      # permission](/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 Google Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3
    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

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



1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1027

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 Google Cloud Deploy has insufficient permissions. See [required
      # permission](/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 Google Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3
    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

  # 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 Google 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 Google 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.



1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1027

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 Google Cloud Deploy has insufficient permissions. See [required
      # permission](/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 Google Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3
    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

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

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

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

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

#name::String

Returns Optional. Name of the Release. Format is projects/{project}/ locations/{location}/deliveryPipelines/{deliveryPipeline}/ releases/[a-z][a-z0-9-]{0,62}.

Returns:

  • (::String)

    Optional. Name of the Release. Format is projects/{project}/ locations/{location}/deliveryPipelines/{deliveryPipeline}/ releases/[a-z][a-z0-9-]{0,62}.



1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1027

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 Google Cloud Deploy has insufficient permissions. See [required
      # permission](/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 Google Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3
    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

  # 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:



1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1027

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 Google Cloud Deploy has insufficient permissions. See [required
      # permission](/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 Google Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3
    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

  # 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:



1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1027

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 Google Cloud Deploy has insufficient permissions. See [required
      # permission](/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 Google Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3
    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

  # 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:



1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1027

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 Google Cloud Deploy has insufficient permissions. See [required
      # permission](/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 Google Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3
    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

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

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

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

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

#skaffold_config_path::String

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

Returns:

  • (::String)

    Filepath of the Skaffold config inside of the config URI.



1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1027

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 Google Cloud Deploy has insufficient permissions. See [required
      # permission](/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 Google Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3
    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

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

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

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

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

#skaffold_config_uri::String

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

Returns:

  • (::String)

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



1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1027

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 Google Cloud Deploy has insufficient permissions. See [required
      # permission](/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 Google Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3
    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

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

    # All rendering operations have completed successfully.
    SUCCEEDED = 1

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

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

#skaffold_version::String

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

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

Returns:

  • (::String)

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

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



1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1027

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 Google Cloud Deploy has insufficient permissions. See [required
      # permission](/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 Google Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3
    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

  # 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:



1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1027

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 Google Cloud Deploy has insufficient permissions. See [required
      # permission](/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 Google Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3
    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

  # 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:



1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1027

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 Google Cloud Deploy has insufficient permissions. See [required
      # permission](/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 Google Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3
    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

  # 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:



1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1027

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 Google Cloud Deploy has insufficient permissions. See [required
      # permission](/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 Google Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3
    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

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



1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1027

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 Google Cloud Deploy has insufficient permissions. See [required
      # permission](/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 Google Cloud Deploy's request. See
      # failure_message for additional details.
      CLOUD_BUILD_REQUEST_FAILED = 3
    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

  # 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