Reference documentation and code samples for the Network Services V1BETA1 API class Google::Cloud::NetworkServices::V1beta1::NetworkServices::Rest::ServiceStub.
REST service stub for the NetworkServices service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_endpoint_policy
def create_endpoint_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the create_endpoint_policy REST call
- request_pb (::Google::Cloud::NetworkServices::V1beta1::CreateEndpointPolicyRequest) — 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_endpoint_policy
def delete_endpoint_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the delete_endpoint_policy REST call
- request_pb (::Google::Cloud::NetworkServices::V1beta1::DeleteEndpointPolicyRequest) — 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() -> StringThe effective endpoint
- (String)
#get_endpoint_policy
def get_endpoint_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkServices::V1beta1::EndpointPolicyBaseline implementation for the get_endpoint_policy REST call
- request_pb (::Google::Cloud::NetworkServices::V1beta1::GetEndpointPolicyRequest) — 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::NetworkServices::V1beta1::EndpointPolicy)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::NetworkServices::V1beta1::EndpointPolicy) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_endpoint_policies
def list_endpoint_policies(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkServices::V1beta1::ListEndpointPoliciesResponseBaseline implementation for the list_endpoint_policies REST call
- request_pb (::Google::Cloud::NetworkServices::V1beta1::ListEndpointPoliciesRequest) — 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::NetworkServices::V1beta1::ListEndpointPoliciesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::NetworkServices::V1beta1::ListEndpointPoliciesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> LoggerThe logger used for request/response debug logging.
- (Logger)
#universe_domain
def universe_domain() -> StringThe effective universe domain
- (String)
#update_endpoint_policy
def update_endpoint_policy(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the update_endpoint_policy REST call
- request_pb (::Google::Cloud::NetworkServices::V1beta1::UpdateEndpointPolicyRequest) — 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)