Reference documentation and code samples for the Google Cloud Compute V1 API module Google::Cloud::Compute::V1::RegionDisks::Rest::GrpcTranscoding.
GRPC transcoding helper methods for the RegionDisks REST API.
Methods
#transcode_add_resource_policies
def transcode_add_resource_policies(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::AddResourcePoliciesRegionDiskRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters
#transcode_create_snapshot
def transcode_create_snapshot(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::CreateSnapshotRegionDiskRequest) — 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::DeleteRegionDiskRequest) — 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::GetRegionDiskRequest) — 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::GetIamPolicyRegionDiskRequest) — 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::InsertRegionDiskRequest) — 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::ListRegionDisksRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters
#transcode_remove_resource_policies
def transcode_remove_resource_policies(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::RemoveResourcePoliciesRegionDiskRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters
#transcode_resize
def transcode_resize(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::ResizeRegionDiskRequest) — 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::SetIamPolicyRegionDiskRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters
#transcode_set_labels
def transcode_set_labels(request_pb) -> Array(String, [String, nil], Hash{String => String})
Parameter
- request_pb (::Google::Cloud::Compute::V1::SetLabelsRegionDiskRequest) — 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::TestIamPermissionsRegionDiskRequest) — A request object representing the call parameters. Required.
Returns
- (Array(String, [String, nil], Hash{String => String})) — Uri, Body, Query string parameters