Class RegionNetworkEndpointGroupsResource
The "regionNetworkEndpointGroups" collection of methods.
Inherited Members
Namespace: Google.Apis.Compute.alpha
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class RegionNetworkEndpointGroupsResource
Constructors
RegionNetworkEndpointGroupsResource(IClientService)
Constructs a new resource.
Declaration
public RegionNetworkEndpointGroupsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
AttachNetworkEndpoints(RegionNetworkEndpointGroupsAttachEndpointsRequest, string, string, string)
Attach a list of network endpoints to the specified network endpoint group.
Declaration
public virtual RegionNetworkEndpointGroupsResource.AttachNetworkEndpointsRequest AttachNetworkEndpoints(RegionNetworkEndpointGroupsAttachEndpointsRequest body, string project, string region, string networkEndpointGroup)
Parameters
Type | Name | Description |
---|---|---|
RegionNetworkEndpointGroupsAttachEndpointsRequest | 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. |
string | networkEndpointGroup | The name of the network endpoint group where you are attaching network endpoints to. It should comply with RFC1035. |
Returns
Type | Description |
---|---|
RegionNetworkEndpointGroupsResource.AttachNetworkEndpointsRequest |
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 |
DetachNetworkEndpoints(RegionNetworkEndpointGroupsDetachEndpointsRequest, string, string, string)
Detach the network endpoint from the specified network endpoint group.
Declaration
public virtual RegionNetworkEndpointGroupsResource.DetachNetworkEndpointsRequest DetachNetworkEndpoints(RegionNetworkEndpointGroupsDetachEndpointsRequest body, string project, string region, string networkEndpointGroup)
Parameters
Type | Name | Description |
---|---|---|
RegionNetworkEndpointGroupsDetachEndpointsRequest | body | The body of the request. |
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 you are detaching network endpoints from. It should comply with RFC1035. |
Returns
Type | Description |
---|---|
RegionNetworkEndpointGroupsResource.DetachNetworkEndpointsRequest |
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 |
ListNetworkEndpoints(string, string, string)
Lists the network endpoints in the specified network endpoint group.
Declaration
public virtual RegionNetworkEndpointGroupsResource.ListNetworkEndpointsRequest ListNetworkEndpoints(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 from which you want to generate a list of included network endpoints. It should comply with RFC1035. |
Returns
Type | Description |
---|---|
RegionNetworkEndpointGroupsResource.ListNetworkEndpointsRequest |