google-cloud-service_directory-v1beta1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +169 -0
  4. data/LICENSE.md +201 -0
  5. data/README.md +24 -0
  6. data/lib/google-cloud-service_directory-v1beta1.rb +1 -0
  7. data/lib/google/cloud/common_resources_pb.rb +15 -0
  8. data/lib/google/cloud/service_directory/v1beta1.rb +20 -0
  9. data/lib/google/cloud/service_directory/v1beta1/lookup_service.rb +20 -0
  10. data/lib/google/cloud/service_directory/v1beta1/lookup_service/client.rb +406 -0
  11. data/lib/google/cloud/service_directory/v1beta1/lookup_service/credentials.rb +52 -0
  12. data/lib/google/cloud/service_directory/v1beta1/lookup_service/paths.rb +52 -0
  13. data/lib/google/cloud/service_directory/v1beta1/registration_service.rb +20 -0
  14. data/lib/google/cloud/service_directory/v1beta1/registration_service/client.rb +1666 -0
  15. data/lib/google/cloud/service_directory/v1beta1/registration_service/credentials.rb +52 -0
  16. data/lib/google/cloud/service_directory/v1beta1/registration_service/paths.rb +111 -0
  17. data/lib/google/cloud/service_directory/v1beta1/version.rb +28 -0
  18. data/lib/google/cloud/servicedirectory/v1beta1/endpoint_pb.rb +28 -0
  19. data/lib/google/cloud/servicedirectory/v1beta1/lookup_service_pb.rb +33 -0
  20. data/lib/google/cloud/servicedirectory/v1beta1/lookup_service_services_pb.rb +47 -0
  21. data/lib/google/cloud/servicedirectory/v1beta1/namespace_pb.rb +26 -0
  22. data/lib/google/cloud/servicedirectory/v1beta1/registration_service_pb.rb +125 -0
  23. data/lib/google/cloud/servicedirectory/v1beta1/registration_service_services_pb.rb +95 -0
  24. data/lib/google/cloud/servicedirectory/v1beta1/service_pb.rb +28 -0
  25. data/proto_docs/README.md +4 -0
  26. data/proto_docs/google/api/field_behavior.rb +59 -0
  27. data/proto_docs/google/api/resource.rb +247 -0
  28. data/proto_docs/google/cloud/servicedirectory/v1beta1/endpoint.rb +66 -0
  29. data/proto_docs/google/cloud/servicedirectory/v1beta1/lookup_service.rb +69 -0
  30. data/proto_docs/google/cloud/servicedirectory/v1beta1/namespace.rb +52 -0
  31. data/proto_docs/google/cloud/servicedirectory/v1beta1/registration_service.rb +367 -0
  32. data/proto_docs/google/cloud/servicedirectory/v1beta1/service.rb +58 -0
  33. data/proto_docs/google/iam/v1/iam_policy.rb +79 -0
  34. data/proto_docs/google/iam/v1/policy.rb +156 -0
  35. data/proto_docs/google/protobuf/empty.rb +36 -0
  36. data/proto_docs/google/protobuf/field_mask.rb +237 -0
  37. metadata +205 -0
@@ -0,0 +1,69 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2020 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 ServiceDirectory
23
+ module V1beta1
24
+ # The request message for {Google::Cloud::ServiceDirectory::V1beta1::LookupService::Client#resolve_service LookupService.ResolveService}.
25
+ # Looks up a service by its name, returns the service and its endpoints.
26
+ # @!attribute [rw] name
27
+ # @return [String]
28
+ # Required. The name of the service to resolve.
29
+ # @!attribute [rw] max_endpoints
30
+ # @return [Integer]
31
+ # Optional. The maximum number of endpoints to return. Defaults to 25. Maximum is 100.
32
+ # If a value less than one is specified, the Default is used.
33
+ # If a value greater than the Maximum is specified, the Maximum is used.
34
+ # @!attribute [rw] endpoint_filter
35
+ # @return [String]
36
+ # Optional. The filter applied to the endpoints of the resolved service.
37
+ #
38
+ # General filter string syntax:
39
+ # <field> <operator> <value> (<logical connector>)
40
+ # <field> can be "name" or "metadata.<key>" for map field.
41
+ # <operator> can be "<, >, <=, >=, !=, =, :". Of which ":" means HAS and is
42
+ # roughly the same as "=".
43
+ # <value> must be the same data type as the field.
44
+ # <logical connector> can be "AND, OR, NOT".
45
+ #
46
+ # Examples of valid filters:
47
+ # * "metadata.owner" returns Endpoints that have a label with the
48
+ # key "owner", this is the same as "metadata:owner"
49
+ # * "metadata.protocol=gRPC" returns Endpoints that have key/value
50
+ # "protocol=gRPC"
51
+ # * "metadata.owner!=sd AND metadata.foo=bar" returns
52
+ # Endpoints that have "owner" field in metadata with a value that is not
53
+ # "sd" AND have the key/value foo=bar.
54
+ class ResolveServiceRequest
55
+ include Google::Protobuf::MessageExts
56
+ extend Google::Protobuf::MessageExts::ClassMethods
57
+ end
58
+
59
+ # The response message for {Google::Cloud::ServiceDirectory::V1beta1::LookupService::Client#resolve_service LookupService.ResolveService}.
60
+ # @!attribute [rw] service
61
+ # @return [Google::Cloud::ServiceDirectory::V1beta1::Service]
62
+ class ResolveServiceResponse
63
+ include Google::Protobuf::MessageExts
64
+ extend Google::Protobuf::MessageExts::ClassMethods
65
+ end
66
+ end
67
+ end
68
+ end
69
+ end
@@ -0,0 +1,52 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2020 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 ServiceDirectory
23
+ module V1beta1
24
+ # A container for {Google::Cloud::ServiceDirectory::V1beta1::Service services}.
25
+ # Namespaces allow administrators to group services together and define
26
+ # permissions for a collection of services.
27
+ # @!attribute [rw] name
28
+ # @return [String]
29
+ # Immutable. The resource name for the namespace in the format
30
+ # 'projects/*/locations/*/namespaces/*'.
31
+ # @!attribute [rw] labels
32
+ # @return [Google::Protobuf::Map{String => String}]
33
+ # Optional. Resource labels associated with this Namespace.
34
+ # No more than 64 user labels can be associated with a given resource. Label
35
+ # keys and values can be no longer than 63 characters.
36
+ class Namespace
37
+ include Google::Protobuf::MessageExts
38
+ extend Google::Protobuf::MessageExts::ClassMethods
39
+
40
+ # @!attribute [rw] key
41
+ # @return [String]
42
+ # @!attribute [rw] value
43
+ # @return [String]
44
+ class LabelsEntry
45
+ include Google::Protobuf::MessageExts
46
+ extend Google::Protobuf::MessageExts::ClassMethods
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end
52
+ end
@@ -0,0 +1,367 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2020 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 ServiceDirectory
23
+ module V1beta1
24
+ # The request message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#create_namespace RegistrationService.CreateNamespace}.
25
+ # @!attribute [rw] parent
26
+ # @return [String]
27
+ # Required. The resource name of the project and location the namespace
28
+ # will be created in.
29
+ # @!attribute [rw] namespace_id
30
+ # @return [String]
31
+ # Required. The Resource ID must be 1-63 characters long, and comply with
32
+ # <a href="https://www.ietf.org/rfc/rfc1035.txt" target="_blank">RFC1035</a>.
33
+ # Specifically, the name must be 1-63 characters long and match the regular
34
+ # expression `[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?` which means the first
35
+ # character must be a lowercase letter, and all following characters must
36
+ # be a dash, lowercase letter, or digit, except the last character, which
37
+ # cannot be a dash.
38
+ # @!attribute [rw] namespace
39
+ # @return [Google::Cloud::ServiceDirectory::V1beta1::Namespace]
40
+ # Required. A namespace with initial fields set.
41
+ class CreateNamespaceRequest
42
+ include Google::Protobuf::MessageExts
43
+ extend Google::Protobuf::MessageExts::ClassMethods
44
+ end
45
+
46
+ # The request message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#list_namespaces RegistrationService.ListNamespaces}.
47
+ # @!attribute [rw] parent
48
+ # @return [String]
49
+ # Required. The resource name of the project and location whose namespaces we'd like to
50
+ # list.
51
+ # @!attribute [rw] page_size
52
+ # @return [Integer]
53
+ # Optional. The maximum number of items to return.
54
+ # @!attribute [rw] page_token
55
+ # @return [String]
56
+ # Optional. The next_page_token value returned from a previous List request, if any.
57
+ # @!attribute [rw] filter
58
+ # @return [String]
59
+ # Optional. The filter to list result by.
60
+ #
61
+ # General filter string syntax:
62
+ # <field> <operator> <value> (<logical connector>)
63
+ # <field> can be "name", or "labels.<key>" for map field.
64
+ # <operator> can be "<, >, <=, >=, !=, =, :". Of which ":" means HAS, and
65
+ # is roughly the same as "=".
66
+ # <value> must be the same data type as field.
67
+ # <logical connector> can be "AND, OR, NOT".
68
+ #
69
+ # Examples of valid filters:
70
+ # * "labels.owner" returns Namespaces that have a label with the key "owner"
71
+ # this is the same as "labels:owner".
72
+ # * "labels.protocol=gRPC" returns Namespaces that have key/value
73
+ # "protocol=gRPC".
74
+ # * "name>projects/my-project/locations/us-east/namespaces/namespace-c"
75
+ # returns Namespaces that have name that is alphabetically later than the
76
+ # string, so "namespace-e" will be returned but "namespace-a" will not be.
77
+ # * "labels.owner!=sd AND labels.foo=bar" returns Namespaces that have
78
+ # "owner" in label key but value is not "sd" AND have key/value foo=bar.
79
+ # * "doesnotexist.foo=bar" returns an empty list. Note that Namespace doesn't
80
+ # have a field called "doesnotexist". Since the filter does not match any
81
+ # Namespaces, it returns no results.
82
+ # @!attribute [rw] order_by
83
+ # @return [String]
84
+ # Optional. The order to list result by.
85
+ #
86
+ # General order by string syntax:
87
+ # <field> (<asc|desc>) (,)
88
+ # <field> allows values \\{"name"}
89
+ # <asc/desc> ascending or descending order by <field>. If this is left
90
+ # blank, "asc" is used.
91
+ # Note that an empty order_by string result in default order, which is order
92
+ # by name in ascending order.
93
+ class ListNamespacesRequest
94
+ include Google::Protobuf::MessageExts
95
+ extend Google::Protobuf::MessageExts::ClassMethods
96
+ end
97
+
98
+ # The response message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#list_namespaces RegistrationService.ListNamespaces}.
99
+ # @!attribute [rw] namespaces
100
+ # @return [Array<Google::Cloud::ServiceDirectory::V1beta1::Namespace>]
101
+ # The list of namespaces.
102
+ # @!attribute [rw] next_page_token
103
+ # @return [String]
104
+ # Token to retrieve the next page of results, or empty if there are no
105
+ # more results in the list.
106
+ class ListNamespacesResponse
107
+ include Google::Protobuf::MessageExts
108
+ extend Google::Protobuf::MessageExts::ClassMethods
109
+ end
110
+
111
+ # The request message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#get_namespace RegistrationService.GetNamespace}.
112
+ # @!attribute [rw] name
113
+ # @return [String]
114
+ # Required. The name of the namespace to retrieve.
115
+ class GetNamespaceRequest
116
+ include Google::Protobuf::MessageExts
117
+ extend Google::Protobuf::MessageExts::ClassMethods
118
+ end
119
+
120
+ # The request message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#update_namespace RegistrationService.UpdateNamespace}.
121
+ # @!attribute [rw] namespace
122
+ # @return [Google::Cloud::ServiceDirectory::V1beta1::Namespace]
123
+ # Required. The updated namespace.
124
+ # @!attribute [rw] update_mask
125
+ # @return [Google::Protobuf::FieldMask]
126
+ # Required. List of fields to be updated in this request.
127
+ class UpdateNamespaceRequest
128
+ include Google::Protobuf::MessageExts
129
+ extend Google::Protobuf::MessageExts::ClassMethods
130
+ end
131
+
132
+ # The request message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#delete_namespace RegistrationService.DeleteNamespace}.
133
+ # @!attribute [rw] name
134
+ # @return [String]
135
+ # Required. The name of the namespace to delete.
136
+ class DeleteNamespaceRequest
137
+ include Google::Protobuf::MessageExts
138
+ extend Google::Protobuf::MessageExts::ClassMethods
139
+ end
140
+
141
+ # The request message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#create_service RegistrationService.CreateService}.
142
+ # @!attribute [rw] parent
143
+ # @return [String]
144
+ # Required. The resource name of the namespace this service will belong to.
145
+ # @!attribute [rw] service_id
146
+ # @return [String]
147
+ # Required. The Resource ID must be 1-63 characters long, and comply with
148
+ # <a href="https://www.ietf.org/rfc/rfc1035.txt" target="_blank">RFC1035</a>.
149
+ # Specifically, the name must be 1-63 characters long and match the regular
150
+ # expression `[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?` which means the first
151
+ # character must be a lowercase letter, and all following characters must
152
+ # be a dash, lowercase letter, or digit, except the last character, which
153
+ # cannot be a dash.
154
+ # @!attribute [rw] service
155
+ # @return [Google::Cloud::ServiceDirectory::V1beta1::Service]
156
+ # Required. A service with initial fields set.
157
+ class CreateServiceRequest
158
+ include Google::Protobuf::MessageExts
159
+ extend Google::Protobuf::MessageExts::ClassMethods
160
+ end
161
+
162
+ # The request message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#list_services RegistrationService.ListServices}.
163
+ # @!attribute [rw] parent
164
+ # @return [String]
165
+ # Required. The resource name of the namespace whose services we'd
166
+ # like to list.
167
+ # @!attribute [rw] page_size
168
+ # @return [Integer]
169
+ # Optional. The maximum number of items to return.
170
+ # @!attribute [rw] page_token
171
+ # @return [String]
172
+ # Optional. The next_page_token value returned from a previous List request,
173
+ # if any.
174
+ # @!attribute [rw] filter
175
+ # @return [String]
176
+ # Optional. The filter to list result by.
177
+ #
178
+ # General filter string syntax:
179
+ # <field> <operator> <value> (<logical connector>)
180
+ # <field> can be "name", or "metadata.<key>" for map field.
181
+ # <operator> can be "<, >, <=, >=, !=, =, :". Of which ":" means HAS, and
182
+ # is roughly the same as "=".
183
+ # <value> must be the same data type as field.
184
+ # <logical connector> can be "AND, OR, NOT".
185
+ #
186
+ # Examples of valid filters:
187
+ # * "metadata.owner" returns Services that have a label with the key "owner"
188
+ # this is the same as "metadata:owner".
189
+ # * "metadata.protocol=gRPC" returns Services that have key/value
190
+ # "protocol=gRPC".
191
+ # * "name>projects/my-project/locations/us-east/namespaces/my-namespace/services/service-c"
192
+ # returns Services that have name that is alphabetically later than the
193
+ # string, so "service-e" will be returned but "service-a" will not be.
194
+ # * "metadata.owner!=sd AND metadata.foo=bar" returns Services that have
195
+ # "owner" in label key but value is not "sd" AND have key/value foo=bar.
196
+ # * "doesnotexist.foo=bar" returns an empty list. Note that Service doesn't
197
+ # have a field called "doesnotexist". Since the filter does not match any
198
+ # Services, it returns no results.
199
+ # @!attribute [rw] order_by
200
+ # @return [String]
201
+ # Optional. The order to list result by.
202
+ class ListServicesRequest
203
+ include Google::Protobuf::MessageExts
204
+ extend Google::Protobuf::MessageExts::ClassMethods
205
+ end
206
+
207
+ # The response message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#list_services RegistrationService.ListServices}.
208
+ # @!attribute [rw] services
209
+ # @return [Array<Google::Cloud::ServiceDirectory::V1beta1::Service>]
210
+ # The list of services.
211
+ # @!attribute [rw] next_page_token
212
+ # @return [String]
213
+ # Token to retrieve the next page of results, or empty if there are no
214
+ # more results in the list.
215
+ class ListServicesResponse
216
+ include Google::Protobuf::MessageExts
217
+ extend Google::Protobuf::MessageExts::ClassMethods
218
+ end
219
+
220
+ # The request message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#get_service RegistrationService.GetService}.
221
+ # This should not be used for looking up a service. Insead, use the `resolve`
222
+ # method as it will contain all endpoints and associated metadata.
223
+ # @!attribute [rw] name
224
+ # @return [String]
225
+ # Required. The name of the service to get.
226
+ class GetServiceRequest
227
+ include Google::Protobuf::MessageExts
228
+ extend Google::Protobuf::MessageExts::ClassMethods
229
+ end
230
+
231
+ # The request message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#update_service RegistrationService.UpdateService}.
232
+ # @!attribute [rw] service
233
+ # @return [Google::Cloud::ServiceDirectory::V1beta1::Service]
234
+ # Required. The updated service.
235
+ # @!attribute [rw] update_mask
236
+ # @return [Google::Protobuf::FieldMask]
237
+ # Required. List of fields to be updated in this request.
238
+ class UpdateServiceRequest
239
+ include Google::Protobuf::MessageExts
240
+ extend Google::Protobuf::MessageExts::ClassMethods
241
+ end
242
+
243
+ # The request message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#delete_service RegistrationService.DeleteService}.
244
+ # @!attribute [rw] name
245
+ # @return [String]
246
+ # Required. The name of the service to delete.
247
+ class DeleteServiceRequest
248
+ include Google::Protobuf::MessageExts
249
+ extend Google::Protobuf::MessageExts::ClassMethods
250
+ end
251
+
252
+ # The request message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#create_endpoint RegistrationService.CreateEndpoint}.
253
+ # @!attribute [rw] parent
254
+ # @return [String]
255
+ # Required. The resource name of the service that this endpoint provides.
256
+ # @!attribute [rw] endpoint_id
257
+ # @return [String]
258
+ # Required. The Resource ID must be 1-63 characters long, and comply with
259
+ # <a href="https://www.ietf.org/rfc/rfc1035.txt" target="_blank">RFC1035</a>.
260
+ # Specifically, the name must be 1-63 characters long and match the regular
261
+ # expression `[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?` which means the first
262
+ # character must be a lowercase letter, and all following characters must
263
+ # be a dash, lowercase letter, or digit, except the last character, which
264
+ # cannot be a dash.
265
+ # @!attribute [rw] endpoint
266
+ # @return [Google::Cloud::ServiceDirectory::V1beta1::Endpoint]
267
+ # Required. A endpoint with initial fields set.
268
+ class CreateEndpointRequest
269
+ include Google::Protobuf::MessageExts
270
+ extend Google::Protobuf::MessageExts::ClassMethods
271
+ end
272
+
273
+ # The request message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#list_endpoints RegistrationService.ListEndpoints}.
274
+ # @!attribute [rw] parent
275
+ # @return [String]
276
+ # Required. The resource name of the service whose endpoints we'd like to
277
+ # list.
278
+ # @!attribute [rw] page_size
279
+ # @return [Integer]
280
+ # Optional. The maximum number of items to return.
281
+ # @!attribute [rw] page_token
282
+ # @return [String]
283
+ # Optional. The next_page_token value returned from a previous List request,
284
+ # if any.
285
+ # @!attribute [rw] filter
286
+ # @return [String]
287
+ # Optional. The filter to list result by.
288
+ #
289
+ # General filter string syntax:
290
+ # <field> <operator> <value> (<logical connector>)
291
+ # <field> can be "name", "address", "port" or "metadata.<key>" for map field.
292
+ # <operator> can be "<, >, <=, >=, !=, =, :". Of which ":" means HAS, and
293
+ # is roughly the same as "=".
294
+ # <value> must be the same data type as field.
295
+ # <logical connector> can be "AND, OR, NOT".
296
+ #
297
+ # Examples of valid filters:
298
+ # * "metadata.owner" returns Endpoints that have a label with the key "owner"
299
+ # this is the same as "metadata:owner".
300
+ # * "metadata.protocol=gRPC" returns Endpoints that have key/value
301
+ # "protocol=gRPC".
302
+ # * "address=192.108.1.105" returns Endpoints that have this address.
303
+ # * "port>8080" returns Endpoints that have port number larger than 8080.
304
+ # * "name>projects/my-project/locations/us-east/namespaces/my-namespace/services/my-service/endpoints/endpoint-c"
305
+ # returns Endpoints that have name that is alphabetically later than the
306
+ # string, so "endpoint-e" will be returned but "endpoint-a" will not be.
307
+ # * "metadata.owner!=sd AND metadata.foo=bar" returns Endpoints that have
308
+ # "owner" in label key but value is not "sd" AND have key/value foo=bar.
309
+ # * "doesnotexist.foo=bar" returns an empty list. Note that Endpoint doesn't
310
+ # have a field called "doesnotexist". Since the filter does not match any
311
+ # Endpoints, it returns no results.
312
+ # @!attribute [rw] order_by
313
+ # @return [String]
314
+ # Optional. The order to list result by.
315
+ class ListEndpointsRequest
316
+ include Google::Protobuf::MessageExts
317
+ extend Google::Protobuf::MessageExts::ClassMethods
318
+ end
319
+
320
+ # The response message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#list_endpoints RegistrationService.ListEndpoints}.
321
+ # @!attribute [rw] endpoints
322
+ # @return [Array<Google::Cloud::ServiceDirectory::V1beta1::Endpoint>]
323
+ # The list of endpoints.
324
+ # @!attribute [rw] next_page_token
325
+ # @return [String]
326
+ # Token to retrieve the next page of results, or empty if there are no
327
+ # more results in the list.
328
+ class ListEndpointsResponse
329
+ include Google::Protobuf::MessageExts
330
+ extend Google::Protobuf::MessageExts::ClassMethods
331
+ end
332
+
333
+ # The request message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#get_endpoint RegistrationService.GetEndpoint}.
334
+ # This should not be used to lookup endpoints at runtime. Instead, use
335
+ # the `resolve` method.
336
+ # @!attribute [rw] name
337
+ # @return [String]
338
+ # Required. The name of the endpoint to get.
339
+ class GetEndpointRequest
340
+ include Google::Protobuf::MessageExts
341
+ extend Google::Protobuf::MessageExts::ClassMethods
342
+ end
343
+
344
+ # The request message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#update_endpoint RegistrationService.UpdateEndpoint}.
345
+ # @!attribute [rw] endpoint
346
+ # @return [Google::Cloud::ServiceDirectory::V1beta1::Endpoint]
347
+ # Required. The updated endpoint.
348
+ # @!attribute [rw] update_mask
349
+ # @return [Google::Protobuf::FieldMask]
350
+ # Required. List of fields to be updated in this request.
351
+ class UpdateEndpointRequest
352
+ include Google::Protobuf::MessageExts
353
+ extend Google::Protobuf::MessageExts::ClassMethods
354
+ end
355
+
356
+ # The request message for {Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client#delete_endpoint RegistrationService.DeleteEndpoint}.
357
+ # @!attribute [rw] name
358
+ # @return [String]
359
+ # Required. The name of the endpoint to delete.
360
+ class DeleteEndpointRequest
361
+ include Google::Protobuf::MessageExts
362
+ extend Google::Protobuf::MessageExts::ClassMethods
363
+ end
364
+ end
365
+ end
366
+ end
367
+ end