
target.apidocs.com.google.api.services.compute.Compute.GlobalAddresses.html Maven / Gradle / Ivy
Compute.GlobalAddresses (Compute Engine API beta-rev20220312-1.32.1)
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.SetLabels
class
Compute.GlobalAddresses.TestIamPermissions
-
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.SetLabels
setLabels(String project,
String resource,
GlobalSetLabelsRequest content)
Sets the labels on a GlobalAddress.
Compute.GlobalAddresses.TestIamPermissions
testIamPermissions(String project,
String resource,
TestPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
-
-
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
-
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
-
testIamPermissions
public Compute.GlobalAddresses.TestIamPermissions testIamPermissions(String project,
String resource,
TestPermissionsRequest content)
throws IOException
Returns permissions that a caller has on the specified resource.
Create a request for the method "globalAddresses.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.
resource
- Name or id of the resource for this request.
content
- the TestPermissionsRequest
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy