Skip to content

Commit f176ebb

Browse files
feat: Automated regeneration of bigtableadmin v2 client (#22134)
Auto-created at 2025-03-16 10:46:30 +0000 using the toys pull request generator.
1 parent cef760c commit f176ebb

File tree

5 files changed

+423
-2
lines changed

5 files changed

+423
-2
lines changed

api_names_out.yaml

+32
Original file line numberDiff line numberDiff line change
@@ -51616,6 +51616,22 @@
5161651616
"/bigtableadmin:v2/CreateInstanceRequest/instance": instance
5161751617
"/bigtableadmin:v2/CreateInstanceRequest/instanceId": instance_id
5161851618
"/bigtableadmin:v2/CreateInstanceRequest/parent": parent
51619+
"/bigtableadmin:v2/CreateLogicalViewMetadata": create_logical_view_metadata
51620+
"/bigtableadmin:v2/CreateLogicalViewMetadata/endTime": end_time
51621+
"/bigtableadmin:v2/CreateLogicalViewMetadata/originalRequest": original_request
51622+
"/bigtableadmin:v2/CreateLogicalViewMetadata/startTime": start_time
51623+
"/bigtableadmin:v2/CreateLogicalViewRequest": create_logical_view_request
51624+
"/bigtableadmin:v2/CreateLogicalViewRequest/logicalView": logical_view
51625+
"/bigtableadmin:v2/CreateLogicalViewRequest/logicalViewId": logical_view_id
51626+
"/bigtableadmin:v2/CreateLogicalViewRequest/parent": parent
51627+
"/bigtableadmin:v2/CreateMaterializedViewMetadata": create_materialized_view_metadata
51628+
"/bigtableadmin:v2/CreateMaterializedViewMetadata/endTime": end_time
51629+
"/bigtableadmin:v2/CreateMaterializedViewMetadata/originalRequest": original_request
51630+
"/bigtableadmin:v2/CreateMaterializedViewMetadata/startTime": start_time
51631+
"/bigtableadmin:v2/CreateMaterializedViewRequest": create_materialized_view_request
51632+
"/bigtableadmin:v2/CreateMaterializedViewRequest/materializedView": materialized_view
51633+
"/bigtableadmin:v2/CreateMaterializedViewRequest/materializedViewId": materialized_view_id
51634+
"/bigtableadmin:v2/CreateMaterializedViewRequest/parent": parent
5161951635
"/bigtableadmin:v2/CreateTableRequest": create_table_request
5162051636
"/bigtableadmin:v2/CreateTableRequest/initialSplits": initial_splits
5162151637
"/bigtableadmin:v2/CreateTableRequest/initialSplits/initial_split": initial_split
@@ -51800,6 +51816,15 @@
5180051816
"/bigtableadmin:v2/Location/metadata": metadata
5180151817
"/bigtableadmin:v2/Location/metadata/metadatum": metadatum
5180251818
"/bigtableadmin:v2/Location/name": name
51819+
"/bigtableadmin:v2/LogicalView": logical_view
51820+
"/bigtableadmin:v2/LogicalView/etag": etag
51821+
"/bigtableadmin:v2/LogicalView/name": name
51822+
"/bigtableadmin:v2/LogicalView/query": query
51823+
"/bigtableadmin:v2/MaterializedView": materialized_view
51824+
"/bigtableadmin:v2/MaterializedView/deletionProtection": deletion_protection
51825+
"/bigtableadmin:v2/MaterializedView/etag": etag
51826+
"/bigtableadmin:v2/MaterializedView/name": name
51827+
"/bigtableadmin:v2/MaterializedView/query": query
5180351828
"/bigtableadmin:v2/Modification": modification
5180451829
"/bigtableadmin:v2/Modification/create": create
5180551830
"/bigtableadmin:v2/Modification/drop": drop
@@ -51941,6 +51966,13 @@
5194151966
"/bigtableadmin:v2/UpdateInstanceMetadata/finishTime": finish_time
5194251967
"/bigtableadmin:v2/UpdateInstanceMetadata/originalRequest": original_request
5194351968
"/bigtableadmin:v2/UpdateInstanceMetadata/requestTime": request_time
51969+
"/bigtableadmin:v2/UpdateLogicalViewMetadata": update_logical_view_metadata
51970+
"/bigtableadmin:v2/UpdateLogicalViewMetadata/endTime": end_time
51971+
"/bigtableadmin:v2/UpdateLogicalViewMetadata/originalRequest": original_request
51972+
"/bigtableadmin:v2/UpdateLogicalViewMetadata/startTime": start_time
51973+
"/bigtableadmin:v2/UpdateLogicalViewRequest": update_logical_view_request
51974+
"/bigtableadmin:v2/UpdateLogicalViewRequest/logicalView": logical_view
51975+
"/bigtableadmin:v2/UpdateLogicalViewRequest/updateMask": update_mask
5194451976
"/bigtableadmin:v2/UpdateTableMetadata": update_table_metadata
5194551977
"/bigtableadmin:v2/UpdateTableMetadata/endTime": end_time
5194651978
"/bigtableadmin:v2/UpdateTableMetadata/name": name

generated/google-apis-bigtableadmin_v2/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-bigtableadmin_v2
22

3+
### v0.68.0 (2025-03-16)
4+
5+
* Regenerated from discovery document revision 20250308
6+
37
### v0.67.0 (2025-03-09)
48

59
* Regenerated from discovery document revision 20250227

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

+259
Original file line numberDiff line numberDiff line change
@@ -1191,6 +1191,134 @@ def update!(**args)
11911191
end
11921192
end
11931193

1194+
# The metadata for the Operation returned by CreateLogicalView.
1195+
class CreateLogicalViewMetadata
1196+
include Google::Apis::Core::Hashable
1197+
1198+
# If set, the time at which this operation finished or was canceled.
1199+
# Corresponds to the JSON property `endTime`
1200+
# @return [String]
1201+
attr_accessor :end_time
1202+
1203+
# Request message for BigtableInstanceAdmin.CreateLogicalView.
1204+
# Corresponds to the JSON property `originalRequest`
1205+
# @return [Google::Apis::BigtableadminV2::CreateLogicalViewRequest]
1206+
attr_accessor :original_request
1207+
1208+
# The time at which this operation started.
1209+
# Corresponds to the JSON property `startTime`
1210+
# @return [String]
1211+
attr_accessor :start_time
1212+
1213+
def initialize(**args)
1214+
update!(**args)
1215+
end
1216+
1217+
# Update properties of this object
1218+
def update!(**args)
1219+
@end_time = args[:end_time] if args.key?(:end_time)
1220+
@original_request = args[:original_request] if args.key?(:original_request)
1221+
@start_time = args[:start_time] if args.key?(:start_time)
1222+
end
1223+
end
1224+
1225+
# Request message for BigtableInstanceAdmin.CreateLogicalView.
1226+
class CreateLogicalViewRequest
1227+
include Google::Apis::Core::Hashable
1228+
1229+
# A SQL logical view object that can be referenced in SQL queries.
1230+
# Corresponds to the JSON property `logicalView`
1231+
# @return [Google::Apis::BigtableadminV2::LogicalView]
1232+
attr_accessor :logical_view
1233+
1234+
# Required. The ID to use for the logical view, which will become the final
1235+
# component of the logical view's resource name.
1236+
# Corresponds to the JSON property `logicalViewId`
1237+
# @return [String]
1238+
attr_accessor :logical_view_id
1239+
1240+
# Required. The parent instance where this logical view will be created. Format:
1241+
# `projects/`project`/instances/`instance``.
1242+
# Corresponds to the JSON property `parent`
1243+
# @return [String]
1244+
attr_accessor :parent
1245+
1246+
def initialize(**args)
1247+
update!(**args)
1248+
end
1249+
1250+
# Update properties of this object
1251+
def update!(**args)
1252+
@logical_view = args[:logical_view] if args.key?(:logical_view)
1253+
@logical_view_id = args[:logical_view_id] if args.key?(:logical_view_id)
1254+
@parent = args[:parent] if args.key?(:parent)
1255+
end
1256+
end
1257+
1258+
# The metadata for the Operation returned by CreateMaterializedView.
1259+
class CreateMaterializedViewMetadata
1260+
include Google::Apis::Core::Hashable
1261+
1262+
# If set, the time at which this operation finished or was canceled.
1263+
# Corresponds to the JSON property `endTime`
1264+
# @return [String]
1265+
attr_accessor :end_time
1266+
1267+
# Request message for BigtableInstanceAdmin.CreateMaterializedView.
1268+
# Corresponds to the JSON property `originalRequest`
1269+
# @return [Google::Apis::BigtableadminV2::CreateMaterializedViewRequest]
1270+
attr_accessor :original_request
1271+
1272+
# The time at which this operation started.
1273+
# Corresponds to the JSON property `startTime`
1274+
# @return [String]
1275+
attr_accessor :start_time
1276+
1277+
def initialize(**args)
1278+
update!(**args)
1279+
end
1280+
1281+
# Update properties of this object
1282+
def update!(**args)
1283+
@end_time = args[:end_time] if args.key?(:end_time)
1284+
@original_request = args[:original_request] if args.key?(:original_request)
1285+
@start_time = args[:start_time] if args.key?(:start_time)
1286+
end
1287+
end
1288+
1289+
# Request message for BigtableInstanceAdmin.CreateMaterializedView.
1290+
class CreateMaterializedViewRequest
1291+
include Google::Apis::Core::Hashable
1292+
1293+
# A materialized view object that can be referenced in SQL queries.
1294+
# Corresponds to the JSON property `materializedView`
1295+
# @return [Google::Apis::BigtableadminV2::MaterializedView]
1296+
attr_accessor :materialized_view
1297+
1298+
# Required. The ID to use for the materialized view, which will become the final
1299+
# component of the materialized view's resource name.
1300+
# Corresponds to the JSON property `materializedViewId`
1301+
# @return [String]
1302+
attr_accessor :materialized_view_id
1303+
1304+
# Required. The parent instance where this materialized view will be created.
1305+
# Format: `projects/`project`/instances/`instance``.
1306+
# Corresponds to the JSON property `parent`
1307+
# @return [String]
1308+
attr_accessor :parent
1309+
1310+
def initialize(**args)
1311+
update!(**args)
1312+
end
1313+
1314+
# Update properties of this object
1315+
def update!(**args)
1316+
@materialized_view = args[:materialized_view] if args.key?(:materialized_view)
1317+
@materialized_view_id = args[:materialized_view_id] if args.key?(:materialized_view_id)
1318+
@parent = args[:parent] if args.key?(:parent)
1319+
end
1320+
end
1321+
11941322
# Request message for google.bigtable.admin.v2.BigtableTableAdmin.CreateTable
11951323
class CreateTableRequest
11961324
include Google::Apis::Core::Hashable
@@ -2829,6 +2957,81 @@ def update!(**args)
28292957
end
28302958
end
28312959

2960+
# A SQL logical view object that can be referenced in SQL queries.
2961+
class LogicalView
2962+
include Google::Apis::Core::Hashable
2963+
2964+
# Optional. The etag for this logical view. This may be sent on update requests
2965+
# to ensure that the client has an up-to-date value before proceeding. The
2966+
# server returns an ABORTED error on a mismatched etag.
2967+
# Corresponds to the JSON property `etag`
2968+
# @return [String]
2969+
attr_accessor :etag
2970+
2971+
# Identifier. The unique name of the logical view. Format: `projects/`project`/
2972+
# instances/`instance`/logicalViews/`logical_view``
2973+
# Corresponds to the JSON property `name`
2974+
# @return [String]
2975+
attr_accessor :name
2976+
2977+
# Required. The logical view's select query.
2978+
# Corresponds to the JSON property `query`
2979+
# @return [String]
2980+
attr_accessor :query
2981+
2982+
def initialize(**args)
2983+
update!(**args)
2984+
end
2985+
2986+
# Update properties of this object
2987+
def update!(**args)
2988+
@etag = args[:etag] if args.key?(:etag)
2989+
@name = args[:name] if args.key?(:name)
2990+
@query = args[:query] if args.key?(:query)
2991+
end
2992+
end
2993+
2994+
# A materialized view object that can be referenced in SQL queries.
2995+
class MaterializedView
2996+
include Google::Apis::Core::Hashable
2997+
2998+
# Set to true to make the MaterializedView protected against deletion.
2999+
# Corresponds to the JSON property `deletionProtection`
3000+
# @return [Boolean]
3001+
attr_accessor :deletion_protection
3002+
alias_method :deletion_protection?, :deletion_protection
3003+
3004+
# Optional. The etag for this materialized view. This may be sent on update
3005+
# requests to ensure that the client has an up-to-date value before proceeding.
3006+
# The server returns an ABORTED error on a mismatched etag.
3007+
# Corresponds to the JSON property `etag`
3008+
# @return [String]
3009+
attr_accessor :etag
3010+
3011+
# Identifier. The unique name of the materialized view. Format: `projects/`
3012+
# project`/instances/`instance`/materializedViews/`materialized_view``
3013+
# Corresponds to the JSON property `name`
3014+
# @return [String]
3015+
attr_accessor :name
3016+
3017+
# Required. Immutable. The materialized view's select query.
3018+
# Corresponds to the JSON property `query`
3019+
# @return [String]
3020+
attr_accessor :query
3021+
3022+
def initialize(**args)
3023+
update!(**args)
3024+
end
3025+
3026+
# Update properties of this object
3027+
def update!(**args)
3028+
@deletion_protection = args[:deletion_protection] if args.key?(:deletion_protection)
3029+
@etag = args[:etag] if args.key?(:etag)
3030+
@name = args[:name] if args.key?(:name)
3031+
@query = args[:query] if args.key?(:query)
3032+
end
3033+
end
3034+
28323035
# A create, update, or delete of a particular column family.
28333036
class Modification
28343037
include Google::Apis::Core::Hashable
@@ -4075,6 +4278,62 @@ def update!(**args)
40754278
end
40764279
end
40774280

4281+
# The metadata for the Operation returned by UpdateLogicalView.
4282+
class UpdateLogicalViewMetadata
4283+
include Google::Apis::Core::Hashable
4284+
4285+
# If set, the time at which this operation finished or was canceled.
4286+
# Corresponds to the JSON property `endTime`
4287+
# @return [String]
4288+
attr_accessor :end_time
4289+
4290+
# Request message for BigtableInstanceAdmin.UpdateLogicalView.
4291+
# Corresponds to the JSON property `originalRequest`
4292+
# @return [Google::Apis::BigtableadminV2::UpdateLogicalViewRequest]
4293+
attr_accessor :original_request
4294+
4295+
# The time at which this operation was started.
4296+
# Corresponds to the JSON property `startTime`
4297+
# @return [String]
4298+
attr_accessor :start_time
4299+
4300+
def initialize(**args)
4301+
update!(**args)
4302+
end
4303+
4304+
# Update properties of this object
4305+
def update!(**args)
4306+
@end_time = args[:end_time] if args.key?(:end_time)
4307+
@original_request = args[:original_request] if args.key?(:original_request)
4308+
@start_time = args[:start_time] if args.key?(:start_time)
4309+
end
4310+
end
4311+
4312+
# Request message for BigtableInstanceAdmin.UpdateLogicalView.
4313+
class UpdateLogicalViewRequest
4314+
include Google::Apis::Core::Hashable
4315+
4316+
# A SQL logical view object that can be referenced in SQL queries.
4317+
# Corresponds to the JSON property `logicalView`
4318+
# @return [Google::Apis::BigtableadminV2::LogicalView]
4319+
attr_accessor :logical_view
4320+
4321+
# Optional. The list of fields to update.
4322+
# Corresponds to the JSON property `updateMask`
4323+
# @return [String]
4324+
attr_accessor :update_mask
4325+
4326+
def initialize(**args)
4327+
update!(**args)
4328+
end
4329+
4330+
# Update properties of this object
4331+
def update!(**args)
4332+
@logical_view = args[:logical_view] if args.key?(:logical_view)
4333+
@update_mask = args[:update_mask] if args.key?(:update_mask)
4334+
end
4335+
end
4336+
40784337
# Metadata type for the operation returned by UpdateTable.
40794338
class UpdateTableMetadata
40804339
include Google::Apis::Core::Hashable

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

+2-2
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.67.0"
19+
GEM_VERSION = "0.68.0"
2020

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

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

0 commit comments

Comments
 (0)