Resource: AppProfile
A configuration object describing how Cloud Bigtable should treat traffic from a particular end user application.
JSON representation | |
---|---|
{ "name": string, "etag": string, "description": string, // Union field |
Fields | ||
---|---|---|
name |
The unique name of the app profile. Values are of the form |
|
etag |
Strongly validated etag for optimistic concurrency control. Preserve the value returned from |
|
description |
Long form description of the use case for this AppProfile. |
|
Union field routing_policy . The routing policy for all read/write requests that use this app profile. A value must be explicitly set. routing_policy can be only one of the following: |
||
multiClusterRoutingUseAny |
Use a multi-cluster routing policy. |
|
singleClusterRouting |
Use a single-cluster routing policy. |
MultiClusterRoutingUseAny
Read/write requests are routed to the nearest cluster in the instance, and will fail over to the nearest cluster that is available in the event of transient errors or delays. Clusters in a region are considered equidistant. Choosing this option sacrifices read-your-writes consistency to improve availability.
SingleClusterRouting
Unconditionally routes all read/write requests to a specific cluster. This option preserves read-your-writes consistency but does not improve availability.
JSON representation | |
---|---|
{ "clusterId": string, "allowTransactionalWrites": boolean } |
Fields | |
---|---|
clusterId |
The cluster to which read/write requests should be routed. |
allowTransactionalWrites |
Whether or not |
Methods |
|
---|---|
|
Creates an app profile within an instance. |
|
Deletes an app profile from an instance. |
|
Gets information about an app profile. |
|
Lists information about app profiles in an instance. |
|
Updates an app profile within an instance. |