| Package | Description |
|---|---|
| com.google.api.services.compute | |
| com.google.api.services.compute.model |
| Modifier and Type | Method and Description |
|---|---|
Compute.TargetPools.Insert |
Compute.TargetPools.insert(java.lang.String project,
java.lang.String region,
TargetPool content)
Creates a target pool in the specified project and region using the data included in the request.
|
| Constructor and Description |
|---|
Compute.TargetPools.Insert(java.lang.String project,
java.lang.String region,
TargetPool content)
Creates a target pool in the specified project and region using the data included in the
request.
|
| Modifier and Type | Method and Description |
|---|---|
TargetPool |
TargetPool.clone() |
TargetPool |
TargetPool.set(java.lang.String fieldName,
java.lang.Object value) |
TargetPool |
TargetPool.setBackupPool(java.lang.String backupPool)
This field is applicable only when the containing target pool is serving a forwarding rule as
the primary pool, and its failoverRatio field is properly set to a value between [0, 1].
|
TargetPool |
TargetPool.setCreationTimestamp(java.lang.String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
TargetPool |
TargetPool.setDescription(java.lang.String description)
An optional description of this resource.
|
TargetPool |
TargetPool.setFailoverRatio(java.lang.Float failoverRatio)
This field is applicable only when the containing target pool is serving a forwarding rule as
the primary pool (i.e., not as a backup pool to some other target pool).
|
TargetPool |
TargetPool.setHealthChecks(java.util.List<java.lang.String> healthChecks)
A list of URLs to the HttpHealthCheck resource.
|
TargetPool |
TargetPool.setId(java.math.BigInteger id)
[Output Only] The unique identifier for the resource.
|
TargetPool |
TargetPool.setInstances(java.util.List<java.lang.String> instances)
A list of resource URLs to the virtual machine instances serving this pool.
|
TargetPool |
TargetPool.setKind(java.lang.String kind)
[Output Only] Type of the resource.
|
TargetPool |
TargetPool.setName(java.lang.String name)
Name of the resource.
|
TargetPool |
TargetPool.setRegion(java.lang.String region)
[Output Only] URL of the region where the target pool resides.
|
TargetPool |
TargetPool.setSelfLink(java.lang.String selfLink)
[Output Only] Server-defined URL for the resource.
|
TargetPool |
TargetPool.setSessionAffinity(java.lang.String sessionAffinity)
Sesssion affinity option, must be one of the following values: NONE: Connections from the same
client IP may go to any instance in the pool.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<TargetPool> |
TargetPoolList.getItems()
A list of TargetPool resources.
|
java.util.List<TargetPool> |
TargetPoolsScopedList.getTargetPools()
List of target pools contained in this scope.
|
| Modifier and Type | Method and Description |
|---|---|
TargetPoolList |
TargetPoolList.setItems(java.util.List<TargetPool> items)
A list of TargetPool resources.
|
TargetPoolsScopedList |
TargetPoolsScopedList.setTargetPools(java.util.List<TargetPool> targetPools)
List of target pools contained in this scope.
|