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.SetSecurityPolicy |
Constructor and Description |
---|
TargetInstances() |
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.SetSecurityPolicy |
setSecurityPolicy(String project,
String zone,
String targetInstance,
SecurityPolicyReference content)
Sets the Google Cloud Armor security policy for the specified target instance.
|
public Compute.TargetInstances.AggregatedList aggregatedList(String project) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.IOException
public Compute.TargetInstances.Delete delete(String project, String zone, String targetInstance) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.zone
- Name of the zone scoping this request.targetInstance
- Name of the TargetInstance resource to delete.IOException
public Compute.TargetInstances.Get get(String project, String zone, String targetInstance) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.zone
- Name of the zone scoping this request.targetInstance
- Name of the TargetInstance resource to return.IOException
public Compute.TargetInstances.Insert insert(String project, String zone, TargetInstance content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.zone
- Name of the zone scoping this request.content
- the TargetInstance
IOException
public Compute.TargetInstances.List list(String project, String zone) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.zone
- Name of the zone scoping this request.IOException
public Compute.TargetInstances.SetSecurityPolicy setSecurityPolicy(String project, String zone, String targetInstance, SecurityPolicyReference content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.zone
- Name of the zone scoping this request.targetInstance
- Name of the TargetInstance resource to which the security policy should be set. The name should
conform to RFC1035.content
- the SecurityPolicyReference
IOException
Copyright © 2011–2024 Google. All rights reserved.