Skip to content

Commit 96fd917

Browse files
feat: Automated regeneration of bigtableadmin v2 client (#16509)
Auto-created at 2023-10-22 11:16:07 +0000 using the toys pull request generator.
1 parent 7414182 commit 96fd917

File tree

5 files changed

+59
-10
lines changed

5 files changed

+59
-10
lines changed

api_names_out.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39115,7 +39115,9 @@
3911539115
"/bigtableadmin:v2/AppProfile/etag": etag
3911639116
"/bigtableadmin:v2/AppProfile/multiClusterRoutingUseAny": multi_cluster_routing_use_any
3911739117
"/bigtableadmin:v2/AppProfile/name": name
39118+
"/bigtableadmin:v2/AppProfile/priority": priority
3911839119
"/bigtableadmin:v2/AppProfile/singleClusterRouting": single_cluster_routing
39120+
"/bigtableadmin:v2/AppProfile/standardIsolation": standard_isolation
3911939121
"/bigtableadmin:v2/AuditConfig": audit_config
3912039122
"/bigtableadmin:v2/AuditConfig/auditLogConfigs": audit_log_configs
3912139123
"/bigtableadmin:v2/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config
@@ -39383,6 +39385,8 @@
3938339385
"/bigtableadmin:v2/SingleClusterRouting/clusterId": cluster_id
3938439386
"/bigtableadmin:v2/Split": split
3938539387
"/bigtableadmin:v2/Split/key": key
39388+
"/bigtableadmin:v2/StandardIsolation": standard_isolation
39389+
"/bigtableadmin:v2/StandardIsolation/priority": priority
3938639390
"/bigtableadmin:v2/Status": status
3938739391
"/bigtableadmin:v2/Status/code": code
3938839392
"/bigtableadmin:v2/Status/details": details

generated/google-apis-bigtableadmin_v2/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-bigtableadmin_v2
22

3+
### v0.44.0 (2023-10-22)
4+
5+
* Regenerated from discovery document revision 20231013
6+
37
### v0.43.0 (2023-10-01)
48

59
* Regenerated from discovery document revision 20230920

generated/google-apis-bigtableadmin_v2/lib/google/apis/bigtableadmin_v2/classes.rb

Lines changed: 33 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,25 @@ class AppProfile
5757
# @return [String]
5858
attr_accessor :name
5959

60+
# This field has been deprecated in favor of `standard_isolation.priority`. If
61+
# you set this field, `standard_isolation.priority` will be set instead. The
62+
# priority of requests sent using this app profile.
63+
# Corresponds to the JSON property `priority`
64+
# @return [String]
65+
attr_accessor :priority
66+
6067
# Unconditionally routes all read/write requests to a specific cluster. This
6168
# option preserves read-your-writes consistency but does not improve
6269
# availability.
6370
# Corresponds to the JSON property `singleClusterRouting`
6471
# @return [Google::Apis::BigtableadminV2::SingleClusterRouting]
6572
attr_accessor :single_cluster_routing
6673

74+
# Standard options for isolating this app profile's traffic from other use cases.
75+
# Corresponds to the JSON property `standardIsolation`
76+
# @return [Google::Apis::BigtableadminV2::StandardIsolation]
77+
attr_accessor :standard_isolation
78+
6779
def initialize(**args)
6880
update!(**args)
6981
end
@@ -74,7 +86,9 @@ def update!(**args)
7486
@etag = args[:etag] if args.key?(:etag)
7587
@multi_cluster_routing_use_any = args[:multi_cluster_routing_use_any] if args.key?(:multi_cluster_routing_use_any)
7688
@name = args[:name] if args.key?(:name)
89+
@priority = args[:priority] if args.key?(:priority)
7790
@single_cluster_routing = args[:single_cluster_routing] if args.key?(:single_cluster_routing)
91+
@standard_isolation = args[:standard_isolation] if args.key?(:standard_isolation)
7892
end
7993
end
8094

@@ -1749,12 +1763,6 @@ def update!(**args)
17491763
class ModifyColumnFamiliesRequest
17501764
include Google::Apis::Core::Hashable
17511765

1752-
# If true, ignore safety checks when modifying the column families.
1753-
# Corresponds to the JSON property `ignoreWarnings`
1754-
# @return [Boolean]
1755-
attr_accessor :ignore_warnings
1756-
alias_method :ignore_warnings?, :ignore_warnings
1757-
17581766
# Required. Modifications to be atomically applied to the specified table's
17591767
# families. Entries are applied in order, meaning that earlier modifications can
17601768
# be masked by later ones (in the case of repeated updates to the same family,
@@ -1769,7 +1777,6 @@ def initialize(**args)
17691777

17701778
# Update properties of this object
17711779
def update!(**args)
1772-
@ignore_warnings = args[:ignore_warnings] if args.key?(:ignore_warnings)
17731780
@modifications = args[:modifications] if args.key?(:modifications)
17741781
end
17751782
end
@@ -2307,6 +2314,25 @@ def update!(**args)
23072314
end
23082315
end
23092316

2317+
# Standard options for isolating this app profile's traffic from other use cases.
2318+
class StandardIsolation
2319+
include Google::Apis::Core::Hashable
2320+
2321+
# The priority of requests sent using this app profile.
2322+
# Corresponds to the JSON property `priority`
2323+
# @return [String]
2324+
attr_accessor :priority
2325+
2326+
def initialize(**args)
2327+
update!(**args)
2328+
end
2329+
2330+
# Update properties of this object
2331+
def update!(**args)
2332+
@priority = args[:priority] if args.key?(:priority)
2333+
end
2334+
end
2335+
23102336
# The `Status` type defines a logical error model that is suitable for different
23112337
# programming environments, including REST APIs and RPC APIs. It is used by [
23122338
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of

generated/google-apis-bigtableadmin_v2/lib/google/apis/bigtableadmin_v2/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module BigtableadminV2
1818
# Version of the google-apis-bigtableadmin_v2 gem
19-
GEM_VERSION = "0.43.0"
19+
GEM_VERSION = "0.44.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.12.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20230920"
25+
REVISION = "20231013"
2626
end
2727
end
2828
end

generated/google-apis-bigtableadmin_v2/lib/google/apis/bigtableadmin_v2/representations.rb

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
400400
include Google::Apis::Core::JsonObjectSupport
401401
end
402402

403+
class StandardIsolation
404+
class Representation < Google::Apis::Core::JsonRepresentation; end
405+
406+
include Google::Apis::Core::JsonObjectSupport
407+
end
408+
403409
class Status
404410
class Representation < Google::Apis::Core::JsonRepresentation; end
405411

@@ -486,8 +492,11 @@ class Representation < Google::Apis::Core::JsonRepresentation
486492
property :multi_cluster_routing_use_any, as: 'multiClusterRoutingUseAny', class: Google::Apis::BigtableadminV2::MultiClusterRoutingUseAny, decorator: Google::Apis::BigtableadminV2::MultiClusterRoutingUseAny::Representation
487493

488494
property :name, as: 'name'
495+
property :priority, as: 'priority'
489496
property :single_cluster_routing, as: 'singleClusterRouting', class: Google::Apis::BigtableadminV2::SingleClusterRouting, decorator: Google::Apis::BigtableadminV2::SingleClusterRouting::Representation
490497

498+
property :standard_isolation, as: 'standardIsolation', class: Google::Apis::BigtableadminV2::StandardIsolation, decorator: Google::Apis::BigtableadminV2::StandardIsolation::Representation
499+
491500
end
492501
end
493502

@@ -944,7 +953,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
944953
class ModifyColumnFamiliesRequest
945954
# @private
946955
class Representation < Google::Apis::Core::JsonRepresentation
947-
property :ignore_warnings, as: 'ignoreWarnings'
948956
collection :modifications, as: 'modifications', class: Google::Apis::BigtableadminV2::Modification, decorator: Google::Apis::BigtableadminV2::Modification::Representation
949957

950958
end
@@ -1081,6 +1089,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
10811089
end
10821090
end
10831091

1092+
class StandardIsolation
1093+
# @private
1094+
class Representation < Google::Apis::Core::JsonRepresentation
1095+
property :priority, as: 'priority'
1096+
end
1097+
end
1098+
10841099
class Status
10851100
# @private
10861101
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)