![JAR search and dependency download from the Maven repository](/logo.png)
target.apidocs.com.google.api.services.compute.Compute.TargetInstances.html Maven / Gradle / Ivy
Compute.TargetInstances (Compute Engine API beta-rev20220726-2.0.0)
com.google.api.services.compute
Class Compute.TargetInstances
- java.lang.Object
-
- com.google.api.services.compute.Compute.TargetInstances
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Compute.TargetInstances.AggregatedList
class
Compute.TargetInstances.Delete
class
Compute.TargetInstances.Get
class
Compute.TargetInstances.Insert
class
Compute.TargetInstances.List
class
Compute.TargetInstances.TestIamPermissions
-
Constructor Summary
Constructors
Constructor and Description
TargetInstances()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Compute.TargetInstances.AggregatedList
aggregatedList(String project)
Retrieves an aggregated list of target instances.
Compute.TargetInstances.Delete
delete(String project,
String zone,
String targetInstance)
Deletes the specified TargetInstance resource.
Compute.TargetInstances.Get
get(String project,
String zone,
String targetInstance)
Returns the specified TargetInstance resource.
Compute.TargetInstances.Insert
insert(String project,
String zone,
TargetInstance content)
Creates a TargetInstance resource in the specified project and zone using the data included in
the request.
Compute.TargetInstances.List
list(String project,
String zone)
Retrieves a list of TargetInstance resources available to the specified project and zone.
Compute.TargetInstances.TestIamPermissions
testIamPermissions(String project,
String zone,
String resource,
TestPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
-
-
Method Detail
-
aggregatedList
public Compute.TargetInstances.AggregatedList aggregatedList(String project)
throws IOException
Retrieves an aggregated list of target instances.
Create a request for the method "targetInstances.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.TargetInstances.Delete delete(String project,
String zone,
String targetInstance)
throws IOException
Deletes the specified TargetInstance resource.
Create a request for the method "targetInstances.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.
zone
- Name of the zone scoping this request.
targetInstance
- Name of the TargetInstance resource to delete.
- Returns:
- the request
- Throws:
IOException
-
get
public Compute.TargetInstances.Get get(String project,
String zone,
String targetInstance)
throws IOException
Returns the specified TargetInstance resource. Gets a list of available target instances by
making a list() request.
Create a request for the method "targetInstances.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.
zone
- Name of the zone scoping this request.
targetInstance
- Name of the TargetInstance resource to return.
- Returns:
- the request
- Throws:
IOException
-
insert
public Compute.TargetInstances.Insert insert(String project,
String zone,
TargetInstance content)
throws IOException
Creates a TargetInstance resource in the specified project and zone using the data included in
the request.
Create a request for the method "targetInstances.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.
zone
- Name of the zone scoping this request.
content
- the TargetInstance
- Returns:
- the request
- Throws:
IOException
-
list
public Compute.TargetInstances.List list(String project,
String zone)
throws IOException
Retrieves a list of TargetInstance resources available to the specified project and zone.
Create a request for the method "targetInstances.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.
zone
- Name of the zone scoping this request.
- Returns:
- the request
- Throws:
IOException
-
testIamPermissions
public Compute.TargetInstances.TestIamPermissions testIamPermissions(String project,
String zone,
String resource,
TestPermissionsRequest content)
throws IOException
Returns permissions that a caller has on the specified resource.
Create a request for the method "targetInstances.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.
zone
- The name of the zone 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