Class SubnetworksResource.GetRequest
Returns the specified subnetwork.
Inheritance
Inherited Members
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
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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
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()