Class GlobalNetworkEndpointGroupsResource
The "globalNetworkEndpointGroups" collection of methods.
Inherited Members
Namespace: Google.Apis.Compute.alpha
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class GlobalNetworkEndpointGroupsResource
Constructors
GlobalNetworkEndpointGroupsResource(IClientService)
Constructs a new resource.
Declaration
public GlobalNetworkEndpointGroupsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
AttachNetworkEndpoints(GlobalNetworkEndpointGroupsAttachEndpointsRequest, string, string)
Attach a network endpoint to the specified network endpoint group.
Declaration
public virtual GlobalNetworkEndpointGroupsResource.AttachNetworkEndpointsRequest AttachNetworkEndpoints(GlobalNetworkEndpointGroupsAttachEndpointsRequest body, string project, string networkEndpointGroup)
Parameters
Type | Name | Description |
---|---|---|
GlobalNetworkEndpointGroupsAttachEndpointsRequest | body | The body of the request. |
string | project | Project ID for this request. |
string | networkEndpointGroup | The name of the network endpoint group where you are attaching network endpoints to. It should comply with RFC1035. |
Returns
Type | Description |
---|---|
GlobalNetworkEndpointGroupsResource.AttachNetworkEndpointsRequest |
Delete(string, string)
Deletes the specified network endpoint group.Note that the NEG cannot be deleted if there are backend services referencing it.
Declaration
public virtual GlobalNetworkEndpointGroupsResource.DeleteRequest Delete(string project, string networkEndpointGroup)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | networkEndpointGroup | The name of the network endpoint group to delete. It should comply with RFC1035. |
Returns
Type | Description |
---|---|
GlobalNetworkEndpointGroupsResource.DeleteRequest |
DetachNetworkEndpoints(GlobalNetworkEndpointGroupsDetachEndpointsRequest, string, string)
Detach the network endpoint from the specified network endpoint group.
Declaration
public virtual GlobalNetworkEndpointGroupsResource.DetachNetworkEndpointsRequest DetachNetworkEndpoints(GlobalNetworkEndpointGroupsDetachEndpointsRequest body, string project, string networkEndpointGroup)
Parameters
Type | Name | Description |
---|---|---|
GlobalNetworkEndpointGroupsDetachEndpointsRequest | body | The body of the request. |
string | project | Project ID for this request. |
string | networkEndpointGroup | The name of the network endpoint group where you are removing network endpoints. It should comply with RFC1035. |
Returns
Type | Description |
---|---|
GlobalNetworkEndpointGroupsResource.DetachNetworkEndpointsRequest |
Get(string, string)
Returns the specified network endpoint group.
Declaration
public virtual GlobalNetworkEndpointGroupsResource.GetRequest Get(string project, string networkEndpointGroup)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | networkEndpointGroup | The name of the network endpoint group. It should comply with RFC1035. |
Returns
Type | Description |
---|---|
GlobalNetworkEndpointGroupsResource.GetRequest |
Insert(NetworkEndpointGroup, string)
Creates a network endpoint group in the specified project using the parameters that are included in the request.
Declaration
public virtual GlobalNetworkEndpointGroupsResource.InsertRequest Insert(NetworkEndpointGroup body, string project)
Parameters
Type | Name | Description |
---|---|---|
NetworkEndpointGroup | body | The body of the request. |
string | project | Project ID for this request. |
Returns
Type | Description |
---|---|
GlobalNetworkEndpointGroupsResource.InsertRequest |
List(string)
Retrieves the list of network endpoint groups that are located in the specified project.
Declaration
public virtual GlobalNetworkEndpointGroupsResource.ListRequest List(string project)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
Returns
Type | Description |
---|---|
GlobalNetworkEndpointGroupsResource.ListRequest |
ListNetworkEndpoints(string, string)
Lists the network endpoints in the specified network endpoint group.
Declaration
public virtual GlobalNetworkEndpointGroupsResource.ListNetworkEndpointsRequest ListNetworkEndpoints(string project, string networkEndpointGroup)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
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 |
---|---|
GlobalNetworkEndpointGroupsResource.ListNetworkEndpointsRequest |