Class AddressesResource
The "addresses" collection of methods.
Inheritance
System.Object
AddressesResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Compute.v1
Assembly: Google.Apis.Compute.v1.dll
Syntax
public class AddressesResource
Constructors
AddressesResource(IClientService)
Constructs a new resource.
Declaration
public AddressesResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
AggregatedList(String)
Retrieves an aggregated list of addresses.
Declaration
public virtual AddressesResource.AggregatedListRequest AggregatedList(string project)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | Project ID for this request. |
Returns
| Type | Description |
|---|---|
| AddressesResource.AggregatedListRequest |
Delete(String, String, String)
Deletes the specified address resource.
Declaration
public virtual AddressesResource.DeleteRequest Delete(string project, string region, string address)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | Project ID for this request. |
| System.String | region | Name of the region for this request. |
| System.String | address | Name of the address resource to delete. |
Returns
| Type | Description |
|---|---|
| AddressesResource.DeleteRequest |
Get(String, String, String)
Returns the specified address resource.
Declaration
public virtual AddressesResource.GetRequest Get(string project, string region, string address)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | Project ID for this request. |
| System.String | region | Name of the region for this request. |
| System.String | address | Name of the address resource to return. |
Returns
| Type | Description |
|---|---|
| AddressesResource.GetRequest |
Insert(Address, String, String)
Creates an address resource in the specified project by using the data included in the request.
Declaration
public virtual AddressesResource.InsertRequest Insert(Address body, string project, string region)
Parameters
| Type | Name | Description |
|---|---|---|
| Address | body | The body of the request. |
| System.String | project | Project ID for this request. |
| System.String | region | Name of the region for this request. |
Returns
| Type | Description |
|---|---|
| AddressesResource.InsertRequest |
List(String, String)
Retrieves a list of addresses contained within the specified region.
Declaration
public virtual AddressesResource.ListRequest List(string project, string region)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | Project ID for this request. |
| System.String | region | Name of the region for this request. |
Returns
| Type | Description |
|---|---|
| AddressesResource.ListRequest |