google-cloud-service_directory-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 +203 -0
- data/README.md +75 -0
- data/lib/google-cloud-service_directory-v1.rb +21 -0
- data/lib/google/cloud/service_directory/v1.rb +36 -0
- data/lib/google/cloud/service_directory/v1/lookup_service.rb +49 -0
- data/lib/google/cloud/service_directory/v1/lookup_service/client.rb +402 -0
- data/lib/google/cloud/service_directory/v1/lookup_service/credentials.rb +51 -0
- data/lib/google/cloud/service_directory/v1/lookup_service/paths.rb +54 -0
- data/lib/google/cloud/service_directory/v1/registration_service.rb +63 -0
- data/lib/google/cloud/service_directory/v1/registration_service/client.rb +1796 -0
- data/lib/google/cloud/service_directory/v1/registration_service/credentials.rb +51 -0
- data/lib/google/cloud/service_directory/v1/registration_service/paths.rb +113 -0
- data/lib/google/cloud/service_directory/v1/version.rb +28 -0
- data/lib/google/cloud/servicedirectory/v1/endpoint_pb.rb +28 -0
- data/lib/google/cloud/servicedirectory/v1/lookup_service_pb.rb +33 -0
- data/lib/google/cloud/servicedirectory/v1/lookup_service_services_pb.rb +47 -0
- data/lib/google/cloud/servicedirectory/v1/namespace_pb.rb +26 -0
- data/lib/google/cloud/servicedirectory/v1/registration_service_pb.rb +125 -0
- data/lib/google/cloud/servicedirectory/v1/registration_service_services_pb.rb +95 -0
- data/lib/google/cloud/servicedirectory/v1/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 +283 -0
- data/proto_docs/google/cloud/servicedirectory/v1/endpoint.rb +82 -0
- data/proto_docs/google/cloud/servicedirectory/v1/lookup_service.rb +71 -0
- data/proto_docs/google/cloud/servicedirectory/v1/namespace.rb +52 -0
- data/proto_docs/google/cloud/servicedirectory/v1/registration_service.rb +386 -0
- data/proto_docs/google/cloud/servicedirectory/v1/service.rb +76 -0
- data/proto_docs/google/iam/v1/iam_policy.rb +80 -0
- data/proto_docs/google/iam/v1/options.rb +40 -0
- data/proto_docs/google/iam/v1/policy.rb +248 -0
- data/proto_docs/google/protobuf/empty.rb +36 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/type/expr.rb +52 -0
- metadata +239 -0
@@ -0,0 +1,51 @@
|
|
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
|
+
module Google
|
22
|
+
module Cloud
|
23
|
+
module ServiceDirectory
|
24
|
+
module V1
|
25
|
+
module RegistrationService
|
26
|
+
# Credentials for the RegistrationService API.
|
27
|
+
class Credentials < ::Google::Auth::Credentials
|
28
|
+
self.scope = [
|
29
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
30
|
+
]
|
31
|
+
self.env_vars = [
|
32
|
+
"SERVICE_DIRECTORY_CREDENTIALS",
|
33
|
+
"SERVICE_DIRECTORY_KEYFILE",
|
34
|
+
"GOOGLE_CLOUD_CREDENTIALS",
|
35
|
+
"GOOGLE_CLOUD_KEYFILE",
|
36
|
+
"GCLOUD_KEYFILE",
|
37
|
+
"SERVICE_DIRECTORY_CREDENTIALS_JSON",
|
38
|
+
"SERVICE_DIRECTORY_KEYFILE_JSON",
|
39
|
+
"GOOGLE_CLOUD_CREDENTIALS_JSON",
|
40
|
+
"GOOGLE_CLOUD_KEYFILE_JSON",
|
41
|
+
"GCLOUD_KEYFILE_JSON"
|
42
|
+
]
|
43
|
+
self.paths = [
|
44
|
+
"~/.config/google_cloud/application_default_credentials.json"
|
45
|
+
]
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,113 @@
|
|
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 V1
|
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
|
+
|
107
|
+
extend self
|
108
|
+
end
|
109
|
+
end
|
110
|
+
end
|
111
|
+
end
|
112
|
+
end
|
113
|
+
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 V1
|
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/v1/endpoint.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
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
|
+
add_file("google/cloud/servicedirectory/v1/endpoint.proto", :syntax => :proto3) do
|
11
|
+
add_message "google.cloud.servicedirectory.v1.Endpoint" do
|
12
|
+
optional :name, :string, 1
|
13
|
+
optional :address, :string, 2
|
14
|
+
optional :port, :int32, 3
|
15
|
+
map :annotations, :string, :string, 5
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module ServiceDirectory
|
23
|
+
module V1
|
24
|
+
Endpoint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.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/v1/lookup_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/v1/service_pb'
|
11
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
|
+
add_file("google/cloud/servicedirectory/v1/lookup_service.proto", :syntax => :proto3) do
|
13
|
+
add_message "google.cloud.servicedirectory.v1.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.v1.ResolveServiceResponse" do
|
19
|
+
optional :service, :message, 1, "google.cloud.servicedirectory.v1.Service"
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
module Google
|
25
|
+
module Cloud
|
26
|
+
module ServiceDirectory
|
27
|
+
module V1
|
28
|
+
ResolveServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.ResolveServiceRequest").msgclass
|
29
|
+
ResolveServiceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.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/v1/lookup_service.proto for package 'Google.Cloud.ServiceDirectory.V1'
|
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/v1/lookup_service_pb'
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module ServiceDirectory
|
25
|
+
module V1
|
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.v1.LookupService'
|
35
|
+
|
36
|
+
# Returns a [service][google.cloud.servicedirectory.v1.Service] and its
|
37
|
+
# associated endpoints.
|
38
|
+
# Resolving a service is not considered an active developer method.
|
39
|
+
rpc :ResolveService, ::Google::Cloud::ServiceDirectory::V1::ResolveServiceRequest, ::Google::Cloud::ServiceDirectory::V1::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/v1/namespace.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
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
|
+
add_file("google/cloud/servicedirectory/v1/namespace.proto", :syntax => :proto3) do
|
11
|
+
add_message "google.cloud.servicedirectory.v1.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 V1
|
22
|
+
Namespace = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.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/v1/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/v1/endpoint_pb'
|
11
|
+
require 'google/cloud/servicedirectory/v1/namespace_pb'
|
12
|
+
require 'google/cloud/servicedirectory/v1/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/v1/registration_service.proto", :syntax => :proto3) do
|
19
|
+
add_message "google.cloud.servicedirectory.v1.CreateNamespaceRequest" do
|
20
|
+
optional :parent, :string, 1
|
21
|
+
optional :namespace_id, :string, 2
|
22
|
+
optional :namespace, :message, 3, "google.cloud.servicedirectory.v1.Namespace"
|
23
|
+
end
|
24
|
+
add_message "google.cloud.servicedirectory.v1.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.v1.ListNamespacesResponse" do
|
32
|
+
repeated :namespaces, :message, 1, "google.cloud.servicedirectory.v1.Namespace"
|
33
|
+
optional :next_page_token, :string, 2
|
34
|
+
end
|
35
|
+
add_message "google.cloud.servicedirectory.v1.GetNamespaceRequest" do
|
36
|
+
optional :name, :string, 1
|
37
|
+
end
|
38
|
+
add_message "google.cloud.servicedirectory.v1.UpdateNamespaceRequest" do
|
39
|
+
optional :namespace, :message, 1, "google.cloud.servicedirectory.v1.Namespace"
|
40
|
+
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
41
|
+
end
|
42
|
+
add_message "google.cloud.servicedirectory.v1.DeleteNamespaceRequest" do
|
43
|
+
optional :name, :string, 1
|
44
|
+
end
|
45
|
+
add_message "google.cloud.servicedirectory.v1.CreateServiceRequest" do
|
46
|
+
optional :parent, :string, 1
|
47
|
+
optional :service_id, :string, 2
|
48
|
+
optional :service, :message, 3, "google.cloud.servicedirectory.v1.Service"
|
49
|
+
end
|
50
|
+
add_message "google.cloud.servicedirectory.v1.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.v1.ListServicesResponse" do
|
58
|
+
repeated :services, :message, 1, "google.cloud.servicedirectory.v1.Service"
|
59
|
+
optional :next_page_token, :string, 2
|
60
|
+
end
|
61
|
+
add_message "google.cloud.servicedirectory.v1.GetServiceRequest" do
|
62
|
+
optional :name, :string, 1
|
63
|
+
end
|
64
|
+
add_message "google.cloud.servicedirectory.v1.UpdateServiceRequest" do
|
65
|
+
optional :service, :message, 1, "google.cloud.servicedirectory.v1.Service"
|
66
|
+
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
67
|
+
end
|
68
|
+
add_message "google.cloud.servicedirectory.v1.DeleteServiceRequest" do
|
69
|
+
optional :name, :string, 1
|
70
|
+
end
|
71
|
+
add_message "google.cloud.servicedirectory.v1.CreateEndpointRequest" do
|
72
|
+
optional :parent, :string, 1
|
73
|
+
optional :endpoint_id, :string, 2
|
74
|
+
optional :endpoint, :message, 3, "google.cloud.servicedirectory.v1.Endpoint"
|
75
|
+
end
|
76
|
+
add_message "google.cloud.servicedirectory.v1.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.v1.ListEndpointsResponse" do
|
84
|
+
repeated :endpoints, :message, 1, "google.cloud.servicedirectory.v1.Endpoint"
|
85
|
+
optional :next_page_token, :string, 2
|
86
|
+
end
|
87
|
+
add_message "google.cloud.servicedirectory.v1.GetEndpointRequest" do
|
88
|
+
optional :name, :string, 1
|
89
|
+
end
|
90
|
+
add_message "google.cloud.servicedirectory.v1.UpdateEndpointRequest" do
|
91
|
+
optional :endpoint, :message, 1, "google.cloud.servicedirectory.v1.Endpoint"
|
92
|
+
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
93
|
+
end
|
94
|
+
add_message "google.cloud.servicedirectory.v1.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 V1
|
104
|
+
CreateNamespaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.CreateNamespaceRequest").msgclass
|
105
|
+
ListNamespacesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.ListNamespacesRequest").msgclass
|
106
|
+
ListNamespacesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.ListNamespacesResponse").msgclass
|
107
|
+
GetNamespaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.GetNamespaceRequest").msgclass
|
108
|
+
UpdateNamespaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.UpdateNamespaceRequest").msgclass
|
109
|
+
DeleteNamespaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.DeleteNamespaceRequest").msgclass
|
110
|
+
CreateServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.CreateServiceRequest").msgclass
|
111
|
+
ListServicesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.ListServicesRequest").msgclass
|
112
|
+
ListServicesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.ListServicesResponse").msgclass
|
113
|
+
GetServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.GetServiceRequest").msgclass
|
114
|
+
UpdateServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.UpdateServiceRequest").msgclass
|
115
|
+
DeleteServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.DeleteServiceRequest").msgclass
|
116
|
+
CreateEndpointRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.CreateEndpointRequest").msgclass
|
117
|
+
ListEndpointsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.ListEndpointsRequest").msgclass
|
118
|
+
ListEndpointsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.ListEndpointsResponse").msgclass
|
119
|
+
GetEndpointRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.GetEndpointRequest").msgclass
|
120
|
+
UpdateEndpointRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.UpdateEndpointRequest").msgclass
|
121
|
+
DeleteEndpointRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.servicedirectory.v1.DeleteEndpointRequest").msgclass
|
122
|
+
end
|
123
|
+
end
|
124
|
+
end
|
125
|
+
end
|