Class ProjectsResource.LocationsResource.PrivateCloudsResource.SubnetsResource
The "subnets" collection of methods.
Inherited Members
Namespace: Google.Apis.VMwareEngine.v1
Assembly: Google.Apis.VMwareEngine.v1.dll
Syntax
public class ProjectsResource.LocationsResource.PrivateCloudsResource.SubnetsResource
Constructors
SubnetsResource(IClientService)
Constructs a new resource.
Declaration
public SubnetsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Get(string)
Gets details of a single subnet.
Declaration
public virtual ProjectsResource.LocationsResource.PrivateCloudsResource.SubnetsResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The resource name of the subnet to retrieve. Resource names are schemeless URIs that
follow the conventions in https://cloud.google.com/apis/design/resource_names. For example:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.PrivateCloudsResource.SubnetsResource.GetRequest |
List(string)
Lists subnets in a given private cloud.
Declaration
public virtual ProjectsResource.LocationsResource.PrivateCloudsResource.SubnetsResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. The resource name of the private cloud to be queried for subnets. Resource names are
schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names. For example:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.PrivateCloudsResource.SubnetsResource.ListRequest |
Patch(Subnet, string)
Updates the parameters of a single subnet. Only fields specified in update_mask are applied.
Note: This API is synchronous and always returns a successful google.longrunning.Operation
(LRO). The returned LRO will only have done and response fields.
Declaration
public virtual ProjectsResource.LocationsResource.PrivateCloudsResource.SubnetsResource.PatchRequest Patch(Subnet body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| Subnet | body | The body of the request. |
| string | name | Output only. Identifier. The resource name of this subnet. Resource names are schemeless URIs
that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.PrivateCloudsResource.SubnetsResource.PatchRequest |