Reference documentation and code samples for the Google Cloud Compute V1 API module Google::Cloud::Compute::V1::Subnetworks::Rest::GrpcTranscoding.
GRPC transcoding helper methods for the Subnetworks 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::AggregatedListSubnetworksRequest) — 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::DeleteSubnetworkRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters
#transcode_expand_ip_cidr_range
def transcode_expand_ip_cidr_range(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::ExpandIpCidrRangeSubnetworkRequest) — 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::GetSubnetworkRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters
#transcode_get_iam_policy
def transcode_get_iam_policy(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::GetIamPolicySubnetworkRequest) — 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::InsertSubnetworkRequest) — 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::ListSubnetworksRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters
#transcode_list_usable
def transcode_list_usable(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::ListUsableSubnetworksRequest) — 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::PatchSubnetworkRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters
#transcode_set_iam_policy
def transcode_set_iam_policy(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::SetIamPolicySubnetworkRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters
#transcode_set_private_ip_google_access
def transcode_set_private_ip_google_access(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::SetPrivateIpGoogleAccessSubnetworkRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters
#transcode_test_iam_permissions
def transcode_test_iam_permissions(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::TestIamPermissionsSubnetworkRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters