@@ -52,6 +52,20 @@ defmodule Google.Cloud.Functions.V1.HttpsTrigger.SecurityLevel do
52
52
field :SECURE_OPTIONAL , 2
53
53
end
54
54
55
+ defmodule Google.Cloud.Functions.V1.CloudFunction.AutomaticUpdatePolicy do
56
+ @ moduledoc false
57
+
58
+ use Protobuf , protoc_gen_elixir_version: "0.12.0" , syntax: :proto3
59
+ end
60
+
61
+ defmodule Google.Cloud.Functions.V1.CloudFunction.OnDeployUpdatePolicy do
62
+ @ moduledoc false
63
+
64
+ use Protobuf , protoc_gen_elixir_version: "0.12.0" , syntax: :proto3
65
+
66
+ field :runtime_version , 1 , type: :string , json_name: "runtimeVersion" , deprecated: false
67
+ end
68
+
55
69
defmodule Google.Cloud.Functions.V1.CloudFunction.LabelsEntry do
56
70
@ moduledoc false
57
71
@@ -88,6 +102,8 @@ defmodule Google.Cloud.Functions.V1.CloudFunction do
88
102
89
103
oneof :trigger , 1
90
104
105
+ oneof :runtime_update_policy , 2
106
+
91
107
field :name , 1 , type: :string
92
108
field :description , 2 , type: :string
93
109
field :source_archive_url , 3 , type: :string , json_name: "sourceArchiveUrl" , oneof: 0
@@ -144,7 +160,7 @@ defmodule Google.Cloud.Functions.V1.CloudFunction do
144
160
json_name: "buildEnvironmentVariables" ,
145
161
map: true
146
162
147
- field :network , 18 , type: :string
163
+ field :network , 18 , type: :string , deprecated: true
148
164
field :max_instances , 20 , type: :int32 , json_name: "maxInstances"
149
165
field :min_instances , 32 , type: :int32 , json_name: "minInstances"
150
166
field :vpc_connector , 22 , type: :string , json_name: "vpcConnector"
@@ -181,6 +197,16 @@ defmodule Google.Cloud.Functions.V1.CloudFunction do
181
197
type: Google.Cloud.Functions.V1.CloudFunction.DockerRegistry ,
182
198
json_name: "dockerRegistry" ,
183
199
enum: true
200
+
201
+ field :automatic_update_policy , 40 ,
202
+ type: Google.Cloud.Functions.V1.CloudFunction.AutomaticUpdatePolicy ,
203
+ json_name: "automaticUpdatePolicy" ,
204
+ oneof: 2
205
+
206
+ field :on_deploy_update_policy , 41 ,
207
+ type: Google.Cloud.Functions.V1.CloudFunction.OnDeployUpdatePolicy ,
208
+ json_name: "onDeployUpdatePolicy" ,
209
+ oneof: 2
184
210
end
185
211
186
212
defmodule Google.Cloud.Functions.V1.SourceRepository do
@@ -290,6 +316,7 @@ defmodule Google.Cloud.Functions.V1.GetFunctionRequest do
290
316
use Protobuf , protoc_gen_elixir_version: "0.12.0" , syntax: :proto3
291
317
292
318
field :name , 1 , type: :string , deprecated: false
319
+ field :version_id , 2 , type: :int64 , json_name: "versionId" , deprecated: false
293
320
end
294
321
295
322
defmodule Google.Cloud.Functions.V1.ListFunctionsRequest do
0 commit comments