@@ -301,6 +301,11 @@ def update!(**args)
301301 class Backup
302302 include Google ::Apis ::Core ::Hashable
303303
304+ # Indicates the backup type of the backup.
305+ # Corresponds to the JSON property `backupType`
306+ # @return [String]
307+ attr_accessor :backup_type
308+
304309 # Encryption information for a given resource. If this resource is protected
305310 # with customer managed encryption, the in-use Cloud Key Management Service (
306311 # Cloud KMS) key version is specified along with its status.
@@ -322,6 +327,16 @@ class Backup
322327 # @return [String]
323328 attr_accessor :expire_time
324329
330+ # The time at which the hot backup will be converted to a standard backup. Once
331+ # the `hot_to_standard_time` has passed, Cloud Bigtable will convert the hot
332+ # backup to a standard backup. This value must be greater than the backup
333+ # creation time by: - At least 24 hours This field only applies for hot backups.
334+ # When creating or updating a standard backup, attempting to set this field will
335+ # fail the request.
336+ # Corresponds to the JSON property `hotToStandardTime`
337+ # @return [String]
338+ attr_accessor :hot_to_standard_time
339+
325340 # A globally unique identifier for the backup which cannot be changed. Values
326341 # are of the form `projects/`project`/instances/`instance`/clusters/`cluster`/
327342 # backups/_a-zA-Z0-9*` The final segment of the name must be between 1 and 50
@@ -369,9 +384,11 @@ def initialize(**args)
369384
370385 # Update properties of this object
371386 def update! ( **args )
387+ @backup_type = args [ :backup_type ] if args . key? ( :backup_type )
372388 @encryption_info = args [ :encryption_info ] if args . key? ( :encryption_info )
373389 @end_time = args [ :end_time ] if args . key? ( :end_time )
374390 @expire_time = args [ :expire_time ] if args . key? ( :expire_time )
391+ @hot_to_standard_time = args [ :hot_to_standard_time ] if args . key? ( :hot_to_standard_time )
375392 @name = args [ :name ] if args . key? ( :name )
376393 @size_bytes = args [ :size_bytes ] if args . key? ( :size_bytes )
377394 @source_backup = args [ :source_backup ] if args . key? ( :source_backup )
@@ -2719,13 +2736,23 @@ class MultiClusterRoutingUseAny
27192736 # @return [Array<String>]
27202737 attr_accessor :cluster_ids
27212738
2739+ # If enabled, the AFE will route the request based on the row key of the request,
2740+ # rather than randomly. Instead, each row key will be assigned to a cluster,
2741+ # and will stick to that cluster. If clusters are added or removed, then this
2742+ # may affect which row keys stick to which clusters. To avoid this, users can
2743+ # specify a group cluster.
2744+ # Corresponds to the JSON property `rowAffinity`
2745+ # @return [Google::Apis::BigtableadminV2::RowAffinity]
2746+ attr_accessor :row_affinity
2747+
27222748 def initialize ( **args )
27232749 update! ( **args )
27242750 end
27252751
27262752 # Update properties of this object
27272753 def update! ( **args )
27282754 @cluster_ids = args [ :cluster_ids ] if args . key? ( :cluster_ids )
2755+ @row_affinity = args [ :row_affinity ] if args . key? ( :row_affinity )
27292756 end
27302757 end
27312758
@@ -3135,6 +3162,23 @@ def update!(**args)
31353162 end
31363163 end
31373164
3165+ # If enabled, the AFE will route the request based on the row key of the request,
3166+ # rather than randomly. Instead, each row key will be assigned to a cluster,
3167+ # and will stick to that cluster. If clusters are added or removed, then this
3168+ # may affect which row keys stick to which clusters. To avoid this, users can
3169+ # specify a group cluster.
3170+ class RowAffinity
3171+ include Google ::Apis ::Core ::Hashable
3172+
3173+ def initialize ( **args )
3174+ update! ( **args )
3175+ end
3176+
3177+ # Update properties of this object
3178+ def update! ( **args )
3179+ end
3180+ end
3181+
31383182 # Request message for `SetIamPolicy` method.
31393183 class SetIamPolicyRequest
31403184 include Google ::Apis ::Core ::Hashable
0 commit comments