target.apidocs.com.google.api.services.compute.Compute.GlobalAddresses.html Maven / Gradle / Ivy
Compute.GlobalAddresses (Compute Engine API v1-rev20250107-2.0.0)
com.google.api.services.compute
Class Compute.GlobalAddresses
- java.lang.Object
-
- com.google.api.services.compute.Compute.GlobalAddresses
-
-
Nested Class Summary
Nested Classes
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 Summary
Constructors
Constructor and Description
GlobalAddresses()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
-
Method Detail
-
delete
public Compute.GlobalAddresses.Delete delete(String project,
String address)
throws IOException
Deletes the specified address resource.
Create a request for the method "globalAddresses.delete".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
- Parameters:
project - Project ID for this request.
address - Name of the address resource to delete.
- Returns:
- the request
- Throws:
IOException
-
get
public Compute.GlobalAddresses.Get get(String project,
String address)
throws IOException
Returns the specified address resource.
Create a request for the method "globalAddresses.get".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
- Parameters:
project - Project ID for this request.
address - Name of the address resource to return.
- Returns:
- the request
- Throws:
IOException
-
insert
public Compute.GlobalAddresses.Insert insert(String project,
Address content)
throws IOException
Creates an address resource in the specified project by using the data included in the request.
Create a request for the method "globalAddresses.insert".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
- Parameters:
project - Project ID for this request.
content - the Address
- Returns:
- the request
- Throws:
IOException
-
list
public Compute.GlobalAddresses.List list(String project)
throws IOException
Retrieves a list of global addresses.
Create a request for the method "globalAddresses.list".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
- Parameters:
project - Project ID for this request.
- Returns:
- the request
- Throws:
IOException
-
move
public Compute.GlobalAddresses.Move move(String project,
String address,
GlobalAddressesMoveRequest content)
throws IOException
Moves the specified address resource from one project to another project.
Create a request for the method "globalAddresses.move".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
- Parameters:
project - Source project ID which the Address is moved from.
address - Name of the address resource to move.
content - the GlobalAddressesMoveRequest
- Returns:
- the request
- Throws:
IOException
-
setLabels
public Compute.GlobalAddresses.SetLabels setLabels(String project,
String resource,
GlobalSetLabelsRequest content)
throws IOException
Sets the labels on a GlobalAddress. To learn more about labels, read the Labeling Resources
documentation.
Create a request for the method "globalAddresses.setLabels".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
- Parameters:
project - Project ID for this request.
resource - Name or id of the resource for this request.
content - the GlobalSetLabelsRequest
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2025 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy