Show / Hide Table of Contents

Class GlobalAddressesResource

The "globalAddresses" collection of methods.

Inheritance
object
GlobalAddressesResource
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 GlobalAddressesResource

Constructors

GlobalAddressesResource(IClientService)

Constructs a new resource.

Declaration
public GlobalAddressesResource(IClientService service)
Parameters
Type Name Description
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
string project

Project ID for this request.

string address

Name of the address resource to delete.

Returns
Type Description
GlobalAddressesResource.DeleteRequest

Get(string, string)

Returns the specified address resource.

Declaration
public virtual GlobalAddressesResource.GetRequest Get(string project, string address)
Parameters
Type Name Description
string project

Project ID for this request.

string address

Name of the address resource to return.

Returns
Type Description
GlobalAddressesResource.GetRequest

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.

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
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.

string project

Project ID for this request.

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.

string project

Project ID for this request.

string resource

Name or id of the resource for this request.

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