google-cloud-deploy-v1 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +167 -0
- data/LICENSE.md +201 -0
- data/README.md +139 -0
- data/lib/google/cloud/deploy/v1/cloud_deploy/client.rb +2001 -0
- data/lib/google/cloud/deploy/v1/cloud_deploy/credentials.rb +47 -0
- data/lib/google/cloud/deploy/v1/cloud_deploy/operations.rb +664 -0
- data/lib/google/cloud/deploy/v1/cloud_deploy/paths.rb +206 -0
- data/lib/google/cloud/deploy/v1/cloud_deploy.rb +51 -0
- data/lib/google/cloud/deploy/v1/cloud_deploy_pb.rb +373 -0
- data/lib/google/cloud/deploy/v1/cloud_deploy_services_pb.rb +80 -0
- data/lib/google/cloud/deploy/v1/version.rb +28 -0
- data/lib/google/cloud/deploy/v1.rb +38 -0
- data/lib/google-cloud-deploy-v1.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/field_behavior.rb +71 -0
- data/proto_docs/google/api/resource.rb +283 -0
- data/proto_docs/google/cloud/deploy/v1/cloud_deploy.rb +1257 -0
- data/proto_docs/google/longrunning/operations.rb +164 -0
- data/proto_docs/google/protobuf/any.rb +141 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +36 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/timestamp.rb +129 -0
- data/proto_docs/google/rpc/status.rb +46 -0
- data/proto_docs/google/type/date.rb +53 -0
- metadata +218 -0
@@ -0,0 +1,206 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2021 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
|
+
module CloudDeploy
|
25
|
+
# Path helper methods for the CloudDeploy API.
|
26
|
+
module Paths
|
27
|
+
##
|
28
|
+
# Create a fully-qualified Build resource string.
|
29
|
+
#
|
30
|
+
# The resource will be in the following format:
|
31
|
+
#
|
32
|
+
# `projects/{project}/locations/{location}/builds/{build}`
|
33
|
+
#
|
34
|
+
# @param project [String]
|
35
|
+
# @param location [String]
|
36
|
+
# @param build [String]
|
37
|
+
#
|
38
|
+
# @return [::String]
|
39
|
+
def build_path project:, location:, build:
|
40
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
41
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
42
|
+
|
43
|
+
"projects/#{project}/locations/#{location}/builds/#{build}"
|
44
|
+
end
|
45
|
+
|
46
|
+
##
|
47
|
+
# Create a fully-qualified Cluster resource string.
|
48
|
+
#
|
49
|
+
# The resource will be in the following format:
|
50
|
+
#
|
51
|
+
# `projects/{project}/locations/{location}/clusters/{cluster}`
|
52
|
+
#
|
53
|
+
# @param project [String]
|
54
|
+
# @param location [String]
|
55
|
+
# @param cluster [String]
|
56
|
+
#
|
57
|
+
# @return [::String]
|
58
|
+
def cluster_path project:, location:, cluster:
|
59
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
60
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
61
|
+
|
62
|
+
"projects/#{project}/locations/#{location}/clusters/#{cluster}"
|
63
|
+
end
|
64
|
+
|
65
|
+
##
|
66
|
+
# Create a fully-qualified Config resource string.
|
67
|
+
#
|
68
|
+
# The resource will be in the following format:
|
69
|
+
#
|
70
|
+
# `projects/{project}/locations/{location}/config`
|
71
|
+
#
|
72
|
+
# @param project [String]
|
73
|
+
# @param location [String]
|
74
|
+
#
|
75
|
+
# @return [::String]
|
76
|
+
def config_path project:, location:
|
77
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
78
|
+
|
79
|
+
"projects/#{project}/locations/#{location}/config"
|
80
|
+
end
|
81
|
+
|
82
|
+
##
|
83
|
+
# Create a fully-qualified DeliveryPipeline resource string.
|
84
|
+
#
|
85
|
+
# The resource will be in the following format:
|
86
|
+
#
|
87
|
+
# `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}`
|
88
|
+
#
|
89
|
+
# @param project [String]
|
90
|
+
# @param location [String]
|
91
|
+
# @param delivery_pipeline [String]
|
92
|
+
#
|
93
|
+
# @return [::String]
|
94
|
+
def delivery_pipeline_path project:, location:, delivery_pipeline:
|
95
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
96
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
97
|
+
|
98
|
+
"projects/#{project}/locations/#{location}/deliveryPipelines/#{delivery_pipeline}"
|
99
|
+
end
|
100
|
+
|
101
|
+
##
|
102
|
+
# Create a fully-qualified Location resource string.
|
103
|
+
#
|
104
|
+
# The resource will be in the following format:
|
105
|
+
#
|
106
|
+
# `projects/{project}/locations/{location}`
|
107
|
+
#
|
108
|
+
# @param project [String]
|
109
|
+
# @param location [String]
|
110
|
+
#
|
111
|
+
# @return [::String]
|
112
|
+
def location_path project:, location:
|
113
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
114
|
+
|
115
|
+
"projects/#{project}/locations/#{location}"
|
116
|
+
end
|
117
|
+
|
118
|
+
##
|
119
|
+
# Create a fully-qualified Release resource string.
|
120
|
+
#
|
121
|
+
# The resource will be in the following format:
|
122
|
+
#
|
123
|
+
# `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/releases/{release}`
|
124
|
+
#
|
125
|
+
# @param project [String]
|
126
|
+
# @param location [String]
|
127
|
+
# @param delivery_pipeline [String]
|
128
|
+
# @param release [String]
|
129
|
+
#
|
130
|
+
# @return [::String]
|
131
|
+
def release_path project:, location:, delivery_pipeline:, release:
|
132
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
133
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
134
|
+
raise ::ArgumentError, "delivery_pipeline cannot contain /" if delivery_pipeline.to_s.include? "/"
|
135
|
+
|
136
|
+
"projects/#{project}/locations/#{location}/deliveryPipelines/#{delivery_pipeline}/releases/#{release}"
|
137
|
+
end
|
138
|
+
|
139
|
+
##
|
140
|
+
# Create a fully-qualified Rollout resource string.
|
141
|
+
#
|
142
|
+
# The resource will be in the following format:
|
143
|
+
#
|
144
|
+
# `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/releases/{release}/rollouts/{rollout}`
|
145
|
+
#
|
146
|
+
# @param project [String]
|
147
|
+
# @param location [String]
|
148
|
+
# @param delivery_pipeline [String]
|
149
|
+
# @param release [String]
|
150
|
+
# @param rollout [String]
|
151
|
+
#
|
152
|
+
# @return [::String]
|
153
|
+
def rollout_path project:, location:, delivery_pipeline:, release:, rollout:
|
154
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
155
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
156
|
+
raise ::ArgumentError, "delivery_pipeline cannot contain /" if delivery_pipeline.to_s.include? "/"
|
157
|
+
raise ::ArgumentError, "release cannot contain /" if release.to_s.include? "/"
|
158
|
+
|
159
|
+
"projects/#{project}/locations/#{location}/deliveryPipelines/#{delivery_pipeline}/releases/#{release}/rollouts/#{rollout}"
|
160
|
+
end
|
161
|
+
|
162
|
+
##
|
163
|
+
# Create a fully-qualified Target resource string.
|
164
|
+
#
|
165
|
+
# The resource will be in the following format:
|
166
|
+
#
|
167
|
+
# `projects/{project}/locations/{location}/targets/{target}`
|
168
|
+
#
|
169
|
+
# @param project [String]
|
170
|
+
# @param location [String]
|
171
|
+
# @param target [String]
|
172
|
+
#
|
173
|
+
# @return [::String]
|
174
|
+
def target_path project:, location:, target:
|
175
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
176
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
177
|
+
|
178
|
+
"projects/#{project}/locations/#{location}/targets/#{target}"
|
179
|
+
end
|
180
|
+
|
181
|
+
##
|
182
|
+
# Create a fully-qualified WorkerPool resource string.
|
183
|
+
#
|
184
|
+
# The resource will be in the following format:
|
185
|
+
#
|
186
|
+
# `projects/{project}/locations/{location}/workerPools/{worker_pool}`
|
187
|
+
#
|
188
|
+
# @param project [String]
|
189
|
+
# @param location [String]
|
190
|
+
# @param worker_pool [String]
|
191
|
+
#
|
192
|
+
# @return [::String]
|
193
|
+
def worker_pool_path project:, location:, worker_pool:
|
194
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
195
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
196
|
+
|
197
|
+
"projects/#{project}/locations/#{location}/workerPools/#{worker_pool}"
|
198
|
+
end
|
199
|
+
|
200
|
+
extend self
|
201
|
+
end
|
202
|
+
end
|
203
|
+
end
|
204
|
+
end
|
205
|
+
end
|
206
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2021 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
|
+
require "gapic/common"
|
20
|
+
require "gapic/config"
|
21
|
+
require "gapic/config/method"
|
22
|
+
|
23
|
+
require "google/cloud/deploy/v1/version"
|
24
|
+
|
25
|
+
require "google/cloud/deploy/v1/cloud_deploy/credentials"
|
26
|
+
require "google/cloud/deploy/v1/cloud_deploy/paths"
|
27
|
+
require "google/cloud/deploy/v1/cloud_deploy/operations"
|
28
|
+
require "google/cloud/deploy/v1/cloud_deploy/client"
|
29
|
+
|
30
|
+
module Google
|
31
|
+
module Cloud
|
32
|
+
module Deploy
|
33
|
+
module V1
|
34
|
+
##
|
35
|
+
# CloudDeploy service creates and manages Continuous Delivery operations
|
36
|
+
# on Google Cloud Platform via Skaffold (https://skaffold.dev).
|
37
|
+
#
|
38
|
+
# To load this service and instantiate a client:
|
39
|
+
#
|
40
|
+
# require "google/cloud/deploy/v1/cloud_deploy"
|
41
|
+
# client = ::Google::Cloud::Deploy::V1::CloudDeploy::Client.new
|
42
|
+
#
|
43
|
+
module CloudDeploy
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
helper_path = ::File.join __dir__, "cloud_deploy", "helpers.rb"
|
51
|
+
require "google/cloud/deploy/v1/cloud_deploy/helpers" if ::File.file? helper_path
|
@@ -0,0 +1,373 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/deploy/v1/cloud_deploy.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/annotations_pb'
|
7
|
+
require 'google/api/client_pb'
|
8
|
+
require 'google/api/field_behavior_pb'
|
9
|
+
require 'google/api/resource_pb'
|
10
|
+
require 'google/longrunning/operations_pb'
|
11
|
+
require 'google/protobuf/field_mask_pb'
|
12
|
+
require 'google/protobuf/timestamp_pb'
|
13
|
+
require 'google/type/date_pb'
|
14
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
15
|
+
add_file("google/cloud/deploy/v1/cloud_deploy.proto", :syntax => :proto3) do
|
16
|
+
add_message "google.cloud.deploy.v1.DeliveryPipeline" do
|
17
|
+
optional :name, :string, 1
|
18
|
+
optional :uid, :string, 2
|
19
|
+
optional :description, :string, 3
|
20
|
+
map :annotations, :string, :string, 4
|
21
|
+
map :labels, :string, :string, 5
|
22
|
+
optional :create_time, :message, 6, "google.protobuf.Timestamp"
|
23
|
+
optional :update_time, :message, 7, "google.protobuf.Timestamp"
|
24
|
+
optional :condition, :message, 11, "google.cloud.deploy.v1.PipelineCondition"
|
25
|
+
optional :etag, :string, 10
|
26
|
+
oneof :pipeline do
|
27
|
+
optional :serial_pipeline, :message, 8, "google.cloud.deploy.v1.SerialPipeline"
|
28
|
+
end
|
29
|
+
end
|
30
|
+
add_message "google.cloud.deploy.v1.SerialPipeline" do
|
31
|
+
repeated :stages, :message, 1, "google.cloud.deploy.v1.Stage"
|
32
|
+
end
|
33
|
+
add_message "google.cloud.deploy.v1.Stage" do
|
34
|
+
optional :target_id, :string, 1
|
35
|
+
repeated :profiles, :string, 2
|
36
|
+
end
|
37
|
+
add_message "google.cloud.deploy.v1.PipelineReadyCondition" do
|
38
|
+
optional :status, :bool, 3
|
39
|
+
optional :update_time, :message, 4, "google.protobuf.Timestamp"
|
40
|
+
end
|
41
|
+
add_message "google.cloud.deploy.v1.TargetsPresentCondition" do
|
42
|
+
optional :status, :bool, 1
|
43
|
+
repeated :missing_targets, :string, 2
|
44
|
+
optional :update_time, :message, 4, "google.protobuf.Timestamp"
|
45
|
+
end
|
46
|
+
add_message "google.cloud.deploy.v1.PipelineCondition" do
|
47
|
+
optional :pipeline_ready_condition, :message, 1, "google.cloud.deploy.v1.PipelineReadyCondition"
|
48
|
+
optional :targets_present_condition, :message, 3, "google.cloud.deploy.v1.TargetsPresentCondition"
|
49
|
+
end
|
50
|
+
add_message "google.cloud.deploy.v1.ListDeliveryPipelinesRequest" do
|
51
|
+
optional :parent, :string, 1
|
52
|
+
optional :page_size, :int32, 2
|
53
|
+
optional :page_token, :string, 3
|
54
|
+
optional :filter, :string, 4
|
55
|
+
optional :order_by, :string, 5
|
56
|
+
end
|
57
|
+
add_message "google.cloud.deploy.v1.ListDeliveryPipelinesResponse" do
|
58
|
+
repeated :delivery_pipelines, :message, 1, "google.cloud.deploy.v1.DeliveryPipeline"
|
59
|
+
optional :next_page_token, :string, 2
|
60
|
+
repeated :unreachable, :string, 3
|
61
|
+
end
|
62
|
+
add_message "google.cloud.deploy.v1.GetDeliveryPipelineRequest" do
|
63
|
+
optional :name, :string, 1
|
64
|
+
end
|
65
|
+
add_message "google.cloud.deploy.v1.CreateDeliveryPipelineRequest" do
|
66
|
+
optional :parent, :string, 1
|
67
|
+
optional :delivery_pipeline_id, :string, 2
|
68
|
+
optional :delivery_pipeline, :message, 3, "google.cloud.deploy.v1.DeliveryPipeline"
|
69
|
+
optional :request_id, :string, 4
|
70
|
+
optional :validate_only, :bool, 5
|
71
|
+
end
|
72
|
+
add_message "google.cloud.deploy.v1.UpdateDeliveryPipelineRequest" do
|
73
|
+
optional :update_mask, :message, 1, "google.protobuf.FieldMask"
|
74
|
+
optional :delivery_pipeline, :message, 2, "google.cloud.deploy.v1.DeliveryPipeline"
|
75
|
+
optional :request_id, :string, 3
|
76
|
+
optional :allow_missing, :bool, 4
|
77
|
+
optional :validate_only, :bool, 5
|
78
|
+
end
|
79
|
+
add_message "google.cloud.deploy.v1.DeleteDeliveryPipelineRequest" do
|
80
|
+
optional :name, :string, 1
|
81
|
+
optional :request_id, :string, 2
|
82
|
+
optional :allow_missing, :bool, 3
|
83
|
+
optional :validate_only, :bool, 4
|
84
|
+
optional :force, :bool, 6
|
85
|
+
optional :etag, :string, 5
|
86
|
+
end
|
87
|
+
add_message "google.cloud.deploy.v1.Target" do
|
88
|
+
optional :name, :string, 1
|
89
|
+
optional :target_id, :string, 2
|
90
|
+
optional :uid, :string, 3
|
91
|
+
optional :description, :string, 4
|
92
|
+
map :annotations, :string, :string, 5
|
93
|
+
map :labels, :string, :string, 6
|
94
|
+
optional :require_approval, :bool, 13
|
95
|
+
optional :create_time, :message, 8, "google.protobuf.Timestamp"
|
96
|
+
optional :update_time, :message, 9, "google.protobuf.Timestamp"
|
97
|
+
optional :etag, :string, 12
|
98
|
+
repeated :execution_configs, :message, 16, "google.cloud.deploy.v1.ExecutionConfig"
|
99
|
+
oneof :deployment_target do
|
100
|
+
optional :gke, :message, 15, "google.cloud.deploy.v1.GkeCluster"
|
101
|
+
end
|
102
|
+
end
|
103
|
+
add_message "google.cloud.deploy.v1.ExecutionConfig" do
|
104
|
+
repeated :usages, :enum, 1, "google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage"
|
105
|
+
oneof :execution_environment do
|
106
|
+
optional :default_pool, :message, 2, "google.cloud.deploy.v1.DefaultPool"
|
107
|
+
optional :private_pool, :message, 3, "google.cloud.deploy.v1.PrivatePool"
|
108
|
+
end
|
109
|
+
end
|
110
|
+
add_enum "google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage" do
|
111
|
+
value :EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED, 0
|
112
|
+
value :RENDER, 1
|
113
|
+
value :DEPLOY, 2
|
114
|
+
end
|
115
|
+
add_message "google.cloud.deploy.v1.DefaultPool" do
|
116
|
+
optional :service_account, :string, 1
|
117
|
+
optional :artifact_storage, :string, 2
|
118
|
+
end
|
119
|
+
add_message "google.cloud.deploy.v1.PrivatePool" do
|
120
|
+
optional :worker_pool, :string, 1
|
121
|
+
optional :service_account, :string, 2
|
122
|
+
optional :artifact_storage, :string, 3
|
123
|
+
end
|
124
|
+
add_message "google.cloud.deploy.v1.GkeCluster" do
|
125
|
+
optional :cluster, :string, 1
|
126
|
+
end
|
127
|
+
add_message "google.cloud.deploy.v1.ListTargetsRequest" do
|
128
|
+
optional :parent, :string, 1
|
129
|
+
optional :page_size, :int32, 2
|
130
|
+
optional :page_token, :string, 3
|
131
|
+
optional :filter, :string, 4
|
132
|
+
optional :order_by, :string, 5
|
133
|
+
end
|
134
|
+
add_message "google.cloud.deploy.v1.ListTargetsResponse" do
|
135
|
+
repeated :targets, :message, 1, "google.cloud.deploy.v1.Target"
|
136
|
+
optional :next_page_token, :string, 2
|
137
|
+
repeated :unreachable, :string, 3
|
138
|
+
end
|
139
|
+
add_message "google.cloud.deploy.v1.GetTargetRequest" do
|
140
|
+
optional :name, :string, 1
|
141
|
+
end
|
142
|
+
add_message "google.cloud.deploy.v1.CreateTargetRequest" do
|
143
|
+
optional :parent, :string, 1
|
144
|
+
optional :target_id, :string, 2
|
145
|
+
optional :target, :message, 3, "google.cloud.deploy.v1.Target"
|
146
|
+
optional :request_id, :string, 4
|
147
|
+
optional :validate_only, :bool, 5
|
148
|
+
end
|
149
|
+
add_message "google.cloud.deploy.v1.UpdateTargetRequest" do
|
150
|
+
optional :update_mask, :message, 1, "google.protobuf.FieldMask"
|
151
|
+
optional :target, :message, 2, "google.cloud.deploy.v1.Target"
|
152
|
+
optional :request_id, :string, 3
|
153
|
+
optional :allow_missing, :bool, 4
|
154
|
+
optional :validate_only, :bool, 5
|
155
|
+
end
|
156
|
+
add_message "google.cloud.deploy.v1.DeleteTargetRequest" do
|
157
|
+
optional :name, :string, 1
|
158
|
+
optional :request_id, :string, 2
|
159
|
+
optional :allow_missing, :bool, 3
|
160
|
+
optional :validate_only, :bool, 4
|
161
|
+
optional :etag, :string, 5
|
162
|
+
end
|
163
|
+
add_message "google.cloud.deploy.v1.Release" do
|
164
|
+
optional :name, :string, 1
|
165
|
+
optional :uid, :string, 2
|
166
|
+
optional :description, :string, 3
|
167
|
+
map :annotations, :string, :string, 4
|
168
|
+
map :labels, :string, :string, 5
|
169
|
+
optional :create_time, :message, 6, "google.protobuf.Timestamp"
|
170
|
+
optional :render_start_time, :message, 7, "google.protobuf.Timestamp"
|
171
|
+
optional :render_end_time, :message, 8, "google.protobuf.Timestamp"
|
172
|
+
optional :skaffold_config_uri, :string, 17
|
173
|
+
optional :skaffold_config_path, :string, 9
|
174
|
+
repeated :build_artifacts, :message, 10, "google.cloud.deploy.v1.BuildArtifact"
|
175
|
+
optional :delivery_pipeline_snapshot, :message, 11, "google.cloud.deploy.v1.DeliveryPipeline"
|
176
|
+
repeated :target_snapshots, :message, 12, "google.cloud.deploy.v1.Target"
|
177
|
+
optional :render_state, :enum, 13, "google.cloud.deploy.v1.Release.RenderState"
|
178
|
+
optional :etag, :string, 16
|
179
|
+
optional :skaffold_version, :string, 19
|
180
|
+
map :target_artifacts, :string, :message, 20, "google.cloud.deploy.v1.TargetArtifact"
|
181
|
+
map :target_renders, :string, :message, 22, "google.cloud.deploy.v1.Release.TargetRender"
|
182
|
+
end
|
183
|
+
add_message "google.cloud.deploy.v1.Release.TargetRender" do
|
184
|
+
optional :rendering_build, :string, 1
|
185
|
+
optional :rendering_state, :enum, 2, "google.cloud.deploy.v1.Release.TargetRender.TargetRenderState"
|
186
|
+
end
|
187
|
+
add_enum "google.cloud.deploy.v1.Release.TargetRender.TargetRenderState" do
|
188
|
+
value :TARGET_RENDER_STATE_UNSPECIFIED, 0
|
189
|
+
value :SUCCEEDED, 1
|
190
|
+
value :FAILED, 2
|
191
|
+
value :IN_PROGRESS, 3
|
192
|
+
end
|
193
|
+
add_enum "google.cloud.deploy.v1.Release.RenderState" do
|
194
|
+
value :RENDER_STATE_UNSPECIFIED, 0
|
195
|
+
value :SUCCEEDED, 1
|
196
|
+
value :FAILED, 2
|
197
|
+
value :IN_PROGRESS, 3
|
198
|
+
end
|
199
|
+
add_message "google.cloud.deploy.v1.BuildArtifact" do
|
200
|
+
optional :image, :string, 3
|
201
|
+
optional :tag, :string, 2
|
202
|
+
end
|
203
|
+
add_message "google.cloud.deploy.v1.TargetArtifact" do
|
204
|
+
optional :skaffold_config_path, :string, 2
|
205
|
+
optional :manifest_path, :string, 3
|
206
|
+
oneof :uri do
|
207
|
+
optional :artifact_uri, :string, 4
|
208
|
+
end
|
209
|
+
end
|
210
|
+
add_message "google.cloud.deploy.v1.ListReleasesRequest" do
|
211
|
+
optional :parent, :string, 1
|
212
|
+
optional :page_size, :int32, 2
|
213
|
+
optional :page_token, :string, 3
|
214
|
+
optional :filter, :string, 4
|
215
|
+
optional :order_by, :string, 5
|
216
|
+
end
|
217
|
+
add_message "google.cloud.deploy.v1.ListReleasesResponse" do
|
218
|
+
repeated :releases, :message, 1, "google.cloud.deploy.v1.Release"
|
219
|
+
optional :next_page_token, :string, 2
|
220
|
+
repeated :unreachable, :string, 3
|
221
|
+
end
|
222
|
+
add_message "google.cloud.deploy.v1.GetReleaseRequest" do
|
223
|
+
optional :name, :string, 1
|
224
|
+
end
|
225
|
+
add_message "google.cloud.deploy.v1.CreateReleaseRequest" do
|
226
|
+
optional :parent, :string, 1
|
227
|
+
optional :release_id, :string, 2
|
228
|
+
optional :release, :message, 3, "google.cloud.deploy.v1.Release"
|
229
|
+
optional :request_id, :string, 4
|
230
|
+
optional :validate_only, :bool, 5
|
231
|
+
end
|
232
|
+
add_message "google.cloud.deploy.v1.Rollout" do
|
233
|
+
optional :name, :string, 1
|
234
|
+
optional :uid, :string, 2
|
235
|
+
optional :description, :string, 3
|
236
|
+
map :annotations, :string, :string, 4
|
237
|
+
map :labels, :string, :string, 5
|
238
|
+
optional :create_time, :message, 6, "google.protobuf.Timestamp"
|
239
|
+
optional :approve_time, :message, 7, "google.protobuf.Timestamp"
|
240
|
+
optional :enqueue_time, :message, 8, "google.protobuf.Timestamp"
|
241
|
+
optional :deploy_start_time, :message, 9, "google.protobuf.Timestamp"
|
242
|
+
optional :deploy_end_time, :message, 10, "google.protobuf.Timestamp"
|
243
|
+
optional :target_id, :string, 18
|
244
|
+
optional :approval_state, :enum, 12, "google.cloud.deploy.v1.Rollout.ApprovalState"
|
245
|
+
optional :state, :enum, 13, "google.cloud.deploy.v1.Rollout.State"
|
246
|
+
optional :failure_reason, :string, 14
|
247
|
+
optional :deploying_build, :string, 17
|
248
|
+
optional :etag, :string, 16
|
249
|
+
end
|
250
|
+
add_enum "google.cloud.deploy.v1.Rollout.ApprovalState" do
|
251
|
+
value :APPROVAL_STATE_UNSPECIFIED, 0
|
252
|
+
value :NEEDS_APPROVAL, 1
|
253
|
+
value :DOES_NOT_NEED_APPROVAL, 2
|
254
|
+
value :APPROVED, 3
|
255
|
+
value :REJECTED, 4
|
256
|
+
end
|
257
|
+
add_enum "google.cloud.deploy.v1.Rollout.State" do
|
258
|
+
value :STATE_UNSPECIFIED, 0
|
259
|
+
value :SUCCEEDED, 1
|
260
|
+
value :FAILED, 2
|
261
|
+
value :IN_PROGRESS, 3
|
262
|
+
value :PENDING_APPROVAL, 4
|
263
|
+
value :APPROVAL_REJECTED, 5
|
264
|
+
value :PENDING, 6
|
265
|
+
value :PENDING_RELEASE, 7
|
266
|
+
end
|
267
|
+
add_message "google.cloud.deploy.v1.ListRolloutsRequest" do
|
268
|
+
optional :parent, :string, 1
|
269
|
+
optional :page_size, :int32, 2
|
270
|
+
optional :page_token, :string, 3
|
271
|
+
optional :filter, :string, 4
|
272
|
+
optional :order_by, :string, 5
|
273
|
+
end
|
274
|
+
add_message "google.cloud.deploy.v1.ListRolloutsResponse" do
|
275
|
+
repeated :rollouts, :message, 1, "google.cloud.deploy.v1.Rollout"
|
276
|
+
optional :next_page_token, :string, 2
|
277
|
+
repeated :unreachable, :string, 3
|
278
|
+
end
|
279
|
+
add_message "google.cloud.deploy.v1.GetRolloutRequest" do
|
280
|
+
optional :name, :string, 1
|
281
|
+
end
|
282
|
+
add_message "google.cloud.deploy.v1.CreateRolloutRequest" do
|
283
|
+
optional :parent, :string, 1
|
284
|
+
optional :rollout_id, :string, 2
|
285
|
+
optional :rollout, :message, 3, "google.cloud.deploy.v1.Rollout"
|
286
|
+
optional :request_id, :string, 4
|
287
|
+
optional :validate_only, :bool, 5
|
288
|
+
end
|
289
|
+
add_message "google.cloud.deploy.v1.OperationMetadata" do
|
290
|
+
optional :create_time, :message, 1, "google.protobuf.Timestamp"
|
291
|
+
optional :end_time, :message, 2, "google.protobuf.Timestamp"
|
292
|
+
optional :target, :string, 3
|
293
|
+
optional :verb, :string, 4
|
294
|
+
optional :status_message, :string, 5
|
295
|
+
optional :requested_cancellation, :bool, 6
|
296
|
+
optional :api_version, :string, 7
|
297
|
+
end
|
298
|
+
add_message "google.cloud.deploy.v1.ApproveRolloutRequest" do
|
299
|
+
optional :name, :string, 1
|
300
|
+
optional :approved, :bool, 2
|
301
|
+
end
|
302
|
+
add_message "google.cloud.deploy.v1.ApproveRolloutResponse" do
|
303
|
+
end
|
304
|
+
add_message "google.cloud.deploy.v1.Config" do
|
305
|
+
optional :name, :string, 1
|
306
|
+
repeated :supported_versions, :message, 2, "google.cloud.deploy.v1.SkaffoldVersion"
|
307
|
+
optional :default_skaffold_version, :string, 3
|
308
|
+
end
|
309
|
+
add_message "google.cloud.deploy.v1.SkaffoldVersion" do
|
310
|
+
optional :version, :string, 1
|
311
|
+
optional :support_end_date, :message, 2, "google.type.Date"
|
312
|
+
end
|
313
|
+
add_message "google.cloud.deploy.v1.GetConfigRequest" do
|
314
|
+
optional :name, :string, 1
|
315
|
+
end
|
316
|
+
end
|
317
|
+
end
|
318
|
+
|
319
|
+
module Google
|
320
|
+
module Cloud
|
321
|
+
module Deploy
|
322
|
+
module V1
|
323
|
+
DeliveryPipeline = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.DeliveryPipeline").msgclass
|
324
|
+
SerialPipeline = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.SerialPipeline").msgclass
|
325
|
+
Stage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.Stage").msgclass
|
326
|
+
PipelineReadyCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.PipelineReadyCondition").msgclass
|
327
|
+
TargetsPresentCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.TargetsPresentCondition").msgclass
|
328
|
+
PipelineCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.PipelineCondition").msgclass
|
329
|
+
ListDeliveryPipelinesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.ListDeliveryPipelinesRequest").msgclass
|
330
|
+
ListDeliveryPipelinesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.ListDeliveryPipelinesResponse").msgclass
|
331
|
+
GetDeliveryPipelineRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.GetDeliveryPipelineRequest").msgclass
|
332
|
+
CreateDeliveryPipelineRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.CreateDeliveryPipelineRequest").msgclass
|
333
|
+
UpdateDeliveryPipelineRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.UpdateDeliveryPipelineRequest").msgclass
|
334
|
+
DeleteDeliveryPipelineRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.DeleteDeliveryPipelineRequest").msgclass
|
335
|
+
Target = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.Target").msgclass
|
336
|
+
ExecutionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.ExecutionConfig").msgclass
|
337
|
+
ExecutionConfig::ExecutionEnvironmentUsage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.ExecutionConfig.ExecutionEnvironmentUsage").enummodule
|
338
|
+
DefaultPool = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.DefaultPool").msgclass
|
339
|
+
PrivatePool = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.PrivatePool").msgclass
|
340
|
+
GkeCluster = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.GkeCluster").msgclass
|
341
|
+
ListTargetsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.ListTargetsRequest").msgclass
|
342
|
+
ListTargetsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.ListTargetsResponse").msgclass
|
343
|
+
GetTargetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.GetTargetRequest").msgclass
|
344
|
+
CreateTargetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.CreateTargetRequest").msgclass
|
345
|
+
UpdateTargetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.UpdateTargetRequest").msgclass
|
346
|
+
DeleteTargetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.DeleteTargetRequest").msgclass
|
347
|
+
Release = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.Release").msgclass
|
348
|
+
Release::TargetRender = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.Release.TargetRender").msgclass
|
349
|
+
Release::TargetRender::TargetRenderState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.Release.TargetRender.TargetRenderState").enummodule
|
350
|
+
Release::RenderState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.Release.RenderState").enummodule
|
351
|
+
BuildArtifact = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.BuildArtifact").msgclass
|
352
|
+
TargetArtifact = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.TargetArtifact").msgclass
|
353
|
+
ListReleasesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.ListReleasesRequest").msgclass
|
354
|
+
ListReleasesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.ListReleasesResponse").msgclass
|
355
|
+
GetReleaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.GetReleaseRequest").msgclass
|
356
|
+
CreateReleaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.CreateReleaseRequest").msgclass
|
357
|
+
Rollout = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.Rollout").msgclass
|
358
|
+
Rollout::ApprovalState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.Rollout.ApprovalState").enummodule
|
359
|
+
Rollout::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.Rollout.State").enummodule
|
360
|
+
ListRolloutsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.ListRolloutsRequest").msgclass
|
361
|
+
ListRolloutsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.ListRolloutsResponse").msgclass
|
362
|
+
GetRolloutRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.GetRolloutRequest").msgclass
|
363
|
+
CreateRolloutRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.CreateRolloutRequest").msgclass
|
364
|
+
OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.OperationMetadata").msgclass
|
365
|
+
ApproveRolloutRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.ApproveRolloutRequest").msgclass
|
366
|
+
ApproveRolloutResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.ApproveRolloutResponse").msgclass
|
367
|
+
Config = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.Config").msgclass
|
368
|
+
SkaffoldVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.SkaffoldVersion").msgclass
|
369
|
+
GetConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.deploy.v1.GetConfigRequest").msgclass
|
370
|
+
end
|
371
|
+
end
|
372
|
+
end
|
373
|
+
end
|