Class: Google::Cloud::Deploy::V1::Release
- Inherits:
-
Object
- Object
- Google::Cloud::Deploy::V1::Release
- 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, DeployParametersEntry, LabelsEntry, ReleaseCondition, ReleaseReadyCondition, SkaffoldSupportedCondition, TargetArtifactsEntry, TargetRender, TargetRendersEntry
Instance Attribute Summary collapse
-
#abandoned ⇒ ::Boolean
readonly
Output only.
-
#annotations ⇒ ::Google::Protobuf::Map{::String => ::String}
User annotations.
-
#build_artifacts ⇒ ::Array<::Google::Cloud::Deploy::V1::BuildArtifact>
List of artifacts to pass through to Skaffold command.
-
#condition ⇒ ::Google::Cloud::Deploy::V1::Release::ReleaseCondition
readonly
Output only.
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#delivery_pipeline_snapshot ⇒ ::Google::Cloud::Deploy::V1::DeliveryPipeline
readonly
Output only.
-
#deploy_parameters ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional.
-
#description ⇒ ::String
Description of the
Release
. -
#etag ⇒ ::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.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Labels are attributes that can be set and used by both the user and by Google Cloud Deploy.
-
#name ⇒ ::String
Optional.
-
#render_end_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#render_start_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#render_state ⇒ ::Google::Cloud::Deploy::V1::Release::RenderState
readonly
Output only.
-
#skaffold_config_path ⇒ ::String
Filepath of the Skaffold config inside of the config URI.
-
#skaffold_config_uri ⇒ ::String
Cloud Storage URI of tar.gz archive containing Skaffold configuration.
-
#skaffold_version ⇒ ::String
The Skaffold version to use when operating on this release, such as "1.20.0".
-
#target_artifacts ⇒ ::Google::Protobuf::Map{::String => ::Google::Cloud::Deploy::V1::TargetArtifact}
readonly
Output only.
-
#target_renders ⇒ ::Google::Protobuf::Map{::String => ::Google::Cloud::Deploy::V1::Release::TargetRender}
readonly
Output only.
-
#target_snapshots ⇒ ::Array<::Google::Cloud::Deploy::V1::Target>
readonly
Output only.
-
#uid ⇒ ::String
readonly
Output only.
Instance Attribute Details
#abandoned ⇒ ::Boolean (readonly)
Returns Output only. Indicates whether this is an abandoned release.
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 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1077 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class DeployParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Valid states of the render operation. module RenderState # The render state is unspecified. RENDER_STATE_UNSPECIFIED = 0 # All rendering operations have completed successfully. SUCCEEDED = 1 # All rendering operations have completed, and one or more have failed. FAILED = 2 # Rendering has started and is not complete. IN_PROGRESS = 3 end end |
#annotations ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
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 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1077 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class DeployParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Valid states of the render operation. module RenderState # The render state is unspecified. RENDER_STATE_UNSPECIFIED = 0 # All rendering operations have completed successfully. SUCCEEDED = 1 # All rendering operations have completed, and one or more have failed. FAILED = 2 # Rendering has started and is not complete. IN_PROGRESS = 3 end end |
#build_artifacts ⇒ ::Array<::Google::Cloud::Deploy::V1::BuildArtifact>
Returns List of artifacts to pass through to Skaffold command.
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 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1077 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class DeployParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Valid states of the render operation. module RenderState # The render state is unspecified. RENDER_STATE_UNSPECIFIED = 0 # All rendering operations have completed successfully. SUCCEEDED = 1 # All rendering operations have completed, and one or more have failed. FAILED = 2 # Rendering has started and is not complete. IN_PROGRESS = 3 end end |
#condition ⇒ ::Google::Cloud::Deploy::V1::Release::ReleaseCondition (readonly)
Returns Output only. Information around the state of the Release.
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 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1077 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class DeployParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Valid states of the render operation. module RenderState # The render state is unspecified. RENDER_STATE_UNSPECIFIED = 0 # All rendering operations have completed successfully. SUCCEEDED = 1 # All rendering operations have completed, and one or more have failed. FAILED = 2 # Rendering has started and is not complete. IN_PROGRESS = 3 end end |
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Time at which the Release
was created.
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 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1077 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class DeployParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Valid states of the render operation. module RenderState # The render state is unspecified. RENDER_STATE_UNSPECIFIED = 0 # All rendering operations have completed successfully. SUCCEEDED = 1 # All rendering operations have completed, and one or more have failed. FAILED = 2 # Rendering has started and is not complete. IN_PROGRESS = 3 end end |
#delivery_pipeline_snapshot ⇒ ::Google::Cloud::Deploy::V1::DeliveryPipeline (readonly)
Returns Output only. Snapshot of the parent pipeline taken at release creation time.
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 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1077 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class DeployParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Valid states of the render operation. module RenderState # The render state is unspecified. RENDER_STATE_UNSPECIFIED = 0 # All rendering operations have completed successfully. SUCCEEDED = 1 # All rendering operations have completed, and one or more have failed. FAILED = 2 # Rendering has started and is not complete. IN_PROGRESS = 3 end end |
#deploy_parameters ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Optional. The deploy parameters to use for all targets in this release.
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 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1077 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class DeployParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Valid states of the render operation. module RenderState # The render state is unspecified. RENDER_STATE_UNSPECIFIED = 0 # All rendering operations have completed successfully. SUCCEEDED = 1 # All rendering operations have completed, and one or more have failed. FAILED = 2 # Rendering has started and is not complete. IN_PROGRESS = 3 end end |
#description ⇒ ::String
Returns Description of the Release
. Max length is 255 characters.
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 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1077 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class DeployParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Valid states of the render operation. module RenderState # The render state is unspecified. RENDER_STATE_UNSPECIFIED = 0 # All rendering operations have completed successfully. SUCCEEDED = 1 # All rendering operations have completed, and one or more have failed. FAILED = 2 # Rendering has started and is not complete. IN_PROGRESS = 3 end end |
#etag ⇒ ::String
Returns This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
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 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1077 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class DeployParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Valid states of the render operation. module RenderState # The render state is unspecified. RENDER_STATE_UNSPECIFIED = 0 # All rendering operations have completed successfully. SUCCEEDED = 1 # All rendering operations have completed, and one or more have failed. FAILED = 2 # Rendering has started and is not complete. IN_PROGRESS = 3 end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Labels are attributes that can be set and used by both the user and by 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.
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 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1077 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class DeployParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Valid states of the render operation. module RenderState # The render state is unspecified. RENDER_STATE_UNSPECIFIED = 0 # All rendering operations have completed successfully. SUCCEEDED = 1 # All rendering operations have completed, and one or more have failed. FAILED = 2 # Rendering has started and is not complete. IN_PROGRESS = 3 end end |
#name ⇒ ::String
Returns Optional. Name of the Release
. Format is projects/{project}/
locations/{location}/deliveryPipelines/{deliveryPipeline}/
releases/[a-z][a-z0-9-]{0,62}.
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 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1077 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class DeployParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Valid states of the render operation. module RenderState # The render state is unspecified. RENDER_STATE_UNSPECIFIED = 0 # All rendering operations have completed successfully. SUCCEEDED = 1 # All rendering operations have completed, and one or more have failed. FAILED = 2 # Rendering has started and is not complete. IN_PROGRESS = 3 end end |
#render_end_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Time at which the render completed.
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 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1077 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class DeployParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Valid states of the render operation. module RenderState # The render state is unspecified. RENDER_STATE_UNSPECIFIED = 0 # All rendering operations have completed successfully. SUCCEEDED = 1 # All rendering operations have completed, and one or more have failed. FAILED = 2 # Rendering has started and is not complete. IN_PROGRESS = 3 end end |
#render_start_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Time at which the render began.
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 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1077 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class DeployParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Valid states of the render operation. module RenderState # The render state is unspecified. RENDER_STATE_UNSPECIFIED = 0 # All rendering operations have completed successfully. SUCCEEDED = 1 # All rendering operations have completed, and one or more have failed. FAILED = 2 # Rendering has started and is not complete. IN_PROGRESS = 3 end end |
#render_state ⇒ ::Google::Cloud::Deploy::V1::Release::RenderState (readonly)
Returns Output only. Current state of the render operation.
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 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1077 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class DeployParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Valid states of the render operation. module RenderState # The render state is unspecified. RENDER_STATE_UNSPECIFIED = 0 # All rendering operations have completed successfully. SUCCEEDED = 1 # All rendering operations have completed, and one or more have failed. FAILED = 2 # Rendering has started and is not complete. IN_PROGRESS = 3 end end |
#skaffold_config_path ⇒ ::String
Returns Filepath of the Skaffold config inside of the config URI.
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 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1077 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class DeployParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Valid states of the render operation. module RenderState # The render state is unspecified. RENDER_STATE_UNSPECIFIED = 0 # All rendering operations have completed successfully. SUCCEEDED = 1 # All rendering operations have completed, and one or more have failed. FAILED = 2 # Rendering has started and is not complete. IN_PROGRESS = 3 end end |
#skaffold_config_uri ⇒ ::String
Returns Cloud Storage URI of tar.gz archive containing Skaffold configuration.
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 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1077 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class DeployParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Valid states of the render operation. module RenderState # The render state is unspecified. RENDER_STATE_UNSPECIFIED = 0 # All rendering operations have completed successfully. SUCCEEDED = 1 # All rendering operations have completed, and one or more have failed. FAILED = 2 # Rendering has started and is not complete. IN_PROGRESS = 3 end end |
#skaffold_version ⇒ ::String
Returns The Skaffold version to use when operating on this release, such as "1.20.0". Not all versions are valid; Google Cloud Deploy supports a specific set of versions.
If unset, the most recent supported Skaffold version will be used.
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 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1077 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class DeployParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Valid states of the render operation. module RenderState # The render state is unspecified. RENDER_STATE_UNSPECIFIED = 0 # All rendering operations have completed successfully. SUCCEEDED = 1 # All rendering operations have completed, and one or more have failed. FAILED = 2 # Rendering has started and is not complete. IN_PROGRESS = 3 end end |
#target_artifacts ⇒ ::Google::Protobuf::Map{::String => ::Google::Cloud::Deploy::V1::TargetArtifact} (readonly)
Returns Output only. Map from target ID to the target artifacts created during the render operation.
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 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1077 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class DeployParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Valid states of the render operation. module RenderState # The render state is unspecified. RENDER_STATE_UNSPECIFIED = 0 # All rendering operations have completed successfully. SUCCEEDED = 1 # All rendering operations have completed, and one or more have failed. FAILED = 2 # Rendering has started and is not complete. IN_PROGRESS = 3 end end |
#target_renders ⇒ ::Google::Protobuf::Map{::String => ::Google::Cloud::Deploy::V1::Release::TargetRender} (readonly)
Returns Output only. Map from target ID to details of the render operation for that target.
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 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1077 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class DeployParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Valid states of the render operation. module RenderState # The render state is unspecified. RENDER_STATE_UNSPECIFIED = 0 # All rendering operations have completed successfully. SUCCEEDED = 1 # All rendering operations have completed, and one or more have failed. FAILED = 2 # Rendering has started and is not complete. IN_PROGRESS = 3 end end |
#target_snapshots ⇒ ::Array<::Google::Cloud::Deploy::V1::Target> (readonly)
Returns Output only. Snapshot of the targets taken at release creation time.
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 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1077 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class DeployParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Valid states of the render operation. module RenderState # The render state is unspecified. RENDER_STATE_UNSPECIFIED = 0 # All rendering operations have completed successfully. SUCCEEDED = 1 # All rendering operations have completed, and one or more have failed. FAILED = 2 # Rendering has started and is not complete. IN_PROGRESS = 3 end end |
#uid ⇒ ::String (readonly)
Returns Output only. Unique identifier of the Release
.
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 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1077 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class DeployParametersEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Valid states of the render operation. module RenderState # The render state is unspecified. RENDER_STATE_UNSPECIFIED = 0 # All rendering operations have completed successfully. SUCCEEDED = 1 # All rendering operations have completed, and one or more have failed. FAILED = 2 # Rendering has started and is not complete. IN_PROGRESS = 3 end end |