REST Resource: projects.instances.appProfiles

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 routing_policy can be only one of the following:
  "multiClusterRoutingUseAny": {
    object (MultiClusterRoutingUseAny)
  },
  "singleClusterRouting": {
    object (SingleClusterRouting)
  }
  // End of list of possible types for union field routing_policy.
}
Fields
name

string

(OutputOnly) The unique name of the app profile. Values are of the form projects/<project>/instances/<instance>/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*.

etag

string

Strongly validated etag for optimistic concurrency control. Preserve the value returned from appProfiles.get when calling appProfiles.patch to fail the request if there has been a modification in the mean time. The updateMask of the request need not include etag for this protection to apply. See Wikipedia and RFC 7232 for more details.

description

string

Optional 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

object (MultiClusterRoutingUseAny)

Use a multi-cluster routing policy.

singleClusterRouting

object (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

string

The cluster to which read/write requests should be routed.

allowTransactionalWrites

boolean

Whether or not CheckAndMutateRow and ReadModifyWriteRow requests are allowed by this app profile. It is unsafe to send these requests to the same table/row/column in multiple clusters.

Methods

create

Creates an app profile within an instance.

delete

Deletes an app profile from an instance.

get

Gets information about an app profile.

list

Lists information about app profiles in an instance.

patch

Updates an app profile within an instance.
このページは役立ちましたか?評価をお願いいたします。

フィードバックを送信...

Cloud Bigtable Documentation