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.
Constant Summary collapse
- DEFAULT_ENDPOINT_TEMPLATE =
"https://biglake.$UNIVERSE_DOMAIN$/"
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.
49 50 51 52 53 54 |
# File 'lib/google/apis/biglake_v1/service.rb', line 49 def initialize super(DEFAULT_ENDPOINT_TEMPLATE, '', 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.
42 43 44 |
# File 'lib/google/apis/biglake_v1/service.rb', line 42 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.
47 48 49 |
# File 'lib/google/apis/biglake_v1/service.rb', line 47 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.
81 82 83 84 85 86 87 88 89 90 91 92 |
# File 'lib/google/apis/biglake_v1/service.rb', line 81 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.
222 223 224 225 226 227 228 229 230 231 232 233 |
# File 'lib/google/apis/biglake_v1/service.rb', line 222 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.
405 406 407 408 409 410 411 412 413 414 415 416 |
# File 'lib/google/apis/biglake_v1/service.rb', line 405 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.
115 116 117 118 119 120 121 122 123 |
# File 'lib/google/apis/biglake_v1/service.rb', line 115 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.
257 258 259 260 261 262 263 264 265 |
# File 'lib/google/apis/biglake_v1/service.rb', line 257 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.
440 441 442 443 444 445 446 447 448 |
# File 'lib/google/apis/biglake_v1/service.rb', line 440 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.
146 147 148 149 150 151 152 153 154 |
# File 'lib/google/apis/biglake_v1/service.rb', line 146 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.
289 290 291 292 293 294 295 296 297 |
# File 'lib/google/apis/biglake_v1/service.rb', line 289 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.
472 473 474 475 476 477 478 479 480 |
# File 'lib/google/apis/biglake_v1/service.rb', line 472 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.
514 515 516 517 518 519 520 521 522 523 524 525 |
# File 'lib/google/apis/biglake_v1/service.rb', line 514 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.
328 329 330 331 332 333 334 335 336 337 338 |
# File 'lib/google/apis/biglake_v1/service.rb', line 328 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.
185 186 187 188 189 190 191 192 193 194 195 |
# File 'lib/google/apis/biglake_v1/service.rb', line 185 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.
366 367 368 369 370 371 372 373 374 375 376 377 |
# File 'lib/google/apis/biglake_v1/service.rb', line 366 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.
554 555 556 557 558 559 560 561 562 563 564 565 |
# File 'lib/google/apis/biglake_v1/service.rb', line 554 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.
590 591 592 593 594 595 596 597 598 599 600 |
# File 'lib/google/apis/biglake_v1/service.rb', line 590 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 |