Reference documentation and code samples for the Network Security V1beta1 API class Google::Cloud::NetworkSecurity::V1beta1::NetworkSecurity::Rest::ServiceStub.
REST service stub for the NetworkSecurity service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_authorization_policy
def create_authorization_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_authorization_policy REST call
- request_pb (::Google::Cloud::NetworkSecurity::V1beta1::CreateAuthorizationPolicyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_client_tls_policy
def create_client_tls_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_client_tls_policy REST call
- request_pb (::Google::Cloud::NetworkSecurity::V1beta1::CreateClientTlsPolicyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_server_tls_policy
def create_server_tls_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_server_tls_policy REST call
- request_pb (::Google::Cloud::NetworkSecurity::V1beta1::CreateServerTlsPolicyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_authorization_policy
def delete_authorization_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_authorization_policy REST call
- request_pb (::Google::Cloud::NetworkSecurity::V1beta1::DeleteAuthorizationPolicyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_client_tls_policy
def delete_client_tls_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_client_tls_policy REST call
- request_pb (::Google::Cloud::NetworkSecurity::V1beta1::DeleteClientTlsPolicyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_server_tls_policy
def delete_server_tls_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_server_tls_policy REST call
- request_pb (::Google::Cloud::NetworkSecurity::V1beta1::DeleteServerTlsPolicyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#get_authorization_policy
def get_authorization_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkSecurity::V1beta1::AuthorizationPolicy
Baseline implementation for the get_authorization_policy REST call
- request_pb (::Google::Cloud::NetworkSecurity::V1beta1::GetAuthorizationPolicyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::NetworkSecurity::V1beta1::AuthorizationPolicy)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::NetworkSecurity::V1beta1::AuthorizationPolicy) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_client_tls_policy
def get_client_tls_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkSecurity::V1beta1::ClientTlsPolicy
Baseline implementation for the get_client_tls_policy REST call
- request_pb (::Google::Cloud::NetworkSecurity::V1beta1::GetClientTlsPolicyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::NetworkSecurity::V1beta1::ClientTlsPolicy)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::NetworkSecurity::V1beta1::ClientTlsPolicy) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_server_tls_policy
def get_server_tls_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkSecurity::V1beta1::ServerTlsPolicy
Baseline implementation for the get_server_tls_policy REST call
- request_pb (::Google::Cloud::NetworkSecurity::V1beta1::GetServerTlsPolicyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::NetworkSecurity::V1beta1::ServerTlsPolicy)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::NetworkSecurity::V1beta1::ServerTlsPolicy) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#list_authorization_policies
def list_authorization_policies(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkSecurity::V1beta1::ListAuthorizationPoliciesResponse
Baseline implementation for the list_authorization_policies REST call
- request_pb (::Google::Cloud::NetworkSecurity::V1beta1::ListAuthorizationPoliciesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::NetworkSecurity::V1beta1::ListAuthorizationPoliciesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::NetworkSecurity::V1beta1::ListAuthorizationPoliciesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_client_tls_policies
def list_client_tls_policies(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkSecurity::V1beta1::ListClientTlsPoliciesResponse
Baseline implementation for the list_client_tls_policies REST call
- request_pb (::Google::Cloud::NetworkSecurity::V1beta1::ListClientTlsPoliciesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::NetworkSecurity::V1beta1::ListClientTlsPoliciesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::NetworkSecurity::V1beta1::ListClientTlsPoliciesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_server_tls_policies
def list_server_tls_policies(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkSecurity::V1beta1::ListServerTlsPoliciesResponse
Baseline implementation for the list_server_tls_policies REST call
- request_pb (::Google::Cloud::NetworkSecurity::V1beta1::ListServerTlsPoliciesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::NetworkSecurity::V1beta1::ListServerTlsPoliciesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::NetworkSecurity::V1beta1::ListServerTlsPoliciesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_authorization_policy
def update_authorization_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_authorization_policy REST call
- request_pb (::Google::Cloud::NetworkSecurity::V1beta1::UpdateAuthorizationPolicyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_client_tls_policy
def update_client_tls_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_client_tls_policy REST call
- request_pb (::Google::Cloud::NetworkSecurity::V1beta1::UpdateClientTlsPolicyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_server_tls_policy
def update_server_tls_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_server_tls_policy REST call
- request_pb (::Google::Cloud::NetworkSecurity::V1beta1::UpdateServerTlsPolicyRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)