class Google::Apis::BigtableadminV2::AppProfile
A configuration object describing how Cloud Bigtable should treat traffic from a particular end user application.
Attributes
Long form description of the use case for this AppProfile
. Corresponds to the JSON property `description` @return [String]
Strongly validated etag for optimistic concurrency control. Preserve the value returned from `GetAppProfile` when calling `UpdateAppProfile` to fail the request if there has been a modification in the mean time. The `update_mask` of the request need not include `etag` for this protection to apply. See [ Wikipedia](en.wikipedia.org/wiki/HTTP_ETag) and [RFC 7232](https:// tools.ietf.org/html/rfc7232#section-2.3) for more details. Corresponds to the JSON property `etag` @return [String]
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. Corresponds to the JSON property `multiClusterRoutingUseAny` @return [Google::Apis::BigtableadminV2::MultiClusterRoutingUseAny]
The unique name of the app profile. Values are of the form `projects/`project`/ instances/`instance`/appProfiles/_a-zA-Z0-9*`. Corresponds to the JSON property `name` @return [String]
Unconditionally routes all read/write requests to a specific cluster. This option preserves read-your-writes consistency but does not improve availability. Corresponds to the JSON property `singleClusterRouting` @return [Google::Apis::BigtableadminV2::SingleClusterRouting]
Public Class Methods
# File lib/google/apis/bigtableadmin_v2/classes.rb, line 67 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/bigtableadmin_v2/classes.rb, line 72 def update!(**args) @description = args[:description] if args.key?(:description) @etag = args[:etag] if args.key?(:etag) @multi_cluster_routing_use_any = args[:multi_cluster_routing_use_any] if args.key?(:multi_cluster_routing_use_any) @name = args[:name] if args.key?(:name) @single_cluster_routing = args[:single_cluster_routing] if args.key?(:single_cluster_routing) end