Class: Google::Apis::BiglakeV1::BigLakeServiceService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::BiglakeV1::BigLakeServiceService
- Defined in:
- lib/google/apis/biglake_v1/service.rb
Overview
BigLake API
The BigLake API provides access to BigLake Metastore, a serverless, fully managed, and highly available metastore for open-source data that can be used for querying Apache Iceberg tables in BigQuery.
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
Instance Method Summary collapse
-
#create_project_location_catalog(parent, catalog_object = nil, catalog_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BiglakeV1::Catalog
Creates a new catalog.
-
#create_project_location_catalog_database(parent, database_object = nil, database_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BiglakeV1::Database
Creates a new database.
-
#create_project_location_catalog_database_table(parent, table_object = nil, table_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BiglakeV1::Table
Creates a new table.
-
#delete_project_location_catalog(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BiglakeV1::Catalog
Deletes an existing catalog specified by the catalog ID.
-
#delete_project_location_catalog_database(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BiglakeV1::Database
Deletes an existing database specified by the database ID.
-
#delete_project_location_catalog_database_table(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BiglakeV1::Table
Deletes an existing table specified by the table ID.
-
#get_project_location_catalog(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BiglakeV1::Catalog
Gets the catalog specified by the resource name.
-
#get_project_location_catalog_database(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BiglakeV1::Database
Gets the database specified by the resource name.
-
#get_project_location_catalog_database_table(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BiglakeV1::Table
Gets the table specified by the resource name.
-
#initialize ⇒ BigLakeServiceService
constructor
A new instance of BigLakeServiceService.
-
#list_project_location_catalog_database_tables(parent, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BiglakeV1::ListTablesResponse
List all tables in a specified database.
-
#list_project_location_catalog_databases(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BiglakeV1::ListDatabasesResponse
List all databases in a specified catalog.
-
#list_project_location_catalogs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BiglakeV1::ListCatalogsResponse
List all catalogs in a specified project.
-
#patch_project_location_catalog_database(name, database_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BiglakeV1::Database
Updates an existing database specified by the database ID.
-
#patch_project_location_catalog_database_table(name, table_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BiglakeV1::Table
Updates an existing table specified by the table ID.
-
#rename_table(name, rename_table_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BiglakeV1::Table
Renames an existing table specified by the table ID.
Constructor Details
#initialize ⇒ BigLakeServiceService
Returns a new instance of BigLakeServiceService.
47 48 49 50 51 52 |
# File 'lib/google/apis/biglake_v1/service.rb', line 47 def initialize super('https://biglake.googleapis.com/', '', client_name: 'google-apis-biglake_v1', client_version: Google::Apis::BiglakeV1::GEM_VERSION) @batch_path = 'batch' end |
Instance Attribute Details
#key ⇒ String
Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
40 41 42 |
# File 'lib/google/apis/biglake_v1/service.rb', line 40 def key @key end |
#quota_user ⇒ String
Returns Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
45 46 47 |
# File 'lib/google/apis/biglake_v1/service.rb', line 45 def quota_user @quota_user end |
Instance Method Details
#create_project_location_catalog(parent, catalog_object = nil, catalog_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BiglakeV1::Catalog
Creates a new catalog.
79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'lib/google/apis/biglake_v1/service.rb', line 79 def create_project_location_catalog(parent, catalog_object = nil, catalog_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/catalogs', ) command.request_representation = Google::Apis::BiglakeV1::Catalog::Representation command.request_object = catalog_object command.response_representation = Google::Apis::BiglakeV1::Catalog::Representation command.response_class = Google::Apis::BiglakeV1::Catalog command.params['parent'] = parent unless parent.nil? command.query['catalogId'] = catalog_id unless catalog_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_catalog_database(parent, database_object = nil, database_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BiglakeV1::Database
Creates a new database.
220 221 222 223 224 225 226 227 228 229 230 231 |
# File 'lib/google/apis/biglake_v1/service.rb', line 220 def create_project_location_catalog_database(parent, database_object = nil, database_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/databases', ) command.request_representation = Google::Apis::BiglakeV1::Database::Representation command.request_object = database_object command.response_representation = Google::Apis::BiglakeV1::Database::Representation command.response_class = Google::Apis::BiglakeV1::Database command.params['parent'] = parent unless parent.nil? command.query['databaseId'] = database_id unless database_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_catalog_database_table(parent, table_object = nil, table_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BiglakeV1::Table
Creates a new table.
403 404 405 406 407 408 409 410 411 412 413 414 |
# File 'lib/google/apis/biglake_v1/service.rb', line 403 def create_project_location_catalog_database_table(parent, table_object = nil, table_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/tables', ) command.request_representation = Google::Apis::BiglakeV1::Table::Representation command.request_object = table_object command.response_representation = Google::Apis::BiglakeV1::Table::Representation command.response_class = Google::Apis::BiglakeV1::Table command.params['parent'] = parent unless parent.nil? command.query['tableId'] = table_id unless table_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_catalog(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BiglakeV1::Catalog
Deletes an existing catalog specified by the catalog ID.
113 114 115 116 117 118 119 120 121 |
# File 'lib/google/apis/biglake_v1/service.rb', line 113 def delete_project_location_catalog(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::BiglakeV1::Catalog::Representation command.response_class = Google::Apis::BiglakeV1::Catalog command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_catalog_database(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BiglakeV1::Database
Deletes an existing database specified by the database ID.
255 256 257 258 259 260 261 262 263 |
# File 'lib/google/apis/biglake_v1/service.rb', line 255 def delete_project_location_catalog_database(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::BiglakeV1::Database::Representation command.response_class = Google::Apis::BiglakeV1::Database command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_catalog_database_table(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BiglakeV1::Table
Deletes an existing table specified by the table ID.
438 439 440 441 442 443 444 445 446 |
# File 'lib/google/apis/biglake_v1/service.rb', line 438 def delete_project_location_catalog_database_table(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::BiglakeV1::Table::Representation command.response_class = Google::Apis::BiglakeV1::Table command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_catalog(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BiglakeV1::Catalog
Gets the catalog specified by the resource name.
144 145 146 147 148 149 150 151 152 |
# File 'lib/google/apis/biglake_v1/service.rb', line 144 def get_project_location_catalog(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::BiglakeV1::Catalog::Representation command.response_class = Google::Apis::BiglakeV1::Catalog command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_catalog_database(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BiglakeV1::Database
Gets the database specified by the resource name.
287 288 289 290 291 292 293 294 295 |
# File 'lib/google/apis/biglake_v1/service.rb', line 287 def get_project_location_catalog_database(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::BiglakeV1::Database::Representation command.response_class = Google::Apis::BiglakeV1::Database command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_catalog_database_table(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BiglakeV1::Table
Gets the table specified by the resource name.
470 471 472 473 474 475 476 477 478 |
# File 'lib/google/apis/biglake_v1/service.rb', line 470 def get_project_location_catalog_database_table(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::BiglakeV1::Table::Representation command.response_class = Google::Apis::BiglakeV1::Table command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_catalog_database_tables(parent, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BiglakeV1::ListTablesResponse
List all tables in a specified database.
512 513 514 515 516 517 518 519 520 521 522 523 |
# File 'lib/google/apis/biglake_v1/service.rb', line 512 def list_project_location_catalog_database_tables(parent, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/tables', ) command.response_representation = Google::Apis::BiglakeV1::ListTablesResponse::Representation command.response_class = Google::Apis::BiglakeV1::ListTablesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['view'] = view unless view.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_catalog_databases(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BiglakeV1::ListDatabasesResponse
List all databases in a specified catalog.
326 327 328 329 330 331 332 333 334 335 336 |
# File 'lib/google/apis/biglake_v1/service.rb', line 326 def list_project_location_catalog_databases(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/databases', ) command.response_representation = Google::Apis::BiglakeV1::ListDatabasesResponse::Representation command.response_class = Google::Apis::BiglakeV1::ListDatabasesResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_catalogs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BiglakeV1::ListCatalogsResponse
List all catalogs in a specified project.
183 184 185 186 187 188 189 190 191 192 193 |
# File 'lib/google/apis/biglake_v1/service.rb', line 183 def list_project_location_catalogs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/catalogs', ) command.response_representation = Google::Apis::BiglakeV1::ListCatalogsResponse::Representation command.response_class = Google::Apis::BiglakeV1::ListCatalogsResponse command.params['parent'] = parent unless parent.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_catalog_database(name, database_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BiglakeV1::Database
Updates an existing database specified by the database ID.
364 365 366 367 368 369 370 371 372 373 374 375 |
# File 'lib/google/apis/biglake_v1/service.rb', line 364 def patch_project_location_catalog_database(name, database_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::BiglakeV1::Database::Representation command.request_object = database_object command.response_representation = Google::Apis::BiglakeV1::Database::Representation command.response_class = Google::Apis::BiglakeV1::Database command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_catalog_database_table(name, table_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BiglakeV1::Table
Updates an existing table specified by the table ID.
552 553 554 555 556 557 558 559 560 561 562 563 |
# File 'lib/google/apis/biglake_v1/service.rb', line 552 def patch_project_location_catalog_database_table(name, table_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::BiglakeV1::Table::Representation command.request_object = table_object command.response_representation = Google::Apis::BiglakeV1::Table::Representation command.response_class = Google::Apis::BiglakeV1::Table command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#rename_table(name, rename_table_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::BiglakeV1::Table
Renames an existing table specified by the table ID.
588 589 590 591 592 593 594 595 596 597 598 |
# File 'lib/google/apis/biglake_v1/service.rb', line 588 def rename_table(name, rename_table_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:rename', ) command.request_representation = Google::Apis::BiglakeV1::RenameTableRequest::Representation command.request_object = rename_table_request_object command.response_representation = Google::Apis::BiglakeV1::Table::Representation command.response_class = Google::Apis::BiglakeV1::Table command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |