Reference documentation and code samples for the Google Cloud Compute V1 API module Google::Cloud::Compute::V1::Networks::Rest::GrpcTranscoding.
GRPC transcoding helper methods for the Networks REST API.
Methods
#transcode_add_peering
def transcode_add_peering(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::AddPeeringNetworkRequest) — 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::DeleteNetworkRequest) — 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::GetNetworkRequest) — 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::InsertNetworkRequest) — 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::ListNetworksRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters
#transcode_list_peering_routes
def transcode_list_peering_routes(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::ListPeeringRoutesNetworksRequest) — 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::PatchNetworkRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters
#transcode_remove_peering
def transcode_remove_peering(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::RemovePeeringNetworkRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters
#transcode_switch_to_custom_mode
def transcode_switch_to_custom_mode(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::SwitchToCustomModeNetworkRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters
#transcode_update_peering
def transcode_update_peering(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::UpdatePeeringNetworkRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters