Show / Hide Table of Contents

Class SubnetworksResource.GetRequest

Returns the specified subnetwork.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Subnetwork>
ComputeBaseServiceRequest<Subnetwork>
SubnetworksResource.GetRequest
Implements
IClientServiceRequest<Subnetwork>
IClientServiceRequest
Inherited Members
ComputeBaseServiceRequest<Subnetwork>.Xgafv
ComputeBaseServiceRequest<Subnetwork>.AccessToken
ComputeBaseServiceRequest<Subnetwork>.Alt
ComputeBaseServiceRequest<Subnetwork>.Callback
ComputeBaseServiceRequest<Subnetwork>.Fields
ComputeBaseServiceRequest<Subnetwork>.Key
ComputeBaseServiceRequest<Subnetwork>.OauthToken
ComputeBaseServiceRequest<Subnetwork>.PrettyPrint
ComputeBaseServiceRequest<Subnetwork>.QuotaUser
ComputeBaseServiceRequest<Subnetwork>.UploadType
ComputeBaseServiceRequest<Subnetwork>.UploadProtocol
ComputeBaseServiceRequest<Subnetwork>.UserIp
ClientServiceRequest<Subnetwork>.Execute()
ClientServiceRequest<Subnetwork>.ExecuteAsStream()
ClientServiceRequest<Subnetwork>.ExecuteAsync()
ClientServiceRequest<Subnetwork>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Subnetwork>.ExecuteAsStreamAsync()
ClientServiceRequest<Subnetwork>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Subnetwork>.CreateRequest(bool?)
ClientServiceRequest<Subnetwork>.GenerateRequestUri()
ClientServiceRequest<Subnetwork>.GetBody()
ClientServiceRequest<Subnetwork>.GetDefaultETagAction(string)
ClientServiceRequest<Subnetwork>.ETagAction
ClientServiceRequest<Subnetwork>.ModifyRequest
ClientServiceRequest<Subnetwork>.ValidateParameters
ClientServiceRequest<Subnetwork>.ApiVersion
ClientServiceRequest<Subnetwork>.RequestParameters
ClientServiceRequest<Subnetwork>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Compute.alpha
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class SubnetworksResource.GetRequest : ComputeBaseServiceRequest<Subnetwork>, IClientServiceRequest<Subnetwork>, IClientServiceRequest

Constructors

GetRequest(IClientService, string, string, string)

Constructs a new Get request.

Declaration
public GetRequest(IClientService service, string project, string region, string subnetwork)
Parameters
Type Name Description
IClientService service
string project
string region
string subnetwork

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Subnetwork>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Subnetwork>.MethodName

Project

Project ID for this request.

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

Region

Name of the region scoping this request.

Declaration
[RequestParameter("region", RequestParameterType.Path)]
public virtual string Region { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Subnetwork>.RestPath

Subnetwork

Name of the Subnetwork resource to return.

Declaration
[RequestParameter("subnetwork", RequestParameterType.Path)]
public virtual string Subnetwork { get; }
Property Value
Type Description
string

Views

Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response.

Declaration
[RequestParameter("views", RequestParameterType.Query)]
public virtual SubnetworksResource.GetRequest.ViewsEnum? Views { get; set; }
Property Value
Type Description
SubnetworksResource.GetRequest.ViewsEnum?
Remarks

Use this property to set a single value for the parameter, or ViewsList to set multiple values. Do not set both properties.

ViewsList

Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response.

Declaration
[RequestParameter("views", RequestParameterType.Query)]
public virtual Repeatable<SubnetworksResource.GetRequest.ViewsEnum> ViewsList { get; set; }
Property Value
Type Description
Repeatable<SubnetworksResource.GetRequest.ViewsEnum>
Remarks

Use this property to set one or more values for the parameter. Do not set both this property and Views.

Methods

InitParameters()

Initializes Get parameter list.

Declaration
protected override void InitParameters()
Overrides
ComputeBaseServiceRequest<Subnetwork>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX