google-cloud-app_engine-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 +169 -0
- data/LICENSE.md +201 -0
- data/README.md +139 -0
- data/lib/google-cloud-app_engine-v1.rb +21 -0
- data/lib/google/appengine/v1/app_yaml_pb.rb +137 -0
- data/lib/google/appengine/v1/appengine_pb.rb +261 -0
- data/lib/google/appengine/v1/appengine_services_pb.rb +313 -0
- data/lib/google/appengine/v1/application_pb.rb +69 -0
- data/lib/google/appengine/v1/audit_data_pb.rb +35 -0
- data/lib/google/appengine/v1/certificate_pb.rb +52 -0
- data/lib/google/appengine/v1/deploy_pb.rb +47 -0
- data/lib/google/appengine/v1/deployed_files_pb.rb +19 -0
- data/lib/google/appengine/v1/domain_mapping_pb.rb +51 -0
- data/lib/google/appengine/v1/domain_pb.rb +24 -0
- data/lib/google/appengine/v1/firewall_pb.rb +32 -0
- data/lib/google/appengine/v1/instance_pb.rb +45 -0
- data/lib/google/appengine/v1/location_pb.rb +24 -0
- data/lib/google/appengine/v1/network_settings_pb.rb +19 -0
- data/lib/google/appengine/v1/operation_pb.rb +37 -0
- data/lib/google/appengine/v1/service_pb.rb +37 -0
- data/lib/google/appengine/v1/version_pb.rb +183 -0
- data/lib/google/cloud/app_engine/v1.rb +45 -0
- data/lib/google/cloud/app_engine/v1/applications.rb +49 -0
- data/lib/google/cloud/app_engine/v1/applications/client.rb +624 -0
- data/lib/google/cloud/app_engine/v1/applications/credentials.rb +53 -0
- data/lib/google/cloud/app_engine/v1/applications/operations.rb +655 -0
- data/lib/google/cloud/app_engine/v1/authorized_certificates.rb +49 -0
- data/lib/google/cloud/app_engine/v1/authorized_certificates/client.rb +690 -0
- data/lib/google/cloud/app_engine/v1/authorized_certificates/credentials.rb +53 -0
- data/lib/google/cloud/app_engine/v1/authorized_domains.rb +50 -0
- data/lib/google/cloud/app_engine/v1/authorized_domains/client.rb +380 -0
- data/lib/google/cloud/app_engine/v1/authorized_domains/credentials.rb +53 -0
- data/lib/google/cloud/app_engine/v1/domain_mappings.rb +49 -0
- data/lib/google/cloud/app_engine/v1/domain_mappings/client.rb +705 -0
- data/lib/google/cloud/app_engine/v1/domain_mappings/credentials.rb +53 -0
- data/lib/google/cloud/app_engine/v1/domain_mappings/operations.rb +655 -0
- data/lib/google/cloud/app_engine/v1/firewall.rb +57 -0
- data/lib/google/cloud/app_engine/v1/firewall/client.rb +783 -0
- data/lib/google/cloud/app_engine/v1/firewall/credentials.rb +53 -0
- data/lib/google/cloud/app_engine/v1/instances.rb +49 -0
- data/lib/google/cloud/app_engine/v1/instances/client.rb +644 -0
- data/lib/google/cloud/app_engine/v1/instances/credentials.rb +53 -0
- data/lib/google/cloud/app_engine/v1/instances/operations.rb +655 -0
- data/lib/google/cloud/app_engine/v1/services.rb +49 -0
- data/lib/google/cloud/app_engine/v1/services/client.rb +629 -0
- data/lib/google/cloud/app_engine/v1/services/credentials.rb +53 -0
- data/lib/google/cloud/app_engine/v1/services/operations.rb +655 -0
- data/lib/google/cloud/app_engine/v1/version.rb +28 -0
- data/lib/google/cloud/app_engine/v1/versions.rb +49 -0
- data/lib/google/cloud/app_engine/v1/versions/client.rb +738 -0
- data/lib/google/cloud/app_engine/v1/versions/credentials.rb +53 -0
- data/lib/google/cloud/app_engine/v1/versions/operations.rb +655 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/resource.rb +283 -0
- data/proto_docs/google/appengine/v1/app_yaml.rb +379 -0
- data/proto_docs/google/appengine/v1/appengine.rb +639 -0
- data/proto_docs/google/appengine/v1/application.rb +192 -0
- data/proto_docs/google/appengine/v1/audit_data.rb +56 -0
- data/proto_docs/google/appengine/v1/certificate.rb +161 -0
- data/proto_docs/google/appengine/v1/deploy.rb +130 -0
- data/proto_docs/google/appengine/v1/domain.rb +42 -0
- data/proto_docs/google/appengine/v1/domain_mapping.rb +127 -0
- data/proto_docs/google/appengine/v1/firewall.rb +72 -0
- data/proto_docs/google/appengine/v1/instance.rb +98 -0
- data/proto_docs/google/appengine/v1/location.rb +38 -0
- data/proto_docs/google/appengine/v1/operation.rb +67 -0
- data/proto_docs/google/appengine/v1/service.rb +100 -0
- data/proto_docs/google/appengine/v1/version.rb +597 -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
- metadata +261 -0
@@ -0,0 +1,639 @@
|
|
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 AppEngine
|
23
|
+
module V1
|
24
|
+
# Request message for `Applications.GetApplication`.
|
25
|
+
# @!attribute [rw] name
|
26
|
+
# @return [::String]
|
27
|
+
# Name of the Application resource to get. Example: `apps/myapp`.
|
28
|
+
class GetApplicationRequest
|
29
|
+
include ::Google::Protobuf::MessageExts
|
30
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
31
|
+
end
|
32
|
+
|
33
|
+
# Request message for `Applications.CreateApplication`.
|
34
|
+
# @!attribute [rw] application
|
35
|
+
# @return [::Google::Cloud::AppEngine::V1::Application]
|
36
|
+
# Application configuration.
|
37
|
+
class CreateApplicationRequest
|
38
|
+
include ::Google::Protobuf::MessageExts
|
39
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
40
|
+
end
|
41
|
+
|
42
|
+
# Request message for `Applications.UpdateApplication`.
|
43
|
+
# @!attribute [rw] name
|
44
|
+
# @return [::String]
|
45
|
+
# Name of the Application resource to update. Example: `apps/myapp`.
|
46
|
+
# @!attribute [rw] application
|
47
|
+
# @return [::Google::Cloud::AppEngine::V1::Application]
|
48
|
+
# An Application containing the updated resource.
|
49
|
+
# @!attribute [rw] update_mask
|
50
|
+
# @return [::Google::Protobuf::FieldMask]
|
51
|
+
# Standard field mask for the set of fields to be updated.
|
52
|
+
class UpdateApplicationRequest
|
53
|
+
include ::Google::Protobuf::MessageExts
|
54
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
55
|
+
end
|
56
|
+
|
57
|
+
# Request message for 'Applications.RepairApplication'.
|
58
|
+
# @!attribute [rw] name
|
59
|
+
# @return [::String]
|
60
|
+
# Name of the application to repair. Example: `apps/myapp`
|
61
|
+
class RepairApplicationRequest
|
62
|
+
include ::Google::Protobuf::MessageExts
|
63
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
64
|
+
end
|
65
|
+
|
66
|
+
# Request message for `Services.ListServices`.
|
67
|
+
# @!attribute [rw] parent
|
68
|
+
# @return [::String]
|
69
|
+
# Name of the parent Application resource. Example: `apps/myapp`.
|
70
|
+
# @!attribute [rw] page_size
|
71
|
+
# @return [::Integer]
|
72
|
+
# Maximum results to return per page.
|
73
|
+
# @!attribute [rw] page_token
|
74
|
+
# @return [::String]
|
75
|
+
# Continuation token for fetching the next page of results.
|
76
|
+
class ListServicesRequest
|
77
|
+
include ::Google::Protobuf::MessageExts
|
78
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
79
|
+
end
|
80
|
+
|
81
|
+
# Response message for `Services.ListServices`.
|
82
|
+
# @!attribute [rw] services
|
83
|
+
# @return [::Array<::Google::Cloud::AppEngine::V1::Service>]
|
84
|
+
# The services belonging to the requested application.
|
85
|
+
# @!attribute [rw] next_page_token
|
86
|
+
# @return [::String]
|
87
|
+
# Continuation token for fetching the next page of results.
|
88
|
+
class ListServicesResponse
|
89
|
+
include ::Google::Protobuf::MessageExts
|
90
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
91
|
+
end
|
92
|
+
|
93
|
+
# Request message for `Services.GetService`.
|
94
|
+
# @!attribute [rw] name
|
95
|
+
# @return [::String]
|
96
|
+
# Name of the resource requested. Example: `apps/myapp/services/default`.
|
97
|
+
class GetServiceRequest
|
98
|
+
include ::Google::Protobuf::MessageExts
|
99
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
100
|
+
end
|
101
|
+
|
102
|
+
# Request message for `Services.UpdateService`.
|
103
|
+
# @!attribute [rw] name
|
104
|
+
# @return [::String]
|
105
|
+
# Name of the resource to update. Example: `apps/myapp/services/default`.
|
106
|
+
# @!attribute [rw] service
|
107
|
+
# @return [::Google::Cloud::AppEngine::V1::Service]
|
108
|
+
# A Service resource containing the updated service. Only fields set in the
|
109
|
+
# field mask will be updated.
|
110
|
+
# @!attribute [rw] update_mask
|
111
|
+
# @return [::Google::Protobuf::FieldMask]
|
112
|
+
# Standard field mask for the set of fields to be updated.
|
113
|
+
# @!attribute [rw] migrate_traffic
|
114
|
+
# @return [::Boolean]
|
115
|
+
# Set to `true` to gradually shift traffic to one or more versions that you
|
116
|
+
# specify. By default, traffic is shifted immediately.
|
117
|
+
# For gradual traffic migration, the target versions
|
118
|
+
# must be located within instances that are configured for both
|
119
|
+
# [warmup requests](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#InboundServiceType)
|
120
|
+
# and
|
121
|
+
# [automatic scaling](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#AutomaticScaling).
|
122
|
+
# You must specify the
|
123
|
+
# [`shardBy`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services#ShardBy)
|
124
|
+
# field in the Service resource. Gradual traffic migration is not
|
125
|
+
# supported in the App Engine flexible environment. For examples, see
|
126
|
+
# [Migrating and Splitting Traffic](https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic).
|
127
|
+
class UpdateServiceRequest
|
128
|
+
include ::Google::Protobuf::MessageExts
|
129
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
130
|
+
end
|
131
|
+
|
132
|
+
# Request message for `Services.DeleteService`.
|
133
|
+
# @!attribute [rw] name
|
134
|
+
# @return [::String]
|
135
|
+
# Name of the resource requested. Example: `apps/myapp/services/default`.
|
136
|
+
class DeleteServiceRequest
|
137
|
+
include ::Google::Protobuf::MessageExts
|
138
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
139
|
+
end
|
140
|
+
|
141
|
+
# Request message for `Versions.ListVersions`.
|
142
|
+
# @!attribute [rw] parent
|
143
|
+
# @return [::String]
|
144
|
+
# Name of the parent Service resource. Example:
|
145
|
+
# `apps/myapp/services/default`.
|
146
|
+
# @!attribute [rw] view
|
147
|
+
# @return [::Google::Cloud::AppEngine::V1::VersionView]
|
148
|
+
# Controls the set of fields returned in the `List` response.
|
149
|
+
# @!attribute [rw] page_size
|
150
|
+
# @return [::Integer]
|
151
|
+
# Maximum results to return per page.
|
152
|
+
# @!attribute [rw] page_token
|
153
|
+
# @return [::String]
|
154
|
+
# Continuation token for fetching the next page of results.
|
155
|
+
class ListVersionsRequest
|
156
|
+
include ::Google::Protobuf::MessageExts
|
157
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
158
|
+
end
|
159
|
+
|
160
|
+
# Response message for `Versions.ListVersions`.
|
161
|
+
# @!attribute [rw] versions
|
162
|
+
# @return [::Array<::Google::Cloud::AppEngine::V1::Version>]
|
163
|
+
# The versions belonging to the requested service.
|
164
|
+
# @!attribute [rw] next_page_token
|
165
|
+
# @return [::String]
|
166
|
+
# Continuation token for fetching the next page of results.
|
167
|
+
class ListVersionsResponse
|
168
|
+
include ::Google::Protobuf::MessageExts
|
169
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
170
|
+
end
|
171
|
+
|
172
|
+
# Request message for `Versions.GetVersion`.
|
173
|
+
# @!attribute [rw] name
|
174
|
+
# @return [::String]
|
175
|
+
# Name of the resource requested. Example:
|
176
|
+
# `apps/myapp/services/default/versions/v1`.
|
177
|
+
# @!attribute [rw] view
|
178
|
+
# @return [::Google::Cloud::AppEngine::V1::VersionView]
|
179
|
+
# Controls the set of fields returned in the `Get` response.
|
180
|
+
class GetVersionRequest
|
181
|
+
include ::Google::Protobuf::MessageExts
|
182
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
183
|
+
end
|
184
|
+
|
185
|
+
# Request message for `Versions.CreateVersion`.
|
186
|
+
# @!attribute [rw] parent
|
187
|
+
# @return [::String]
|
188
|
+
# Name of the parent resource to create this version under. Example:
|
189
|
+
# `apps/myapp/services/default`.
|
190
|
+
# @!attribute [rw] version
|
191
|
+
# @return [::Google::Cloud::AppEngine::V1::Version]
|
192
|
+
# Application deployment configuration.
|
193
|
+
class CreateVersionRequest
|
194
|
+
include ::Google::Protobuf::MessageExts
|
195
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
196
|
+
end
|
197
|
+
|
198
|
+
# Request message for `Versions.UpdateVersion`.
|
199
|
+
# @!attribute [rw] name
|
200
|
+
# @return [::String]
|
201
|
+
# Name of the resource to update. Example:
|
202
|
+
# `apps/myapp/services/default/versions/1`.
|
203
|
+
# @!attribute [rw] version
|
204
|
+
# @return [::Google::Cloud::AppEngine::V1::Version]
|
205
|
+
# A Version containing the updated resource. Only fields set in the field
|
206
|
+
# mask will be updated.
|
207
|
+
# @!attribute [rw] update_mask
|
208
|
+
# @return [::Google::Protobuf::FieldMask]
|
209
|
+
# Standard field mask for the set of fields to be updated.
|
210
|
+
class UpdateVersionRequest
|
211
|
+
include ::Google::Protobuf::MessageExts
|
212
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
213
|
+
end
|
214
|
+
|
215
|
+
# Request message for `Versions.DeleteVersion`.
|
216
|
+
# @!attribute [rw] name
|
217
|
+
# @return [::String]
|
218
|
+
# Name of the resource requested. Example:
|
219
|
+
# `apps/myapp/services/default/versions/v1`.
|
220
|
+
class DeleteVersionRequest
|
221
|
+
include ::Google::Protobuf::MessageExts
|
222
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
223
|
+
end
|
224
|
+
|
225
|
+
# Request message for `Instances.ListInstances`.
|
226
|
+
# @!attribute [rw] parent
|
227
|
+
# @return [::String]
|
228
|
+
# Name of the parent Version resource. Example:
|
229
|
+
# `apps/myapp/services/default/versions/v1`.
|
230
|
+
# @!attribute [rw] page_size
|
231
|
+
# @return [::Integer]
|
232
|
+
# Maximum results to return per page.
|
233
|
+
# @!attribute [rw] page_token
|
234
|
+
# @return [::String]
|
235
|
+
# Continuation token for fetching the next page of results.
|
236
|
+
class ListInstancesRequest
|
237
|
+
include ::Google::Protobuf::MessageExts
|
238
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
239
|
+
end
|
240
|
+
|
241
|
+
# Response message for `Instances.ListInstances`.
|
242
|
+
# @!attribute [rw] instances
|
243
|
+
# @return [::Array<::Google::Cloud::AppEngine::V1::Instance>]
|
244
|
+
# The instances belonging to the requested version.
|
245
|
+
# @!attribute [rw] next_page_token
|
246
|
+
# @return [::String]
|
247
|
+
# Continuation token for fetching the next page of results.
|
248
|
+
class ListInstancesResponse
|
249
|
+
include ::Google::Protobuf::MessageExts
|
250
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
251
|
+
end
|
252
|
+
|
253
|
+
# Request message for `Instances.GetInstance`.
|
254
|
+
# @!attribute [rw] name
|
255
|
+
# @return [::String]
|
256
|
+
# Name of the resource requested. Example:
|
257
|
+
# `apps/myapp/services/default/versions/v1/instances/instance-1`.
|
258
|
+
class GetInstanceRequest
|
259
|
+
include ::Google::Protobuf::MessageExts
|
260
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
261
|
+
end
|
262
|
+
|
263
|
+
# Request message for `Instances.DeleteInstance`.
|
264
|
+
# @!attribute [rw] name
|
265
|
+
# @return [::String]
|
266
|
+
# Name of the resource requested. Example:
|
267
|
+
# `apps/myapp/services/default/versions/v1/instances/instance-1`.
|
268
|
+
class DeleteInstanceRequest
|
269
|
+
include ::Google::Protobuf::MessageExts
|
270
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
271
|
+
end
|
272
|
+
|
273
|
+
# Request message for `Instances.DebugInstance`.
|
274
|
+
# @!attribute [rw] name
|
275
|
+
# @return [::String]
|
276
|
+
# Name of the resource requested. Example:
|
277
|
+
# `apps/myapp/services/default/versions/v1/instances/instance-1`.
|
278
|
+
# @!attribute [rw] ssh_key
|
279
|
+
# @return [::String]
|
280
|
+
# Public SSH key to add to the instance. Examples:
|
281
|
+
#
|
282
|
+
# * `[USERNAME]:ssh-rsa [KEY_VALUE] [USERNAME]`
|
283
|
+
# * `[USERNAME]:ssh-rsa [KEY_VALUE] google-ssh {"userName":"[USERNAME]","expireOn":"[EXPIRE_TIME]"}`
|
284
|
+
#
|
285
|
+
# For more information, see
|
286
|
+
# [Adding and Removing SSH Keys](https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys).
|
287
|
+
class DebugInstanceRequest
|
288
|
+
include ::Google::Protobuf::MessageExts
|
289
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
290
|
+
end
|
291
|
+
|
292
|
+
# Request message for `Firewall.ListIngressRules`.
|
293
|
+
# @!attribute [rw] parent
|
294
|
+
# @return [::String]
|
295
|
+
# Name of the Firewall collection to retrieve.
|
296
|
+
# Example: `apps/myapp/firewall/ingressRules`.
|
297
|
+
# @!attribute [rw] page_size
|
298
|
+
# @return [::Integer]
|
299
|
+
# Maximum results to return per page.
|
300
|
+
# @!attribute [rw] page_token
|
301
|
+
# @return [::String]
|
302
|
+
# Continuation token for fetching the next page of results.
|
303
|
+
# @!attribute [rw] matching_address
|
304
|
+
# @return [::String]
|
305
|
+
# A valid IP Address. If set, only rules matching this address will be
|
306
|
+
# returned. The first returned rule will be the rule that fires on requests
|
307
|
+
# from this IP.
|
308
|
+
class ListIngressRulesRequest
|
309
|
+
include ::Google::Protobuf::MessageExts
|
310
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
311
|
+
end
|
312
|
+
|
313
|
+
# Response message for `Firewall.ListIngressRules`.
|
314
|
+
# @!attribute [rw] ingress_rules
|
315
|
+
# @return [::Array<::Google::Cloud::AppEngine::V1::FirewallRule>]
|
316
|
+
# The ingress FirewallRules for this application.
|
317
|
+
# @!attribute [rw] next_page_token
|
318
|
+
# @return [::String]
|
319
|
+
# Continuation token for fetching the next page of results.
|
320
|
+
class ListIngressRulesResponse
|
321
|
+
include ::Google::Protobuf::MessageExts
|
322
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
323
|
+
end
|
324
|
+
|
325
|
+
# Request message for `Firewall.BatchUpdateIngressRules`.
|
326
|
+
# @!attribute [rw] name
|
327
|
+
# @return [::String]
|
328
|
+
# Name of the Firewall collection to set.
|
329
|
+
# Example: `apps/myapp/firewall/ingressRules`.
|
330
|
+
# @!attribute [rw] ingress_rules
|
331
|
+
# @return [::Array<::Google::Cloud::AppEngine::V1::FirewallRule>]
|
332
|
+
# A list of FirewallRules to replace the existing set.
|
333
|
+
class BatchUpdateIngressRulesRequest
|
334
|
+
include ::Google::Protobuf::MessageExts
|
335
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
336
|
+
end
|
337
|
+
|
338
|
+
# Response message for `Firewall.UpdateAllIngressRules`.
|
339
|
+
# @!attribute [rw] ingress_rules
|
340
|
+
# @return [::Array<::Google::Cloud::AppEngine::V1::FirewallRule>]
|
341
|
+
# The full list of ingress FirewallRules for this application.
|
342
|
+
class BatchUpdateIngressRulesResponse
|
343
|
+
include ::Google::Protobuf::MessageExts
|
344
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
345
|
+
end
|
346
|
+
|
347
|
+
# Request message for `Firewall.CreateIngressRule`.
|
348
|
+
# @!attribute [rw] parent
|
349
|
+
# @return [::String]
|
350
|
+
# Name of the parent Firewall collection in which to create a new rule.
|
351
|
+
# Example: `apps/myapp/firewall/ingressRules`.
|
352
|
+
# @!attribute [rw] rule
|
353
|
+
# @return [::Google::Cloud::AppEngine::V1::FirewallRule]
|
354
|
+
# A FirewallRule containing the new resource.
|
355
|
+
#
|
356
|
+
# The user may optionally provide a position at which the new rule will be
|
357
|
+
# placed. The positions define a sequential list starting at 1. If a rule
|
358
|
+
# already exists at the given position, rules greater than the provided
|
359
|
+
# position will be moved forward by one.
|
360
|
+
#
|
361
|
+
# If no position is provided, the server will place the rule as the second to
|
362
|
+
# last rule in the sequence before the required default allow-all or deny-all
|
363
|
+
# rule.
|
364
|
+
class CreateIngressRuleRequest
|
365
|
+
include ::Google::Protobuf::MessageExts
|
366
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
367
|
+
end
|
368
|
+
|
369
|
+
# Request message for `Firewall.GetIngressRule`.
|
370
|
+
# @!attribute [rw] name
|
371
|
+
# @return [::String]
|
372
|
+
# Name of the Firewall resource to retrieve.
|
373
|
+
# Example: `apps/myapp/firewall/ingressRules/100`.
|
374
|
+
class GetIngressRuleRequest
|
375
|
+
include ::Google::Protobuf::MessageExts
|
376
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
377
|
+
end
|
378
|
+
|
379
|
+
# Request message for `Firewall.UpdateIngressRule`.
|
380
|
+
# @!attribute [rw] name
|
381
|
+
# @return [::String]
|
382
|
+
# Name of the Firewall resource to update.
|
383
|
+
# Example: `apps/myapp/firewall/ingressRules/100`.
|
384
|
+
# @!attribute [rw] rule
|
385
|
+
# @return [::Google::Cloud::AppEngine::V1::FirewallRule]
|
386
|
+
# A FirewallRule containing the updated resource
|
387
|
+
# @!attribute [rw] update_mask
|
388
|
+
# @return [::Google::Protobuf::FieldMask]
|
389
|
+
# Standard field mask for the set of fields to be updated.
|
390
|
+
class UpdateIngressRuleRequest
|
391
|
+
include ::Google::Protobuf::MessageExts
|
392
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
393
|
+
end
|
394
|
+
|
395
|
+
# Request message for `Firewall.DeleteIngressRule`.
|
396
|
+
# @!attribute [rw] name
|
397
|
+
# @return [::String]
|
398
|
+
# Name of the Firewall resource to delete.
|
399
|
+
# Example: `apps/myapp/firewall/ingressRules/100`.
|
400
|
+
class DeleteIngressRuleRequest
|
401
|
+
include ::Google::Protobuf::MessageExts
|
402
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
403
|
+
end
|
404
|
+
|
405
|
+
# Request message for `AuthorizedDomains.ListAuthorizedDomains`.
|
406
|
+
# @!attribute [rw] parent
|
407
|
+
# @return [::String]
|
408
|
+
# Name of the parent Application resource. Example: `apps/myapp`.
|
409
|
+
# @!attribute [rw] page_size
|
410
|
+
# @return [::Integer]
|
411
|
+
# Maximum results to return per page.
|
412
|
+
# @!attribute [rw] page_token
|
413
|
+
# @return [::String]
|
414
|
+
# Continuation token for fetching the next page of results.
|
415
|
+
class ListAuthorizedDomainsRequest
|
416
|
+
include ::Google::Protobuf::MessageExts
|
417
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
418
|
+
end
|
419
|
+
|
420
|
+
# Response message for `AuthorizedDomains.ListAuthorizedDomains`.
|
421
|
+
# @!attribute [rw] domains
|
422
|
+
# @return [::Array<::Google::Cloud::AppEngine::V1::AuthorizedDomain>]
|
423
|
+
# The authorized domains belonging to the user.
|
424
|
+
# @!attribute [rw] next_page_token
|
425
|
+
# @return [::String]
|
426
|
+
# Continuation token for fetching the next page of results.
|
427
|
+
class ListAuthorizedDomainsResponse
|
428
|
+
include ::Google::Protobuf::MessageExts
|
429
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
430
|
+
end
|
431
|
+
|
432
|
+
# Request message for `AuthorizedCertificates.ListAuthorizedCertificates`.
|
433
|
+
# @!attribute [rw] parent
|
434
|
+
# @return [::String]
|
435
|
+
# Name of the parent `Application` resource. Example: `apps/myapp`.
|
436
|
+
# @!attribute [rw] view
|
437
|
+
# @return [::Google::Cloud::AppEngine::V1::AuthorizedCertificateView]
|
438
|
+
# Controls the set of fields returned in the `LIST` response.
|
439
|
+
# @!attribute [rw] page_size
|
440
|
+
# @return [::Integer]
|
441
|
+
# Maximum results to return per page.
|
442
|
+
# @!attribute [rw] page_token
|
443
|
+
# @return [::String]
|
444
|
+
# Continuation token for fetching the next page of results.
|
445
|
+
class ListAuthorizedCertificatesRequest
|
446
|
+
include ::Google::Protobuf::MessageExts
|
447
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
448
|
+
end
|
449
|
+
|
450
|
+
# Response message for `AuthorizedCertificates.ListAuthorizedCertificates`.
|
451
|
+
# @!attribute [rw] certificates
|
452
|
+
# @return [::Array<::Google::Cloud::AppEngine::V1::AuthorizedCertificate>]
|
453
|
+
# The SSL certificates the user is authorized to administer.
|
454
|
+
# @!attribute [rw] next_page_token
|
455
|
+
# @return [::String]
|
456
|
+
# Continuation token for fetching the next page of results.
|
457
|
+
class ListAuthorizedCertificatesResponse
|
458
|
+
include ::Google::Protobuf::MessageExts
|
459
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
460
|
+
end
|
461
|
+
|
462
|
+
# Request message for `AuthorizedCertificates.GetAuthorizedCertificate`.
|
463
|
+
# @!attribute [rw] name
|
464
|
+
# @return [::String]
|
465
|
+
# Name of the resource requested. Example:
|
466
|
+
# `apps/myapp/authorizedCertificates/12345`.
|
467
|
+
# @!attribute [rw] view
|
468
|
+
# @return [::Google::Cloud::AppEngine::V1::AuthorizedCertificateView]
|
469
|
+
# Controls the set of fields returned in the `GET` response.
|
470
|
+
class GetAuthorizedCertificateRequest
|
471
|
+
include ::Google::Protobuf::MessageExts
|
472
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
473
|
+
end
|
474
|
+
|
475
|
+
# Request message for `AuthorizedCertificates.CreateAuthorizedCertificate`.
|
476
|
+
# @!attribute [rw] parent
|
477
|
+
# @return [::String]
|
478
|
+
# Name of the parent `Application` resource. Example: `apps/myapp`.
|
479
|
+
# @!attribute [rw] certificate
|
480
|
+
# @return [::Google::Cloud::AppEngine::V1::AuthorizedCertificate]
|
481
|
+
# SSL certificate data.
|
482
|
+
class CreateAuthorizedCertificateRequest
|
483
|
+
include ::Google::Protobuf::MessageExts
|
484
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
485
|
+
end
|
486
|
+
|
487
|
+
# Request message for `AuthorizedCertificates.UpdateAuthorizedCertificate`.
|
488
|
+
# @!attribute [rw] name
|
489
|
+
# @return [::String]
|
490
|
+
# Name of the resource to update. Example:
|
491
|
+
# `apps/myapp/authorizedCertificates/12345`.
|
492
|
+
# @!attribute [rw] certificate
|
493
|
+
# @return [::Google::Cloud::AppEngine::V1::AuthorizedCertificate]
|
494
|
+
# An `AuthorizedCertificate` containing the updated resource. Only fields set
|
495
|
+
# in the field mask will be updated.
|
496
|
+
# @!attribute [rw] update_mask
|
497
|
+
# @return [::Google::Protobuf::FieldMask]
|
498
|
+
# Standard field mask for the set of fields to be updated. Updates are only
|
499
|
+
# supported on the `certificate_raw_data` and `display_name` fields.
|
500
|
+
class UpdateAuthorizedCertificateRequest
|
501
|
+
include ::Google::Protobuf::MessageExts
|
502
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
503
|
+
end
|
504
|
+
|
505
|
+
# Request message for `AuthorizedCertificates.DeleteAuthorizedCertificate`.
|
506
|
+
# @!attribute [rw] name
|
507
|
+
# @return [::String]
|
508
|
+
# Name of the resource to delete. Example:
|
509
|
+
# `apps/myapp/authorizedCertificates/12345`.
|
510
|
+
class DeleteAuthorizedCertificateRequest
|
511
|
+
include ::Google::Protobuf::MessageExts
|
512
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
513
|
+
end
|
514
|
+
|
515
|
+
# Request message for `DomainMappings.ListDomainMappings`.
|
516
|
+
# @!attribute [rw] parent
|
517
|
+
# @return [::String]
|
518
|
+
# Name of the parent Application resource. Example: `apps/myapp`.
|
519
|
+
# @!attribute [rw] page_size
|
520
|
+
# @return [::Integer]
|
521
|
+
# Maximum results to return per page.
|
522
|
+
# @!attribute [rw] page_token
|
523
|
+
# @return [::String]
|
524
|
+
# Continuation token for fetching the next page of results.
|
525
|
+
class ListDomainMappingsRequest
|
526
|
+
include ::Google::Protobuf::MessageExts
|
527
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
528
|
+
end
|
529
|
+
|
530
|
+
# Response message for `DomainMappings.ListDomainMappings`.
|
531
|
+
# @!attribute [rw] domain_mappings
|
532
|
+
# @return [::Array<::Google::Cloud::AppEngine::V1::DomainMapping>]
|
533
|
+
# The domain mappings for the application.
|
534
|
+
# @!attribute [rw] next_page_token
|
535
|
+
# @return [::String]
|
536
|
+
# Continuation token for fetching the next page of results.
|
537
|
+
class ListDomainMappingsResponse
|
538
|
+
include ::Google::Protobuf::MessageExts
|
539
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
540
|
+
end
|
541
|
+
|
542
|
+
# Request message for `DomainMappings.GetDomainMapping`.
|
543
|
+
# @!attribute [rw] name
|
544
|
+
# @return [::String]
|
545
|
+
# Name of the resource requested. Example:
|
546
|
+
# `apps/myapp/domainMappings/example.com`.
|
547
|
+
class GetDomainMappingRequest
|
548
|
+
include ::Google::Protobuf::MessageExts
|
549
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
550
|
+
end
|
551
|
+
|
552
|
+
# Request message for `DomainMappings.CreateDomainMapping`.
|
553
|
+
# @!attribute [rw] parent
|
554
|
+
# @return [::String]
|
555
|
+
# Name of the parent Application resource. Example: `apps/myapp`.
|
556
|
+
# @!attribute [rw] domain_mapping
|
557
|
+
# @return [::Google::Cloud::AppEngine::V1::DomainMapping]
|
558
|
+
# Domain mapping configuration.
|
559
|
+
# @!attribute [rw] override_strategy
|
560
|
+
# @return [::Google::Cloud::AppEngine::V1::DomainOverrideStrategy]
|
561
|
+
# Whether the domain creation should override any existing mappings for this
|
562
|
+
# domain. By default, overrides are rejected.
|
563
|
+
class CreateDomainMappingRequest
|
564
|
+
include ::Google::Protobuf::MessageExts
|
565
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
566
|
+
end
|
567
|
+
|
568
|
+
# Request message for `DomainMappings.UpdateDomainMapping`.
|
569
|
+
# @!attribute [rw] name
|
570
|
+
# @return [::String]
|
571
|
+
# Name of the resource to update. Example:
|
572
|
+
# `apps/myapp/domainMappings/example.com`.
|
573
|
+
# @!attribute [rw] domain_mapping
|
574
|
+
# @return [::Google::Cloud::AppEngine::V1::DomainMapping]
|
575
|
+
# A domain mapping containing the updated resource. Only fields set
|
576
|
+
# in the field mask will be updated.
|
577
|
+
# @!attribute [rw] update_mask
|
578
|
+
# @return [::Google::Protobuf::FieldMask]
|
579
|
+
# Standard field mask for the set of fields to be updated.
|
580
|
+
class UpdateDomainMappingRequest
|
581
|
+
include ::Google::Protobuf::MessageExts
|
582
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
583
|
+
end
|
584
|
+
|
585
|
+
# Request message for `DomainMappings.DeleteDomainMapping`.
|
586
|
+
# @!attribute [rw] name
|
587
|
+
# @return [::String]
|
588
|
+
# Name of the resource to delete. Example:
|
589
|
+
# `apps/myapp/domainMappings/example.com`.
|
590
|
+
class DeleteDomainMappingRequest
|
591
|
+
include ::Google::Protobuf::MessageExts
|
592
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
593
|
+
end
|
594
|
+
|
595
|
+
# Fields that should be returned when {::Google::Cloud::AppEngine::V1::Version Version} resources
|
596
|
+
# are retrieved.
|
597
|
+
module VersionView
|
598
|
+
# Basic version information including scaling and inbound services,
|
599
|
+
# but not detailed deployment information.
|
600
|
+
BASIC = 0
|
601
|
+
|
602
|
+
# The information from `BASIC`, plus detailed information about the
|
603
|
+
# deployment. This format is required when creating resources, but
|
604
|
+
# is not returned in `Get` or `List` by default.
|
605
|
+
FULL = 1
|
606
|
+
end
|
607
|
+
|
608
|
+
# Fields that should be returned when an AuthorizedCertificate resource is
|
609
|
+
# retrieved.
|
610
|
+
module AuthorizedCertificateView
|
611
|
+
# Basic certificate information, including applicable domains and expiration
|
612
|
+
# date.
|
613
|
+
BASIC_CERTIFICATE = 0
|
614
|
+
|
615
|
+
# The information from `BASIC_CERTIFICATE`, plus detailed information on the
|
616
|
+
# domain mappings that have this certificate mapped.
|
617
|
+
FULL_CERTIFICATE = 1
|
618
|
+
end
|
619
|
+
|
620
|
+
# Override strategy for mutating an existing mapping.
|
621
|
+
module DomainOverrideStrategy
|
622
|
+
# Strategy unspecified. Defaults to `STRICT`.
|
623
|
+
UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY = 0
|
624
|
+
|
625
|
+
# Overrides not allowed. If a mapping already exists for the
|
626
|
+
# specified domain, the request will return an ALREADY_EXISTS (409).
|
627
|
+
STRICT = 1
|
628
|
+
|
629
|
+
# Overrides allowed. If a mapping already exists for the specified domain,
|
630
|
+
# the request will overwrite it. Note that this might stop another
|
631
|
+
# Google product from serving. For example, if the domain is
|
632
|
+
# mapped to another App Engine application, that app will no
|
633
|
+
# longer serve from that domain.
|
634
|
+
OVERRIDE = 2
|
635
|
+
end
|
636
|
+
end
|
637
|
+
end
|
638
|
+
end
|
639
|
+
end
|