Show / Hide Table of Contents

Class DisksResource.GetRequest

Returns a specified persistent disk. Gets a list of available persistent disks by making a list() request.

Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<Disk>
ComputeBaseServiceRequest<Disk>
DisksResource.GetRequest
Implements
Google.Apis.Requests.IClientServiceRequest<Disk>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
ComputeBaseServiceRequest<Disk>.Xgafv
ComputeBaseServiceRequest<Disk>.AccessToken
ComputeBaseServiceRequest<Disk>.Alt
ComputeBaseServiceRequest<Disk>.Callback
ComputeBaseServiceRequest<Disk>.Fields
ComputeBaseServiceRequest<Disk>.Key
ComputeBaseServiceRequest<Disk>.OauthToken
ComputeBaseServiceRequest<Disk>.PrettyPrint
ComputeBaseServiceRequest<Disk>.QuotaUser
ComputeBaseServiceRequest<Disk>.UploadType
ComputeBaseServiceRequest<Disk>.UploadProtocol
ComputeBaseServiceRequest<Disk>.UserIp
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.Disk>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.Disk>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.Disk>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.Disk>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.Disk>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.Disk>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.Disk>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.Disk>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.Disk>.GetBody()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.Disk>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.Disk>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.Disk>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.Disk>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.Disk>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.Disk>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Compute.v1
Assembly: Google.Apis.Compute.v1.dll
Syntax
public class GetRequest : ComputeBaseServiceRequest<Disk>, IClientServiceRequest<Disk>, IClientServiceRequest

Constructors

GetRequest(IClientService, String, String, String)

Constructs a new Get request.

Declaration
public GetRequest(IClientService service, string project, string zone, string disk)
Parameters
Type Name Description
Google.Apis.Services.IClientService service
System.String project
System.String zone
System.String disk

Properties

Disk

Name of the persistent disk to return.

Declaration
[RequestParameter("disk", RequestParameterType.Path)]
public virtual string Disk { get; }
Property Value
Type Description
System.String

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.Disk>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.Disk>.MethodName

Project

Project ID for this request.

Declaration
[RequestParameter("project", RequestParameterType.Path)]
public virtual string Project { get; }
Property Value
Type Description
System.String

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.v1.Data.Disk>.RestPath

Zone

The name of the zone for this request.

Declaration
[RequestParameter("zone", RequestParameterType.Path)]
public virtual string Zone { get; }
Property Value
Type Description
System.String

Methods

InitParameters()

Initializes Get parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Compute.v1.ComputeBaseServiceRequest<Google.Apis.Compute.v1.Data.Disk>.InitParameters()

Implements

Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest
In This Article
Back to top