Show / Hide Table of Contents

Class AddressesResource

The "addresses" collection of methods.

Inheritance
object
AddressesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Compute.beta
Assembly: Google.Apis.Compute.beta.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
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
string project

Project ID for this request.

string region

Name of the region for this request.

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
string project

Project ID for this request.

string region

Name of the region for this request.

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.

string project

Project ID for this request.

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
string project

Project ID for this request.

string region

Name of the region for this request.

Returns
Type Description
AddressesResource.ListRequest

SetLabels(RegionSetLabelsRequest, string, string, string)

Sets the labels on an Address. To learn more about labels, read the Labeling Resources documentation.

Declaration
public virtual AddressesResource.SetLabelsRequest SetLabels(RegionSetLabelsRequest body, string project, string region, string resource)
Parameters
Type Name Description
RegionSetLabelsRequest body

The body of the request.

string project

Project ID for this request.

string region

The region for this request.

string resource

Name or id of the resource for this request.

Returns
Type Description
AddressesResource.SetLabelsRequest

TestIamPermissions(TestPermissionsRequest, string, string, string)

Returns permissions that a caller has on the specified resource.

Declaration
public virtual AddressesResource.TestIamPermissionsRequest TestIamPermissions(TestPermissionsRequest body, string project, string region, string resource)
Parameters
Type Name Description
TestPermissionsRequest body

The body of the request.

string project

Project ID for this request.

string region

The name of the region for this request.

string resource

Name or id of the resource for this request.

Returns
Type Description
AddressesResource.TestIamPermissionsRequest
In This Article
Back to top Generated by DocFX