Modifier and Type | Class and Description |
---|---|
class |
Compute.GlobalAddresses.Delete |
class |
Compute.GlobalAddresses.Get |
class |
Compute.GlobalAddresses.Insert |
class |
Compute.GlobalAddresses.List |
class |
Compute.GlobalAddresses.Move |
class |
Compute.GlobalAddresses.SetLabels |
Constructor and Description |
---|
GlobalAddresses() |
Modifier and Type | Method and Description |
---|---|
Compute.GlobalAddresses.Delete |
delete(String project,
String address)
Deletes the specified address resource.
|
Compute.GlobalAddresses.Get |
get(String project,
String address)
Returns the specified address resource.
|
Compute.GlobalAddresses.Insert |
insert(String project,
Address content)
Creates an address resource in the specified project by using the data included in the request.
|
Compute.GlobalAddresses.List |
list(String project)
Retrieves a list of global addresses.
|
Compute.GlobalAddresses.Move |
move(String project,
String address,
GlobalAddressesMoveRequest content)
Moves the specified address resource from one project to another project.
|
Compute.GlobalAddresses.SetLabels |
setLabels(String project,
String resource,
GlobalSetLabelsRequest content)
Sets the labels on a GlobalAddress.
|
public Compute.GlobalAddresses.Delete delete(String project, String address) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.address
- Name of the address resource to delete.IOException
public Compute.GlobalAddresses.Get get(String project, String address) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.address
- Name of the address resource to return.IOException
public Compute.GlobalAddresses.Insert insert(String project, Address content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.content
- the Address
IOException
public Compute.GlobalAddresses.List list(String project) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.IOException
public Compute.GlobalAddresses.Move move(String project, String address, GlobalAddressesMoveRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Source project ID which the Address is moved from.address
- Name of the address resource to move.content
- the GlobalAddressesMoveRequest
IOException
public Compute.GlobalAddresses.SetLabels setLabels(String project, String resource, GlobalSetLabelsRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.resource
- Name or id of the resource for this request.content
- the GlobalSetLabelsRequest
IOException
Copyright © 2011–2024 Google. All rights reserved.