google-cloud-deploy-v1 0.1.1 → 0.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/.yardopts +1 -1
- data/AUTHENTICATION.md +7 -25
- data/README.md +1 -1
- data/lib/google/cloud/deploy/v1/cloud_deploy/client.rb +445 -58
- data/lib/google/cloud/deploy/v1/cloud_deploy/operations.rb +115 -12
- data/lib/google/cloud/deploy/v1/cloud_deploy/paths.rb +19 -0
- data/lib/google/cloud/deploy/v1/cloud_deploy_pb.rb +25 -0
- data/lib/google/cloud/deploy/v1/deliverypipeline_notification_payload_pb.rb +25 -0
- data/lib/google/cloud/deploy/v1/log_enums_pb.rb +24 -0
- data/lib/google/cloud/deploy/v1/release_notification_payload_pb.rb +25 -0
- data/lib/google/cloud/deploy/v1/release_render_payload_pb.rb +23 -0
- data/lib/google/cloud/deploy/v1/rollout_notification_payload_pb.rb +28 -0
- data/lib/google/cloud/deploy/v1/target_notification_payload_pb.rb +25 -0
- data/lib/google/cloud/deploy/v1/version.rb +1 -1
- data/lib/google/cloud/deploy/v1.rb +2 -0
- data/proto_docs/google/api/resource.rb +10 -71
- data/proto_docs/google/cloud/deploy/v1/cloud_deploy.rb +135 -26
- data/proto_docs/google/cloud/deploy/v1/deliverypipeline_notification_payload.rb +43 -0
- data/proto_docs/google/cloud/deploy/v1/log_enums.rb +38 -0
- data/proto_docs/google/cloud/deploy/v1/release_notification_payload.rb +43 -0
- data/proto_docs/google/cloud/deploy/v1/release_render_payload.rb +40 -0
- data/proto_docs/google/cloud/deploy/v1/rollout_notification_payload.rb +52 -0
- data/proto_docs/google/cloud/deploy/v1/target_notification_payload.rb +43 -0
- metadata +15 -3
@@ -45,10 +45,16 @@ module Google
|
|
45
45
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
46
46
|
# Labels are attributes that can be set and used by both the
|
47
47
|
# user and by Google Cloud Deploy. Labels must meet the following
|
48
|
-
# constraints:
|
49
|
-
#
|
50
|
-
#
|
51
|
-
#
|
48
|
+
# constraints:
|
49
|
+
#
|
50
|
+
# * Keys and values can contain only lowercase letters, numeric characters,
|
51
|
+
# underscores, and dashes.
|
52
|
+
# * All characters must use UTF-8 encoding, and international characters are
|
53
|
+
# allowed.
|
54
|
+
# * Keys must start with a lowercase letter or international character.
|
55
|
+
# * Each resource is limited to a maximum of 64 labels.
|
56
|
+
#
|
57
|
+
# Both keys and values are additionally constrained to be <= 128 bytes.
|
52
58
|
# @!attribute [r] create_time
|
53
59
|
# @return [::Google::Protobuf::Timestamp]
|
54
60
|
# Output only. Time at which the pipeline was created.
|
@@ -106,9 +112,9 @@ module Google
|
|
106
112
|
# The target_id to which this stage points. This field refers exclusively to
|
107
113
|
# the last segment of a target name. For example, this field would just be
|
108
114
|
# `my-target` (rather than
|
109
|
-
# `projects/project/
|
110
|
-
#
|
111
|
-
# `DeliveryPipeline`
|
115
|
+
# `projects/project/locations/location/targets/my-target`). The location of
|
116
|
+
# the `Target` is inferred to be the same as the location of the
|
117
|
+
# `DeliveryPipeline` that contains this `Stage`.
|
112
118
|
# @!attribute [rw] profiles
|
113
119
|
# @return [::Array<::String>]
|
114
120
|
# Skaffold profiles to use when rendering the manifest for this stage's
|
@@ -183,7 +189,7 @@ module Google
|
|
183
189
|
# the call that provided the page token.
|
184
190
|
# @!attribute [rw] filter
|
185
191
|
# @return [::String]
|
186
|
-
# Filter
|
192
|
+
# Filter pipelines to be returned. See https://google.aip.dev/160 for more
|
187
193
|
# details.
|
188
194
|
# @!attribute [rw] order_by
|
189
195
|
# @return [::String]
|
@@ -342,8 +348,8 @@ module Google
|
|
342
348
|
# can be deployed.
|
343
349
|
# @!attribute [rw] name
|
344
350
|
# @return [::String]
|
345
|
-
# Optional. Name of the `Target`. Format is
|
346
|
-
#
|
351
|
+
# Optional. Name of the `Target`. Format is
|
352
|
+
# projects/\\{project}/locations/\\{location}/targets/[a-z][a-z0-9\-]\\{0,62}.
|
347
353
|
# @!attribute [r] target_id
|
348
354
|
# @return [::String]
|
349
355
|
# Output only. Resource id of the `Target`.
|
@@ -363,10 +369,16 @@ module Google
|
|
363
369
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
364
370
|
# Optional. Labels are attributes that can be set and used by both the
|
365
371
|
# user and by Google Cloud Deploy. Labels must meet the following
|
366
|
-
# constraints:
|
367
|
-
#
|
368
|
-
#
|
369
|
-
#
|
372
|
+
# constraints:
|
373
|
+
#
|
374
|
+
# * Keys and values can contain only lowercase letters, numeric characters,
|
375
|
+
# underscores, and dashes.
|
376
|
+
# * All characters must use UTF-8 encoding, and international characters are
|
377
|
+
# allowed.
|
378
|
+
# * Keys must start with a lowercase letter or international character.
|
379
|
+
# * Each resource is limited to a maximum of 64 labels.
|
380
|
+
#
|
381
|
+
# Both keys and values are additionally constrained to be <= 128 bytes.
|
370
382
|
# @!attribute [rw] require_approval
|
371
383
|
# @return [::Boolean]
|
372
384
|
# Optional. Whether or not the `Target` requires approval.
|
@@ -379,6 +391,9 @@ module Google
|
|
379
391
|
# @!attribute [rw] gke
|
380
392
|
# @return [::Google::Cloud::Deploy::V1::GkeCluster]
|
381
393
|
# Information specifying a GKE Cluster.
|
394
|
+
# @!attribute [rw] anthos_cluster
|
395
|
+
# @return [::Google::Cloud::Deploy::V1::AnthosCluster]
|
396
|
+
# Information specifying an Anthos Cluster.
|
382
397
|
# @!attribute [rw] etag
|
383
398
|
# @return [::String]
|
384
399
|
# Optional. This checksum is computed by the server based on the value of other
|
@@ -426,6 +441,23 @@ module Google
|
|
426
441
|
# @!attribute [rw] private_pool
|
427
442
|
# @return [::Google::Cloud::Deploy::V1::PrivatePool]
|
428
443
|
# Optional. Use private Cloud Build pool.
|
444
|
+
# @!attribute [rw] worker_pool
|
445
|
+
# @return [::String]
|
446
|
+
# Optional. The resource name of the `WorkerPool`, with the format
|
447
|
+
# `projects/{project}/locations/{location}/workerPools/{worker_pool}`.
|
448
|
+
# If this optional field is unspecified, the default Cloud Build pool will be
|
449
|
+
# used.
|
450
|
+
# @!attribute [rw] service_account
|
451
|
+
# @return [::String]
|
452
|
+
# Optional. Google service account to use for execution. If unspecified,
|
453
|
+
# the project execution service account
|
454
|
+
# (<PROJECT_NUMBER>-compute@developer.gserviceaccount.com) is used.
|
455
|
+
# @!attribute [rw] artifact_storage
|
456
|
+
# @return [::String]
|
457
|
+
# Optional. Cloud Storage location in which to store execution outputs. This can
|
458
|
+
# either be a bucket ("gs://my-bucket") or a path within a bucket
|
459
|
+
# ("gs://my-bucket/my-dir").
|
460
|
+
# If unspecified, a default bucket located in the same region will be used.
|
429
461
|
class ExecutionConfig
|
430
462
|
include ::Google::Protobuf::MessageExts
|
431
463
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -486,11 +518,32 @@ module Google
|
|
486
518
|
# @return [::String]
|
487
519
|
# Information specifying a GKE Cluster. Format is
|
488
520
|
# `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}.
|
521
|
+
# @!attribute [rw] internal_ip
|
522
|
+
# @return [::Boolean]
|
523
|
+
# Optional. If true, `cluster` is accessed using the private IP address of the control
|
524
|
+
# plane endpoint. Otherwise, the default IP address of the control plane
|
525
|
+
# endpoint is used. The default IP address is the private IP address for
|
526
|
+
# clusters with private control-plane endpoints and the public IP address
|
527
|
+
# otherwise.
|
528
|
+
#
|
529
|
+
# Only specify this option when `cluster` is a [private GKE
|
530
|
+
# cluster](https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-concept).
|
489
531
|
class GkeCluster
|
490
532
|
include ::Google::Protobuf::MessageExts
|
491
533
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
492
534
|
end
|
493
535
|
|
536
|
+
# Information specifying an Anthos Cluster.
|
537
|
+
# @!attribute [rw] membership
|
538
|
+
# @return [::String]
|
539
|
+
# Membership of the GKE Hub-registered cluster to which to apply the Skaffold
|
540
|
+
# configuration. Format is
|
541
|
+
# `projects/{project}/locations/{location}/memberships/{membership_name}`.
|
542
|
+
class AnthosCluster
|
543
|
+
include ::Google::Protobuf::MessageExts
|
544
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
545
|
+
end
|
546
|
+
|
494
547
|
# The request object for `ListTargets`.
|
495
548
|
# @!attribute [rw] parent
|
496
549
|
# @return [::String]
|
@@ -510,7 +563,7 @@ module Google
|
|
510
563
|
# the call that provided the page token.
|
511
564
|
# @!attribute [rw] filter
|
512
565
|
# @return [::String]
|
513
|
-
# Optional. Filter
|
566
|
+
# Optional. Filter targets to be returned. See https://google.aip.dev/160 for more
|
514
567
|
# details.
|
515
568
|
# @!attribute [rw] order_by
|
516
569
|
# @return [::String]
|
@@ -684,10 +737,16 @@ module Google
|
|
684
737
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
685
738
|
# Labels are attributes that can be set and used by both the
|
686
739
|
# user and by Google Cloud Deploy. Labels must meet the following
|
687
|
-
# constraints:
|
688
|
-
#
|
689
|
-
#
|
690
|
-
#
|
740
|
+
# constraints:
|
741
|
+
#
|
742
|
+
# * Keys and values can contain only lowercase letters, numeric characters,
|
743
|
+
# underscores, and dashes.
|
744
|
+
# * All characters must use UTF-8 encoding, and international characters are
|
745
|
+
# allowed.
|
746
|
+
# * Keys must start with a lowercase letter or international character.
|
747
|
+
# * Each resource is limited to a maximum of 64 labels.
|
748
|
+
#
|
749
|
+
# Both keys and values are additionally constrained to be <= 128 bytes.
|
691
750
|
# @!attribute [r] create_time
|
692
751
|
# @return [::Google::Protobuf::Timestamp]
|
693
752
|
# Output only. Time at which the `Release` was created.
|
@@ -711,7 +770,7 @@ module Google
|
|
711
770
|
# Output only. Snapshot of the parent pipeline taken at release creation time.
|
712
771
|
# @!attribute [r] target_snapshots
|
713
772
|
# @return [::Array<::Google::Cloud::Deploy::V1::Target>]
|
714
|
-
# Output only. Snapshot of the
|
773
|
+
# Output only. Snapshot of the targets taken at release creation time.
|
715
774
|
# @!attribute [r] render_state
|
716
775
|
# @return [::Google::Cloud::Deploy::V1::Release::RenderState]
|
717
776
|
# Output only. Current state of the render operation.
|
@@ -747,6 +806,10 @@ module Google
|
|
747
806
|
# @!attribute [r] rendering_state
|
748
807
|
# @return [::Google::Cloud::Deploy::V1::Release::TargetRender::TargetRenderState]
|
749
808
|
# Output only. Current state of the render operation for this Target.
|
809
|
+
# @!attribute [r] failure_cause
|
810
|
+
# @return [::Google::Cloud::Deploy::V1::Release::TargetRender::FailureCause]
|
811
|
+
# Output only. Reason this render failed. This will always be unspecified while the
|
812
|
+
# render in progress.
|
750
813
|
class TargetRender
|
751
814
|
include ::Google::Protobuf::MessageExts
|
752
815
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -765,6 +828,21 @@ module Google
|
|
765
828
|
# The render operation is in progress.
|
766
829
|
IN_PROGRESS = 3
|
767
830
|
end
|
831
|
+
|
832
|
+
# Well-known rendering failures.
|
833
|
+
module FailureCause
|
834
|
+
# No reason for failure is specified.
|
835
|
+
FAILURE_CAUSE_UNSPECIFIED = 0
|
836
|
+
|
837
|
+
# Cloud Build is not available, either because it is not enabled or
|
838
|
+
# because Cloud Deploy has insufficient permissions. See [required
|
839
|
+
# permission](/deploy/docs/cloud-deploy-service-account#required_permissions).
|
840
|
+
CLOUD_BUILD_UNAVAILABLE = 1
|
841
|
+
|
842
|
+
# The render operation did not complete successfully; check Cloud Build
|
843
|
+
# logs.
|
844
|
+
EXECUTION_FAILED = 2
|
845
|
+
end
|
768
846
|
end
|
769
847
|
|
770
848
|
# @!attribute [rw] key
|
@@ -868,7 +946,7 @@ module Google
|
|
868
946
|
# the call that provided the page token.
|
869
947
|
# @!attribute [rw] filter
|
870
948
|
# @return [::String]
|
871
|
-
# Optional. Filter
|
949
|
+
# Optional. Filter releases to be returned. See https://google.aip.dev/160 for more
|
872
950
|
# details.
|
873
951
|
# @!attribute [rw] order_by
|
874
952
|
# @return [::String]
|
@@ -965,10 +1043,16 @@ module Google
|
|
965
1043
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
966
1044
|
# Labels are attributes that can be set and used by both the
|
967
1045
|
# user and by Google Cloud Deploy. Labels must meet the following
|
968
|
-
# constraints:
|
969
|
-
#
|
970
|
-
#
|
971
|
-
#
|
1046
|
+
# constraints:
|
1047
|
+
#
|
1048
|
+
# * Keys and values can contain only lowercase letters, numeric characters,
|
1049
|
+
# underscores, and dashes.
|
1050
|
+
# * All characters must use UTF-8 encoding, and international characters are
|
1051
|
+
# allowed.
|
1052
|
+
# * Keys must start with a lowercase letter or international character.
|
1053
|
+
# * Each resource is limited to a maximum of 64 labels.
|
1054
|
+
#
|
1055
|
+
# Both keys and values are additionally constrained to be <= 128 bytes.
|
972
1056
|
# @!attribute [r] create_time
|
973
1057
|
# @return [::Google::Protobuf::Timestamp]
|
974
1058
|
# Output only. Time at which the `Rollout` was created.
|
@@ -1006,6 +1090,10 @@ module Google
|
|
1006
1090
|
# This checksum is computed by the server based on the value of other
|
1007
1091
|
# fields, and may be sent on update and delete requests to ensure the
|
1008
1092
|
# client has an up-to-date value before proceeding.
|
1093
|
+
# @!attribute [r] deploy_failure_cause
|
1094
|
+
# @return [::Google::Cloud::Deploy::V1::Rollout::FailureCause]
|
1095
|
+
# Output only. The reason this deploy failed. This will always be unspecified while the
|
1096
|
+
# deploy in progress.
|
1009
1097
|
class Rollout
|
1010
1098
|
include ::Google::Protobuf::MessageExts
|
1011
1099
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1073,6 +1161,27 @@ module Google
|
|
1073
1161
|
# The `Rollout` is waiting for the `Release` to be fully rendered.
|
1074
1162
|
PENDING_RELEASE = 7
|
1075
1163
|
end
|
1164
|
+
|
1165
|
+
# Well-known deployment failures.
|
1166
|
+
module FailureCause
|
1167
|
+
# No reason for failure is specified.
|
1168
|
+
FAILURE_CAUSE_UNSPECIFIED = 0
|
1169
|
+
|
1170
|
+
# Cloud Build is not available, either because it is not enabled or because
|
1171
|
+
# Cloud Deploy has insufficient permissions. See [required
|
1172
|
+
# permission](/deploy/docs/cloud-deploy-service-account#required_permissions).
|
1173
|
+
CLOUD_BUILD_UNAVAILABLE = 1
|
1174
|
+
|
1175
|
+
# The deploy operation did not complete successfully; check Cloud Build
|
1176
|
+
# logs.
|
1177
|
+
EXECUTION_FAILED = 2
|
1178
|
+
|
1179
|
+
# Deployment did not complete within the alloted time.
|
1180
|
+
DEADLINE_EXCEEDED = 3
|
1181
|
+
|
1182
|
+
# Release is in a failed state.
|
1183
|
+
RELEASE_FAILED = 4
|
1184
|
+
end
|
1076
1185
|
end
|
1077
1186
|
|
1078
1187
|
# ListRolloutsRequest is the request object used by `ListRollouts`.
|
@@ -1093,7 +1202,7 @@ module Google
|
|
1093
1202
|
# the call that provided the page token.
|
1094
1203
|
# @!attribute [rw] filter
|
1095
1204
|
# @return [::String]
|
1096
|
-
# Optional. Filter
|
1205
|
+
# Optional. Filter rollouts to be returned. See https://google.aip.dev/160 for more
|
1097
1206
|
# details.
|
1098
1207
|
# @!attribute [rw] order_by
|
1099
1208
|
# @return [::String]
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2022 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/deliverypipeline_notification"
|
25
|
+
# Platform Log event that describes the failure to send delivery pipeline
|
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] delivery_pipeline
|
31
|
+
# @return [::String]
|
32
|
+
# The name of the `Delivery Pipeline`.
|
33
|
+
# @!attribute [rw] type
|
34
|
+
# @return [::Google::Cloud::Deploy::V1::Type]
|
35
|
+
# Type of this notification, e.g. for a Pub/Sub failure.
|
36
|
+
class DeliveryPipelineNotificationEvent
|
37
|
+
include ::Google::Protobuf::MessageExts
|
38
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2022 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
|
+
# Type indicates the type of the log entry and can be used as a filter.
|
25
|
+
module Type
|
26
|
+
# Type is unspecified.
|
27
|
+
TYPE_UNSPECIFIED = 0
|
28
|
+
|
29
|
+
# A Pub/Sub notification failed to be sent.
|
30
|
+
TYPE_PUBSUB_NOTIFICATION_FAILURE = 1
|
31
|
+
|
32
|
+
# Release render status changed notification.
|
33
|
+
TYPE_RENDER_STATUES_CHANGE = 2
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2022 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/release_notification"
|
25
|
+
# Platform Log event that describes the failure to send release status change
|
26
|
+
# Pub/Sub notification.
|
27
|
+
# @!attribute [rw] message
|
28
|
+
# @return [::String]
|
29
|
+
# Debug message for when a notification fails to send.
|
30
|
+
# @!attribute [rw] release
|
31
|
+
# @return [::String]
|
32
|
+
# The name of the `Release`.
|
33
|
+
# @!attribute [rw] type
|
34
|
+
# @return [::Google::Cloud::Deploy::V1::Type]
|
35
|
+
# Type of this notification, e.g. for a Pub/Sub failure.
|
36
|
+
class ReleaseNotificationEvent
|
37
|
+
include ::Google::Protobuf::MessageExts
|
38
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2022 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/release_render"
|
25
|
+
# Platform Log event that describes the render status change.
|
26
|
+
# @!attribute [rw] message
|
27
|
+
# @return [::String]
|
28
|
+
# Debug message for when a render transition occurs. Provides further
|
29
|
+
# details as rendering progresses through render states.
|
30
|
+
# @!attribute [rw] release
|
31
|
+
# @return [::String]
|
32
|
+
# The name of the `Release`.
|
33
|
+
class ReleaseRenderEvent
|
34
|
+
include ::Google::Protobuf::MessageExts
|
35
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,52 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2022 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/rollout_notification"
|
25
|
+
# Platform Log event that describes the failure to send rollout status change
|
26
|
+
# Pub/Sub notification.
|
27
|
+
# @!attribute [rw] message
|
28
|
+
# @return [::String]
|
29
|
+
# Debug message for when a notification fails to send.
|
30
|
+
# @!attribute [rw] pipeline_uid
|
31
|
+
# @return [::String]
|
32
|
+
# Unique identifier of the `DeliveryPipeline`.
|
33
|
+
# @!attribute [rw] release_uid
|
34
|
+
# @return [::String]
|
35
|
+
# Unique identifier of the `Release`.
|
36
|
+
# @!attribute [rw] rollout
|
37
|
+
# @return [::String]
|
38
|
+
# The name of the `Rollout`.
|
39
|
+
# @!attribute [rw] type
|
40
|
+
# @return [::Google::Cloud::Deploy::V1::Type]
|
41
|
+
# Type of this notification, e.g. for a Pub/Sub failure.
|
42
|
+
# @!attribute [rw] target_id
|
43
|
+
# @return [::String]
|
44
|
+
# ID of the `Target` that the rollout is deployed to.
|
45
|
+
class RolloutNotificationEvent
|
46
|
+
include ::Google::Protobuf::MessageExts
|
47
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2022 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/target_notification"
|
25
|
+
# Platform Log event that describes the failure to send target status change
|
26
|
+
# Pub/Sub notification.
|
27
|
+
# @!attribute [rw] message
|
28
|
+
# @return [::String]
|
29
|
+
# Debug message for when a notification fails to send.
|
30
|
+
# @!attribute [rw] target
|
31
|
+
# @return [::String]
|
32
|
+
# The name of the `Target`.
|
33
|
+
# @!attribute [rw] type
|
34
|
+
# @return [::Google::Cloud::Deploy::V1::Type]
|
35
|
+
# Type of this notification, e.g. for a Pub/Sub failure.
|
36
|
+
class TargetNotificationEvent
|
37
|
+
include ::Google::Protobuf::MessageExts
|
38
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
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: 0.
|
4
|
+
version: 0.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:
|
11
|
+
date: 2022-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -179,11 +179,23 @@ files:
|
|
179
179
|
- lib/google/cloud/deploy/v1/cloud_deploy/paths.rb
|
180
180
|
- lib/google/cloud/deploy/v1/cloud_deploy_pb.rb
|
181
181
|
- lib/google/cloud/deploy/v1/cloud_deploy_services_pb.rb
|
182
|
+
- lib/google/cloud/deploy/v1/deliverypipeline_notification_payload_pb.rb
|
183
|
+
- lib/google/cloud/deploy/v1/log_enums_pb.rb
|
184
|
+
- lib/google/cloud/deploy/v1/release_notification_payload_pb.rb
|
185
|
+
- lib/google/cloud/deploy/v1/release_render_payload_pb.rb
|
186
|
+
- lib/google/cloud/deploy/v1/rollout_notification_payload_pb.rb
|
187
|
+
- lib/google/cloud/deploy/v1/target_notification_payload_pb.rb
|
182
188
|
- lib/google/cloud/deploy/v1/version.rb
|
183
189
|
- proto_docs/README.md
|
184
190
|
- proto_docs/google/api/field_behavior.rb
|
185
191
|
- proto_docs/google/api/resource.rb
|
186
192
|
- proto_docs/google/cloud/deploy/v1/cloud_deploy.rb
|
193
|
+
- proto_docs/google/cloud/deploy/v1/deliverypipeline_notification_payload.rb
|
194
|
+
- proto_docs/google/cloud/deploy/v1/log_enums.rb
|
195
|
+
- proto_docs/google/cloud/deploy/v1/release_notification_payload.rb
|
196
|
+
- proto_docs/google/cloud/deploy/v1/release_render_payload.rb
|
197
|
+
- proto_docs/google/cloud/deploy/v1/rollout_notification_payload.rb
|
198
|
+
- proto_docs/google/cloud/deploy/v1/target_notification_payload.rb
|
187
199
|
- proto_docs/google/longrunning/operations.rb
|
188
200
|
- proto_docs/google/protobuf/any.rb
|
189
201
|
- proto_docs/google/protobuf/duration.rb
|
@@ -211,7 +223,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
211
223
|
- !ruby/object:Gem::Version
|
212
224
|
version: '0'
|
213
225
|
requirements: []
|
214
|
-
rubygems_version: 3.
|
226
|
+
rubygems_version: 3.3.5
|
215
227
|
signing_key:
|
216
228
|
specification_version: 4
|
217
229
|
summary: API Client library for the Google Cloud Deploy V1 API
|