Class RegionNetworkEndpointGroupsResource
The "regionNetworkEndpointGroups" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Compute.v1
Assembly: Google.Apis.Compute.v1.dll
Syntax
public class RegionNetworkEndpointGroupsResource
Constructors
RegionNetworkEndpointGroupsResource(IClientService)
Constructs a new resource.
Declaration
public RegionNetworkEndpointGroupsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Delete(String, String, String)
Deletes the specified network endpoint group. Note that the NEG cannot be deleted if it is configured as a backend of a backend service.
Declaration
public virtual RegionNetworkEndpointGroupsResource.DeleteRequest Delete(string project, string region, string networkEndpointGroup)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | Project ID for this request. |
| System.String | region | The name of the region where the network endpoint group is located. It should comply with RFC1035. |
| System.String | networkEndpointGroup | The name of the network endpoint group to delete. It should comply with RFC1035. |
Returns
| Type | Description |
|---|---|
| RegionNetworkEndpointGroupsResource.DeleteRequest |
Get(String, String, String)
Returns the specified network endpoint group. Gets a list of available network endpoint groups by making a list() request.
Declaration
public virtual RegionNetworkEndpointGroupsResource.GetRequest Get(string project, string region, string networkEndpointGroup)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | Project ID for this request. |
| System.String | region | The name of the region where the network endpoint group is located. It should comply with RFC1035. |
| System.String | networkEndpointGroup | The name of the network endpoint group. It should comply with RFC1035. |
Returns
| Type | Description |
|---|---|
| RegionNetworkEndpointGroupsResource.GetRequest |
Insert(NetworkEndpointGroup, String, String)
Creates a network endpoint group in the specified project using the parameters that are included in the request.
Declaration
public virtual RegionNetworkEndpointGroupsResource.InsertRequest Insert(NetworkEndpointGroup body, string project, string region)
Parameters
| Type | Name | Description |
|---|---|---|
| NetworkEndpointGroup | body | The body of the request. |
| System.String | project | Project ID for this request. |
| System.String | region | The name of the region where you want to create the network endpoint group. It should comply with RFC1035. |
Returns
| Type | Description |
|---|---|
| RegionNetworkEndpointGroupsResource.InsertRequest |
List(String, String)
Retrieves the list of regional network endpoint groups available to the specified project in the given region.
Declaration
public virtual RegionNetworkEndpointGroupsResource.ListRequest List(string project, string region)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | Project ID for this request. |
| System.String | region | The name of the region where the network endpoint group is located. It should comply with RFC1035. |
Returns
| Type | Description |
|---|---|
| RegionNetworkEndpointGroupsResource.ListRequest |