Class: Google::Apis::OracledatabaseV1::OracleDatabaseService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::OracledatabaseV1::OracleDatabaseService
- Defined in:
- lib/google/apis/oracledatabase_v1/service.rb
Overview
Oracle Database@Google Cloud API
The Oracle Database@Google Cloud API provides a set of APIs to manage Oracle database services, such as Exadata and Autonomous Databases.
Constant Summary collapse
- DEFAULT_ENDPOINT_TEMPLATE =
"https://oracledatabase.$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
-
#cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::Empty
Starts asynchronous cancellation on a long-running operation.
-
#create_project_location_autonomous_database(parent, autonomous_database_object = nil, autonomous_database_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::Operation
Creates a new Autonomous Database in a given project and location.
-
#create_project_location_cloud_exadata_infrastructure(parent, cloud_exadata_infrastructure_object = nil, cloud_exadata_infrastructure_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::Operation
Creates a new Exadata Infrastructure in a given project and location.
-
#create_project_location_cloud_vm_cluster(parent, cloud_vm_cluster_object = nil, cloud_vm_cluster_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::Operation
Creates a new VM Cluster in a given project and location.
-
#delete_project_location_autonomous_database(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::Operation
Deletes a single Autonomous Database.
-
#delete_project_location_cloud_exadata_infrastructure(name, force: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::Operation
Deletes a single Exadata Infrastructure.
-
#delete_project_location_cloud_vm_cluster(name, force: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::Operation
Deletes a single VM Cluster.
-
#delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::Empty
Deletes a long-running operation.
-
#generate_project_location_autonomous_database_wallet(name, generate_autonomous_database_wallet_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::GenerateAutonomousDatabaseWalletResponse
Generates a wallet for an Autonomous Database.
-
#get_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::Location
Gets information about a location.
-
#get_project_location_autonomous_database(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::AutonomousDatabase
Gets the details of a single Autonomous Database.
-
#get_project_location_cloud_exadata_infrastructure(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::CloudExadataInfrastructure
Gets details of a single Exadata Infrastructure.
-
#get_project_location_cloud_vm_cluster(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::CloudVmCluster
Gets details of a single VM Cluster.
-
#get_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::Operation
Gets the latest state of a long-running operation.
-
#initialize ⇒ OracleDatabaseService
constructor
A new instance of OracleDatabaseService.
-
#list_project_location_autonomous_database_backups(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::ListAutonomousDatabaseBackupsResponse
Lists the long-term and automatic backups of an Autonomous Database.
-
#list_project_location_autonomous_database_character_sets(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::ListAutonomousDatabaseCharacterSetsResponse
Lists Autonomous Database Character Sets in a given project and location.
-
#list_project_location_autonomous_databases(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::ListAutonomousDatabasesResponse
Lists the Autonomous Databases in a given project and location.
-
#list_project_location_autonomous_db_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::ListAutonomousDbVersionsResponse
Lists all the available Autonomous Database versions for a project and location.
-
#list_project_location_cloud_exadata_infrastructure_db_servers(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::ListDbServersResponse
Lists the database servers of an Exadata Infrastructure instance.
-
#list_project_location_cloud_exadata_infrastructures(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::ListCloudExadataInfrastructuresResponse
Lists Exadata Infrastructures in a given project and location.
-
#list_project_location_cloud_vm_cluster_db_nodes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::ListDbNodesResponse
Lists the database nodes of a VM Cluster.
-
#list_project_location_cloud_vm_clusters(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::ListCloudVmClustersResponse
Lists the VM Clusters in a given project and location.
-
#list_project_location_db_system_shapes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::ListDbSystemShapesResponse
Lists the database system shapes available for the project and location.
-
#list_project_location_entitlements(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::ListEntitlementsResponse
Lists the entitlements in a given project.
-
#list_project_location_gi_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::ListGiVersionsResponse
Lists all the valid Oracle Grid Infrastructure (GI) versions for the given project and location.
-
#list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::ListOperationsResponse
Lists operations that match the specified filter in the request.
-
#list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::ListLocationsResponse
Lists information about the supported locations for this service.
-
#restore_autonomous_database(name, restore_autonomous_database_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::Operation
Restores a single Autonomous Database.
Constructor Details
#initialize ⇒ OracleDatabaseService
Returns a new instance of OracleDatabaseService.
48 49 50 51 52 53 |
# File 'lib/google/apis/oracledatabase_v1/service.rb', line 48 def initialize super(DEFAULT_ENDPOINT_TEMPLATE, '', client_name: 'google-apis-oracledatabase_v1', client_version: Google::Apis::OracledatabaseV1::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/oracledatabase_v1/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/oracledatabase_v1/service.rb', line 46 def quota_user @quota_user end |
Instance Method Details
#cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::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
.
1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 |
# File 'lib/google/apis/oracledatabase_v1/service.rb', line 1045 def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:cancel', ) command.request_representation = Google::Apis::OracledatabaseV1::CancelOperationRequest::Representation command.request_object = cancel_operation_request_object command.response_representation = Google::Apis::OracledatabaseV1::Empty::Representation command.response_class = Google::Apis::OracledatabaseV1::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 |
#create_project_location_autonomous_database(parent, autonomous_database_object = nil, autonomous_database_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::Operation
Creates a new Autonomous Database in a given project and location.
254 255 256 257 258 259 260 261 262 263 264 265 266 |
# File 'lib/google/apis/oracledatabase_v1/service.rb', line 254 def create_project_location_autonomous_database(parent, autonomous_database_object = nil, autonomous_database_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/autonomousDatabases', ) command.request_representation = Google::Apis::OracledatabaseV1::AutonomousDatabase::Representation command.request_object = autonomous_database_object command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation command.response_class = Google::Apis::OracledatabaseV1::Operation command.params['parent'] = parent unless parent.nil? command.query['autonomousDatabaseId'] = autonomous_database_id unless autonomous_database_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_cloud_exadata_infrastructure(parent, cloud_exadata_infrastructure_object = nil, cloud_exadata_infrastructure_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::Operation
Creates a new Exadata Infrastructure in a given project and location.
528 529 530 531 532 533 534 535 536 537 538 539 540 |
# File 'lib/google/apis/oracledatabase_v1/service.rb', line 528 def create_project_location_cloud_exadata_infrastructure(parent, cloud_exadata_infrastructure_object = nil, cloud_exadata_infrastructure_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/cloudExadataInfrastructures', ) command.request_representation = Google::Apis::OracledatabaseV1::CloudExadataInfrastructure::Representation command.request_object = cloud_exadata_infrastructure_object command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation command.response_class = Google::Apis::OracledatabaseV1::Operation command.params['parent'] = parent unless parent.nil? command.query['cloudExadataInfrastructureId'] = cloud_exadata_infrastructure_id unless cloud_exadata_infrastructure_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_cloud_vm_cluster(parent, cloud_vm_cluster_object = nil, cloud_vm_cluster_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::Operation
Creates a new VM Cluster in a given project and location.
731 732 733 734 735 736 737 738 739 740 741 742 743 |
# File 'lib/google/apis/oracledatabase_v1/service.rb', line 731 def create_project_location_cloud_vm_cluster(parent, cloud_vm_cluster_object = nil, cloud_vm_cluster_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/cloudVmClusters', ) command.request_representation = Google::Apis::OracledatabaseV1::CloudVmCluster::Representation command.request_object = cloud_vm_cluster_object command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation command.response_class = Google::Apis::OracledatabaseV1::Operation command.params['parent'] = parent unless parent.nil? command.query['cloudVmClusterId'] = cloud_vm_cluster_id unless cloud_vm_cluster_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 |
#delete_project_location_autonomous_database(name, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::Operation
Deletes a single Autonomous Database.
296 297 298 299 300 301 302 303 304 305 |
# File 'lib/google/apis/oracledatabase_v1/service.rb', line 296 def delete_project_location_autonomous_database(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation command.response_class = Google::Apis::OracledatabaseV1::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_cloud_exadata_infrastructure(name, force: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::Operation
Deletes a single Exadata Infrastructure.
575 576 577 578 579 580 581 582 583 584 585 |
# File 'lib/google/apis/oracledatabase_v1/service.rb', line 575 def delete_project_location_cloud_exadata_infrastructure(name, force: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation command.response_class = Google::Apis::OracledatabaseV1::Operation command.params['name'] = name unless name.nil? command.query['force'] = force unless force.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_cloud_vm_cluster(name, force: nil, request_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::Operation
Deletes a single VM Cluster.
777 778 779 780 781 782 783 784 785 786 787 |
# File 'lib/google/apis/oracledatabase_v1/service.rb', line 777 def delete_project_location_cloud_vm_cluster(name, force: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation command.response_class = Google::Apis::OracledatabaseV1::Operation command.params['name'] = name unless name.nil? command.query['force'] = force unless force.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::OracledatabaseV1::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
.
1080 1081 1082 1083 1084 1085 1086 1087 1088 |
# File 'lib/google/apis/oracledatabase_v1/service.rb', line 1080 def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::OracledatabaseV1::Empty::Representation command.response_class = Google::Apis::OracledatabaseV1::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 |
#generate_project_location_autonomous_database_wallet(name, generate_autonomous_database_wallet_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::GenerateAutonomousDatabaseWalletResponse
Generates a wallet for an Autonomous Database.
330 331 332 333 334 335 336 337 338 339 340 |
# File 'lib/google/apis/oracledatabase_v1/service.rb', line 330 def generate_project_location_autonomous_database_wallet(name, generate_autonomous_database_wallet_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:generateWallet', ) command.request_representation = Google::Apis::OracledatabaseV1::GenerateAutonomousDatabaseWalletRequest::Representation command.request_object = generate_autonomous_database_wallet_request_object command.response_representation = Google::Apis::OracledatabaseV1::GenerateAutonomousDatabaseWalletResponse::Representation command.response_class = Google::Apis::OracledatabaseV1::GenerateAutonomousDatabaseWalletResponse 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(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::Location
Gets information about a location.
75 76 77 78 79 80 81 82 83 |
# File 'lib/google/apis/oracledatabase_v1/service.rb', line 75 def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::OracledatabaseV1::Location::Representation command.response_class = Google::Apis::OracledatabaseV1::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_autonomous_database(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::AutonomousDatabase
Gets the details of a single Autonomous Database.
364 365 366 367 368 369 370 371 372 |
# File 'lib/google/apis/oracledatabase_v1/service.rb', line 364 def get_project_location_autonomous_database(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::OracledatabaseV1::AutonomousDatabase::Representation command.response_class = Google::Apis::OracledatabaseV1::AutonomousDatabase 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_cloud_exadata_infrastructure(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::CloudExadataInfrastructure
Gets details of a single Exadata Infrastructure.
609 610 611 612 613 614 615 616 617 |
# File 'lib/google/apis/oracledatabase_v1/service.rb', line 609 def get_project_location_cloud_exadata_infrastructure(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::OracledatabaseV1::CloudExadataInfrastructure::Representation command.response_class = Google::Apis::OracledatabaseV1::CloudExadataInfrastructure 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_cloud_vm_cluster(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::CloudVmCluster
Gets details of a single VM Cluster.
810 811 812 813 814 815 816 817 818 |
# File 'lib/google/apis/oracledatabase_v1/service.rb', line 810 def get_project_location_cloud_vm_cluster(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::OracledatabaseV1::CloudVmCluster::Representation command.response_class = Google::Apis::OracledatabaseV1::CloudVmCluster 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_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::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.
1111 1112 1113 1114 1115 1116 1117 1118 1119 |
# File 'lib/google/apis/oracledatabase_v1/service.rb', line 1111 def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation command.response_class = Google::Apis::OracledatabaseV1::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 |
#list_project_location_autonomous_database_backups(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::ListAutonomousDatabaseBackupsResponse
Lists the long-term and automatic backups of an Autonomous Database.
162 163 164 165 166 167 168 169 170 171 172 173 |
# File 'lib/google/apis/oracledatabase_v1/service.rb', line 162 def list_project_location_autonomous_database_backups(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/autonomousDatabaseBackups', ) command.response_representation = Google::Apis::OracledatabaseV1::ListAutonomousDatabaseBackupsResponse::Representation command.response_class = Google::Apis::OracledatabaseV1::ListAutonomousDatabaseBackupsResponse command.params['parent'] = parent unless parent.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 |
#list_project_location_autonomous_database_character_sets(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::ListAutonomousDatabaseCharacterSetsResponse
Lists Autonomous Database Character Sets in a given project and location.
207 208 209 210 211 212 213 214 215 216 217 218 |
# File 'lib/google/apis/oracledatabase_v1/service.rb', line 207 def list_project_location_autonomous_database_character_sets(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/autonomousDatabaseCharacterSets', ) command.response_representation = Google::Apis::OracledatabaseV1::ListAutonomousDatabaseCharacterSetsResponse::Representation command.response_class = Google::Apis::OracledatabaseV1::ListAutonomousDatabaseCharacterSetsResponse command.params['parent'] = parent unless parent.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 |
#list_project_location_autonomous_databases(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::ListAutonomousDatabasesResponse
Lists the Autonomous Databases in a given project and location.
405 406 407 408 409 410 411 412 413 414 415 416 417 |
# File 'lib/google/apis/oracledatabase_v1/service.rb', line 405 def list_project_location_autonomous_databases(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, 'v1/{+parent}/autonomousDatabases', ) command.response_representation = Google::Apis::OracledatabaseV1::ListAutonomousDatabasesResponse::Representation command.response_class = Google::Apis::OracledatabaseV1::ListAutonomousDatabasesResponse 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_autonomous_db_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::ListAutonomousDbVersionsResponse
Lists all the available Autonomous Database versions for a project and location.
482 483 484 485 486 487 488 489 490 491 492 |
# File 'lib/google/apis/oracledatabase_v1/service.rb', line 482 def list_project_location_autonomous_db_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/autonomousDbVersions', ) command.response_representation = Google::Apis::OracledatabaseV1::ListAutonomousDbVersionsResponse::Representation command.response_class = Google::Apis::OracledatabaseV1::ListAutonomousDbVersionsResponse 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_cloud_exadata_infrastructure_db_servers(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::ListDbServersResponse
Lists the database servers of an Exadata Infrastructure instance.
686 687 688 689 690 691 692 693 694 695 696 |
# File 'lib/google/apis/oracledatabase_v1/service.rb', line 686 def list_project_location_cloud_exadata_infrastructure_db_servers(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/dbServers', ) command.response_representation = Google::Apis::OracledatabaseV1::ListDbServersResponse::Representation command.response_class = Google::Apis::OracledatabaseV1::ListDbServersResponse 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_cloud_exadata_infrastructures(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::ListCloudExadataInfrastructuresResponse
Lists Exadata Infrastructures in a given project and location.
646 647 648 649 650 651 652 653 654 655 656 |
# File 'lib/google/apis/oracledatabase_v1/service.rb', line 646 def list_project_location_cloud_exadata_infrastructures(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/cloudExadataInfrastructures', ) command.response_representation = Google::Apis::OracledatabaseV1::ListCloudExadataInfrastructuresResponse::Representation command.response_class = Google::Apis::OracledatabaseV1::ListCloudExadataInfrastructuresResponse 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_cloud_vm_cluster_db_nodes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::ListDbNodesResponse
Lists the database nodes of a VM Cluster.
888 889 890 891 892 893 894 895 896 897 898 |
# File 'lib/google/apis/oracledatabase_v1/service.rb', line 888 def list_project_location_cloud_vm_cluster_db_nodes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/dbNodes', ) command.response_representation = Google::Apis::OracledatabaseV1::ListDbNodesResponse::Representation command.response_class = Google::Apis::OracledatabaseV1::ListDbNodesResponse 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_cloud_vm_clusters(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::ListCloudVmClustersResponse
Lists the VM Clusters in a given project and location.
848 849 850 851 852 853 854 855 856 857 858 859 |
# File 'lib/google/apis/oracledatabase_v1/service.rb', line 848 def list_project_location_cloud_vm_clusters(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/cloudVmClusters', ) command.response_representation = Google::Apis::OracledatabaseV1::ListCloudVmClustersResponse::Representation command.response_class = Google::Apis::OracledatabaseV1::ListCloudVmClustersResponse command.params['parent'] = parent unless parent.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 |
#list_project_location_db_system_shapes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::ListDbSystemShapesResponse
Lists the database system shapes available for the project and location.
927 928 929 930 931 932 933 934 935 936 937 |
# File 'lib/google/apis/oracledatabase_v1/service.rb', line 927 def list_project_location_db_system_shapes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/dbSystemShapes', ) command.response_representation = Google::Apis::OracledatabaseV1::ListDbSystemShapesResponse::Representation command.response_class = Google::Apis::OracledatabaseV1::ListDbSystemShapesResponse 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_entitlements(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::ListEntitlementsResponse
Lists the entitlements in a given project.
965 966 967 968 969 970 971 972 973 974 975 |
# File 'lib/google/apis/oracledatabase_v1/service.rb', line 965 def list_project_location_entitlements(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/entitlements', ) command.response_representation = Google::Apis::OracledatabaseV1::ListEntitlementsResponse::Representation command.response_class = Google::Apis::OracledatabaseV1::ListEntitlementsResponse 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_gi_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::ListGiVersionsResponse
Lists all the valid Oracle Grid Infrastructure (GI) versions for the given project and location.
1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 |
# File 'lib/google/apis/oracledatabase_v1/service.rb', line 1005 def list_project_location_gi_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/giVersions', ) command.response_representation = Google::Apis::OracledatabaseV1::ListGiVersionsResponse::Representation command.response_class = Google::Apis::OracledatabaseV1::ListGiVersionsResponse 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_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::ListOperationsResponse
Lists operations that match the specified filter in the request. If the server
doesn't support this method, it returns UNIMPLEMENTED
.
1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 |
# File 'lib/google/apis/oracledatabase_v1/service.rb', line 1148 def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}/operations', ) command.response_representation = Google::Apis::OracledatabaseV1::ListOperationsResponse::Representation command.response_class = Google::Apis::OracledatabaseV1::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['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, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::ListLocationsResponse
Lists information about the supported locations for this service.
115 116 117 118 119 120 121 122 123 124 125 126 |
# File 'lib/google/apis/oracledatabase_v1/service.rb', line 115 def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}/locations', ) command.response_representation = Google::Apis::OracledatabaseV1::ListLocationsResponse::Representation command.response_class = Google::Apis::OracledatabaseV1::ListLocationsResponse 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['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#restore_autonomous_database(name, restore_autonomous_database_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::OracledatabaseV1::Operation
Restores a single Autonomous Database.
442 443 444 445 446 447 448 449 450 451 452 |
# File 'lib/google/apis/oracledatabase_v1/service.rb', line 442 def restore_autonomous_database(name, restore_autonomous_database_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:restore', ) command.request_representation = Google::Apis::OracledatabaseV1::RestoreAutonomousDatabaseRequest::Representation command.request_object = restore_autonomous_database_request_object command.response_representation = Google::Apis::OracledatabaseV1::Operation::Representation command.response_class = Google::Apis::OracledatabaseV1::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 |