# Generated by the protocol buffer compiler. DO NOT EDIT! # Source: google/cloud/networksecurity/v1beta1/network_security.proto for package 'Google.Cloud.NetworkSecurity.V1beta1' # Original file comments: # Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # require 'grpc' require 'google/cloud/networksecurity/v1beta1/network_security_pb' module Google module Cloud module NetworkSecurity module V1beta1 module NetworkSecurity class Service include ::GRPC::GenericService self.marshal_class_method = :encode self.unmarshal_class_method = :decode self.service_name = 'google.cloud.networksecurity.v1beta1.NetworkSecurity' # Lists AuthorizationPolicies in a given project and location. rpc :ListAuthorizationPolicies, ::Google::Cloud::NetworkSecurity::V1beta1::ListAuthorizationPoliciesRequest, ::Google::Cloud::NetworkSecurity::V1beta1::ListAuthorizationPoliciesResponse # Gets details of a single AuthorizationPolicy. rpc :GetAuthorizationPolicy, ::Google::Cloud::NetworkSecurity::V1beta1::GetAuthorizationPolicyRequest, ::Google::Cloud::NetworkSecurity::V1beta1::AuthorizationPolicy # Creates a new AuthorizationPolicy in a given project and location. rpc :CreateAuthorizationPolicy, ::Google::Cloud::NetworkSecurity::V1beta1::CreateAuthorizationPolicyRequest, ::Google::Longrunning::Operation # Updates the parameters of a single AuthorizationPolicy. rpc :UpdateAuthorizationPolicy, ::Google::Cloud::NetworkSecurity::V1beta1::UpdateAuthorizationPolicyRequest, ::Google::Longrunning::Operation # Deletes a single AuthorizationPolicy. rpc :DeleteAuthorizationPolicy, ::Google::Cloud::NetworkSecurity::V1beta1::DeleteAuthorizationPolicyRequest, ::Google::Longrunning::Operation # Lists ServerTlsPolicies in a given project and location. rpc :ListServerTlsPolicies, ::Google::Cloud::NetworkSecurity::V1beta1::ListServerTlsPoliciesRequest, ::Google::Cloud::NetworkSecurity::V1beta1::ListServerTlsPoliciesResponse # Gets details of a single ServerTlsPolicy. rpc :GetServerTlsPolicy, ::Google::Cloud::NetworkSecurity::V1beta1::GetServerTlsPolicyRequest, ::Google::Cloud::NetworkSecurity::V1beta1::ServerTlsPolicy # Creates a new ServerTlsPolicy in a given project and location. rpc :CreateServerTlsPolicy, ::Google::Cloud::NetworkSecurity::V1beta1::CreateServerTlsPolicyRequest, ::Google::Longrunning::Operation # Updates the parameters of a single ServerTlsPolicy. rpc :UpdateServerTlsPolicy, ::Google::Cloud::NetworkSecurity::V1beta1::UpdateServerTlsPolicyRequest, ::Google::Longrunning::Operation # Deletes a single ServerTlsPolicy. rpc :DeleteServerTlsPolicy, ::Google::Cloud::NetworkSecurity::V1beta1::DeleteServerTlsPolicyRequest, ::Google::Longrunning::Operation # Lists ClientTlsPolicies in a given project and location. rpc :ListClientTlsPolicies, ::Google::Cloud::NetworkSecurity::V1beta1::ListClientTlsPoliciesRequest, ::Google::Cloud::NetworkSecurity::V1beta1::ListClientTlsPoliciesResponse # Gets details of a single ClientTlsPolicy. rpc :GetClientTlsPolicy, ::Google::Cloud::NetworkSecurity::V1beta1::GetClientTlsPolicyRequest, ::Google::Cloud::NetworkSecurity::V1beta1::ClientTlsPolicy # Creates a new ClientTlsPolicy in a given project and location. rpc :CreateClientTlsPolicy, ::Google::Cloud::NetworkSecurity::V1beta1::CreateClientTlsPolicyRequest, ::Google::Longrunning::Operation # Updates the parameters of a single ClientTlsPolicy. rpc :UpdateClientTlsPolicy, ::Google::Cloud::NetworkSecurity::V1beta1::UpdateClientTlsPolicyRequest, ::Google::Longrunning::Operation # Deletes a single ClientTlsPolicy. rpc :DeleteClientTlsPolicy, ::Google::Cloud::NetworkSecurity::V1beta1::DeleteClientTlsPolicyRequest, ::Google::Longrunning::Operation end Stub = Service.rpc_stub_class end end end end end