Reference documentation and code samples for the Google Cloud Compute V1 API module Google::Cloud::Compute::V1::Projects::Rest::GrpcTranscoding.
GRPC transcoding helper methods for the Projects REST API.
Methods
#transcode_disable_xpn_host
def transcode_disable_xpn_host(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::DisableXpnHostProjectRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters
#transcode_disable_xpn_resource
def transcode_disable_xpn_resource(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::DisableXpnResourceProjectRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters
#transcode_enable_xpn_host
def transcode_enable_xpn_host(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::EnableXpnHostProjectRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters
#transcode_enable_xpn_resource
def transcode_enable_xpn_resource(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::EnableXpnResourceProjectRequest) — 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::GetProjectRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters
#transcode_get_xpn_host
def transcode_get_xpn_host(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::GetXpnHostProjectRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters
#transcode_get_xpn_resources
def transcode_get_xpn_resources(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::GetXpnResourcesProjectsRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters
#transcode_list_xpn_hosts
def transcode_list_xpn_hosts(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::ListXpnHostsProjectsRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters
#transcode_move_disk
def transcode_move_disk(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::MoveDiskProjectRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters
#transcode_move_instance
def transcode_move_instance(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::MoveInstanceProjectRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters
#transcode_set_common_instance_metadata
def transcode_set_common_instance_metadata(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::SetCommonInstanceMetadataProjectRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters
#transcode_set_default_network_tier
def transcode_set_default_network_tier(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::SetDefaultNetworkTierProjectRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters
#transcode_set_usage_export_bucket
def transcode_set_usage_export_bucket(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::SetUsageExportBucketProjectRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters