Reference documentation and code samples for the Google Cloud Compute V1 API module Google::Cloud::Compute::V1::Routers::Rest::GrpcTranscoding.
GRPC transcoding helper methods for the Routers REST API.
Methods
#transcode_aggregated_list
def transcode_aggregated_list(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::AggregatedListRoutersRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters
#transcode_delete
def transcode_delete(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::DeleteRouterRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters
#transcode_get
def transcode_get(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::GetRouterRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters
#transcode_get_nat_mapping_info
def transcode_get_nat_mapping_info(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::GetNatMappingInfoRoutersRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters
#transcode_get_router_status
def transcode_get_router_status(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::GetRouterStatusRouterRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters
#transcode_insert
def transcode_insert(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::InsertRouterRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters
#transcode_list
def transcode_list(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::ListRoutersRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters
#transcode_patch
def transcode_patch(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::PatchRouterRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters
#transcode_preview
def transcode_preview(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::PreviewRouterRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters
#transcode_update
def transcode_update(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::UpdateRouterRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters