target.apidocs.com.google.api.services.compute.Compute.GlobalAddresses.html Maven / Gradle / Ivy
Compute.GlobalAddresses (Compute Engine API v1-rev20200104-1.30.8)
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
-
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.
-
-
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. Gets a list of available addresses by making a list()
request.
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
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy