google-cloud-deploy-v1 1.0.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/deploy/v1/cloud_deploy/client.rb +37 -39
- data/lib/google/cloud/deploy/v1/cloud_deploy/rest/client.rb +37 -39
- data/lib/google/cloud/deploy/v1/cloud_deploy_pb.rb +1 -4
- data/lib/google/cloud/deploy/v1/customtargettype_notification_payload_pb.rb +44 -0
- data/lib/google/cloud/deploy/v1/deploypolicy_notification_payload_pb.rb +44 -0
- data/lib/google/cloud/deploy/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +14 -10
- data/proto_docs/google/api/resource.rb +7 -2
- data/proto_docs/google/cloud/deploy/v1/cloud_deploy.rb +72 -108
- data/proto_docs/google/cloud/deploy/v1/customtargettype_notification_payload.rb +46 -0
- data/proto_docs/google/cloud/deploy/v1/deploypolicy_notification_payload.rb +47 -0
- metadata +6 -2
@@ -241,6 +241,8 @@ module Google
|
|
241
241
|
# Required. The percentage based deployments that will occur as a part of a
|
242
242
|
# `Rollout`. List is expected in ascending order and each integer n is
|
243
243
|
# 0 <= n < 100.
|
244
|
+
# If the GatewayServiceMesh is configured for Kubernetes, then the range for
|
245
|
+
# n is 0 <= n <= 100.
|
244
246
|
# @!attribute [rw] verify
|
245
247
|
# @return [::Boolean]
|
246
248
|
# Whether to run verify tests after each percentage deployment.
|
@@ -334,6 +336,10 @@ module Google
|
|
334
336
|
# Service to the original Service during the stable phase deployment. If
|
335
337
|
# specified, must be between 15s and 3600s. If unspecified, there is no
|
336
338
|
# cutback time.
|
339
|
+
# @!attribute [rw] pod_selector_label
|
340
|
+
# @return [::String]
|
341
|
+
# Optional. The label to use when selecting Pods for the Deployment and
|
342
|
+
# Service resources. This label must already be present in both resources.
|
337
343
|
class GatewayServiceMesh
|
338
344
|
include ::Google::Protobuf::MessageExts
|
339
345
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -353,6 +359,10 @@ module Google
|
|
353
359
|
# overprovisioning is disabled then Cloud Deploy will limit the number of
|
354
360
|
# total Pods used for the deployment strategy to the number of Pods the
|
355
361
|
# Deployment has on the cluster.
|
362
|
+
# @!attribute [rw] pod_selector_label
|
363
|
+
# @return [::String]
|
364
|
+
# Optional. The label to use when selecting Pods for the Deployment
|
365
|
+
# resource. This label must already be present in the Deployment.
|
356
366
|
class ServiceNetworking
|
357
367
|
include ::Google::Protobuf::MessageExts
|
358
368
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -519,9 +529,8 @@ module Google
|
|
519
529
|
# The request object for `CreateDeliveryPipeline`.
|
520
530
|
# @!attribute [rw] parent
|
521
531
|
# @return [::String]
|
522
|
-
# Required. The parent collection in which the `DeliveryPipeline`
|
523
|
-
# created.
|
524
|
-
# `projects/{project_id}/locations/{location_name}`.
|
532
|
+
# Required. The parent collection in which the `DeliveryPipeline` must be
|
533
|
+
# created. The format is `projects/{project_id}/locations/{location_name}`.
|
525
534
|
# @!attribute [rw] delivery_pipeline_id
|
526
535
|
# @return [::String]
|
527
536
|
# Required. ID of the `DeliveryPipeline`.
|
@@ -555,11 +564,11 @@ module Google
|
|
555
564
|
# The request object for `UpdateDeliveryPipeline`.
|
556
565
|
# @!attribute [rw] update_mask
|
557
566
|
# @return [::Google::Protobuf::FieldMask]
|
558
|
-
# Required. Field mask is used to specify the fields to be overwritten
|
559
|
-
# `DeliveryPipeline` resource
|
560
|
-
#
|
561
|
-
#
|
562
|
-
#
|
567
|
+
# Required. Field mask is used to specify the fields to be overwritten by the
|
568
|
+
# update in the `DeliveryPipeline` resource. The fields specified in the
|
569
|
+
# update_mask are relative to the resource, not the full request. A field
|
570
|
+
# will be overwritten if it's in the mask. If the user doesn't provide a mask
|
571
|
+
# then all fields are overwritten.
|
563
572
|
# @!attribute [rw] delivery_pipeline
|
564
573
|
# @return [::Google::Cloud::Deploy::V1::DeliveryPipeline]
|
565
574
|
# Required. The `DeliveryPipeline` to update.
|
@@ -594,7 +603,7 @@ module Google
|
|
594
603
|
# The request object for `DeleteDeliveryPipeline`.
|
595
604
|
# @!attribute [rw] name
|
596
605
|
# @return [::String]
|
597
|
-
# Required. The name of the `DeliveryPipeline` to delete.
|
606
|
+
# Required. The name of the `DeliveryPipeline` to delete. The format is
|
598
607
|
# `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
|
599
608
|
# @!attribute [rw] request_id
|
600
609
|
# @return [::String]
|
@@ -650,8 +659,8 @@ module Google
|
|
650
659
|
# The request object for `RollbackTarget`.
|
651
660
|
# @!attribute [rw] name
|
652
661
|
# @return [::String]
|
653
|
-
# Required. The `DeliveryPipeline` for which the rollback `Rollout`
|
654
|
-
# created.
|
662
|
+
# Required. The `DeliveryPipeline` for which the rollback `Rollout` must be
|
663
|
+
# created. The format is
|
655
664
|
# `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
|
656
665
|
# @!attribute [rw] target_id
|
657
666
|
# @return [::String]
|
@@ -914,6 +923,11 @@ module Google
|
|
914
923
|
#
|
915
924
|
# Only specify this option when `cluster` is a [private GKE
|
916
925
|
# cluster](https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-concept).
|
926
|
+
# @!attribute [rw] proxy_url
|
927
|
+
# @return [::String]
|
928
|
+
# Optional. If set, used to configure a
|
929
|
+
# [proxy](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#proxy)
|
930
|
+
# to the Kubernetes server.
|
917
931
|
class GkeCluster
|
918
932
|
include ::Google::Protobuf::MessageExts
|
919
933
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1019,8 +1033,8 @@ module Google
|
|
1019
1033
|
# The request object for `CreateTarget`.
|
1020
1034
|
# @!attribute [rw] parent
|
1021
1035
|
# @return [::String]
|
1022
|
-
# Required. The parent collection in which the `Target`
|
1023
|
-
#
|
1036
|
+
# Required. The parent collection in which the `Target` must be created.
|
1037
|
+
# The format is
|
1024
1038
|
# `projects/{project_id}/locations/{location_name}`.
|
1025
1039
|
# @!attribute [rw] target_id
|
1026
1040
|
# @return [::String]
|
@@ -1055,11 +1069,11 @@ module Google
|
|
1055
1069
|
# The request object for `UpdateTarget`.
|
1056
1070
|
# @!attribute [rw] update_mask
|
1057
1071
|
# @return [::Google::Protobuf::FieldMask]
|
1058
|
-
# Required. Field mask is used to specify the fields to be overwritten
|
1059
|
-
# Target resource
|
1060
|
-
#
|
1061
|
-
#
|
1062
|
-
#
|
1072
|
+
# Required. Field mask is used to specify the fields to be overwritten by the
|
1073
|
+
# update in the `Target` resource. The fields specified in the update_mask
|
1074
|
+
# are relative to the resource, not the full request. A field will be
|
1075
|
+
# overwritten if it's in the mask. If the user doesn't provide a mask then
|
1076
|
+
# all fields are overwritten.
|
1063
1077
|
# @!attribute [rw] target
|
1064
1078
|
# @return [::Google::Cloud::Deploy::V1::Target]
|
1065
1079
|
# Required. The `Target` to update.
|
@@ -1094,7 +1108,7 @@ module Google
|
|
1094
1108
|
# The request object for `DeleteTarget`.
|
1095
1109
|
# @!attribute [rw] name
|
1096
1110
|
# @return [::String]
|
1097
|
-
# Required. The name of the `Target` to delete.
|
1111
|
+
# Required. The name of the `Target` to delete. The format is
|
1098
1112
|
# `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
|
1099
1113
|
# @!attribute [rw] request_id
|
1100
1114
|
# @return [::String]
|
@@ -1351,9 +1365,8 @@ module Google
|
|
1351
1365
|
# The request object for `CreateCustomTargetType`.
|
1352
1366
|
# @!attribute [rw] parent
|
1353
1367
|
# @return [::String]
|
1354
|
-
# Required. The parent collection in which the `CustomTargetType`
|
1355
|
-
# created.
|
1356
|
-
# `projects/{project_id}/locations/{location_name}`.
|
1368
|
+
# Required. The parent collection in which the `CustomTargetType` must be
|
1369
|
+
# created. The format is `projects/{project_id}/locations/{location_name}`.
|
1357
1370
|
# @!attribute [rw] custom_target_type_id
|
1358
1371
|
# @return [::String]
|
1359
1372
|
# Required. ID of the `CustomTargetType`.
|
@@ -1387,11 +1400,11 @@ module Google
|
|
1387
1400
|
# The request object for `UpdateCustomTargetType`.
|
1388
1401
|
# @!attribute [rw] update_mask
|
1389
1402
|
# @return [::Google::Protobuf::FieldMask]
|
1390
|
-
# Required. Field mask is used to specify the fields to be overwritten
|
1391
|
-
# `CustomTargetType` resource
|
1392
|
-
#
|
1393
|
-
#
|
1394
|
-
#
|
1403
|
+
# Required. Field mask is used to specify the fields to be overwritten by the
|
1404
|
+
# update in the `CustomTargetType` resource. The fields specified in the
|
1405
|
+
# update_mask are relative to the resource, not the full request. A field
|
1406
|
+
# will be overwritten if it's in the mask. If the user doesn't provide a mask
|
1407
|
+
# then all fields are overwritten.
|
1395
1408
|
# @!attribute [rw] custom_target_type
|
1396
1409
|
# @return [::Google::Cloud::Deploy::V1::CustomTargetType]
|
1397
1410
|
# Required. The `CustomTargetType` to update.
|
@@ -1466,6 +1479,7 @@ module Google
|
|
1466
1479
|
# @return [::String]
|
1467
1480
|
# ID of the `Target`. The value of this field could be one of the
|
1468
1481
|
# following:
|
1482
|
+
#
|
1469
1483
|
# * The last segment of a target name. It only needs the ID to determine
|
1470
1484
|
# which target is being referred to
|
1471
1485
|
# * "*", all targets in a location.
|
@@ -1927,8 +1941,8 @@ module Google
|
|
1927
1941
|
# The request object for `CreateRelease`,
|
1928
1942
|
# @!attribute [rw] parent
|
1929
1943
|
# @return [::String]
|
1930
|
-
# Required. The parent collection in which the `Release`
|
1931
|
-
#
|
1944
|
+
# Required. The parent collection in which the `Release` is created.
|
1945
|
+
# The format is
|
1932
1946
|
# `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
|
1933
1947
|
# @!attribute [rw] release_id
|
1934
1948
|
# @return [::String]
|
@@ -2236,15 +2250,15 @@ module Google
|
|
2236
2250
|
# were performed on a rollout.
|
2237
2251
|
# @!attribute [r] promote_automation_run
|
2238
2252
|
# @return [::String]
|
2239
|
-
# Output only. The
|
2253
|
+
# Output only. The name of the AutomationRun initiated by a promote release
|
2240
2254
|
# rule.
|
2241
2255
|
# @!attribute [r] advance_automation_runs
|
2242
2256
|
# @return [::Array<::String>]
|
2243
|
-
# Output only. The
|
2244
|
-
# rule.
|
2257
|
+
# Output only. The names of the AutomationRuns initiated by an advance
|
2258
|
+
# rollout rule.
|
2245
2259
|
# @!attribute [r] repair_automation_runs
|
2246
2260
|
# @return [::Array<::String>]
|
2247
|
-
# Output only. The
|
2261
|
+
# Output only. The names of the AutomationRuns initiated by a repair rollout
|
2248
2262
|
# rule.
|
2249
2263
|
class AutomationRolloutMetadata
|
2250
2264
|
include ::Google::Protobuf::MessageExts
|
@@ -2515,8 +2529,8 @@ module Google
|
|
2515
2529
|
# CreateRolloutRequest is the request object used by `CreateRollout`.
|
2516
2530
|
# @!attribute [rw] parent
|
2517
2531
|
# @return [::String]
|
2518
|
-
# Required. The parent collection in which the `Rollout`
|
2519
|
-
#
|
2532
|
+
# Required. The parent collection in which the `Rollout` must be created.
|
2533
|
+
# The format is
|
2520
2534
|
# `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`.
|
2521
2535
|
# @!attribute [rw] rollout_id
|
2522
2536
|
# @return [::String]
|
@@ -3231,8 +3245,8 @@ module Google
|
|
3231
3245
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
3232
3246
|
end
|
3233
3247
|
|
3234
|
-
# `PromoteRelease` rule will automatically promote a release from the
|
3235
|
-
# target to a specified target.
|
3248
|
+
# The `PromoteRelease` rule will automatically promote a release from the
|
3249
|
+
# current target to a specified target.
|
3236
3250
|
# @!attribute [rw] id
|
3237
3251
|
# @return [::String]
|
3238
3252
|
# Required. ID of the rule. This id must be unique in the `Automation`
|
@@ -3296,14 +3310,6 @@ module Google
|
|
3296
3310
|
# Required. ID of the rule. This id must be unique in the `Automation`
|
3297
3311
|
# resource to which this rule belongs. The format is
|
3298
3312
|
# `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.
|
3299
|
-
# @!attribute [rw] source_phases
|
3300
|
-
# @return [::Array<::String>]
|
3301
|
-
# Optional. Phases within which jobs are subject to automatic repair actions
|
3302
|
-
# on failure. Proceeds only after phase name matched any one in the list, or
|
3303
|
-
# for all phases if unspecified. This value must consist of lower-case
|
3304
|
-
# letters, numbers, and hyphens, start with a letter and end with a letter or
|
3305
|
-
# a number, and have a max length of 63 characters. In other words, it must
|
3306
|
-
# match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
|
3307
3313
|
# @!attribute [rw] jobs
|
3308
3314
|
# @return [::Array<::String>]
|
3309
3315
|
# Optional. Jobs to repair. Proceeds only after job name matched any one in
|
@@ -3313,9 +3319,6 @@ module Google
|
|
3313
3319
|
# letter and end with a letter or a number, and have a max length of 63
|
3314
3320
|
# characters. In other words, it must match the following regex:
|
3315
3321
|
# `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
|
3316
|
-
# @!attribute [rw] repair_modes
|
3317
|
-
# @return [::Array<::Google::Cloud::Deploy::V1::RepairMode>]
|
3318
|
-
# Required. Defines the types of automatic repair actions for failed jobs.
|
3319
3322
|
# @!attribute [r] condition
|
3320
3323
|
# @return [::Google::Cloud::Deploy::V1::AutomationRuleCondition]
|
3321
3324
|
# Output only. Information around the state of the 'Automation' rule.
|
@@ -3324,46 +3327,6 @@ module Google
|
|
3324
3327
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
3325
3328
|
end
|
3326
3329
|
|
3327
|
-
# Configuration of the repair action.
|
3328
|
-
# @!attribute [rw] retry
|
3329
|
-
# @return [::Google::Cloud::Deploy::V1::Retry]
|
3330
|
-
# Optional. Retries a failed job.
|
3331
|
-
# @!attribute [rw] rollback
|
3332
|
-
# @return [::Google::Cloud::Deploy::V1::Rollback]
|
3333
|
-
# Optional. Rolls back a `Rollout`.
|
3334
|
-
class RepairMode
|
3335
|
-
include ::Google::Protobuf::MessageExts
|
3336
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
3337
|
-
end
|
3338
|
-
|
3339
|
-
# Retries the failed job.
|
3340
|
-
# @!attribute [rw] attempts
|
3341
|
-
# @return [::Integer]
|
3342
|
-
# Required. Total number of retries. Retry is skipped if set to 0; The
|
3343
|
-
# minimum value is 1, and the maximum value is 10.
|
3344
|
-
# @!attribute [rw] wait
|
3345
|
-
# @return [::Google::Protobuf::Duration]
|
3346
|
-
# Optional. How long to wait for the first retry. Default is 0, and the
|
3347
|
-
# maximum value is 14d.
|
3348
|
-
# @!attribute [rw] backoff_mode
|
3349
|
-
# @return [::Google::Cloud::Deploy::V1::BackoffMode]
|
3350
|
-
# Optional. The pattern of how wait time will be increased. Default is
|
3351
|
-
# linear. Backoff mode will be ignored if `wait` is 0.
|
3352
|
-
class Retry
|
3353
|
-
include ::Google::Protobuf::MessageExts
|
3354
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
3355
|
-
end
|
3356
|
-
|
3357
|
-
# Rolls back a `Rollout`.
|
3358
|
-
# @!attribute [rw] destination_phase
|
3359
|
-
# @return [::String]
|
3360
|
-
# Optional. The starting phase ID for the `Rollout`. If unspecified, the
|
3361
|
-
# `Rollout` will start in the stable phase.
|
3362
|
-
class Rollback
|
3363
|
-
include ::Google::Protobuf::MessageExts
|
3364
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
3365
|
-
end
|
3366
|
-
|
3367
3330
|
# `AutomationRuleCondition` contains conditions relevant to an
|
3368
3331
|
# `Automation` rule.
|
3369
3332
|
# @!attribute [rw] targets_present_condition
|
@@ -3377,8 +3340,8 @@ module Google
|
|
3377
3340
|
# The request object for `CreateAutomation`.
|
3378
3341
|
# @!attribute [rw] parent
|
3379
3342
|
# @return [::String]
|
3380
|
-
# Required. The parent collection in which the `Automation`
|
3381
|
-
#
|
3343
|
+
# Required. The parent collection in which the `Automation` must be created.
|
3344
|
+
# The format is
|
3382
3345
|
# `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
|
3383
3346
|
# @!attribute [rw] automation_id
|
3384
3347
|
# @return [::String]
|
@@ -3413,11 +3376,11 @@ module Google
|
|
3413
3376
|
# The request object for `UpdateAutomation`.
|
3414
3377
|
# @!attribute [rw] update_mask
|
3415
3378
|
# @return [::Google::Protobuf::FieldMask]
|
3416
|
-
# Required. Field mask is used to specify the fields to be overwritten
|
3417
|
-
# `Automation` resource
|
3418
|
-
#
|
3419
|
-
#
|
3420
|
-
#
|
3379
|
+
# Required. Field mask is used to specify the fields to be overwritten by the
|
3380
|
+
# update in the `Automation` resource. The fields specified in the
|
3381
|
+
# update_mask are relative to the resource, not the full request. A field
|
3382
|
+
# will be overwritten if it's in the mask. If the user doesn't provide a mask
|
3383
|
+
# then all fields are overwritten.
|
3421
3384
|
# @!attribute [rw] automation
|
3422
3385
|
# @return [::Google::Cloud::Deploy::V1::Automation]
|
3423
3386
|
# Required. The `Automation` to update.
|
@@ -3452,7 +3415,7 @@ module Google
|
|
3452
3415
|
# The request object for `DeleteAutomation`.
|
3453
3416
|
# @!attribute [rw] name
|
3454
3417
|
# @return [::String]
|
3455
|
-
# Required. The name of the `Automation` to delete.
|
3418
|
+
# Required. The name of the `Automation` to delete. The format is
|
3456
3419
|
# `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`.
|
3457
3420
|
# @!attribute [rw] request_id
|
3458
3421
|
# @return [::String]
|
@@ -3631,6 +3594,9 @@ module Google
|
|
3631
3594
|
|
3632
3595
|
# The `AutomationRun` is pending.
|
3633
3596
|
PENDING = 5
|
3597
|
+
|
3598
|
+
# The `AutomationRun` was aborted.
|
3599
|
+
ABORTED = 6
|
3634
3600
|
end
|
3635
3601
|
end
|
3636
3602
|
|
@@ -3676,20 +3642,24 @@ module Google
|
|
3676
3642
|
# @!attribute [r] rollout
|
3677
3643
|
# @return [::String]
|
3678
3644
|
# Output only. The name of the rollout that initiates the `AutomationRun`.
|
3679
|
-
# @!attribute [r] current_repair_mode_index
|
3680
|
-
# @return [::Integer]
|
3681
|
-
# Output only. The index of the current repair action in the repair sequence.
|
3682
3645
|
# @!attribute [r] repair_phases
|
3683
3646
|
# @return [::Array<::Google::Cloud::Deploy::V1::RepairPhase>]
|
3684
3647
|
# Output only. Records of the repair attempts. Each repair phase may have
|
3685
3648
|
# multiple retry attempts or single rollback attempt.
|
3649
|
+
# @!attribute [r] phase_id
|
3650
|
+
# @return [::String]
|
3651
|
+
# Output only. The phase ID of the phase that includes the job being
|
3652
|
+
# repaired.
|
3653
|
+
# @!attribute [r] job_id
|
3654
|
+
# @return [::String]
|
3655
|
+
# Output only. The job ID for the Job to repair.
|
3686
3656
|
class RepairRolloutOperation
|
3687
3657
|
include ::Google::Protobuf::MessageExts
|
3688
3658
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
3689
3659
|
end
|
3690
3660
|
|
3691
3661
|
# RepairPhase tracks the repair attempts that have been made for
|
3692
|
-
# each `
|
3662
|
+
# each `RepairPhaseConfig` specified in the `Automation` resource.
|
3693
3663
|
# @!attribute [r] retry
|
3694
3664
|
# @return [::Google::Cloud::Deploy::V1::RetryPhase]
|
3695
3665
|
# Output only. Records of the retry attempts for retry repair mode.
|
@@ -3710,12 +3680,6 @@ module Google
|
|
3710
3680
|
# @return [::Google::Cloud::Deploy::V1::BackoffMode]
|
3711
3681
|
# Output only. The pattern of how the wait time of the retry attempt is
|
3712
3682
|
# calculated.
|
3713
|
-
# @!attribute [r] phase_id
|
3714
|
-
# @return [::String]
|
3715
|
-
# Output only. The phase ID of the phase that includes the job being retried.
|
3716
|
-
# @!attribute [r] job_id
|
3717
|
-
# @return [::String]
|
3718
|
-
# Output only. The job ID for the Job to retry.
|
3719
3683
|
# @!attribute [r] attempts
|
3720
3684
|
# @return [::Array<::Google::Cloud::Deploy::V1::RetryAttempt>]
|
3721
3685
|
# Output only. Detail of a retry action.
|
@@ -3880,8 +3844,8 @@ module Google
|
|
3880
3844
|
# The `repair` action is pending.
|
3881
3845
|
REPAIR_STATE_PENDING = 5
|
3882
3846
|
|
3883
|
-
# The `repair` action was
|
3884
|
-
|
3847
|
+
# The `repair` action was aborted.
|
3848
|
+
REPAIR_STATE_ABORTED = 7
|
3885
3849
|
end
|
3886
3850
|
end
|
3887
3851
|
end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module Deploy
|
23
|
+
module V1
|
24
|
+
# Payload proto for "clouddeploy.googleapis.com/customtargettype_notification"
|
25
|
+
# Platform Log event that describes the failure to send a custom target type
|
26
|
+
# status change Pub/Sub notification.
|
27
|
+
# @!attribute [rw] message
|
28
|
+
# @return [::String]
|
29
|
+
# Debug message for when a notification fails to send.
|
30
|
+
# @!attribute [rw] custom_target_type_uid
|
31
|
+
# @return [::String]
|
32
|
+
# Unique identifier of the `CustomTargetType`.
|
33
|
+
# @!attribute [rw] custom_target_type
|
34
|
+
# @return [::String]
|
35
|
+
# The name of the `CustomTargetType`.
|
36
|
+
# @!attribute [rw] type
|
37
|
+
# @return [::Google::Cloud::Deploy::V1::Type]
|
38
|
+
# Type of this notification, e.g. for a Pub/Sub failure.
|
39
|
+
class CustomTargetTypeNotificationEvent
|
40
|
+
include ::Google::Protobuf::MessageExts
|
41
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module Deploy
|
23
|
+
module V1
|
24
|
+
# Payload proto for "clouddeploy.googleapis.com/deploypolicy_notification".
|
25
|
+
# Platform Log event that describes the failure to send a pub/sub notification
|
26
|
+
# when there is a DeployPolicy status change.
|
27
|
+
# @!attribute [rw] message
|
28
|
+
# @return [::String]
|
29
|
+
# Debug message for when a deploy policy fails to send a pub/sub
|
30
|
+
# notification.
|
31
|
+
# @!attribute [rw] deploy_policy
|
32
|
+
# @return [::String]
|
33
|
+
# The name of the `DeployPolicy`.
|
34
|
+
# @!attribute [rw] deploy_policy_uid
|
35
|
+
# @return [::String]
|
36
|
+
# Unique identifier of the deploy policy.
|
37
|
+
# @!attribute [rw] type
|
38
|
+
# @return [::Google::Cloud::Deploy::V1::Type]
|
39
|
+
# Type of this notification, e.g. for a Pub/Sub failure.
|
40
|
+
class DeployPolicyNotificationEvent
|
41
|
+
include ::Google::Protobuf::MessageExts
|
42
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
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: 1.
|
4
|
+
version: 1.2.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: 2024-
|
11
|
+
date: 2024-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -114,7 +114,9 @@ files:
|
|
114
114
|
- lib/google/cloud/deploy/v1/cloud_deploy/rest/service_stub.rb
|
115
115
|
- lib/google/cloud/deploy/v1/cloud_deploy_pb.rb
|
116
116
|
- lib/google/cloud/deploy/v1/cloud_deploy_services_pb.rb
|
117
|
+
- lib/google/cloud/deploy/v1/customtargettype_notification_payload_pb.rb
|
117
118
|
- lib/google/cloud/deploy/v1/deliverypipeline_notification_payload_pb.rb
|
119
|
+
- lib/google/cloud/deploy/v1/deploypolicy_notification_payload_pb.rb
|
118
120
|
- lib/google/cloud/deploy/v1/jobrun_notification_payload_pb.rb
|
119
121
|
- lib/google/cloud/deploy/v1/log_enums_pb.rb
|
120
122
|
- lib/google/cloud/deploy/v1/release_notification_payload_pb.rb
|
@@ -132,7 +134,9 @@ files:
|
|
132
134
|
- proto_docs/google/cloud/deploy/v1/automation_payload.rb
|
133
135
|
- proto_docs/google/cloud/deploy/v1/automationrun_payload.rb
|
134
136
|
- proto_docs/google/cloud/deploy/v1/cloud_deploy.rb
|
137
|
+
- proto_docs/google/cloud/deploy/v1/customtargettype_notification_payload.rb
|
135
138
|
- proto_docs/google/cloud/deploy/v1/deliverypipeline_notification_payload.rb
|
139
|
+
- proto_docs/google/cloud/deploy/v1/deploypolicy_notification_payload.rb
|
136
140
|
- proto_docs/google/cloud/deploy/v1/jobrun_notification_payload.rb
|
137
141
|
- proto_docs/google/cloud/deploy/v1/log_enums.rb
|
138
142
|
- proto_docs/google/cloud/deploy/v1/release_notification_payload.rb
|