Class GlobalAddressesResource
The "globalAddresses" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Compute.alpha
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class GlobalAddressesResource
Constructors
GlobalAddressesResource(IClientService)
Constructs a new resource.
Declaration
public GlobalAddressesResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| Google.Apis.Services.IClientService | service |
Methods
Delete(String, String)
Deletes the specified address resource.
Declaration
public virtual GlobalAddressesResource.DeleteRequest Delete(string project, string address)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | Project ID for this request. |
| System.String | address | Name of the address resource to delete. |
Returns
| Type | Description |
|---|---|
| GlobalAddressesResource.DeleteRequest |
Get(String, String)
Returns the specified address resource. Gets a list of available addresses by making a list() request.
Declaration
public virtual GlobalAddressesResource.GetRequest Get(string project, string address)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | Project ID for this request. |
| System.String | address | Name of the address resource to return. |
Returns
| Type | Description |
|---|---|
| GlobalAddressesResource.GetRequest |
GetOwnerInstance(String)
Find owner instance from given ip address
Declaration
public virtual GlobalAddressesResource.GetOwnerInstanceRequest GetOwnerInstance(string project)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | Project ID for this request. |
Returns
| Type | Description |
|---|---|
| GlobalAddressesResource.GetOwnerInstanceRequest |
Insert(Address, String)
Creates an address resource in the specified project by using the data included in the request.
Declaration
public virtual GlobalAddressesResource.InsertRequest Insert(Address body, string project)
Parameters
| Type | Name | Description |
|---|---|---|
| Address | body | The body of the request. |
| System.String | project | Project ID for this request. |
Returns
| Type | Description |
|---|---|
| GlobalAddressesResource.InsertRequest |
List(String)
Retrieves a list of global addresses.
Declaration
public virtual GlobalAddressesResource.ListRequest List(string project)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | Project ID for this request. |
Returns
| Type | Description |
|---|---|
| GlobalAddressesResource.ListRequest |
SetLabels(GlobalSetLabelsRequest, String, String)
Sets the labels on a GlobalAddress. To learn more about labels, read the Labeling Resources documentation.
Declaration
public virtual GlobalAddressesResource.SetLabelsRequest SetLabels(GlobalSetLabelsRequest body, string project, string resource)
Parameters
| Type | Name | Description |
|---|---|---|
| GlobalSetLabelsRequest | body | The body of the request. |
| System.String | project | Project ID for this request. |
| System.String | resource | Name or id of the resource for this request. |
Returns
| Type | Description |
|---|---|
| GlobalAddressesResource.SetLabelsRequest |
TestIamPermissions(TestPermissionsRequest, String, String)
Returns permissions that a caller has on the specified resource.
Declaration
public virtual GlobalAddressesResource.TestIamPermissionsRequest TestIamPermissions(TestPermissionsRequest body, string project, string resource)
Parameters
| Type | Name | Description |
|---|---|---|
| TestPermissionsRequest | body | The body of the request. |
| System.String | project | Project ID for this request. |
| System.String | resource | Name or id of the resource for this request. |
Returns
| Type | Description |
|---|---|
| GlobalAddressesResource.TestIamPermissionsRequest |