Class: Google::Apis::MetastoreV1beta::DataprocMetastoreService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::MetastoreV1beta::DataprocMetastoreService
- Defined in:
- lib/google/apis/metastore_v1beta/service.rb
Overview
Dataproc Metastore API
The Dataproc Metastore API is used to manage the lifecycle and configuration of metastore services.
Constant Summary collapse
- DEFAULT_ENDPOINT_TEMPLATE =
"https://metastore.$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
-
#alter_project_location_service_location(service, alter_metadata_resource_location_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Alter metadata resource location.
-
#alter_service_table_properties(service, alter_table_properties_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Alter metadata table properties.
-
#cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Empty
Starts asynchronous cancellation on a long-running operation.
-
#cancel_service_migration(service, cancel_migration_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Cancels the ongoing Managed Migration process.
-
#complete_service_migration(service, complete_migration_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Completes the managed migration process.
-
#create_project_location_federation(parent, federation_object = nil, federation_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Creates a metastore federation in a project and location.
-
#create_project_location_service(parent, service_object = nil, request_id: nil, service_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Creates a metastore service in a project and location.
-
#create_project_location_service_backup(parent, backup_object = nil, backup_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Creates a new backup in a given project and location.
-
#create_project_location_service_metadata_import(parent, metadata_import_object = nil, metadata_import_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Creates a new MetadataImport in a given project and location.
-
#delete_project_location_federation(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Deletes a single federation.
-
#delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Empty
Deletes a long-running operation.
-
#delete_project_location_service(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Deletes a single service.
-
#delete_project_location_service_backup(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Deletes a single backup.
-
#delete_project_location_service_migration_execution(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Deletes a single migration execution.
-
#export_service_metadata(service, export_metadata_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Exports metadata from a service.
-
#get_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Location
Gets information about a location.
-
#get_project_location_federation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Federation
Gets the details of a single federation.
-
#get_project_location_federation_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Policy
Gets the access control policy for a resource.
-
#get_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Gets the latest state of a long-running operation.
-
#get_project_location_service(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Service
Gets the details of a single service.
-
#get_project_location_service_backup(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Backup
Gets details of a single backup.
-
#get_project_location_service_backup_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Policy
Gets the access control policy for a resource.
-
#get_project_location_service_database_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Policy
Gets the access control policy for a resource.
-
#get_project_location_service_database_table_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Policy
Gets the access control policy for a resource.
-
#get_project_location_service_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Policy
Gets the access control policy for a resource.
-
#get_project_location_service_metadata_import(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::MetadataImport
Gets details of a single import.
-
#get_project_location_service_migration_execution(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::MigrationExecution
Gets details of a single migration execution.
-
#initialize ⇒ DataprocMetastoreService
constructor
A new instance of DataprocMetastoreService.
-
#list_project_location_federations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::ListFederationsResponse
Lists federations in a project and location.
-
#list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::ListOperationsResponse
Lists operations that match the specified filter in the request.
-
#list_project_location_service_backups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::ListBackupsResponse
Lists backups in a service.
-
#list_project_location_service_metadata_imports(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::ListMetadataImportsResponse
Lists imports in a service.
-
#list_project_location_service_migration_executions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::ListMigrationExecutionsResponse
Lists migration executions on a service.
-
#list_project_location_services(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::ListServicesResponse
Lists services in a project and location.
-
#list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::ListLocationsResponse
Lists information about the supported locations for this service.
-
#move_service_table_to_database(service, move_table_to_database_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Move a table to another database.
-
#patch_project_location_federation(name, federation_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Updates the fields of a federation.
-
#patch_project_location_service(name, service_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Updates the parameters of a single service.
-
#patch_project_location_service_metadata_import(name, metadata_import_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Updates a single import.
-
#query_service_metadata(service, query_metadata_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Query Dataproc Metastore metadata.
-
#remove_service_iam_policy(resource, remove_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::RemoveIamPolicyResponse
Removes the attached IAM policies for a resource.
-
#restore_service(service, restore_service_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Restores a service from a backup.
-
#set_backup_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Policy
Sets the access control policy on the specified resource.
-
#set_database_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Policy
Sets the access control policy on the specified resource.
-
#set_federation_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Policy
Sets the access control policy on the specified resource.
-
#set_service_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Policy
Sets the access control policy on the specified resource.
-
#set_table_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Policy
Sets the access control policy on the specified resource.
-
#start_service_migration(service, start_migration_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Starts the Managed Migration process.
-
#test_backup_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_database_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_federation_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_service_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#test_table_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
Constructor Details
#initialize ⇒ DataprocMetastoreService
Returns a new instance of DataprocMetastoreService.
48 49 50 51 52 53 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 48 def initialize super(DEFAULT_ENDPOINT_TEMPLATE, '', client_name: 'google-apis-metastore_v1beta', client_version: Google::Apis::MetastoreV1beta::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.
41 42 43 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 41 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.
46 47 48 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 46 def quota_user @quota_user end |
Instance Method Details
#alter_project_location_service_location(service, alter_metadata_resource_location_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Alter metadata resource location. The metadata resource can be a database, table, or partition. This functionality only updates the parent directory for the respective metadata resource and does not transfer any existing data to the new location.
663 664 665 666 667 668 669 670 671 672 673 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 663 def alter_project_location_service_location(service, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+service}:alterLocation', ) command.request_representation = Google::Apis::MetastoreV1beta::AlterMetadataResourceLocationRequest::Representation command.request_object = command.response_representation = Google::Apis::MetastoreV1beta::Operation::Representation command.response_class = Google::Apis::MetastoreV1beta::Operation command.params['service'] = service unless service.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#alter_service_table_properties(service, alter_table_properties_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Alter metadata table properties.
698 699 700 701 702 703 704 705 706 707 708 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 698 def alter_service_table_properties(service, alter_table_properties_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+service}:alterTableProperties', ) command.request_representation = Google::Apis::MetastoreV1beta::AlterTablePropertiesRequest::Representation command.request_object = alter_table_properties_request_object command.response_representation = Google::Apis::MetastoreV1beta::Operation::Representation command.response_class = Google::Apis::MetastoreV1beta::Operation command.params['service'] = service unless service.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Empty
Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.
512 513 514 515 516 517 518 519 520 521 522 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 512 def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+name}:cancel', ) command.request_representation = Google::Apis::MetastoreV1beta::CancelOperationRequest::Representation command.request_object = cancel_operation_request_object command.response_representation = Google::Apis::MetastoreV1beta::Empty::Representation command.response_class = Google::Apis::MetastoreV1beta::Empty 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 |
#cancel_service_migration(service, cancel_migration_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Cancels the ongoing Managed Migration process.
733 734 735 736 737 738 739 740 741 742 743 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 733 def cancel_service_migration(service, cancel_migration_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+service}:cancelMigration', ) command.request_representation = Google::Apis::MetastoreV1beta::CancelMigrationRequest::Representation command.request_object = cancel_migration_request_object command.response_representation = Google::Apis::MetastoreV1beta::Operation::Representation command.response_class = Google::Apis::MetastoreV1beta::Operation command.params['service'] = service unless service.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#complete_service_migration(service, complete_migration_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Completes the managed migration process. The Dataproc Metastore service will switch to using its own backend database after successful migration.
769 770 771 772 773 774 775 776 777 778 779 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 769 def complete_service_migration(service, complete_migration_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+service}:completeMigration', ) command.request_representation = Google::Apis::MetastoreV1beta::CompleteMigrationRequest::Representation command.request_object = complete_migration_request_object command.response_representation = Google::Apis::MetastoreV1beta::Operation::Representation command.response_class = Google::Apis::MetastoreV1beta::Operation command.params['service'] = service unless service.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_federation(parent, federation_object = nil, federation_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Creates a metastore federation in a project and location.
173 174 175 176 177 178 179 180 181 182 183 184 185 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 173 def create_project_location_federation(parent, federation_object = nil, federation_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+parent}/federations', ) command.request_representation = Google::Apis::MetastoreV1beta::Federation::Representation command.request_object = federation_object command.response_representation = Google::Apis::MetastoreV1beta::Operation::Representation command.response_class = Google::Apis::MetastoreV1beta::Operation command.params['parent'] = parent unless parent.nil? command.query['federationId'] = federation_id unless federation_id.nil? command.query['requestId'] = request_id unless request_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_service(parent, service_object = nil, request_id: nil, service_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Creates a metastore service in a project and location.
818 819 820 821 822 823 824 825 826 827 828 829 830 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 818 def create_project_location_service(parent, service_object = nil, request_id: nil, service_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+parent}/services', ) command.request_representation = Google::Apis::MetastoreV1beta::Service::Representation command.request_object = service_object command.response_representation = Google::Apis::MetastoreV1beta::Operation::Representation command.response_class = Google::Apis::MetastoreV1beta::Operation command.params['parent'] = parent unless parent.nil? command.query['requestId'] = request_id unless request_id.nil? command.query['serviceId'] = service_id unless service_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_service_backup(parent, backup_object = nil, backup_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Creates a new backup in a given project and location.
1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 1378 def create_project_location_service_backup(parent, backup_object = nil, backup_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+parent}/backups', ) command.request_representation = Google::Apis::MetastoreV1beta::Backup::Representation command.request_object = backup_object command.response_representation = Google::Apis::MetastoreV1beta::Operation::Representation command.response_class = Google::Apis::MetastoreV1beta::Operation command.params['parent'] = parent unless parent.nil? command.query['backupId'] = backup_id unless backup_id.nil? command.query['requestId'] = request_id unless request_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_service_metadata_import(parent, metadata_import_object = nil, metadata_import_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Creates a new MetadataImport in a given project and location.
1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 1917 def (parent, = nil, metadata_import_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+parent}/metadataImports', ) command.request_representation = Google::Apis::MetastoreV1beta::MetadataImport::Representation command.request_object = command.response_representation = Google::Apis::MetastoreV1beta::Operation::Representation command.response_class = Google::Apis::MetastoreV1beta::Operation command.params['parent'] = parent unless parent.nil? command.query['metadataImportId'] = unless .nil? command.query['requestId'] = request_id unless request_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_federation(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Deletes a single federation.
218 219 220 221 222 223 224 225 226 227 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 218 def delete_project_location_federation(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta/{+name}', ) command.response_representation = Google::Apis::MetastoreV1beta::Operation::Representation command.response_class = Google::Apis::MetastoreV1beta::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_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_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Empty
Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns google.rpc.Code. UNIMPLEMENTED.
547 548 549 550 551 552 553 554 555 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 547 def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta/{+name}', ) command.response_representation = Google::Apis::MetastoreV1beta::Empty::Representation command.response_class = Google::Apis::MetastoreV1beta::Empty 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_service(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Deletes a single service.
863 864 865 866 867 868 869 870 871 872 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 863 def delete_project_location_service(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta/{+name}', ) command.response_representation = Google::Apis::MetastoreV1beta::Operation::Representation command.response_class = Google::Apis::MetastoreV1beta::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_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_service_backup(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Deletes a single backup.
1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 1423 def delete_project_location_service_backup(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta/{+name}', ) command.response_representation = Google::Apis::MetastoreV1beta::Operation::Representation command.response_class = Google::Apis::MetastoreV1beta::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_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_service_migration_execution(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Deletes a single migration execution.
2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 2098 def delete_project_location_service_migration_execution(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta/{+name}', ) command.response_representation = Google::Apis::MetastoreV1beta::Operation::Representation command.response_class = Google::Apis::MetastoreV1beta::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_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 |
#export_service_metadata(service, export_metadata_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Exports metadata from a service.
897 898 899 900 901 902 903 904 905 906 907 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 897 def (service, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+service}:exportMetadata', ) command.request_representation = Google::Apis::MetastoreV1beta::ExportMetadataRequest::Representation command.request_object = command.response_representation = Google::Apis::MetastoreV1beta::Operation::Representation command.response_class = Google::Apis::MetastoreV1beta::Operation command.params['service'] = service unless service.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(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Location
Gets information about a location.
75 76 77 78 79 80 81 82 83 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 75 def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}', ) command.response_representation = Google::Apis::MetastoreV1beta::Location::Representation command.response_class = Google::Apis::MetastoreV1beta::Location 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_federation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Federation
Gets the details of a single federation.
251 252 253 254 255 256 257 258 259 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 251 def get_project_location_federation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}', ) command.response_representation = Google::Apis::MetastoreV1beta::Federation::Representation command.response_class = Google::Apis::MetastoreV1beta::Federation 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_federation_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
295 296 297 298 299 300 301 302 303 304 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 295 def get_project_location_federation_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::MetastoreV1beta::Policy::Representation command.response_class = Google::Apis::MetastoreV1beta::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .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_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
578 579 580 581 582 583 584 585 586 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 578 def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}', ) command.response_representation = Google::Apis::MetastoreV1beta::Operation::Representation command.response_class = Google::Apis::MetastoreV1beta::Operation 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_service(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Service
Gets the details of a single service.
931 932 933 934 935 936 937 938 939 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 931 def get_project_location_service(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}', ) command.response_representation = Google::Apis::MetastoreV1beta::Service::Representation command.response_class = Google::Apis::MetastoreV1beta::Service 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_service_backup(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Backup
Gets details of a single backup.
1456 1457 1458 1459 1460 1461 1462 1463 1464 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 1456 def get_project_location_service_backup(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}', ) command.response_representation = Google::Apis::MetastoreV1beta::Backup::Representation command.response_class = Google::Apis::MetastoreV1beta::Backup 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_service_backup_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 1500 def get_project_location_service_backup_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::MetastoreV1beta::Policy::Representation command.response_class = Google::Apis::MetastoreV1beta::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .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_service_database_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 1672 def get_project_location_service_database_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::MetastoreV1beta::Policy::Representation command.response_class = Google::Apis::MetastoreV1beta::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .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_service_database_table_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 1793 def get_project_location_service_database_table_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::MetastoreV1beta::Policy::Representation command.response_class = Google::Apis::MetastoreV1beta::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .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_service_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
975 976 977 978 979 980 981 982 983 984 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 975 def get_project_location_service_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::MetastoreV1beta::Policy::Representation command.response_class = Google::Apis::MetastoreV1beta::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .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_service_metadata_import(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::MetadataImport
Gets details of a single import.
1953 1954 1955 1956 1957 1958 1959 1960 1961 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 1953 def (name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}', ) command.response_representation = Google::Apis::MetastoreV1beta::MetadataImport::Representation command.response_class = Google::Apis::MetastoreV1beta::MetadataImport 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_service_migration_execution(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::MigrationExecution
Gets details of a single migration execution.
2131 2132 2133 2134 2135 2136 2137 2138 2139 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 2131 def get_project_location_service_migration_execution(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}', ) command.response_representation = Google::Apis::MetastoreV1beta::MigrationExecution::Representation command.response_class = Google::Apis::MetastoreV1beta::MigrationExecution 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_federations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::ListFederationsResponse
Lists federations in a project and location.
344 345 346 347 348 349 350 351 352 353 354 355 356 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 344 def list_project_location_federations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+parent}/federations', ) command.response_representation = Google::Apis::MetastoreV1beta::ListFederationsResponse::Representation command.response_class = Google::Apis::MetastoreV1beta::ListFederationsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.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_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::ListOperationsResponse
Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.
623 624 625 626 627 628 629 630 631 632 633 634 635 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 623 def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}/operations', ) command.response_representation = Google::Apis::MetastoreV1beta::ListOperationsResponse::Representation command.response_class = Google::Apis::MetastoreV1beta::ListOperationsResponse command.params['name'] = name unless name.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.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_service_backups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::ListBackupsResponse
Lists backups in a service.
1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 1548 def list_project_location_service_backups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+parent}/backups', ) command.response_representation = Google::Apis::MetastoreV1beta::ListBackupsResponse::Representation command.response_class = Google::Apis::MetastoreV1beta::ListBackupsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.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_service_metadata_imports(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::ListMetadataImportsResponse
Lists imports in a service.
2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 2001 def (parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+parent}/metadataImports', ) command.response_representation = Google::Apis::MetastoreV1beta::ListMetadataImportsResponse::Representation command.response_class = Google::Apis::MetastoreV1beta::ListMetadataImportsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.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_service_migration_executions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::ListMigrationExecutionsResponse
Lists migration executions on a service.
2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 2180 def list_project_location_service_migration_executions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+parent}/migrationExecutions', ) command.response_representation = Google::Apis::MetastoreV1beta::ListMigrationExecutionsResponse::Representation command.response_class = Google::Apis::MetastoreV1beta::ListMigrationExecutionsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.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_services(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::ListServicesResponse
Lists services in a project and location.
1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 1023 def list_project_location_services(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+parent}/services', ) command.response_representation = Google::Apis::MetastoreV1beta::ListServicesResponse::Representation command.response_class = Google::Apis::MetastoreV1beta::ListServicesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.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_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::ListLocationsResponse
Lists information about the supported locations for this service. This method
can be called in two ways: List all public locations: Use the path GET /v1/
locations. List project-visible locations: Use the path GET /v1/projects/
project_id/locations. This may include public locations as well as private or
other locations specifically visible to the project.
122 123 124 125 126 127 128 129 130 131 132 133 134 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 122 def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}/locations', ) command.response_representation = Google::Apis::MetastoreV1beta::ListLocationsResponse::Representation command.response_class = Google::Apis::MetastoreV1beta::ListLocationsResponse command.params['name'] = name unless name.nil? command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil? command.query['filter'] = filter unless filter.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 |
#move_service_table_to_database(service, move_table_to_database_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Move a table to another database.
1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 1060 def move_service_table_to_database(service, move_table_to_database_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+service}:moveTableToDatabase', ) command.request_representation = Google::Apis::MetastoreV1beta::MoveTableToDatabaseRequest::Representation command.request_object = move_table_to_database_request_object command.response_representation = Google::Apis::MetastoreV1beta::Operation::Representation command.response_class = Google::Apis::MetastoreV1beta::Operation command.params['service'] = service unless service.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_federation(name, federation_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Updates the fields of a federation.
394 395 396 397 398 399 400 401 402 403 404 405 406 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 394 def patch_project_location_federation(name, federation_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta/{+name}', ) command.request_representation = Google::Apis::MetastoreV1beta::Federation::Representation command.request_object = federation_object command.response_representation = Google::Apis::MetastoreV1beta::Operation::Representation command.response_class = Google::Apis::MetastoreV1beta::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.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_service(name, service_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Updates the parameters of a single service.
1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 1109 def patch_project_location_service(name, service_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta/{+name}', ) command.request_representation = Google::Apis::MetastoreV1beta::Service::Representation command.request_object = service_object command.response_representation = Google::Apis::MetastoreV1beta::Operation::Representation command.response_class = Google::Apis::MetastoreV1beta::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.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_service_metadata_import(name, metadata_import_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Updates a single import. Only the description field of MetadataImport is supported to be updated.
2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 2053 def (name, = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta/{+name}', ) command.request_representation = Google::Apis::MetastoreV1beta::MetadataImport::Representation command.request_object = command.response_representation = Google::Apis::MetastoreV1beta::Operation::Representation command.response_class = Google::Apis::MetastoreV1beta::Operation command.params['name'] = name unless name.nil? command.query['requestId'] = request_id unless request_id.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 |
#query_service_metadata(service, query_metadata_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Query Dataproc Metastore metadata.
1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 1146 def (service, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+service}:queryMetadata', ) command.request_representation = Google::Apis::MetastoreV1beta::QueryMetadataRequest::Representation command.request_object = command.response_representation = Google::Apis::MetastoreV1beta::Operation::Representation command.response_class = Google::Apis::MetastoreV1beta::Operation command.params['service'] = service unless service.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#remove_service_iam_policy(resource, remove_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::RemoveIamPolicyResponse
Removes the attached IAM policies for a resource
1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 1183 def remove_service_iam_policy(resource, remove_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+resource}:removeIamPolicy', ) command.request_representation = Google::Apis::MetastoreV1beta::RemoveIamPolicyRequest::Representation command.request_object = remove_iam_policy_request_object command.response_representation = Google::Apis::MetastoreV1beta::RemoveIamPolicyResponse::Representation command.response_class = Google::Apis::MetastoreV1beta::RemoveIamPolicyResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#restore_service(service, restore_service_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Restores a service from a backup.
1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 1218 def restore_service(service, restore_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+service}:restore', ) command.request_representation = Google::Apis::MetastoreV1beta::RestoreServiceRequest::Representation command.request_object = restore_service_request_object command.response_representation = Google::Apis::MetastoreV1beta::Operation::Representation command.response_class = Google::Apis::MetastoreV1beta::Operation command.params['service'] = service unless service.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_backup_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.
1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 1587 def set_backup_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::MetastoreV1beta::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::MetastoreV1beta::Policy::Representation command.response_class = Google::Apis::MetastoreV1beta::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_database_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.
1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 1708 def set_database_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::MetastoreV1beta::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::MetastoreV1beta::Policy::Representation command.response_class = Google::Apis::MetastoreV1beta::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_federation_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.
433 434 435 436 437 438 439 440 441 442 443 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 433 def set_federation_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::MetastoreV1beta::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::MetastoreV1beta::Policy::Representation command.response_class = Google::Apis::MetastoreV1beta::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_service_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.
1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 1255 def set_service_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::MetastoreV1beta::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::MetastoreV1beta::Policy::Representation command.response_class = Google::Apis::MetastoreV1beta::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_table_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.
1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 1829 def set_table_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::MetastoreV1beta::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::MetastoreV1beta::Policy::Representation command.response_class = Google::Apis::MetastoreV1beta::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#start_service_migration(service, start_migration_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::Operation
Starts the Managed Migration process.
1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 1290 def start_service_migration(service, start_migration_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+service}:startMigration', ) command.request_representation = Google::Apis::MetastoreV1beta::StartMigrationRequest::Representation command.request_object = start_migration_request_object command.response_representation = Google::Apis::MetastoreV1beta::Operation::Representation command.response_class = Google::Apis::MetastoreV1beta::Operation command.params['service'] = service unless service.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_backup_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 1626 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::MetastoreV1beta::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::MetastoreV1beta::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::MetastoreV1beta::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_database_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 1747 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::MetastoreV1beta::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::MetastoreV1beta::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::MetastoreV1beta::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_federation_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
472 473 474 475 476 477 478 479 480 481 482 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 472 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::MetastoreV1beta::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::MetastoreV1beta::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::MetastoreV1beta::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_service_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 1329 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::MetastoreV1beta::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::MetastoreV1beta::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::MetastoreV1beta::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_table_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::MetastoreV1beta::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 |
# File 'lib/google/apis/metastore_v1beta/service.rb', line 1868 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::MetastoreV1beta::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::MetastoreV1beta::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::MetastoreV1beta::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |