
target.apidocs.com.google.api.services.compute.Compute.Addresses.html Maven / Gradle / Ivy
Compute.Addresses (Compute Engine API alpha-rev20200526-1.30.9)
com.google.api.services.compute
Class Compute.Addresses
- java.lang.Object
-
- com.google.api.services.compute.Compute.Addresses
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Compute.Addresses.AggregatedList
class
Compute.Addresses.Delete
class
Compute.Addresses.Get
class
Compute.Addresses.Insert
class
Compute.Addresses.List
class
Compute.Addresses.SetLabels
class
Compute.Addresses.TestIamPermissions
-
Constructor Summary
Constructors
Constructor and Description
Addresses()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Compute.Addresses.AggregatedList
aggregatedList(String project)
Retrieves an aggregated list of addresses.
Compute.Addresses.Delete
delete(String project,
String region,
String address)
Deletes the specified address resource.
Compute.Addresses.Get
get(String project,
String region,
String address)
Returns the specified address resource.
Compute.Addresses.Insert
insert(String project,
String region,
Address content)
Creates an address resource in the specified project by using the data included in the request.
Compute.Addresses.List
list(String project,
String region)
Retrieves a list of addresses contained within the specified region.
Compute.Addresses.SetLabels
setLabels(String project,
String region,
String resource,
RegionSetLabelsRequest content)
Sets the labels on an Address.
Compute.Addresses.TestIamPermissions
testIamPermissions(String project,
String region,
String resource,
TestPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
-
-
Method Detail
-
aggregatedList
public Compute.Addresses.AggregatedList aggregatedList(String project)
throws IOException
Retrieves an aggregated list of addresses.
Create a request for the method "addresses.aggregatedList".
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
-
delete
public Compute.Addresses.Delete delete(String project,
String region,
String address)
throws IOException
Deletes the specified address resource.
Create a request for the method "addresses.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.
region
- Name of the region for this request.
address
- Name of the address resource to delete.
- Returns:
- the request
- Throws:
IOException
-
get
public Compute.Addresses.Get get(String project,
String region,
String address)
throws IOException
Returns the specified address resource.
Create a request for the method "addresses.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.
region
- Name of the region for this request.
address
- Name of the address resource to return.
- Returns:
- the request
- Throws:
IOException
-
insert
public Compute.Addresses.Insert insert(String project,
String region,
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 "addresses.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.
region
- Name of the region for this request.
content
- the Address
- Returns:
- the request
- Throws:
IOException
-
list
public Compute.Addresses.List list(String project,
String region)
throws IOException
Retrieves a list of addresses contained within the specified region.
Create a request for the method "addresses.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.
region
- Name of the region for this request.
- Returns:
- the request
- Throws:
IOException
-
setLabels
public Compute.Addresses.SetLabels setLabels(String project,
String region,
String resource,
RegionSetLabelsRequest content)
throws IOException
Sets the labels on an Address. To learn more about labels, read the Labeling Resources
documentation.
Create a request for the method "addresses.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.
region
- The region for this request.
resource
- Name or id of the resource for this request.
content
- the RegionSetLabelsRequest
- Returns:
- the request
- Throws:
IOException
-
testIamPermissions
public Compute.Addresses.TestIamPermissions testIamPermissions(String project,
String region,
String resource,
TestPermissionsRequest content)
throws IOException
Returns permissions that a caller has on the specified resource.
Create a request for the method "addresses.testIamPermissions".
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.
region
- The name of the region for this request.
resource
- Name or id of the resource for this request.
content
- the TestPermissionsRequest
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy