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.
- checksums.yaml +7 -0
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +169 -0
- data/LICENSE.md +201 -0
- data/README.md +24 -0
- data/lib/google-cloud-service_directory-v1beta1.rb +1 -0
- data/lib/google/cloud/common_resources_pb.rb +15 -0
- data/lib/google/cloud/service_directory/v1beta1.rb +20 -0
- data/lib/google/cloud/service_directory/v1beta1/lookup_service.rb +20 -0
- data/lib/google/cloud/service_directory/v1beta1/lookup_service/client.rb +406 -0
- data/lib/google/cloud/service_directory/v1beta1/lookup_service/credentials.rb +52 -0
- data/lib/google/cloud/service_directory/v1beta1/lookup_service/paths.rb +52 -0
- data/lib/google/cloud/service_directory/v1beta1/registration_service.rb +20 -0
- data/lib/google/cloud/service_directory/v1beta1/registration_service/client.rb +1666 -0
- data/lib/google/cloud/service_directory/v1beta1/registration_service/credentials.rb +52 -0
- data/lib/google/cloud/service_directory/v1beta1/registration_service/paths.rb +111 -0
- data/lib/google/cloud/service_directory/v1beta1/version.rb +28 -0
- data/lib/google/cloud/servicedirectory/v1beta1/endpoint_pb.rb +28 -0
- data/lib/google/cloud/servicedirectory/v1beta1/lookup_service_pb.rb +33 -0
- data/lib/google/cloud/servicedirectory/v1beta1/lookup_service_services_pb.rb +47 -0
- data/lib/google/cloud/servicedirectory/v1beta1/namespace_pb.rb +26 -0
- data/lib/google/cloud/servicedirectory/v1beta1/registration_service_pb.rb +125 -0
- data/lib/google/cloud/servicedirectory/v1beta1/registration_service_services_pb.rb +95 -0
- data/lib/google/cloud/servicedirectory/v1beta1/service_pb.rb +28 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/field_behavior.rb +59 -0
- data/proto_docs/google/api/resource.rb +247 -0
- data/proto_docs/google/cloud/servicedirectory/v1beta1/endpoint.rb +66 -0
- data/proto_docs/google/cloud/servicedirectory/v1beta1/lookup_service.rb +69 -0
- data/proto_docs/google/cloud/servicedirectory/v1beta1/namespace.rb +52 -0
- data/proto_docs/google/cloud/servicedirectory/v1beta1/registration_service.rb +367 -0
- data/proto_docs/google/cloud/servicedirectory/v1beta1/service.rb +58 -0
- data/proto_docs/google/iam/v1/iam_policy.rb +79 -0
- data/proto_docs/google/iam/v1/policy.rb +156 -0
- data/proto_docs/google/protobuf/empty.rb +36 -0
- data/proto_docs/google/protobuf/field_mask.rb +237 -0
- metadata +205 -0
@@ -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
|
+
require "googleauth"
|
20
|
+
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module ServiceDirectory
|
25
|
+
module V1beta1
|
26
|
+
module RegistrationService
|
27
|
+
# Credentials for the RegistrationService API.
|
28
|
+
class Credentials < Google::Auth::Credentials
|
29
|
+
self.scope = [
|
30
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
31
|
+
]
|
32
|
+
self.env_vars = [
|
33
|
+
"SERVICE_DIRECTORY_CREDENTIALS",
|
34
|
+
"SERVICE_DIRECTORY_KEYFILE",
|
35
|
+
"GOOGLE_CLOUD_CREDENTIALS",
|
36
|
+
"GOOGLE_CLOUD_KEYFILE",
|
37
|
+
"GCLOUD_KEYFILE",
|
38
|
+
"SERVICE_DIRECTORY_CREDENTIALS_JSON",
|
39
|
+
"SERVICE_DIRECTORY_KEYFILE_JSON",
|
40
|
+
"GOOGLE_CLOUD_CREDENTIALS_JSON",
|
41
|
+
"GOOGLE_CLOUD_KEYFILE_JSON",
|
42
|
+
"GCLOUD_KEYFILE_JSON"
|
43
|
+
]
|
44
|
+
self.paths = [
|
45
|
+
"~/.config/google_cloud/application_default_credentials.json"
|
46
|
+
]
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
@@ -0,0 +1,111 @@
|
|
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
|
+
module RegistrationService
|
25
|
+
# Path helper methods for the RegistrationService API.
|
26
|
+
module Paths
|
27
|
+
##
|
28
|
+
# Create a fully-qualified Endpoint resource string.
|
29
|
+
#
|
30
|
+
# The resource will be in the following format:
|
31
|
+
#
|
32
|
+
# `projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}/endpoints/{endpoint}`
|
33
|
+
#
|
34
|
+
# @param project [String]
|
35
|
+
# @param location [String]
|
36
|
+
# @param namespace [String]
|
37
|
+
# @param service [String]
|
38
|
+
# @param endpoint [String]
|
39
|
+
#
|
40
|
+
# @return [String]
|
41
|
+
def endpoint_path project:, location:, namespace:, service:, endpoint:
|
42
|
+
raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
43
|
+
raise ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
44
|
+
raise ArgumentError, "namespace cannot contain /" if namespace.to_s.include? "/"
|
45
|
+
raise ArgumentError, "service cannot contain /" if service.to_s.include? "/"
|
46
|
+
|
47
|
+
"projects/#{project}/locations/#{location}/namespaces/#{namespace}/services/#{service}/endpoints/#{endpoint}"
|
48
|
+
end
|
49
|
+
|
50
|
+
##
|
51
|
+
# Create a fully-qualified Location resource string.
|
52
|
+
#
|
53
|
+
# The resource will be in the following format:
|
54
|
+
#
|
55
|
+
# `projects/{project}/locations/{location}`
|
56
|
+
#
|
57
|
+
# @param project [String]
|
58
|
+
# @param location [String]
|
59
|
+
#
|
60
|
+
# @return [String]
|
61
|
+
def location_path project:, location:
|
62
|
+
raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
63
|
+
|
64
|
+
"projects/#{project}/locations/#{location}"
|
65
|
+
end
|
66
|
+
|
67
|
+
##
|
68
|
+
# Create a fully-qualified Namespace resource string.
|
69
|
+
#
|
70
|
+
# The resource will be in the following format:
|
71
|
+
#
|
72
|
+
# `projects/{project}/locations/{location}/namespaces/{namespace}`
|
73
|
+
#
|
74
|
+
# @param project [String]
|
75
|
+
# @param location [String]
|
76
|
+
# @param namespace [String]
|
77
|
+
#
|
78
|
+
# @return [String]
|
79
|
+
def namespace_path project:, location:, namespace:
|
80
|
+
raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
81
|
+
raise ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
82
|
+
|
83
|
+
"projects/#{project}/locations/#{location}/namespaces/#{namespace}"
|
84
|
+
end
|
85
|
+
|
86
|
+
##
|
87
|
+
# Create a fully-qualified Service resource string.
|
88
|
+
#
|
89
|
+
# The resource will be in the following format:
|
90
|
+
#
|
91
|
+
# `projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}`
|
92
|
+
#
|
93
|
+
# @param project [String]
|
94
|
+
# @param location [String]
|
95
|
+
# @param namespace [String]
|
96
|
+
# @param service [String]
|
97
|
+
#
|
98
|
+
# @return [String]
|
99
|
+
def service_path project:, location:, namespace:, service:
|
100
|
+
raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
101
|
+
raise ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
102
|
+
raise ArgumentError, "namespace cannot contain /" if namespace.to_s.include? "/"
|
103
|
+
|
104
|
+
"projects/#{project}/locations/#{location}/namespaces/#{namespace}/services/#{service}"
|
105
|
+
end
|
106
|
+
end
|
107
|
+
end
|
108
|
+
end
|
109
|
+
end
|
110
|
+
end
|
111
|
+
end
|
@@ -0,0 +1,28 @@
|
|
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
|
+
VERSION = "0.1.0"
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/servicedirectory/v1beta1/endpoint.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/field_behavior_pb'
|
7
|
+
require 'google/api/resource_pb'
|
8
|
+
require 'google/api/annotations_pb'
|
9
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
|
+
add_file("google/cloud/servicedirectory/v1beta1/endpoint.proto", :syntax => :proto3) do
|
11
|
+
add_message "google.cloud.servicedirectory.v1beta1.Endpoint" do
|
12
|
+
optional :name, :string, 1
|
13
|
+
optional :address, :string, 2
|
14
|
+
optional :port, :int32, 3
|
15
|
+
map :metadata, :string, :string, 4
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module ServiceDirectory
|
23
|
+
module V1beta1
|
24
|
+
Endpoint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1beta1.Endpoint").msgclass
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/servicedirectory/v1beta1/lookup_service.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/annotations_pb'
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/resource_pb'
|
9
|
+
require 'google/cloud/servicedirectory/v1beta1/service_pb'
|
10
|
+
require 'google/api/client_pb'
|
11
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
|
+
add_file("google/cloud/servicedirectory/v1beta1/lookup_service.proto", :syntax => :proto3) do
|
13
|
+
add_message "google.cloud.servicedirectory.v1beta1.ResolveServiceRequest" do
|
14
|
+
optional :name, :string, 1
|
15
|
+
optional :max_endpoints, :int32, 2
|
16
|
+
optional :endpoint_filter, :string, 3
|
17
|
+
end
|
18
|
+
add_message "google.cloud.servicedirectory.v1beta1.ResolveServiceResponse" do
|
19
|
+
optional :service, :message, 1, "google.cloud.servicedirectory.v1beta1.Service"
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
module Google
|
25
|
+
module Cloud
|
26
|
+
module ServiceDirectory
|
27
|
+
module V1beta1
|
28
|
+
ResolveServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1beta1.ResolveServiceRequest").msgclass
|
29
|
+
ResolveServiceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1beta1.ResolveServiceResponse").msgclass
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: google/cloud/servicedirectory/v1beta1/lookup_service.proto for package 'Google.Cloud.ServiceDirectory.V1beta1'
|
3
|
+
# Original file comments:
|
4
|
+
# Copyright 2020 Google LLC
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#
|
18
|
+
|
19
|
+
require 'grpc'
|
20
|
+
require 'google/cloud/servicedirectory/v1beta1/lookup_service_pb'
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module ServiceDirectory
|
25
|
+
module V1beta1
|
26
|
+
module LookupService
|
27
|
+
# Service Directory API for looking up service data at runtime.
|
28
|
+
class Service
|
29
|
+
|
30
|
+
include GRPC::GenericService
|
31
|
+
|
32
|
+
self.marshal_class_method = :encode
|
33
|
+
self.unmarshal_class_method = :decode
|
34
|
+
self.service_name = 'google.cloud.servicedirectory.v1beta1.LookupService'
|
35
|
+
|
36
|
+
# Returns a [service][google.cloud.servicedirectory.v1beta1.Service] and its
|
37
|
+
# associated endpoints.
|
38
|
+
# Resolving a service is not considered an active developer method.
|
39
|
+
rpc :ResolveService, Google::Cloud::ServiceDirectory::V1beta1::ResolveServiceRequest, Google::Cloud::ServiceDirectory::V1beta1::ResolveServiceResponse
|
40
|
+
end
|
41
|
+
|
42
|
+
Stub = Service.rpc_stub_class
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/servicedirectory/v1beta1/namespace.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/field_behavior_pb'
|
7
|
+
require 'google/api/resource_pb'
|
8
|
+
require 'google/api/annotations_pb'
|
9
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
|
+
add_file("google/cloud/servicedirectory/v1beta1/namespace.proto", :syntax => :proto3) do
|
11
|
+
add_message "google.cloud.servicedirectory.v1beta1.Namespace" do
|
12
|
+
optional :name, :string, 1
|
13
|
+
map :labels, :string, :string, 2
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
module Google
|
19
|
+
module Cloud
|
20
|
+
module ServiceDirectory
|
21
|
+
module V1beta1
|
22
|
+
Namespace = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1beta1.Namespace").msgclass
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,125 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/servicedirectory/v1beta1/registration_service.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/cloud/servicedirectory/v1beta1/endpoint_pb'
|
11
|
+
require 'google/cloud/servicedirectory/v1beta1/namespace_pb'
|
12
|
+
require 'google/cloud/servicedirectory/v1beta1/service_pb'
|
13
|
+
require 'google/iam/v1/iam_policy_pb'
|
14
|
+
require 'google/iam/v1/policy_pb'
|
15
|
+
require 'google/protobuf/empty_pb'
|
16
|
+
require 'google/protobuf/field_mask_pb'
|
17
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
18
|
+
add_file("google/cloud/servicedirectory/v1beta1/registration_service.proto", :syntax => :proto3) do
|
19
|
+
add_message "google.cloud.servicedirectory.v1beta1.CreateNamespaceRequest" do
|
20
|
+
optional :parent, :string, 1
|
21
|
+
optional :namespace_id, :string, 2
|
22
|
+
optional :namespace, :message, 3, "google.cloud.servicedirectory.v1beta1.Namespace"
|
23
|
+
end
|
24
|
+
add_message "google.cloud.servicedirectory.v1beta1.ListNamespacesRequest" do
|
25
|
+
optional :parent, :string, 1
|
26
|
+
optional :page_size, :int32, 2
|
27
|
+
optional :page_token, :string, 3
|
28
|
+
optional :filter, :string, 4
|
29
|
+
optional :order_by, :string, 5
|
30
|
+
end
|
31
|
+
add_message "google.cloud.servicedirectory.v1beta1.ListNamespacesResponse" do
|
32
|
+
repeated :namespaces, :message, 1, "google.cloud.servicedirectory.v1beta1.Namespace"
|
33
|
+
optional :next_page_token, :string, 2
|
34
|
+
end
|
35
|
+
add_message "google.cloud.servicedirectory.v1beta1.GetNamespaceRequest" do
|
36
|
+
optional :name, :string, 1
|
37
|
+
end
|
38
|
+
add_message "google.cloud.servicedirectory.v1beta1.UpdateNamespaceRequest" do
|
39
|
+
optional :namespace, :message, 1, "google.cloud.servicedirectory.v1beta1.Namespace"
|
40
|
+
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
41
|
+
end
|
42
|
+
add_message "google.cloud.servicedirectory.v1beta1.DeleteNamespaceRequest" do
|
43
|
+
optional :name, :string, 1
|
44
|
+
end
|
45
|
+
add_message "google.cloud.servicedirectory.v1beta1.CreateServiceRequest" do
|
46
|
+
optional :parent, :string, 1
|
47
|
+
optional :service_id, :string, 2
|
48
|
+
optional :service, :message, 3, "google.cloud.servicedirectory.v1beta1.Service"
|
49
|
+
end
|
50
|
+
add_message "google.cloud.servicedirectory.v1beta1.ListServicesRequest" 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.servicedirectory.v1beta1.ListServicesResponse" do
|
58
|
+
repeated :services, :message, 1, "google.cloud.servicedirectory.v1beta1.Service"
|
59
|
+
optional :next_page_token, :string, 2
|
60
|
+
end
|
61
|
+
add_message "google.cloud.servicedirectory.v1beta1.GetServiceRequest" do
|
62
|
+
optional :name, :string, 1
|
63
|
+
end
|
64
|
+
add_message "google.cloud.servicedirectory.v1beta1.UpdateServiceRequest" do
|
65
|
+
optional :service, :message, 1, "google.cloud.servicedirectory.v1beta1.Service"
|
66
|
+
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
67
|
+
end
|
68
|
+
add_message "google.cloud.servicedirectory.v1beta1.DeleteServiceRequest" do
|
69
|
+
optional :name, :string, 1
|
70
|
+
end
|
71
|
+
add_message "google.cloud.servicedirectory.v1beta1.CreateEndpointRequest" do
|
72
|
+
optional :parent, :string, 1
|
73
|
+
optional :endpoint_id, :string, 2
|
74
|
+
optional :endpoint, :message, 3, "google.cloud.servicedirectory.v1beta1.Endpoint"
|
75
|
+
end
|
76
|
+
add_message "google.cloud.servicedirectory.v1beta1.ListEndpointsRequest" do
|
77
|
+
optional :parent, :string, 1
|
78
|
+
optional :page_size, :int32, 2
|
79
|
+
optional :page_token, :string, 3
|
80
|
+
optional :filter, :string, 4
|
81
|
+
optional :order_by, :string, 5
|
82
|
+
end
|
83
|
+
add_message "google.cloud.servicedirectory.v1beta1.ListEndpointsResponse" do
|
84
|
+
repeated :endpoints, :message, 1, "google.cloud.servicedirectory.v1beta1.Endpoint"
|
85
|
+
optional :next_page_token, :string, 2
|
86
|
+
end
|
87
|
+
add_message "google.cloud.servicedirectory.v1beta1.GetEndpointRequest" do
|
88
|
+
optional :name, :string, 1
|
89
|
+
end
|
90
|
+
add_message "google.cloud.servicedirectory.v1beta1.UpdateEndpointRequest" do
|
91
|
+
optional :endpoint, :message, 1, "google.cloud.servicedirectory.v1beta1.Endpoint"
|
92
|
+
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
93
|
+
end
|
94
|
+
add_message "google.cloud.servicedirectory.v1beta1.DeleteEndpointRequest" do
|
95
|
+
optional :name, :string, 1
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
module Google
|
101
|
+
module Cloud
|
102
|
+
module ServiceDirectory
|
103
|
+
module V1beta1
|
104
|
+
CreateNamespaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1beta1.CreateNamespaceRequest").msgclass
|
105
|
+
ListNamespacesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1beta1.ListNamespacesRequest").msgclass
|
106
|
+
ListNamespacesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1beta1.ListNamespacesResponse").msgclass
|
107
|
+
GetNamespaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1beta1.GetNamespaceRequest").msgclass
|
108
|
+
UpdateNamespaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1beta1.UpdateNamespaceRequest").msgclass
|
109
|
+
DeleteNamespaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1beta1.DeleteNamespaceRequest").msgclass
|
110
|
+
CreateServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1beta1.CreateServiceRequest").msgclass
|
111
|
+
ListServicesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1beta1.ListServicesRequest").msgclass
|
112
|
+
ListServicesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1beta1.ListServicesResponse").msgclass
|
113
|
+
GetServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1beta1.GetServiceRequest").msgclass
|
114
|
+
UpdateServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1beta1.UpdateServiceRequest").msgclass
|
115
|
+
DeleteServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1beta1.DeleteServiceRequest").msgclass
|
116
|
+
CreateEndpointRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1beta1.CreateEndpointRequest").msgclass
|
117
|
+
ListEndpointsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1beta1.ListEndpointsRequest").msgclass
|
118
|
+
ListEndpointsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1beta1.ListEndpointsResponse").msgclass
|
119
|
+
GetEndpointRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1beta1.GetEndpointRequest").msgclass
|
120
|
+
UpdateEndpointRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1beta1.UpdateEndpointRequest").msgclass
|
121
|
+
DeleteEndpointRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1beta1.DeleteEndpointRequest").msgclass
|
122
|
+
end
|
123
|
+
end
|
124
|
+
end
|
125
|
+
end
|