google-cloud-api_gateway-v1 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,153 @@
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 ApiGateway
23
+ module V1
24
+ module ApiGatewayService
25
+ # Path helper methods for the ApiGatewayService API.
26
+ module Paths
27
+ ##
28
+ # Create a fully-qualified Api resource string.
29
+ #
30
+ # The resource will be in the following format:
31
+ #
32
+ # `projects/{project}/locations/global/apis/{api}`
33
+ #
34
+ # @param project [String]
35
+ # @param api [String]
36
+ #
37
+ # @return [::String]
38
+ def api_path project:, api:
39
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
40
+
41
+ "projects/#{project}/locations/global/apis/#{api}"
42
+ end
43
+
44
+ ##
45
+ # Create a fully-qualified ApiConfig resource string.
46
+ #
47
+ # The resource will be in the following format:
48
+ #
49
+ # `projects/{project}/locations/global/apis/{api}/configs/{api_config}`
50
+ #
51
+ # @param project [String]
52
+ # @param api [String]
53
+ # @param api_config [String]
54
+ #
55
+ # @return [::String]
56
+ def api_config_path project:, api:, api_config:
57
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
58
+ raise ::ArgumentError, "api cannot contain /" if api.to_s.include? "/"
59
+
60
+ "projects/#{project}/locations/global/apis/#{api}/configs/#{api_config}"
61
+ end
62
+
63
+ ##
64
+ # Create a fully-qualified Gateway resource string.
65
+ #
66
+ # The resource will be in the following format:
67
+ #
68
+ # `projects/{project}/locations/{location}/gateways/{gateway}`
69
+ #
70
+ # @param project [String]
71
+ # @param location [String]
72
+ # @param gateway [String]
73
+ #
74
+ # @return [::String]
75
+ def gateway_path project:, location:, gateway:
76
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
77
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
78
+
79
+ "projects/#{project}/locations/#{location}/gateways/#{gateway}"
80
+ end
81
+
82
+ ##
83
+ # Create a fully-qualified Location resource string.
84
+ #
85
+ # The resource will be in the following format:
86
+ #
87
+ # `projects/{project}/locations/{location}`
88
+ #
89
+ # @param project [String]
90
+ # @param location [String]
91
+ #
92
+ # @return [::String]
93
+ def location_path project:, location:
94
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
95
+
96
+ "projects/#{project}/locations/#{location}"
97
+ end
98
+
99
+ ##
100
+ # Create a fully-qualified ManagedService resource string.
101
+ #
102
+ # The resource will be in the following format:
103
+ #
104
+ # `services/{service}`
105
+ #
106
+ # @param service [String]
107
+ #
108
+ # @return [::String]
109
+ def managed_service_path service:
110
+ "services/#{service}"
111
+ end
112
+
113
+ ##
114
+ # Create a fully-qualified Service resource string.
115
+ #
116
+ # The resource will be in the following format:
117
+ #
118
+ # `services/{service}/configs/{config}`
119
+ #
120
+ # @param service [String]
121
+ # @param config [String]
122
+ #
123
+ # @return [::String]
124
+ def service_path service:, config:
125
+ raise ::ArgumentError, "service cannot contain /" if service.to_s.include? "/"
126
+
127
+ "services/#{service}/configs/#{config}"
128
+ end
129
+
130
+ ##
131
+ # Create a fully-qualified ServiceAccount resource string.
132
+ #
133
+ # The resource will be in the following format:
134
+ #
135
+ # `projects/{project}/serviceAccounts/{service_account}`
136
+ #
137
+ # @param project [String]
138
+ # @param service_account [String]
139
+ #
140
+ # @return [::String]
141
+ def service_account_path project:, service_account:
142
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
143
+
144
+ "projects/#{project}/serviceAccounts/#{service_account}"
145
+ end
146
+
147
+ extend self
148
+ end
149
+ end
150
+ end
151
+ end
152
+ end
153
+ end
@@ -0,0 +1,28 @@
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 ApiGateway
23
+ module V1
24
+ VERSION = "0.1.0"
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,222 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/apigateway/v1/apigateway.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/field_behavior_pb'
7
+ require 'google/api/resource_pb'
8
+ require 'google/protobuf/field_mask_pb'
9
+ require 'google/protobuf/timestamp_pb'
10
+ require 'google/api/annotations_pb'
11
+ Google::Protobuf::DescriptorPool.generated_pool.build do
12
+ add_file("google/cloud/apigateway/v1/apigateway.proto", :syntax => :proto3) do
13
+ add_message "google.cloud.apigateway.v1.Api" do
14
+ optional :name, :string, 1
15
+ optional :create_time, :message, 2, "google.protobuf.Timestamp"
16
+ optional :update_time, :message, 3, "google.protobuf.Timestamp"
17
+ map :labels, :string, :string, 4
18
+ optional :display_name, :string, 5
19
+ optional :managed_service, :string, 7
20
+ optional :state, :enum, 12, "google.cloud.apigateway.v1.Api.State"
21
+ end
22
+ add_enum "google.cloud.apigateway.v1.Api.State" do
23
+ value :STATE_UNSPECIFIED, 0
24
+ value :CREATING, 1
25
+ value :ACTIVE, 2
26
+ value :FAILED, 3
27
+ value :DELETING, 4
28
+ value :UPDATING, 5
29
+ end
30
+ add_message "google.cloud.apigateway.v1.ApiConfig" do
31
+ optional :name, :string, 1
32
+ optional :create_time, :message, 2, "google.protobuf.Timestamp"
33
+ optional :update_time, :message, 3, "google.protobuf.Timestamp"
34
+ map :labels, :string, :string, 4
35
+ optional :display_name, :string, 5
36
+ optional :gateway_service_account, :string, 14
37
+ optional :service_config_id, :string, 12
38
+ optional :state, :enum, 8, "google.cloud.apigateway.v1.ApiConfig.State"
39
+ repeated :openapi_documents, :message, 9, "google.cloud.apigateway.v1.ApiConfig.OpenApiDocument"
40
+ repeated :grpc_services, :message, 10, "google.cloud.apigateway.v1.ApiConfig.GrpcServiceDefinition"
41
+ repeated :managed_service_configs, :message, 11, "google.cloud.apigateway.v1.ApiConfig.File"
42
+ end
43
+ add_message "google.cloud.apigateway.v1.ApiConfig.File" do
44
+ optional :path, :string, 1
45
+ optional :contents, :bytes, 2
46
+ end
47
+ add_message "google.cloud.apigateway.v1.ApiConfig.OpenApiDocument" do
48
+ optional :document, :message, 1, "google.cloud.apigateway.v1.ApiConfig.File"
49
+ end
50
+ add_message "google.cloud.apigateway.v1.ApiConfig.GrpcServiceDefinition" do
51
+ optional :file_descriptor_set, :message, 1, "google.cloud.apigateway.v1.ApiConfig.File"
52
+ repeated :source, :message, 2, "google.cloud.apigateway.v1.ApiConfig.File"
53
+ end
54
+ add_enum "google.cloud.apigateway.v1.ApiConfig.State" do
55
+ value :STATE_UNSPECIFIED, 0
56
+ value :CREATING, 1
57
+ value :ACTIVE, 2
58
+ value :FAILED, 3
59
+ value :DELETING, 4
60
+ value :UPDATING, 5
61
+ value :ACTIVATING, 6
62
+ end
63
+ add_message "google.cloud.apigateway.v1.Gateway" do
64
+ optional :name, :string, 1
65
+ optional :create_time, :message, 2, "google.protobuf.Timestamp"
66
+ optional :update_time, :message, 3, "google.protobuf.Timestamp"
67
+ map :labels, :string, :string, 4
68
+ optional :display_name, :string, 5
69
+ optional :api_config, :string, 6
70
+ optional :state, :enum, 7, "google.cloud.apigateway.v1.Gateway.State"
71
+ optional :default_hostname, :string, 9
72
+ end
73
+ add_enum "google.cloud.apigateway.v1.Gateway.State" do
74
+ value :STATE_UNSPECIFIED, 0
75
+ value :CREATING, 1
76
+ value :ACTIVE, 2
77
+ value :FAILED, 3
78
+ value :DELETING, 4
79
+ value :UPDATING, 5
80
+ end
81
+ add_message "google.cloud.apigateway.v1.ListGatewaysRequest" do
82
+ optional :parent, :string, 1
83
+ optional :page_size, :int32, 2
84
+ optional :page_token, :string, 3
85
+ optional :filter, :string, 4
86
+ optional :order_by, :string, 5
87
+ end
88
+ add_message "google.cloud.apigateway.v1.ListGatewaysResponse" do
89
+ repeated :gateways, :message, 1, "google.cloud.apigateway.v1.Gateway"
90
+ optional :next_page_token, :string, 2
91
+ repeated :unreachable_locations, :string, 3
92
+ end
93
+ add_message "google.cloud.apigateway.v1.GetGatewayRequest" do
94
+ optional :name, :string, 1
95
+ end
96
+ add_message "google.cloud.apigateway.v1.CreateGatewayRequest" do
97
+ optional :parent, :string, 1
98
+ optional :gateway_id, :string, 2
99
+ optional :gateway, :message, 3, "google.cloud.apigateway.v1.Gateway"
100
+ end
101
+ add_message "google.cloud.apigateway.v1.UpdateGatewayRequest" do
102
+ optional :update_mask, :message, 1, "google.protobuf.FieldMask"
103
+ optional :gateway, :message, 2, "google.cloud.apigateway.v1.Gateway"
104
+ end
105
+ add_message "google.cloud.apigateway.v1.DeleteGatewayRequest" do
106
+ optional :name, :string, 1
107
+ end
108
+ add_message "google.cloud.apigateway.v1.ListApisRequest" do
109
+ optional :parent, :string, 1
110
+ optional :page_size, :int32, 2
111
+ optional :page_token, :string, 3
112
+ optional :filter, :string, 4
113
+ optional :order_by, :string, 5
114
+ end
115
+ add_message "google.cloud.apigateway.v1.ListApisResponse" do
116
+ repeated :apis, :message, 1, "google.cloud.apigateway.v1.Api"
117
+ optional :next_page_token, :string, 2
118
+ repeated :unreachable_locations, :string, 3
119
+ end
120
+ add_message "google.cloud.apigateway.v1.GetApiRequest" do
121
+ optional :name, :string, 1
122
+ end
123
+ add_message "google.cloud.apigateway.v1.CreateApiRequest" do
124
+ optional :parent, :string, 1
125
+ optional :api_id, :string, 2
126
+ optional :api, :message, 3, "google.cloud.apigateway.v1.Api"
127
+ end
128
+ add_message "google.cloud.apigateway.v1.UpdateApiRequest" do
129
+ optional :update_mask, :message, 1, "google.protobuf.FieldMask"
130
+ optional :api, :message, 2, "google.cloud.apigateway.v1.Api"
131
+ end
132
+ add_message "google.cloud.apigateway.v1.DeleteApiRequest" do
133
+ optional :name, :string, 1
134
+ end
135
+ add_message "google.cloud.apigateway.v1.ListApiConfigsRequest" do
136
+ optional :parent, :string, 1
137
+ optional :page_size, :int32, 2
138
+ optional :page_token, :string, 3
139
+ optional :filter, :string, 4
140
+ optional :order_by, :string, 5
141
+ end
142
+ add_message "google.cloud.apigateway.v1.ListApiConfigsResponse" do
143
+ repeated :api_configs, :message, 1, "google.cloud.apigateway.v1.ApiConfig"
144
+ optional :next_page_token, :string, 2
145
+ repeated :unreachable_locations, :string, 3
146
+ end
147
+ add_message "google.cloud.apigateway.v1.GetApiConfigRequest" do
148
+ optional :name, :string, 1
149
+ optional :view, :enum, 3, "google.cloud.apigateway.v1.GetApiConfigRequest.ConfigView"
150
+ end
151
+ add_enum "google.cloud.apigateway.v1.GetApiConfigRequest.ConfigView" do
152
+ value :CONFIG_VIEW_UNSPECIFIED, 0
153
+ value :BASIC, 1
154
+ value :FULL, 2
155
+ end
156
+ add_message "google.cloud.apigateway.v1.CreateApiConfigRequest" do
157
+ optional :parent, :string, 1
158
+ optional :api_config_id, :string, 2
159
+ optional :api_config, :message, 3, "google.cloud.apigateway.v1.ApiConfig"
160
+ end
161
+ add_message "google.cloud.apigateway.v1.UpdateApiConfigRequest" do
162
+ optional :update_mask, :message, 1, "google.protobuf.FieldMask"
163
+ optional :api_config, :message, 2, "google.cloud.apigateway.v1.ApiConfig"
164
+ end
165
+ add_message "google.cloud.apigateway.v1.DeleteApiConfigRequest" do
166
+ optional :name, :string, 1
167
+ end
168
+ add_message "google.cloud.apigateway.v1.OperationMetadata" do
169
+ optional :create_time, :message, 1, "google.protobuf.Timestamp"
170
+ optional :end_time, :message, 2, "google.protobuf.Timestamp"
171
+ optional :target, :string, 3
172
+ optional :verb, :string, 4
173
+ optional :status_message, :string, 5
174
+ optional :requested_cancellation, :bool, 6
175
+ optional :api_version, :string, 7
176
+ repeated :diagnostics, :message, 8, "google.cloud.apigateway.v1.OperationMetadata.Diagnostic"
177
+ end
178
+ add_message "google.cloud.apigateway.v1.OperationMetadata.Diagnostic" do
179
+ optional :location, :string, 1
180
+ optional :message, :string, 2
181
+ end
182
+ end
183
+ end
184
+
185
+ module Google
186
+ module Cloud
187
+ module ApiGateway
188
+ module V1
189
+ Api = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apigateway.v1.Api").msgclass
190
+ Api::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apigateway.v1.Api.State").enummodule
191
+ ApiConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apigateway.v1.ApiConfig").msgclass
192
+ ApiConfig::File = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apigateway.v1.ApiConfig.File").msgclass
193
+ ApiConfig::OpenApiDocument = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apigateway.v1.ApiConfig.OpenApiDocument").msgclass
194
+ ApiConfig::GrpcServiceDefinition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apigateway.v1.ApiConfig.GrpcServiceDefinition").msgclass
195
+ ApiConfig::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apigateway.v1.ApiConfig.State").enummodule
196
+ Gateway = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apigateway.v1.Gateway").msgclass
197
+ Gateway::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apigateway.v1.Gateway.State").enummodule
198
+ ListGatewaysRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apigateway.v1.ListGatewaysRequest").msgclass
199
+ ListGatewaysResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apigateway.v1.ListGatewaysResponse").msgclass
200
+ GetGatewayRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apigateway.v1.GetGatewayRequest").msgclass
201
+ CreateGatewayRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apigateway.v1.CreateGatewayRequest").msgclass
202
+ UpdateGatewayRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apigateway.v1.UpdateGatewayRequest").msgclass
203
+ DeleteGatewayRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apigateway.v1.DeleteGatewayRequest").msgclass
204
+ ListApisRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apigateway.v1.ListApisRequest").msgclass
205
+ ListApisResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apigateway.v1.ListApisResponse").msgclass
206
+ GetApiRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apigateway.v1.GetApiRequest").msgclass
207
+ CreateApiRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apigateway.v1.CreateApiRequest").msgclass
208
+ UpdateApiRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apigateway.v1.UpdateApiRequest").msgclass
209
+ DeleteApiRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apigateway.v1.DeleteApiRequest").msgclass
210
+ ListApiConfigsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apigateway.v1.ListApiConfigsRequest").msgclass
211
+ ListApiConfigsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apigateway.v1.ListApiConfigsResponse").msgclass
212
+ GetApiConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apigateway.v1.GetApiConfigRequest").msgclass
213
+ GetApiConfigRequest::ConfigView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apigateway.v1.GetApiConfigRequest.ConfigView").enummodule
214
+ CreateApiConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apigateway.v1.CreateApiConfigRequest").msgclass
215
+ UpdateApiConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apigateway.v1.UpdateApiConfigRequest").msgclass
216
+ DeleteApiConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apigateway.v1.DeleteApiConfigRequest").msgclass
217
+ OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apigateway.v1.OperationMetadata").msgclass
218
+ OperationMetadata::Diagnostic = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.apigateway.v1.OperationMetadata.Diagnostic").msgclass
219
+ end
220
+ end
221
+ end
222
+ end
@@ -0,0 +1,22 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/apigateway/v1/apigateway_service.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/annotations_pb'
7
+ require 'google/api/client_pb'
8
+ require 'google/cloud/apigateway/v1/apigateway_pb'
9
+ require 'google/longrunning/operations_pb'
10
+ Google::Protobuf::DescriptorPool.generated_pool.build do
11
+ add_file("google/cloud/apigateway/v1/apigateway_service.proto", :syntax => :proto3) do
12
+ end
13
+ end
14
+
15
+ module Google
16
+ module Cloud
17
+ module ApiGateway
18
+ module V1
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,73 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/apigateway/v1/apigateway_service.proto for package 'Google.Cloud.ApiGateway.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/apigateway/v1/apigateway_service_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module ApiGateway
25
+ module V1
26
+ module ApiGatewayService
27
+ # The API Gateway Service is the interface for managing API Gateways.
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.apigateway.v1.ApiGatewayService'
35
+
36
+ # Lists Gateways in a given project and location.
37
+ rpc :ListGateways, ::Google::Cloud::ApiGateway::V1::ListGatewaysRequest, ::Google::Cloud::ApiGateway::V1::ListGatewaysResponse
38
+ # Gets details of a single Gateway.
39
+ rpc :GetGateway, ::Google::Cloud::ApiGateway::V1::GetGatewayRequest, ::Google::Cloud::ApiGateway::V1::Gateway
40
+ # Creates a new Gateway in a given project and location.
41
+ rpc :CreateGateway, ::Google::Cloud::ApiGateway::V1::CreateGatewayRequest, ::Google::Longrunning::Operation
42
+ # Updates the parameters of a single Gateway.
43
+ rpc :UpdateGateway, ::Google::Cloud::ApiGateway::V1::UpdateGatewayRequest, ::Google::Longrunning::Operation
44
+ # Deletes a single Gateway.
45
+ rpc :DeleteGateway, ::Google::Cloud::ApiGateway::V1::DeleteGatewayRequest, ::Google::Longrunning::Operation
46
+ # Lists Apis in a given project and location.
47
+ rpc :ListApis, ::Google::Cloud::ApiGateway::V1::ListApisRequest, ::Google::Cloud::ApiGateway::V1::ListApisResponse
48
+ # Gets details of a single Api.
49
+ rpc :GetApi, ::Google::Cloud::ApiGateway::V1::GetApiRequest, ::Google::Cloud::ApiGateway::V1::Api
50
+ # Creates a new Api in a given project and location.
51
+ rpc :CreateApi, ::Google::Cloud::ApiGateway::V1::CreateApiRequest, ::Google::Longrunning::Operation
52
+ # Updates the parameters of a single Api.
53
+ rpc :UpdateApi, ::Google::Cloud::ApiGateway::V1::UpdateApiRequest, ::Google::Longrunning::Operation
54
+ # Deletes a single Api.
55
+ rpc :DeleteApi, ::Google::Cloud::ApiGateway::V1::DeleteApiRequest, ::Google::Longrunning::Operation
56
+ # Lists ApiConfigs in a given project and location.
57
+ rpc :ListApiConfigs, ::Google::Cloud::ApiGateway::V1::ListApiConfigsRequest, ::Google::Cloud::ApiGateway::V1::ListApiConfigsResponse
58
+ # Gets details of a single ApiConfig.
59
+ rpc :GetApiConfig, ::Google::Cloud::ApiGateway::V1::GetApiConfigRequest, ::Google::Cloud::ApiGateway::V1::ApiConfig
60
+ # Creates a new ApiConfig in a given project and location.
61
+ rpc :CreateApiConfig, ::Google::Cloud::ApiGateway::V1::CreateApiConfigRequest, ::Google::Longrunning::Operation
62
+ # Updates the parameters of a single ApiConfig.
63
+ rpc :UpdateApiConfig, ::Google::Cloud::ApiGateway::V1::UpdateApiConfigRequest, ::Google::Longrunning::Operation
64
+ # Deletes a single ApiConfig.
65
+ rpc :DeleteApiConfig, ::Google::Cloud::ApiGateway::V1::DeleteApiConfigRequest, ::Google::Longrunning::Operation
66
+ end
67
+
68
+ Stub = Service.rpc_stub_class
69
+ end
70
+ end
71
+ end
72
+ end
73
+ end