Class RegionNetworkEndpointGroupsResource
The "regionNetworkEndpointGroups" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Compute.beta
Assembly: Google.Apis.Compute.beta.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 |
---|---|---|
string | project | Project ID for this request. |
string | region | The name of the region where the network endpoint group is located. It should comply with RFC1035. |
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.
Declaration
public virtual RegionNetworkEndpointGroupsResource.GetRequest Get(string project, string region, string networkEndpointGroup)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | region | The name of the region where the network endpoint group is located. It should comply with RFC1035. |
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. |
string | project | Project ID for this request. |
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 |
---|---|---|
string | project | Project ID for this request. |
string | region | The name of the region where the network endpoint group is located. It should comply with RFC1035. |
Returns
Type | Description |
---|---|
RegionNetworkEndpointGroupsResource.ListRequest |