google-cloud-deploy-v1 1.0.0 → 1.2.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 +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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5204e9e10b9a5e797ef58ca94c7a716d0e89b5b56063ab985db1bf030d3aff4a
|
4
|
+
data.tar.gz: f755b0923f1eb09748b2e7e60202e287d8483c66820afae20dd866c4c82e4550
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc808e27992ebc2e00313155e839401f0c4ac5495921886c741d3f5f93e29af3e826f0004227fd9c3b18377bc30e9baafb882bf9eb0355cecea9f8b853a10908
|
7
|
+
data.tar.gz: 2370d13593ea21fc8f7b756dbf78abceb827c8608824f5be6258780014849220e05b62c91113c78f074e13fd80771abed5b6504c99d5a7ad943b7e83b6770afb
|
@@ -551,9 +551,8 @@ module Google
|
|
551
551
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
552
552
|
#
|
553
553
|
# @param parent [::String]
|
554
|
-
# Required. The parent collection in which the `DeliveryPipeline`
|
555
|
-
# created.
|
556
|
-
# `projects/{project_id}/locations/{location_name}`.
|
554
|
+
# Required. The parent collection in which the `DeliveryPipeline` must be
|
555
|
+
# created. The format is `projects/{project_id}/locations/{location_name}`.
|
557
556
|
# @param delivery_pipeline_id [::String]
|
558
557
|
# Required. ID of the `DeliveryPipeline`.
|
559
558
|
# @param delivery_pipeline [::Google::Cloud::Deploy::V1::DeliveryPipeline, ::Hash]
|
@@ -668,11 +667,11 @@ module Google
|
|
668
667
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
669
668
|
#
|
670
669
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
671
|
-
# Required. Field mask is used to specify the fields to be overwritten
|
672
|
-
# `DeliveryPipeline` resource
|
673
|
-
#
|
674
|
-
#
|
675
|
-
#
|
670
|
+
# Required. Field mask is used to specify the fields to be overwritten by the
|
671
|
+
# update in the `DeliveryPipeline` resource. The fields specified in the
|
672
|
+
# update_mask are relative to the resource, not the full request. A field
|
673
|
+
# will be overwritten if it's in the mask. If the user doesn't provide a mask
|
674
|
+
# then all fields are overwritten.
|
676
675
|
# @param delivery_pipeline [::Google::Cloud::Deploy::V1::DeliveryPipeline, ::Hash]
|
677
676
|
# Required. The `DeliveryPipeline` to update.
|
678
677
|
# @param request_id [::String]
|
@@ -788,7 +787,7 @@ module Google
|
|
788
787
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
789
788
|
#
|
790
789
|
# @param name [::String]
|
791
|
-
# Required. The name of the `DeliveryPipeline` to delete.
|
790
|
+
# Required. The name of the `DeliveryPipeline` to delete. The format is
|
792
791
|
# `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
|
793
792
|
# @param request_id [::String]
|
794
793
|
# Optional. A request ID to identify requests. Specify a unique request ID
|
@@ -1020,8 +1019,8 @@ module Google
|
|
1020
1019
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1021
1020
|
#
|
1022
1021
|
# @param name [::String]
|
1023
|
-
# Required. The `DeliveryPipeline` for which the rollback `Rollout`
|
1024
|
-
# created.
|
1022
|
+
# Required. The `DeliveryPipeline` for which the rollback `Rollout` must be
|
1023
|
+
# created. The format is
|
1025
1024
|
# `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
|
1026
1025
|
# @param target_id [::String]
|
1027
1026
|
# Required. ID of the `Target` that is being rolled back.
|
@@ -1211,8 +1210,8 @@ module Google
|
|
1211
1210
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1212
1211
|
#
|
1213
1212
|
# @param parent [::String]
|
1214
|
-
# Required. The parent collection in which the `Target`
|
1215
|
-
#
|
1213
|
+
# Required. The parent collection in which the `Target` must be created.
|
1214
|
+
# The format is
|
1216
1215
|
# `projects/{project_id}/locations/{location_name}`.
|
1217
1216
|
# @param target_id [::String]
|
1218
1217
|
# Required. ID of the `Target`.
|
@@ -1328,11 +1327,11 @@ module Google
|
|
1328
1327
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1329
1328
|
#
|
1330
1329
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
1331
|
-
# Required. Field mask is used to specify the fields to be overwritten
|
1332
|
-
# Target resource
|
1333
|
-
#
|
1334
|
-
#
|
1335
|
-
#
|
1330
|
+
# Required. Field mask is used to specify the fields to be overwritten by the
|
1331
|
+
# update in the `Target` resource. The fields specified in the update_mask
|
1332
|
+
# are relative to the resource, not the full request. A field will be
|
1333
|
+
# overwritten if it's in the mask. If the user doesn't provide a mask then
|
1334
|
+
# all fields are overwritten.
|
1336
1335
|
# @param target [::Google::Cloud::Deploy::V1::Target, ::Hash]
|
1337
1336
|
# Required. The `Target` to update.
|
1338
1337
|
# @param request_id [::String]
|
@@ -1448,7 +1447,7 @@ module Google
|
|
1448
1447
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1449
1448
|
#
|
1450
1449
|
# @param name [::String]
|
1451
|
-
# Required. The name of the `Target` to delete.
|
1450
|
+
# Required. The name of the `Target` to delete. The format is
|
1452
1451
|
# `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
|
1453
1452
|
# @param request_id [::String]
|
1454
1453
|
# Optional. A request ID to identify requests. Specify a unique request ID
|
@@ -1763,9 +1762,8 @@ module Google
|
|
1763
1762
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1764
1763
|
#
|
1765
1764
|
# @param parent [::String]
|
1766
|
-
# Required. The parent collection in which the `CustomTargetType`
|
1767
|
-
# created.
|
1768
|
-
# `projects/{project_id}/locations/{location_name}`.
|
1765
|
+
# Required. The parent collection in which the `CustomTargetType` must be
|
1766
|
+
# created. The format is `projects/{project_id}/locations/{location_name}`.
|
1769
1767
|
# @param custom_target_type_id [::String]
|
1770
1768
|
# Required. ID of the `CustomTargetType`.
|
1771
1769
|
# @param custom_target_type [::Google::Cloud::Deploy::V1::CustomTargetType, ::Hash]
|
@@ -1880,11 +1878,11 @@ module Google
|
|
1880
1878
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1881
1879
|
#
|
1882
1880
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
1883
|
-
# Required. Field mask is used to specify the fields to be overwritten
|
1884
|
-
# `CustomTargetType` resource
|
1885
|
-
#
|
1886
|
-
#
|
1887
|
-
#
|
1881
|
+
# Required. Field mask is used to specify the fields to be overwritten by the
|
1882
|
+
# update in the `CustomTargetType` resource. The fields specified in the
|
1883
|
+
# update_mask are relative to the resource, not the full request. A field
|
1884
|
+
# will be overwritten if it's in the mask. If the user doesn't provide a mask
|
1885
|
+
# then all fields are overwritten.
|
1888
1886
|
# @param custom_target_type [::Google::Cloud::Deploy::V1::CustomTargetType, ::Hash]
|
1889
1887
|
# Required. The `CustomTargetType` to update.
|
1890
1888
|
# @param request_id [::String]
|
@@ -2315,8 +2313,8 @@ module Google
|
|
2315
2313
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
2316
2314
|
#
|
2317
2315
|
# @param parent [::String]
|
2318
|
-
# Required. The parent collection in which the `Release`
|
2319
|
-
#
|
2316
|
+
# Required. The parent collection in which the `Release` is created.
|
2317
|
+
# The format is
|
2320
2318
|
# `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
|
2321
2319
|
# @param release_id [::String]
|
2322
2320
|
# Required. ID of the `Release`.
|
@@ -2979,8 +2977,8 @@ module Google
|
|
2979
2977
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
2980
2978
|
#
|
2981
2979
|
# @param parent [::String]
|
2982
|
-
# Required. The parent collection in which the `Rollout`
|
2983
|
-
#
|
2980
|
+
# Required. The parent collection in which the `Rollout` must be created.
|
2981
|
+
# The format is
|
2984
2982
|
# `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`.
|
2985
2983
|
# @param rollout_id [::String]
|
2986
2984
|
# Required. ID of the `Rollout`.
|
@@ -3649,8 +3647,8 @@ module Google
|
|
3649
3647
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
3650
3648
|
#
|
3651
3649
|
# @param parent [::String]
|
3652
|
-
# Required. The parent collection in which the `Automation`
|
3653
|
-
#
|
3650
|
+
# Required. The parent collection in which the `Automation` must be created.
|
3651
|
+
# The format is
|
3654
3652
|
# `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
|
3655
3653
|
# @param automation_id [::String]
|
3656
3654
|
# Required. ID of the `Automation`.
|
@@ -3766,11 +3764,11 @@ module Google
|
|
3766
3764
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
3767
3765
|
#
|
3768
3766
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
3769
|
-
# Required. Field mask is used to specify the fields to be overwritten
|
3770
|
-
# `Automation` resource
|
3771
|
-
#
|
3772
|
-
#
|
3773
|
-
#
|
3767
|
+
# Required. Field mask is used to specify the fields to be overwritten by the
|
3768
|
+
# update in the `Automation` resource. The fields specified in the
|
3769
|
+
# update_mask are relative to the resource, not the full request. A field
|
3770
|
+
# will be overwritten if it's in the mask. If the user doesn't provide a mask
|
3771
|
+
# then all fields are overwritten.
|
3774
3772
|
# @param automation [::Google::Cloud::Deploy::V1::Automation, ::Hash]
|
3775
3773
|
# Required. The `Automation` to update.
|
3776
3774
|
# @param request_id [::String]
|
@@ -3886,7 +3884,7 @@ module Google
|
|
3886
3884
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
3887
3885
|
#
|
3888
3886
|
# @param name [::String]
|
3889
|
-
# Required. The name of the `Automation` to delete.
|
3887
|
+
# Required. The name of the `Automation` to delete. The format is
|
3890
3888
|
# `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`.
|
3891
3889
|
# @param request_id [::String]
|
3892
3890
|
# Optional. A request ID to identify requests. Specify a unique request ID
|
@@ -531,9 +531,8 @@ module Google
|
|
531
531
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
532
532
|
#
|
533
533
|
# @param parent [::String]
|
534
|
-
# Required. The parent collection in which the `DeliveryPipeline`
|
535
|
-
# created.
|
536
|
-
# `projects/{project_id}/locations/{location_name}`.
|
534
|
+
# Required. The parent collection in which the `DeliveryPipeline` must be
|
535
|
+
# created. The format is `projects/{project_id}/locations/{location_name}`.
|
537
536
|
# @param delivery_pipeline_id [::String]
|
538
537
|
# Required. ID of the `DeliveryPipeline`.
|
539
538
|
# @param delivery_pipeline [::Google::Cloud::Deploy::V1::DeliveryPipeline, ::Hash]
|
@@ -641,11 +640,11 @@ module Google
|
|
641
640
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
642
641
|
#
|
643
642
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
644
|
-
# Required. Field mask is used to specify the fields to be overwritten
|
645
|
-
# `DeliveryPipeline` resource
|
646
|
-
#
|
647
|
-
#
|
648
|
-
#
|
643
|
+
# Required. Field mask is used to specify the fields to be overwritten by the
|
644
|
+
# update in the `DeliveryPipeline` resource. The fields specified in the
|
645
|
+
# update_mask are relative to the resource, not the full request. A field
|
646
|
+
# will be overwritten if it's in the mask. If the user doesn't provide a mask
|
647
|
+
# then all fields are overwritten.
|
649
648
|
# @param delivery_pipeline [::Google::Cloud::Deploy::V1::DeliveryPipeline, ::Hash]
|
650
649
|
# Required. The `DeliveryPipeline` to update.
|
651
650
|
# @param request_id [::String]
|
@@ -754,7 +753,7 @@ module Google
|
|
754
753
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
755
754
|
#
|
756
755
|
# @param name [::String]
|
757
|
-
# Required. The name of the `DeliveryPipeline` to delete.
|
756
|
+
# Required. The name of the `DeliveryPipeline` to delete. The format is
|
758
757
|
# `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
|
759
758
|
# @param request_id [::String]
|
760
759
|
# Optional. A request ID to identify requests. Specify a unique request ID
|
@@ -971,8 +970,8 @@ module Google
|
|
971
970
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
972
971
|
#
|
973
972
|
# @param name [::String]
|
974
|
-
# Required. The `DeliveryPipeline` for which the rollback `Rollout`
|
975
|
-
# created.
|
973
|
+
# Required. The `DeliveryPipeline` for which the rollback `Rollout` must be
|
974
|
+
# created. The format is
|
976
975
|
# `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
|
977
976
|
# @param target_id [::String]
|
978
977
|
# Required. ID of the `Target` that is being rolled back.
|
@@ -1148,8 +1147,8 @@ module Google
|
|
1148
1147
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1149
1148
|
#
|
1150
1149
|
# @param parent [::String]
|
1151
|
-
# Required. The parent collection in which the `Target`
|
1152
|
-
#
|
1150
|
+
# Required. The parent collection in which the `Target` must be created.
|
1151
|
+
# The format is
|
1153
1152
|
# `projects/{project_id}/locations/{location_name}`.
|
1154
1153
|
# @param target_id [::String]
|
1155
1154
|
# Required. ID of the `Target`.
|
@@ -1258,11 +1257,11 @@ module Google
|
|
1258
1257
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1259
1258
|
#
|
1260
1259
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
1261
|
-
# Required. Field mask is used to specify the fields to be overwritten
|
1262
|
-
# Target resource
|
1263
|
-
#
|
1264
|
-
#
|
1265
|
-
#
|
1260
|
+
# Required. Field mask is used to specify the fields to be overwritten by the
|
1261
|
+
# update in the `Target` resource. The fields specified in the update_mask
|
1262
|
+
# are relative to the resource, not the full request. A field will be
|
1263
|
+
# overwritten if it's in the mask. If the user doesn't provide a mask then
|
1264
|
+
# all fields are overwritten.
|
1266
1265
|
# @param target [::Google::Cloud::Deploy::V1::Target, ::Hash]
|
1267
1266
|
# Required. The `Target` to update.
|
1268
1267
|
# @param request_id [::String]
|
@@ -1371,7 +1370,7 @@ module Google
|
|
1371
1370
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1372
1371
|
#
|
1373
1372
|
# @param name [::String]
|
1374
|
-
# Required. The name of the `Target` to delete.
|
1373
|
+
# Required. The name of the `Target` to delete. The format is
|
1375
1374
|
# `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
|
1376
1375
|
# @param request_id [::String]
|
1377
1376
|
# Optional. A request ID to identify requests. Specify a unique request ID
|
@@ -1664,9 +1663,8 @@ module Google
|
|
1664
1663
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1665
1664
|
#
|
1666
1665
|
# @param parent [::String]
|
1667
|
-
# Required. The parent collection in which the `CustomTargetType`
|
1668
|
-
# created.
|
1669
|
-
# `projects/{project_id}/locations/{location_name}`.
|
1666
|
+
# Required. The parent collection in which the `CustomTargetType` must be
|
1667
|
+
# created. The format is `projects/{project_id}/locations/{location_name}`.
|
1670
1668
|
# @param custom_target_type_id [::String]
|
1671
1669
|
# Required. ID of the `CustomTargetType`.
|
1672
1670
|
# @param custom_target_type [::Google::Cloud::Deploy::V1::CustomTargetType, ::Hash]
|
@@ -1774,11 +1772,11 @@ module Google
|
|
1774
1772
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1775
1773
|
#
|
1776
1774
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
1777
|
-
# Required. Field mask is used to specify the fields to be overwritten
|
1778
|
-
# `CustomTargetType` resource
|
1779
|
-
#
|
1780
|
-
#
|
1781
|
-
#
|
1775
|
+
# Required. Field mask is used to specify the fields to be overwritten by the
|
1776
|
+
# update in the `CustomTargetType` resource. The fields specified in the
|
1777
|
+
# update_mask are relative to the resource, not the full request. A field
|
1778
|
+
# will be overwritten if it's in the mask. If the user doesn't provide a mask
|
1779
|
+
# then all fields are overwritten.
|
1782
1780
|
# @param custom_target_type [::Google::Cloud::Deploy::V1::CustomTargetType, ::Hash]
|
1783
1781
|
# Required. The `CustomTargetType` to update.
|
1784
1782
|
# @param request_id [::String]
|
@@ -2180,8 +2178,8 @@ module Google
|
|
2180
2178
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
2181
2179
|
#
|
2182
2180
|
# @param parent [::String]
|
2183
|
-
# Required. The parent collection in which the `Release`
|
2184
|
-
#
|
2181
|
+
# Required. The parent collection in which the `Release` is created.
|
2182
|
+
# The format is
|
2185
2183
|
# `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
|
2186
2184
|
# @param release_id [::String]
|
2187
2185
|
# Required. ID of the `Release`.
|
@@ -2794,8 +2792,8 @@ module Google
|
|
2794
2792
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
2795
2793
|
#
|
2796
2794
|
# @param parent [::String]
|
2797
|
-
# Required. The parent collection in which the `Rollout`
|
2798
|
-
#
|
2795
|
+
# Required. The parent collection in which the `Rollout` must be created.
|
2796
|
+
# The format is
|
2799
2797
|
# `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`.
|
2800
2798
|
# @param rollout_id [::String]
|
2801
2799
|
# Required. ID of the `Rollout`.
|
@@ -3414,8 +3412,8 @@ module Google
|
|
3414
3412
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
3415
3413
|
#
|
3416
3414
|
# @param parent [::String]
|
3417
|
-
# Required. The parent collection in which the `Automation`
|
3418
|
-
#
|
3415
|
+
# Required. The parent collection in which the `Automation` must be created.
|
3416
|
+
# The format is
|
3419
3417
|
# `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
|
3420
3418
|
# @param automation_id [::String]
|
3421
3419
|
# Required. ID of the `Automation`.
|
@@ -3524,11 +3522,11 @@ module Google
|
|
3524
3522
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
3525
3523
|
#
|
3526
3524
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
3527
|
-
# Required. Field mask is used to specify the fields to be overwritten
|
3528
|
-
# `Automation` resource
|
3529
|
-
#
|
3530
|
-
#
|
3531
|
-
#
|
3525
|
+
# Required. Field mask is used to specify the fields to be overwritten by the
|
3526
|
+
# update in the `Automation` resource. The fields specified in the
|
3527
|
+
# update_mask are relative to the resource, not the full request. A field
|
3528
|
+
# will be overwritten if it's in the mask. If the user doesn't provide a mask
|
3529
|
+
# then all fields are overwritten.
|
3532
3530
|
# @param automation [::Google::Cloud::Deploy::V1::Automation, ::Hash]
|
3533
3531
|
# Required. The `Automation` to update.
|
3534
3532
|
# @param request_id [::String]
|
@@ -3637,7 +3635,7 @@ module Google
|
|
3637
3635
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
3638
3636
|
#
|
3639
3637
|
# @param name [::String]
|
3640
|
-
# Required. The name of the `Automation` to delete.
|
3638
|
+
# Required. The name of the `Automation` to delete. The format is
|
3641
3639
|
# `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`.
|
3642
3640
|
# @param request_id [::String]
|
3643
3641
|
# Optional. A request ID to identify requests. Specify a unique request ID
|