google-cloud-deploy-v1 0.14.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/deploy/v1/cloud_deploy/client.rb +602 -4
- data/lib/google/cloud/deploy/v1/cloud_deploy/paths.rb +19 -0
- data/lib/google/cloud/deploy/v1/cloud_deploy/rest/client.rb +566 -4
- data/lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb +297 -0
- data/lib/google/cloud/deploy/v1/cloud_deploy_pb.rb +15 -1
- data/lib/google/cloud/deploy/v1/cloud_deploy_services_pb.rb +10 -0
- data/lib/google/cloud/deploy/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +13 -0
- data/proto_docs/google/cloud/deploy/v1/cloud_deploy.rb +420 -27
- metadata +2 -2
@@ -358,6 +358,18 @@ module Google
|
|
358
358
|
# Service on the user's behalf to facilitate traffic splitting. This is
|
359
359
|
# required to be true for CanaryDeployments, but optional for
|
360
360
|
# CustomCanaryDeployments.
|
361
|
+
# @!attribute [rw] canary_revision_tags
|
362
|
+
# @return [::Array<::String>]
|
363
|
+
# Optional. A list of tags that are added to the canary revision while the
|
364
|
+
# canary deployment is in progress.
|
365
|
+
# @!attribute [rw] prior_revision_tags
|
366
|
+
# @return [::Array<::String>]
|
367
|
+
# Optional. A list of tags that are added to the prior revision while the
|
368
|
+
# canary deployment is in progress.
|
369
|
+
# @!attribute [rw] stable_revision_tags
|
370
|
+
# @return [::Array<::String>]
|
371
|
+
# Optional. A list of tags that are added to the final stable revision after
|
372
|
+
# the canary deployment is completed.
|
361
373
|
class CloudRunConfig
|
362
374
|
include ::Google::Protobuf::MessageExts
|
363
375
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -392,7 +404,7 @@ module Google
|
|
392
404
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
393
405
|
end
|
394
406
|
|
395
|
-
# TargetsPresentCondition contains information on any Targets
|
407
|
+
# `TargetsPresentCondition` contains information on any Targets referenced in
|
396
408
|
# the Delivery Pipeline that do not actually exist.
|
397
409
|
# @!attribute [rw] status
|
398
410
|
# @return [::Boolean]
|
@@ -726,6 +738,9 @@ module Google
|
|
726
738
|
# @!attribute [rw] multi_target
|
727
739
|
# @return [::Google::Cloud::Deploy::V1::MultiTarget]
|
728
740
|
# Optional. Information specifying a multiTarget.
|
741
|
+
# @!attribute [rw] custom_target
|
742
|
+
# @return [::Google::Cloud::Deploy::V1::CustomTarget]
|
743
|
+
# Optional. Information specifying a Custom Target.
|
729
744
|
# @!attribute [rw] etag
|
730
745
|
# @return [::String]
|
731
746
|
# Optional. This checksum is computed by the server based on the value of
|
@@ -921,6 +936,16 @@ module Google
|
|
921
936
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
922
937
|
end
|
923
938
|
|
939
|
+
# Information specifying a Custom Target.
|
940
|
+
# @!attribute [rw] custom_target_type
|
941
|
+
# @return [::String]
|
942
|
+
# Required. The name of the CustomTargetType. Format must be
|
943
|
+
# `projects/{project}/locations/{location}/customTargetTypes/{custom_target_type}`.
|
944
|
+
class CustomTarget
|
945
|
+
include ::Google::Protobuf::MessageExts
|
946
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
947
|
+
end
|
948
|
+
|
924
949
|
# The request object for `ListTargets`.
|
925
950
|
# @!attribute [rw] parent
|
926
951
|
# @return [::String]
|
@@ -1091,6 +1116,315 @@ module Google
|
|
1091
1116
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1092
1117
|
end
|
1093
1118
|
|
1119
|
+
# A `CustomTargetType` resource in the Cloud Deploy API.
|
1120
|
+
#
|
1121
|
+
# A `CustomTargetType` defines a type of custom target that can be referenced
|
1122
|
+
# in a `Target` in order to facilitate deploying to a runtime that does not
|
1123
|
+
# have a 1P integration with Cloud Deploy.
|
1124
|
+
# @!attribute [rw] name
|
1125
|
+
# @return [::String]
|
1126
|
+
# Optional. Name of the `CustomTargetType`. Format is
|
1127
|
+
# `projects/{project}/locations/{location}/customTargetTypes/[a-z][a-z0-9\-]{0,62}`.
|
1128
|
+
# @!attribute [r] custom_target_type_id
|
1129
|
+
# @return [::String]
|
1130
|
+
# Output only. Resource id of the `CustomTargetType`.
|
1131
|
+
# @!attribute [r] uid
|
1132
|
+
# @return [::String]
|
1133
|
+
# Output only. Unique identifier of the `CustomTargetType`.
|
1134
|
+
# @!attribute [rw] description
|
1135
|
+
# @return [::String]
|
1136
|
+
# Optional. Description of the `CustomTargetType`. Max length is 255
|
1137
|
+
# characters.
|
1138
|
+
# @!attribute [rw] annotations
|
1139
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
1140
|
+
# Optional. User annotations. These attributes can only be set and used by
|
1141
|
+
# the user, and not by Cloud Deploy. See
|
1142
|
+
# https://google.aip.dev/128#annotations for more details such as format and
|
1143
|
+
# size limitations.
|
1144
|
+
# @!attribute [rw] labels
|
1145
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
1146
|
+
# Optional. Labels are attributes that can be set and used by both the
|
1147
|
+
# user and by Cloud Deploy. Labels must meet the following constraints:
|
1148
|
+
#
|
1149
|
+
# * Keys and values can contain only lowercase letters, numeric characters,
|
1150
|
+
# underscores, and dashes.
|
1151
|
+
# * All characters must use UTF-8 encoding, and international characters are
|
1152
|
+
# allowed.
|
1153
|
+
# * Keys must start with a lowercase letter or international character.
|
1154
|
+
# * Each resource is limited to a maximum of 64 labels.
|
1155
|
+
#
|
1156
|
+
# Both keys and values are additionally constrained to be <= 128 bytes.
|
1157
|
+
# @!attribute [r] create_time
|
1158
|
+
# @return [::Google::Protobuf::Timestamp]
|
1159
|
+
# Output only. Time at which the `CustomTargetType` was created.
|
1160
|
+
# @!attribute [r] update_time
|
1161
|
+
# @return [::Google::Protobuf::Timestamp]
|
1162
|
+
# Output only. Most recent time at which the `CustomTargetType` was updated.
|
1163
|
+
# @!attribute [rw] etag
|
1164
|
+
# @return [::String]
|
1165
|
+
# Optional. This checksum is computed by the server based on the value of
|
1166
|
+
# other fields, and may be sent on update and delete requests to ensure the
|
1167
|
+
# client has an up-to-date value before proceeding.
|
1168
|
+
# @!attribute [rw] custom_actions
|
1169
|
+
# @return [::Google::Cloud::Deploy::V1::CustomTargetSkaffoldActions]
|
1170
|
+
# Configures render and deploy for the `CustomTargetType` using Skaffold
|
1171
|
+
# custom actions.
|
1172
|
+
class CustomTargetType
|
1173
|
+
include ::Google::Protobuf::MessageExts
|
1174
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1175
|
+
|
1176
|
+
# @!attribute [rw] key
|
1177
|
+
# @return [::String]
|
1178
|
+
# @!attribute [rw] value
|
1179
|
+
# @return [::String]
|
1180
|
+
class AnnotationsEntry
|
1181
|
+
include ::Google::Protobuf::MessageExts
|
1182
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1183
|
+
end
|
1184
|
+
|
1185
|
+
# @!attribute [rw] key
|
1186
|
+
# @return [::String]
|
1187
|
+
# @!attribute [rw] value
|
1188
|
+
# @return [::String]
|
1189
|
+
class LabelsEntry
|
1190
|
+
include ::Google::Protobuf::MessageExts
|
1191
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1192
|
+
end
|
1193
|
+
end
|
1194
|
+
|
1195
|
+
# CustomTargetSkaffoldActions represents the `CustomTargetType` configuration
|
1196
|
+
# using Skaffold custom actions.
|
1197
|
+
# @!attribute [rw] render_action
|
1198
|
+
# @return [::String]
|
1199
|
+
# Optional. The Skaffold custom action responsible for render operations. If
|
1200
|
+
# not provided then Cloud Deploy will perform the render operations via
|
1201
|
+
# `skaffold render`.
|
1202
|
+
# @!attribute [rw] deploy_action
|
1203
|
+
# @return [::String]
|
1204
|
+
# Required. The Skaffold custom action responsible for deploy operations.
|
1205
|
+
# @!attribute [rw] include_skaffold_modules
|
1206
|
+
# @return [::Array<::Google::Cloud::Deploy::V1::SkaffoldModules>]
|
1207
|
+
# Optional. List of Skaffold modules Cloud Deploy will include in the
|
1208
|
+
# Skaffold Config as required before performing diagnose.
|
1209
|
+
class CustomTargetSkaffoldActions
|
1210
|
+
include ::Google::Protobuf::MessageExts
|
1211
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1212
|
+
end
|
1213
|
+
|
1214
|
+
# Skaffold Config modules and their remote source.
|
1215
|
+
# @!attribute [rw] configs
|
1216
|
+
# @return [::Array<::String>]
|
1217
|
+
# Optional. The Skaffold Config modules to use from the specified source.
|
1218
|
+
# @!attribute [rw] git
|
1219
|
+
# @return [::Google::Cloud::Deploy::V1::SkaffoldModules::SkaffoldGitSource]
|
1220
|
+
# Remote git repository containing the Skaffold Config modules.
|
1221
|
+
# @!attribute [rw] google_cloud_storage
|
1222
|
+
# @return [::Google::Cloud::Deploy::V1::SkaffoldModules::SkaffoldGCSSource]
|
1223
|
+
# Cloud Storage bucket containing the Skaffold Config modules.
|
1224
|
+
class SkaffoldModules
|
1225
|
+
include ::Google::Protobuf::MessageExts
|
1226
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1227
|
+
|
1228
|
+
# Git repository containing Skaffold Config modules.
|
1229
|
+
# @!attribute [rw] repo
|
1230
|
+
# @return [::String]
|
1231
|
+
# Required. Git repository the package should be cloned from.
|
1232
|
+
# @!attribute [rw] path
|
1233
|
+
# @return [::String]
|
1234
|
+
# Optional. Relative path from the repository root to the Skaffold file.
|
1235
|
+
# @!attribute [rw] ref
|
1236
|
+
# @return [::String]
|
1237
|
+
# Optional. Git ref the package should be cloned from.
|
1238
|
+
class SkaffoldGitSource
|
1239
|
+
include ::Google::Protobuf::MessageExts
|
1240
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1241
|
+
end
|
1242
|
+
|
1243
|
+
# Cloud Storage bucket containing Skaffold Config modules.
|
1244
|
+
# @!attribute [rw] source
|
1245
|
+
# @return [::String]
|
1246
|
+
# Required. Cloud Storage source paths to copy recursively. For example,
|
1247
|
+
# providing "gs://my-bucket/dir/configs/*" will result in Skaffold copying
|
1248
|
+
# all files within the "dir/configs" directory in the bucket "my-bucket".
|
1249
|
+
# @!attribute [rw] path
|
1250
|
+
# @return [::String]
|
1251
|
+
# Optional. Relative path from the source to the Skaffold file.
|
1252
|
+
class SkaffoldGCSSource
|
1253
|
+
include ::Google::Protobuf::MessageExts
|
1254
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1255
|
+
end
|
1256
|
+
end
|
1257
|
+
|
1258
|
+
# The request object for `ListCustomTargetTypes`.
|
1259
|
+
# @!attribute [rw] parent
|
1260
|
+
# @return [::String]
|
1261
|
+
# Required. The parent that owns this collection of custom target types.
|
1262
|
+
# Format must be `projects/{project_id}/locations/{location_name}`.
|
1263
|
+
# @!attribute [rw] page_size
|
1264
|
+
# @return [::Integer]
|
1265
|
+
# Optional. The maximum number of `CustomTargetType` objects to return. The
|
1266
|
+
# service may return fewer than this value. If unspecified, at most 50
|
1267
|
+
# `CustomTargetType` objects will be returned. The maximum value is 1000;
|
1268
|
+
# values above 1000 will be set to 1000.
|
1269
|
+
# @!attribute [rw] page_token
|
1270
|
+
# @return [::String]
|
1271
|
+
# Optional. A page token, received from a previous `ListCustomTargetTypes`
|
1272
|
+
# call. Provide this to retrieve the subsequent page.
|
1273
|
+
#
|
1274
|
+
# When paginating, all other provided parameters match
|
1275
|
+
# the call that provided the page token.
|
1276
|
+
# @!attribute [rw] filter
|
1277
|
+
# @return [::String]
|
1278
|
+
# Optional. Filter custom target types to be returned. See
|
1279
|
+
# https://google.aip.dev/160 for more details.
|
1280
|
+
# @!attribute [rw] order_by
|
1281
|
+
# @return [::String]
|
1282
|
+
# Optional. Field to sort by. See https://google.aip.dev/132#ordering for
|
1283
|
+
# more details.
|
1284
|
+
class ListCustomTargetTypesRequest
|
1285
|
+
include ::Google::Protobuf::MessageExts
|
1286
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1287
|
+
end
|
1288
|
+
|
1289
|
+
# The response object from `ListCustomTargetTypes.`
|
1290
|
+
# @!attribute [rw] custom_target_types
|
1291
|
+
# @return [::Array<::Google::Cloud::Deploy::V1::CustomTargetType>]
|
1292
|
+
# The `CustomTargetType` objects.
|
1293
|
+
# @!attribute [rw] next_page_token
|
1294
|
+
# @return [::String]
|
1295
|
+
# A token, which can be sent as `page_token` to retrieve the next page.
|
1296
|
+
# If this field is omitted, there are no subsequent pages.
|
1297
|
+
# @!attribute [rw] unreachable
|
1298
|
+
# @return [::Array<::String>]
|
1299
|
+
# Locations that could not be reached.
|
1300
|
+
class ListCustomTargetTypesResponse
|
1301
|
+
include ::Google::Protobuf::MessageExts
|
1302
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1303
|
+
end
|
1304
|
+
|
1305
|
+
# The request object for `GetCustomTargetType`.
|
1306
|
+
# @!attribute [rw] name
|
1307
|
+
# @return [::String]
|
1308
|
+
# Required. Name of the `CustomTargetType`. Format must be
|
1309
|
+
# `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`.
|
1310
|
+
class GetCustomTargetTypeRequest
|
1311
|
+
include ::Google::Protobuf::MessageExts
|
1312
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1313
|
+
end
|
1314
|
+
|
1315
|
+
# The request object for `CreateCustomTargetType`.
|
1316
|
+
# @!attribute [rw] parent
|
1317
|
+
# @return [::String]
|
1318
|
+
# Required. The parent collection in which the `CustomTargetType` should be
|
1319
|
+
# created in. Format should be
|
1320
|
+
# `projects/{project_id}/locations/{location_name}`.
|
1321
|
+
# @!attribute [rw] custom_target_type_id
|
1322
|
+
# @return [::String]
|
1323
|
+
# Required. ID of the `CustomTargetType`.
|
1324
|
+
# @!attribute [rw] custom_target_type
|
1325
|
+
# @return [::Google::Cloud::Deploy::V1::CustomTargetType]
|
1326
|
+
# Required. The `CustomTargetType` to create.
|
1327
|
+
# @!attribute [rw] request_id
|
1328
|
+
# @return [::String]
|
1329
|
+
# Optional. A request ID to identify requests. Specify a unique request ID
|
1330
|
+
# so that if you must retry your request, the server will know to ignore
|
1331
|
+
# the request if it has already been completed. The server will guarantee
|
1332
|
+
# that for at least 60 minutes since the first request.
|
1333
|
+
#
|
1334
|
+
# For example, consider a situation where you make an initial request and the
|
1335
|
+
# request times out. If you make the request again with the same request ID,
|
1336
|
+
# the server can check if original operation with the same request ID was
|
1337
|
+
# received, and if so, will ignore the second request. This prevents clients
|
1338
|
+
# from accidentally creating duplicate commitments.
|
1339
|
+
#
|
1340
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
1341
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
1342
|
+
# @!attribute [rw] validate_only
|
1343
|
+
# @return [::Boolean]
|
1344
|
+
# Optional. If set to true, the request is validated and the user is provided
|
1345
|
+
# with an expected result, but no actual change is made.
|
1346
|
+
class CreateCustomTargetTypeRequest
|
1347
|
+
include ::Google::Protobuf::MessageExts
|
1348
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1349
|
+
end
|
1350
|
+
|
1351
|
+
# The request object for `UpdateCustomTargetType`.
|
1352
|
+
# @!attribute [rw] update_mask
|
1353
|
+
# @return [::Google::Protobuf::FieldMask]
|
1354
|
+
# Required. Field mask is used to specify the fields to be overwritten in the
|
1355
|
+
# `CustomTargetType` resource by the update.
|
1356
|
+
# The fields specified in the update_mask are relative to the resource, not
|
1357
|
+
# the full request. A field will be overwritten if it is in the mask. If the
|
1358
|
+
# user does not provide a mask then all fields will be overwritten.
|
1359
|
+
# @!attribute [rw] custom_target_type
|
1360
|
+
# @return [::Google::Cloud::Deploy::V1::CustomTargetType]
|
1361
|
+
# Required. The `CustomTargetType` to update.
|
1362
|
+
# @!attribute [rw] request_id
|
1363
|
+
# @return [::String]
|
1364
|
+
# Optional. A request ID to identify requests. Specify a unique request ID
|
1365
|
+
# so that if you must retry your request, the server will know to ignore
|
1366
|
+
# the request if it has already been completed. The server will guarantee
|
1367
|
+
# that for at least 60 minutes since the first request.
|
1368
|
+
#
|
1369
|
+
# For example, consider a situation where you make an initial request and the
|
1370
|
+
# request times out. If you make the request again with the same request ID,
|
1371
|
+
# the server can check if original operation with the same request ID was
|
1372
|
+
# received, and if so, will ignore the second request. This prevents clients
|
1373
|
+
# from accidentally creating duplicate commitments.
|
1374
|
+
#
|
1375
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
1376
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
1377
|
+
# @!attribute [rw] allow_missing
|
1378
|
+
# @return [::Boolean]
|
1379
|
+
# Optional. If set to true, updating a `CustomTargetType` that does not exist
|
1380
|
+
# will result in the creation of a new `CustomTargetType`.
|
1381
|
+
# @!attribute [rw] validate_only
|
1382
|
+
# @return [::Boolean]
|
1383
|
+
# Optional. If set to true, the request is validated and the user is provided
|
1384
|
+
# with an expected result, but no actual change is made.
|
1385
|
+
class UpdateCustomTargetTypeRequest
|
1386
|
+
include ::Google::Protobuf::MessageExts
|
1387
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1388
|
+
end
|
1389
|
+
|
1390
|
+
# The request object for `DeleteCustomTargetType`.
|
1391
|
+
# @!attribute [rw] name
|
1392
|
+
# @return [::String]
|
1393
|
+
# Required. The name of the `CustomTargetType` to delete. Format must be
|
1394
|
+
# `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`.
|
1395
|
+
# @!attribute [rw] request_id
|
1396
|
+
# @return [::String]
|
1397
|
+
# Optional. A request ID to identify requests. Specify a unique request ID
|
1398
|
+
# so that if you must retry your request, the server will know to ignore
|
1399
|
+
# the request if it has already been completed. The server will guarantee
|
1400
|
+
# that for at least 60 minutes after the first request.
|
1401
|
+
#
|
1402
|
+
# For example, consider a situation where you make an initial request and the
|
1403
|
+
# request times out. If you make the request again with the same request ID,
|
1404
|
+
# the server can check if original operation with the same request ID was
|
1405
|
+
# received, and if so, will ignore the second request. This prevents clients
|
1406
|
+
# from accidentally creating duplicate commitments.
|
1407
|
+
#
|
1408
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
1409
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
1410
|
+
# @!attribute [rw] allow_missing
|
1411
|
+
# @return [::Boolean]
|
1412
|
+
# Optional. If set to true, then deleting an already deleted or non-existing
|
1413
|
+
# `CustomTargetType` will succeed.
|
1414
|
+
# @!attribute [rw] validate_only
|
1415
|
+
# @return [::Boolean]
|
1416
|
+
# Optional. If set to true, the request is validated but no actual change is
|
1417
|
+
# made.
|
1418
|
+
# @!attribute [rw] etag
|
1419
|
+
# @return [::String]
|
1420
|
+
# Optional. This checksum is computed by the server based on the value of
|
1421
|
+
# other fields, and may be sent on update and delete requests to ensure the
|
1422
|
+
# client has an up-to-date value before proceeding.
|
1423
|
+
class DeleteCustomTargetTypeRequest
|
1424
|
+
include ::Google::Protobuf::MessageExts
|
1425
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1426
|
+
end
|
1427
|
+
|
1094
1428
|
# Contains criteria for selecting Targets. Attributes provided must match the
|
1095
1429
|
# target resource in order for policy restrictions to apply. E.g. if id "prod"
|
1096
1430
|
# and labels "foo: bar" are given the target resource must match both that id
|
@@ -1179,6 +1513,10 @@ module Google
|
|
1179
1513
|
# @!attribute [r] target_snapshots
|
1180
1514
|
# @return [::Array<::Google::Cloud::Deploy::V1::Target>]
|
1181
1515
|
# Output only. Snapshot of the targets taken at release creation time.
|
1516
|
+
# @!attribute [r] custom_target_type_snapshots
|
1517
|
+
# @return [::Array<::Google::Cloud::Deploy::V1::CustomTargetType>]
|
1518
|
+
# Output only. Snapshot of the custom target types referenced by the targets
|
1519
|
+
# taken at release creation time.
|
1182
1520
|
# @!attribute [r] render_state
|
1183
1521
|
# @return [::Google::Cloud::Deploy::V1::Release::RenderState]
|
1184
1522
|
# Output only. Current state of the render operation.
|
@@ -1270,14 +1608,21 @@ module Google
|
|
1270
1608
|
CLOUD_BUILD_REQUEST_FAILED = 3
|
1271
1609
|
|
1272
1610
|
# The render operation did not complete successfully because the
|
1273
|
-
# verification stanza required for verify was not found on the
|
1611
|
+
# verification stanza required for verify was not found on the Skaffold
|
1274
1612
|
# configuration.
|
1275
1613
|
VERIFICATION_CONFIG_NOT_FOUND = 4
|
1276
1614
|
|
1277
1615
|
# The render operation did not complete successfully because the custom
|
1278
1616
|
# action required for predeploy or postdeploy was not found in the
|
1279
|
-
#
|
1617
|
+
# Skaffold configuration. See failure_message for additional details.
|
1280
1618
|
CUSTOM_ACTION_NOT_FOUND = 5
|
1619
|
+
|
1620
|
+
# Release failed during rendering because the release configuration is
|
1621
|
+
# not supported with the specified deployment strategy.
|
1622
|
+
DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6
|
1623
|
+
|
1624
|
+
# The render operation had a feature configured that is not supported.
|
1625
|
+
RENDER_FEATURE_NOT_SUPPORTED = 7
|
1281
1626
|
end
|
1282
1627
|
end
|
1283
1628
|
|
@@ -1296,20 +1641,20 @@ module Google
|
|
1296
1641
|
end
|
1297
1642
|
|
1298
1643
|
# SkaffoldSupportedCondition contains information about when support for the
|
1299
|
-
# release's version of
|
1644
|
+
# release's version of Skaffold ends.
|
1300
1645
|
# @!attribute [rw] status
|
1301
1646
|
# @return [::Boolean]
|
1302
|
-
# True if the version of
|
1647
|
+
# True if the version of Skaffold used by this release is supported.
|
1303
1648
|
# @!attribute [rw] skaffold_support_state
|
1304
1649
|
# @return [::Google::Cloud::Deploy::V1::SkaffoldSupportState]
|
1305
|
-
# The
|
1650
|
+
# The Skaffold support state for this release's version of Skaffold.
|
1306
1651
|
# @!attribute [rw] maintenance_mode_time
|
1307
1652
|
# @return [::Google::Protobuf::Timestamp]
|
1308
|
-
# The time at which this release's version of
|
1653
|
+
# The time at which this release's version of Skaffold will enter
|
1309
1654
|
# maintenance mode.
|
1310
1655
|
# @!attribute [rw] support_expiration_time
|
1311
1656
|
# @return [::Google::Protobuf::Timestamp]
|
1312
|
-
# The time at which this release's version of
|
1657
|
+
# The time at which this release's version of Skaffold will no longer be
|
1313
1658
|
# supported.
|
1314
1659
|
class SkaffoldSupportedCondition
|
1315
1660
|
include ::Google::Protobuf::MessageExts
|
@@ -1322,7 +1667,7 @@ module Google
|
|
1322
1667
|
# Details around the Releases's overall status.
|
1323
1668
|
# @!attribute [rw] skaffold_supported_condition
|
1324
1669
|
# @return [::Google::Cloud::Deploy::V1::Release::SkaffoldSupportedCondition]
|
1325
|
-
# Details around the support state of the release's
|
1670
|
+
# Details around the support state of the release's Skaffold
|
1326
1671
|
# version.
|
1327
1672
|
class ReleaseCondition
|
1328
1673
|
include ::Google::Protobuf::MessageExts
|
@@ -1480,6 +1825,9 @@ module Google
|
|
1480
1825
|
# @!attribute [r] cloud_run
|
1481
1826
|
# @return [::Google::Cloud::Deploy::V1::CloudRunRenderMetadata]
|
1482
1827
|
# Output only. Metadata associated with rendering for Cloud Run.
|
1828
|
+
# @!attribute [r] custom
|
1829
|
+
# @return [::Google::Cloud::Deploy::V1::CustomMetadata]
|
1830
|
+
# Output only. Custom metadata provided by user defined render operation.
|
1483
1831
|
class RenderMetadata
|
1484
1832
|
include ::Google::Protobuf::MessageExts
|
1485
1833
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1769,12 +2117,15 @@ module Google
|
|
1769
2117
|
# Release is abandoned.
|
1770
2118
|
RELEASE_ABANDONED = 5
|
1771
2119
|
|
1772
|
-
# No
|
2120
|
+
# No Skaffold verify configuration was found.
|
1773
2121
|
VERIFICATION_CONFIG_NOT_FOUND = 6
|
1774
2122
|
|
1775
2123
|
# Cloud Build failed to fulfill Cloud Deploy's request. See failure_message
|
1776
2124
|
# for additional details.
|
1777
2125
|
CLOUD_BUILD_REQUEST_FAILED = 7
|
2126
|
+
|
2127
|
+
# A Rollout operation had a feature configured that is not supported.
|
2128
|
+
OPERATION_FEATURE_NOT_SUPPORTED = 8
|
1778
2129
|
end
|
1779
2130
|
end
|
1780
2131
|
|
@@ -1787,6 +2138,9 @@ module Google
|
|
1787
2138
|
# @return [::Google::Cloud::Deploy::V1::AutomationRolloutMetadata]
|
1788
2139
|
# Output only. AutomationRolloutMetadata contains the information about the
|
1789
2140
|
# interactions between Automation service and this rollout.
|
2141
|
+
# @!attribute [r] custom
|
2142
|
+
# @return [::Google::Cloud::Deploy::V1::CustomMetadata]
|
2143
|
+
# Output only. Custom metadata provided by user defined `Rollout` operations.
|
1790
2144
|
class Metadata
|
1791
2145
|
include ::Google::Protobuf::MessageExts
|
1792
2146
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1798,6 +2152,12 @@ module Google
|
|
1798
2152
|
# @return [::Google::Cloud::Deploy::V1::CloudRunMetadata]
|
1799
2153
|
# Output only. The name of the Cloud Run Service that is associated with a
|
1800
2154
|
# `DeployJobRun`.
|
2155
|
+
# @!attribute [r] custom_target
|
2156
|
+
# @return [::Google::Cloud::Deploy::V1::CustomTargetDeployMetadata]
|
2157
|
+
# Output only. Custom Target metadata associated with a `DeployJobRun`.
|
2158
|
+
# @!attribute [r] custom
|
2159
|
+
# @return [::Google::Cloud::Deploy::V1::CustomMetadata]
|
2160
|
+
# Output only. Custom metadata provided by user defined deploy operation.
|
1801
2161
|
class DeployJobRunMetadata
|
1802
2162
|
include ::Google::Protobuf::MessageExts
|
1803
2163
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1826,6 +2186,17 @@ module Google
|
|
1826
2186
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1827
2187
|
end
|
1828
2188
|
|
2189
|
+
# CustomTargetDeployMetadata contains information from a Custom Target
|
2190
|
+
# deploy operation.
|
2191
|
+
# @!attribute [r] skip_message
|
2192
|
+
# @return [::String]
|
2193
|
+
# Output only. Skip message provided in the results of a custom deploy
|
2194
|
+
# operation.
|
2195
|
+
class CustomTargetDeployMetadata
|
2196
|
+
include ::Google::Protobuf::MessageExts
|
2197
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2198
|
+
end
|
2199
|
+
|
1829
2200
|
# AutomationRolloutMetadata contains Automation-related actions that
|
1830
2201
|
# were performed on a rollout.
|
1831
2202
|
# @!attribute [r] promote_automation_run
|
@@ -1845,6 +2216,24 @@ module Google
|
|
1845
2216
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1846
2217
|
end
|
1847
2218
|
|
2219
|
+
# CustomMetadata contains information from a user defined operation.
|
2220
|
+
# @!attribute [r] values
|
2221
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
2222
|
+
# Output only. Key-value pairs provided by the user defined operation.
|
2223
|
+
class CustomMetadata
|
2224
|
+
include ::Google::Protobuf::MessageExts
|
2225
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2226
|
+
|
2227
|
+
# @!attribute [rw] key
|
2228
|
+
# @return [::String]
|
2229
|
+
# @!attribute [rw] value
|
2230
|
+
# @return [::String]
|
2231
|
+
class ValuesEntry
|
2232
|
+
include ::Google::Protobuf::MessageExts
|
2233
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2234
|
+
end
|
2235
|
+
end
|
2236
|
+
|
1848
2237
|
# Phase represents a collection of jobs that are logically grouped together
|
1849
2238
|
# for a `Rollout`.
|
1850
2239
|
# @!attribute [r] id
|
@@ -2397,6 +2786,9 @@ module Google
|
|
2397
2786
|
# Cloud Build failed to fulfill Cloud Deploy's request. See failure_message
|
2398
2787
|
# for additional details.
|
2399
2788
|
CLOUD_BUILD_REQUEST_FAILED = 5
|
2789
|
+
|
2790
|
+
# The deploy operation had a feature configured that is not supported.
|
2791
|
+
DEPLOY_FEATURE_NOT_SUPPORTED = 6
|
2400
2792
|
end
|
2401
2793
|
end
|
2402
2794
|
|
@@ -2655,10 +3047,10 @@ module Google
|
|
2655
3047
|
# Release version number. For example, "1.20.3".
|
2656
3048
|
# @!attribute [rw] maintenance_mode_time
|
2657
3049
|
# @return [::Google::Protobuf::Timestamp]
|
2658
|
-
# The time at which this version of
|
3050
|
+
# The time at which this version of Skaffold will enter maintenance mode.
|
2659
3051
|
# @!attribute [rw] support_expiration_time
|
2660
3052
|
# @return [::Google::Protobuf::Timestamp]
|
2661
|
-
# The time at which this version of
|
3053
|
+
# The time at which this version of Skaffold will no longer be supported.
|
2662
3054
|
# @!attribute [rw] support_end_date
|
2663
3055
|
# @return [::Google::Type::Date]
|
2664
3056
|
# Date when this version is expected to no longer be supported.
|
@@ -2679,7 +3071,7 @@ module Google
|
|
2679
3071
|
# An `Automation` resource in the Cloud Deploy API.
|
2680
3072
|
#
|
2681
3073
|
# An `Automation` enables the automation of manually driven actions for
|
2682
|
-
# a Delivery Pipeline, which includes Release promotion
|
3074
|
+
# a Delivery Pipeline, which includes Release promotion among Targets,
|
2683
3075
|
# Rollout repair and Rollout deployment strategy advancement. The intention
|
2684
3076
|
# of Automation is to reduce manual intervention in the continuous delivery
|
2685
3077
|
# process.
|
@@ -2819,6 +3211,7 @@ module Google
|
|
2819
3211
|
# Optional. The ID of the stage in the pipeline to which this `Release` is
|
2820
3212
|
# deploying. If unspecified, default it to the next stage in the promotion
|
2821
3213
|
# flow. The value of this field could be one of the following:
|
3214
|
+
#
|
2822
3215
|
# * The last segment of a target name. It only needs the ID to determine
|
2823
3216
|
# if the target is one of the stages in the promotion sequence defined
|
2824
3217
|
# in the pipeline.
|
@@ -2908,7 +3301,7 @@ module Google
|
|
2908
3301
|
# Retries the failed job.
|
2909
3302
|
# @!attribute [rw] attempts
|
2910
3303
|
# @return [::Integer]
|
2911
|
-
# Required. Total number of retries. Retry
|
3304
|
+
# Required. Total number of retries. Retry is skipped if set to 0; The
|
2912
3305
|
# minimum value is 1, and the maximum value is 10.
|
2913
3306
|
# @!attribute [rw] wait
|
2914
3307
|
# @return [::Google::Protobuf::Duration]
|
@@ -3060,8 +3453,8 @@ module Google
|
|
3060
3453
|
# The request object for `ListAutomations`.
|
3061
3454
|
# @!attribute [rw] parent
|
3062
3455
|
# @return [::String]
|
3063
|
-
# Required. The parent
|
3064
|
-
# must be
|
3456
|
+
# Required. The parent `Delivery Pipeline`, which owns this collection of
|
3457
|
+
# automations. Format must be
|
3065
3458
|
# `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
|
3066
3459
|
# @!attribute [rw] page_size
|
3067
3460
|
# @return [::Integer]
|
@@ -3091,7 +3484,7 @@ module Google
|
|
3091
3484
|
# The response object from `ListAutomations`.
|
3092
3485
|
# @!attribute [rw] automations
|
3093
3486
|
# @return [::Array<::Google::Cloud::Deploy::V1::Automation>]
|
3094
|
-
# The `
|
3487
|
+
# The `Automation` objects.
|
3095
3488
|
# @!attribute [rw] next_page_token
|
3096
3489
|
# @return [::String]
|
3097
3490
|
# A token, which can be sent as `page_token` to retrieve the next page.
|
@@ -3116,7 +3509,7 @@ module Google
|
|
3116
3509
|
|
3117
3510
|
# An `AutomationRun` resource in the Cloud Deploy API.
|
3118
3511
|
#
|
3119
|
-
# An `AutomationRun` represents an
|
3512
|
+
# An `AutomationRun` represents an execution instance of an
|
3120
3513
|
# automation rule.
|
3121
3514
|
# @!attribute [r] name
|
3122
3515
|
# @return [::String]
|
@@ -3153,11 +3546,11 @@ module Google
|
|
3153
3546
|
# @!attribute [r] state_description
|
3154
3547
|
# @return [::String]
|
3155
3548
|
# Output only. Explains the current state of the `AutomationRun`. Present
|
3156
|
-
# only an explanation is needed.
|
3549
|
+
# only when an explanation is needed.
|
3157
3550
|
# @!attribute [r] expire_time
|
3158
3551
|
# @return [::Google::Protobuf::Timestamp]
|
3159
|
-
# Output only. Time the `AutomationRun`
|
3160
|
-
#
|
3552
|
+
# Output only. Time the `AutomationRun` expires. An `AutomationRun` expires
|
3553
|
+
# after 14 days from its creation date.
|
3161
3554
|
# @!attribute [r] rule_id
|
3162
3555
|
# @return [::String]
|
3163
3556
|
# Output only. The ID of the automation rule that initiated the operation.
|
@@ -3235,7 +3628,7 @@ module Google
|
|
3235
3628
|
# Output only. The name of the rollout that initiates the `AutomationRun`.
|
3236
3629
|
# @!attribute [r] destination_phase
|
3237
3630
|
# @return [::String]
|
3238
|
-
# Output only. The phase
|
3631
|
+
# Output only. The phase the rollout will be advanced to.
|
3239
3632
|
class AdvanceRolloutOperation
|
3240
3633
|
include ::Google::Protobuf::MessageExts
|
3241
3634
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -3332,8 +3725,8 @@ module Google
|
|
3332
3725
|
# The request object for `ListAutomationRuns`.
|
3333
3726
|
# @!attribute [rw] parent
|
3334
3727
|
# @return [::String]
|
3335
|
-
# Required. The parent
|
3336
|
-
# must be
|
3728
|
+
# Required. The parent `Delivery Pipeline`, which owns this collection of
|
3729
|
+
# automationRuns. Format must be
|
3337
3730
|
# `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}`.
|
3338
3731
|
# @!attribute [rw] page_size
|
3339
3732
|
# @return [::Integer]
|
@@ -3407,13 +3800,13 @@ module Google
|
|
3407
3800
|
# Default value. This value is unused.
|
3408
3801
|
SKAFFOLD_SUPPORT_STATE_UNSPECIFIED = 0
|
3409
3802
|
|
3410
|
-
# This
|
3803
|
+
# This Skaffold version is currently supported.
|
3411
3804
|
SKAFFOLD_SUPPORT_STATE_SUPPORTED = 1
|
3412
3805
|
|
3413
|
-
# This
|
3806
|
+
# This Skaffold version is in maintenance mode.
|
3414
3807
|
SKAFFOLD_SUPPORT_STATE_MAINTENANCE_MODE = 2
|
3415
3808
|
|
3416
|
-
# This
|
3809
|
+
# This Skaffold version is no longer supported.
|
3417
3810
|
SKAFFOLD_SUPPORT_STATE_UNSUPPORTED = 3
|
3418
3811
|
end
|
3419
3812
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-deploy-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|