Reference documentation and code samples for the Network Services V1 API class Google::Cloud::NetworkServices::V1::DepService::Rest::ServiceStub.
REST service stub for the DepService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
 
Methods
#create_lb_route_extension
def create_lb_route_extension(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the create_lb_route_extension REST call
- request_pb (::Google::Cloud::NetworkServices::V1::CreateLbRouteExtensionRequest) — 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_lb_traffic_extension
def create_lb_traffic_extension(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the create_lb_traffic_extension REST call
- request_pb (::Google::Cloud::NetworkServices::V1::CreateLbTrafficExtensionRequest) — 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_lb_route_extension
def delete_lb_route_extension(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the delete_lb_route_extension REST call
- request_pb (::Google::Cloud::NetworkServices::V1::DeleteLbRouteExtensionRequest) — 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_lb_traffic_extension
def delete_lb_traffic_extension(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the delete_lb_traffic_extension REST call
- request_pb (::Google::Cloud::NetworkServices::V1::DeleteLbTrafficExtensionRequest) — 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_lb_route_extension
def get_lb_route_extension(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkServices::V1::LbRouteExtensionBaseline implementation for the get_lb_route_extension REST call
- request_pb (::Google::Cloud::NetworkServices::V1::GetLbRouteExtensionRequest) — 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::V1::LbRouteExtension)
 - operation (::Gapic::Rest::TransportOperation)
 
- (::Google::Cloud::NetworkServices::V1::LbRouteExtension) — A result object deserialized from the server's reply
 
- (::ArgumentError)
 
#get_lb_traffic_extension
def get_lb_traffic_extension(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkServices::V1::LbTrafficExtensionBaseline implementation for the get_lb_traffic_extension REST call
- request_pb (::Google::Cloud::NetworkServices::V1::GetLbTrafficExtensionRequest) — 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::V1::LbTrafficExtension)
 - operation (::Gapic::Rest::TransportOperation)
 
- (::Google::Cloud::NetworkServices::V1::LbTrafficExtension) — 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_lb_route_extensions
def list_lb_route_extensions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkServices::V1::ListLbRouteExtensionsResponseBaseline implementation for the list_lb_route_extensions REST call
- request_pb (::Google::Cloud::NetworkServices::V1::ListLbRouteExtensionsRequest) — 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::V1::ListLbRouteExtensionsResponse)
 - operation (::Gapic::Rest::TransportOperation)
 
- (::Google::Cloud::NetworkServices::V1::ListLbRouteExtensionsResponse) — A result object deserialized from the server's reply
 
- (::ArgumentError)
 
#list_lb_traffic_extensions
def list_lb_traffic_extensions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkServices::V1::ListLbTrafficExtensionsResponseBaseline implementation for the list_lb_traffic_extensions REST call
- request_pb (::Google::Cloud::NetworkServices::V1::ListLbTrafficExtensionsRequest) — 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::V1::ListLbTrafficExtensionsResponse)
 - operation (::Gapic::Rest::TransportOperation)
 
- (::Google::Cloud::NetworkServices::V1::ListLbTrafficExtensionsResponse) — A result object deserialized from the server's reply
 
- (::ArgumentError)
 
#universe_domain
def universe_domain() -> StringThe effective universe domain
- (String)
 
#update_lb_route_extension
def update_lb_route_extension(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the update_lb_route_extension REST call
- request_pb (::Google::Cloud::NetworkServices::V1::UpdateLbRouteExtensionRequest) — 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_lb_traffic_extension
def update_lb_traffic_extension(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the update_lb_traffic_extension REST call
- request_pb (::Google::Cloud::NetworkServices::V1::UpdateLbTrafficExtensionRequest) — 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)