oci 2.23.0 → 2.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +9 -1
- data/lib/oci/analytics/analytics.rb +5 -0
- data/lib/oci/analytics/analytics_client.rb +422 -52
- data/lib/oci/analytics/analytics_client_composite_operations.rb +188 -27
- data/lib/oci/analytics/models/analytics_instance.rb +32 -15
- data/lib/oci/analytics/models/analytics_instance_summary.rb +9 -8
- data/lib/oci/analytics/models/capacity.rb +2 -2
- data/lib/oci/analytics/models/change_analytics_instance_network_endpoint_details.rb +1 -1
- data/lib/oci/analytics/models/create_analytics_instance_details.rb +8 -6
- data/lib/oci/analytics/models/create_private_access_channel_details.rb +9 -9
- data/lib/oci/analytics/models/create_resource_group_details.rb +190 -0
- data/lib/oci/analytics/models/create_vanity_url_details.rb +5 -5
- data/lib/oci/analytics/models/feature_bundle.rb +1 -0
- data/lib/oci/analytics/models/instance_resource_group.rb +200 -0
- data/lib/oci/analytics/models/instance_resource_group_summary.rb +200 -0
- data/lib/oci/analytics/models/private_access_channel.rb +13 -13
- data/lib/oci/analytics/models/private_endpoint_details.rb +1 -1
- data/lib/oci/analytics/models/private_source_dns_zone.rb +3 -3
- data/lib/oci/analytics/models/private_source_scan_host.rb +4 -4
- data/lib/oci/analytics/models/public_endpoint_details.rb +1 -1
- data/lib/oci/analytics/models/resource_group_sort_by.rb +17 -0
- data/lib/oci/analytics/models/set_feature_bundle_details.rb +1 -0
- data/lib/oci/analytics/models/set_kms_key_details.rb +2 -2
- data/lib/oci/analytics/models/update_analytics_instance_details.rb +3 -3
- data/lib/oci/analytics/models/update_private_access_channel_details.rb +9 -9
- data/lib/oci/analytics/models/update_resource_group_details.rb +190 -0
- data/lib/oci/analytics/models/update_vanity_url_details.rb +4 -4
- data/lib/oci/analytics/models/vanity_url_details.rb +5 -5
- data/lib/oci/analytics/models/work_request.rb +4 -0
- data/lib/oci/analytics/models/work_request_action_result.rb +4 -1
- data/lib/oci/analytics/models/work_request_error.rb +2 -2
- data/lib/oci/analytics/models/work_request_log.rb +1 -1
- data/lib/oci/analytics/models/work_request_operation_type.rb +5 -1
- data/lib/oci/analytics/models/work_request_resource.rb +4 -1
- data/lib/oci/analytics/models/work_request_summary.rb +4 -0
- data/lib/oci/apiaccesscontrol/api_metadata_client.rb +8 -6
- data/lib/oci/apiaccesscontrol/apiaccesscontrol.rb +1 -0
- data/lib/oci/apiaccesscontrol/models/api_metadata.rb +12 -2
- data/lib/oci/apiaccesscontrol/models/api_metadata_by_entity_type_summary.rb +15 -1
- data/lib/oci/apiaccesscontrol/models/approver_detail.rb +15 -1
- data/lib/oci/apiaccesscontrol/models/approver_group_level.rb +169 -0
- data/lib/oci/apiaccesscontrol/models/create_privileged_api_control_details.rb +17 -3
- data/lib/oci/apiaccesscontrol/models/create_privileged_api_request_details.rb +1 -1
- data/lib/oci/apiaccesscontrol/models/privileged_api_control.rb +15 -2
- data/lib/oci/apiaccesscontrol/models/privileged_api_control_summary.rb +0 -1
- data/lib/oci/apiaccesscontrol/models/update_privileged_api_control_details.rb +16 -2
- data/lib/oci/apiaccesscontrol/privileged_api_control_client.rb +4 -3
- data/lib/oci/apiaccesscontrol/privileged_api_requests_client.rb +4 -3
- data/lib/oci/apiaccesscontrol/privileged_api_work_request_client.rb +4 -3
- data/lib/oci/core/core.rb +5 -0
- data/lib/oci/core/models/boot_volume_backup.rb +87 -4
- data/lib/oci/core/models/create_boot_volume_backup_details.rb +59 -4
- data/lib/oci/core/models/create_cross_connect_details.rb +50 -1
- data/lib/oci/core/models/create_cross_connect_group_details.rb +71 -4
- data/lib/oci/core/models/create_dedicated_vm_host_details.rb +21 -4
- data/lib/oci/core/models/create_virtual_circuit_details.rb +63 -4
- data/lib/oci/core/models/create_volume_backup_details.rb +59 -4
- data/lib/oci/core/models/create_volume_group_backup_details.rb +59 -4
- data/lib/oci/core/models/cross_connect.rb +43 -1
- data/lib/oci/core/models/cross_connect_group.rb +63 -4
- data/lib/oci/core/models/dedicated_vm_host.rb +18 -1
- data/lib/oci/core/models/dedicated_vm_host_instance_summary.rb +18 -1
- data/lib/oci/core/models/dedicated_vm_host_summary.rb +18 -1
- data/lib/oci/core/models/instances.rb +140 -0
- data/lib/oci/core/models/letter_of_authority.rb +31 -4
- data/lib/oci/core/models/loa_extension_data.rb +170 -0
- data/lib/oci/core/models/provider_remote_region_name.rb +174 -0
- data/lib/oci/core/models/retention_duration.rb +189 -0
- data/lib/oci/core/models/supported_capabilities.rb +21 -4
- data/lib/oci/core/models/update_boot_volume_backup_details.rb +59 -4
- data/lib/oci/core/models/update_cross_connect_details.rb +32 -4
- data/lib/oci/core/models/update_cross_connect_group_details.rb +49 -4
- data/lib/oci/core/models/update_cross_connect_letter_of_authority_details.rb +195 -0
- data/lib/oci/core/models/update_virtual_circuit_details.rb +30 -1
- data/lib/oci/core/models/update_volume_backup_details.rb +59 -4
- data/lib/oci/core/models/update_volume_group_backup_details.rb +59 -4
- data/lib/oci/core/models/virtual_circuit.rb +80 -1
- data/lib/oci/core/models/volume_backup.rb +87 -4
- data/lib/oci/core/models/volume_backup_schedule.rb +45 -4
- data/lib/oci/core/models/volume_group_backup.rb +73 -4
- data/lib/oci/core/virtual_network_client.rb +136 -2
- data/lib/oci/database/database.rb +13 -0
- data/lib/oci/database/database_client.rb +923 -111
- data/lib/oci/database/database_client_composite_operations.rb +283 -0
- data/lib/oci/database/models/basecc_vm_cluster.rb +713 -0
- data/lib/oci/database/models/basecc_vm_cluster_summary.rb +716 -0
- data/lib/oci/database/models/basecc_vm_cluster_update.rb +342 -0
- data/lib/oci/database/models/basecc_vm_cluster_update_details.rb +198 -0
- data/lib/oci/database/models/basecc_vm_cluster_update_history_entry.rb +318 -0
- data/lib/oci/database/models/basecc_vm_cluster_update_history_entry_summary.rb +321 -0
- data/lib/oci/database/models/basecc_vm_cluster_update_summary.rb +349 -0
- data/lib/oci/database/models/change_basecc_vm_cluster_compartment_details.rb +156 -0
- data/lib/oci/database/models/cloud_vm_cluster.rb +28 -1
- data/lib/oci/database/models/cloud_vm_cluster_summary.rb +28 -1
- data/lib/oci/database/models/create_basecc_vm_cluster_details.rb +506 -0
- data/lib/oci/database/models/create_database_software_image_details.rb +2 -1
- data/lib/oci/database/models/database_software_image.rb +1 -0
- data/lib/oci/database/models/database_software_image_summary.rb +1 -0
- data/lib/oci/database/models/exadata_live_image_version_details.rb +216 -0
- data/lib/oci/database/models/exadb_vm_cluster.rb +53 -4
- data/lib/oci/database/models/exadb_vm_cluster_summary.rb +53 -4
- data/lib/oci/database/models/register_exadb_vm_cluster_pkcs_details.rb +171 -0
- data/lib/oci/database/models/unregister_exadb_vm_cluster_pkcs_details.rb +171 -0
- data/lib/oci/database/models/update.rb +94 -1
- data/lib/oci/database/models/update_basecc_vm_cluster_details.rb +345 -0
- data/lib/oci/database/models/update_details.rb +33 -1
- data/lib/oci/database/models/update_history_entry.rb +39 -1
- data/lib/oci/database/models/update_history_entry_summary.rb +39 -1
- data/lib/oci/database/models/update_summary.rb +94 -1
- data/lib/oci/database/models/vm_cluster.rb +28 -1
- data/lib/oci/database/models/vm_cluster_summary.rb +28 -1
- data/lib/oci/database/models/vm_cluster_update.rb +94 -1
- data/lib/oci/database/models/vm_cluster_update_details.rb +33 -1
- data/lib/oci/database/models/vm_cluster_update_history_entry.rb +39 -1
- data/lib/oci/database/models/vm_cluster_update_history_entry_summary.rb +39 -1
- data/lib/oci/database/models/vm_cluster_update_summary.rb +94 -1
- data/lib/oci/file_storage/models/file_system.rb +37 -4
- data/lib/oci/file_storage/models/file_system_summary.rb +37 -4
- data/lib/oci/file_storage/models/snapshot.rb +19 -4
- data/lib/oci/file_storage/models/snapshot_summary.rb +19 -4
- data/lib/oci/generative_ai/models/create_dedicated_ai_cluster_details.rb +3 -0
- data/lib/oci/generative_ai/models/dedicated_ai_cluster.rb +2 -0
- data/lib/oci/golden_gate/golden_gate.rb +29 -0
- data/lib/oci/golden_gate/golden_gate_client.rb +185 -6
- data/lib/oci/golden_gate/models/ai_model_auth_details.rb +194 -0
- data/lib/oci/golden_gate/models/ai_model_auth_details_summary.rb +194 -0
- data/lib/oci/golden_gate/models/ai_model_auth_type.rb +13 -0
- data/lib/oci/golden_gate/models/ai_model_collection.rb +153 -0
- data/lib/oci/golden_gate/models/ai_model_connection.rb +350 -0
- data/lib/oci/golden_gate/models/ai_model_connection_summary.rb +333 -0
- data/lib/oci/golden_gate/models/ai_model_summary.rb +216 -0
- data/lib/oci/golden_gate/models/ai_provider_collection.rb +153 -0
- data/lib/oci/golden_gate/models/ai_provider_summary.rb +249 -0
- data/lib/oci/golden_gate/models/amazon_kinesis_connection.rb +1 -0
- data/lib/oci/golden_gate/models/amazon_kinesis_connection_summary.rb +1 -0
- data/lib/oci/golden_gate/models/amazon_s3_connection.rb +1 -1
- data/lib/oci/golden_gate/models/amazon_s3_connection_summary.rb +1 -1
- data/lib/oci/golden_gate/models/amazon_s3_iceberg_storage.rb +1 -0
- data/lib/oci/golden_gate/models/amazon_s3_iceberg_storage_summary.rb +1 -0
- data/lib/oci/golden_gate/models/api_key_ai_model_auth_details.rb +199 -0
- data/lib/oci/golden_gate/models/api_key_ai_model_auth_details_summary.rb +181 -0
- data/lib/oci/golden_gate/models/connection.rb +43 -6
- data/lib/oci/golden_gate/models/connection_assignment.rb +63 -1
- data/lib/oci/golden_gate/models/connection_assignment_summary.rb +64 -1
- data/lib/oci/golden_gate/models/connection_summary.rb +42 -6
- data/lib/oci/golden_gate/models/connection_type.rb +2 -1
- data/lib/oci/golden_gate/models/create_ai_model_auth_details.rb +187 -0
- data/lib/oci/golden_gate/models/create_ai_model_connection_details.rb +298 -0
- data/lib/oci/golden_gate/models/create_amazon_kinesis_connection_details.rb +4 -1
- data/lib/oci/golden_gate/models/create_amazon_redshift_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_amazon_s3_connection_details.rb +5 -3
- data/lib/oci/golden_gate/models/create_amazon_s3_iceberg_storage_details.rb +5 -2
- data/lib/oci/golden_gate/models/create_api_key_ai_model_auth_details.rb +199 -0
- data/lib/oci/golden_gate/models/create_azure_data_lake_storage_connection_details.rb +9 -3
- data/lib/oci/golden_gate/models/create_azure_data_lake_storage_iceberg_storage_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_azure_synapse_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_connection_details.rb +43 -7
- data/lib/oci/golden_gate/models/create_database_registration_details.rb +6 -2
- data/lib/oci/golden_gate/models/create_databricks_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/create_db2_connection_details.rb +9 -3
- data/lib/oci/golden_gate/models/create_elasticsearch_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_golden_gate_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_google_big_query_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_google_cloud_storage_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_google_cloud_storage_iceberg_storage_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_google_pub_sub_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_iceberg_connection_details.rb +1 -0
- data/lib/oci/golden_gate/models/create_iceberg_storage_details.rb +5 -1
- data/lib/oci/golden_gate/models/create_java_message_service_connection_details.rb +21 -7
- data/lib/oci/golden_gate/models/create_kafka_connection_details.rb +18 -6
- data/lib/oci/golden_gate/models/create_kafka_schema_registry_connection_details.rb +18 -6
- data/lib/oci/golden_gate/models/create_microsoft_fabric_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_microsoft_sqlserver_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_mongo_db_connection_details.rb +9 -3
- data/lib/oci/golden_gate/models/create_mysql_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/create_no_iceberg_storage_details.rb +148 -0
- data/lib/oci/golden_gate/models/create_oci_gen_ai_model_auth_details.rb +242 -0
- data/lib/oci/golden_gate/models/create_oci_object_storage_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/create_oci_object_storage_s3_api_iceberg_storage_details.rb +228 -0
- data/lib/oci/golden_gate/models/create_oracle_ai_data_platform_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/create_oracle_connection_details.rb +7 -3
- data/lib/oci/golden_gate/models/create_oracle_nosql_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/create_postgresql_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/create_redis_connection_details.rb +15 -5
- data/lib/oci/golden_gate/models/create_snowflake_connection_details.rb +9 -3
- data/lib/oci/golden_gate/models/deployment_type_summary.rb +1 -0
- data/lib/oci/golden_gate/models/iceberg_connection.rb +1 -0
- data/lib/oci/golden_gate/models/iceberg_connection_summary.rb +1 -0
- data/lib/oci/golden_gate/models/iceberg_storage.rb +4 -0
- data/lib/oci/golden_gate/models/iceberg_storage_summary.rb +4 -0
- data/lib/oci/golden_gate/models/iceberg_storage_type.rb +3 -1
- data/lib/oci/golden_gate/models/kafka_connection.rb +1 -0
- data/lib/oci/golden_gate/models/no_iceberg_storage.rb +148 -0
- data/lib/oci/golden_gate/models/no_iceberg_storage_summary.rb +148 -0
- data/lib/oci/golden_gate/models/oci_gen_ai_model_auth_details.rb +242 -0
- data/lib/oci/golden_gate/models/oci_gen_ai_model_auth_details_summary.rb +224 -0
- data/lib/oci/golden_gate/models/oci_object_storage_s3_api_iceberg_storage.rb +209 -0
- data/lib/oci/golden_gate/models/oci_object_storage_s3_api_iceberg_storage_summary.rb +209 -0
- data/lib/oci/golden_gate/models/oracle_connection.rb +4 -1
- data/lib/oci/golden_gate/models/oracle_connection_summary.rb +1 -1
- data/lib/oci/golden_gate/models/technology_type.rb +6 -1
- data/lib/oci/golden_gate/models/update_ai_model_auth_details.rb +187 -0
- data/lib/oci/golden_gate/models/update_ai_model_connection_details.rb +237 -0
- data/lib/oci/golden_gate/models/update_amazon_kinesis_connection_details.rb +4 -1
- data/lib/oci/golden_gate/models/update_amazon_redshift_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_amazon_s3_connection_details.rb +5 -3
- data/lib/oci/golden_gate/models/update_amazon_s3_iceberg_storage_details.rb +5 -2
- data/lib/oci/golden_gate/models/update_api_key_ai_model_auth_details.rb +199 -0
- data/lib/oci/golden_gate/models/update_azure_data_lake_storage_connection_details.rb +9 -3
- data/lib/oci/golden_gate/models/update_azure_data_lake_storage_iceberg_storage_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_azure_synapse_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_connection_details.rb +43 -7
- data/lib/oci/golden_gate/models/update_database_registration_details.rb +6 -2
- data/lib/oci/golden_gate/models/update_databricks_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/update_db2_connection_details.rb +9 -3
- data/lib/oci/golden_gate/models/update_elasticsearch_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_golden_gate_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_google_big_query_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_google_cloud_storage_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_google_cloud_storage_iceberg_storage_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_google_pub_sub_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_iceberg_storage_details.rb +5 -1
- data/lib/oci/golden_gate/models/update_java_message_service_connection_details.rb +21 -7
- data/lib/oci/golden_gate/models/update_kafka_connection_details.rb +18 -6
- data/lib/oci/golden_gate/models/update_kafka_schema_registry_connection_details.rb +18 -6
- data/lib/oci/golden_gate/models/update_microsoft_fabric_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_microsoft_sqlserver_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_mongo_db_connection_details.rb +9 -3
- data/lib/oci/golden_gate/models/update_mysql_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/update_no_iceberg_storage_details.rb +148 -0
- data/lib/oci/golden_gate/models/update_oci_gen_ai_model_auth_details.rb +242 -0
- data/lib/oci/golden_gate/models/update_oci_object_storage_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/update_oci_object_storage_s3_api_iceberg_storage_details.rb +228 -0
- data/lib/oci/golden_gate/models/update_oracle_ai_data_platform_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/update_oracle_connection_details.rb +7 -3
- data/lib/oci/golden_gate/models/update_oracle_nosql_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/update_postgresql_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/update_redis_connection_details.rb +15 -5
- data/lib/oci/golden_gate/models/update_snowflake_connection_details.rb +9 -3
- data/lib/oci/regions.rb +8 -1
- data/lib/oci/version.rb +1 -1
- metadata +55 -2
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
2
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
3
|
+
|
|
4
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200407
|
|
5
|
+
require 'date'
|
|
6
|
+
require_relative 'update_ai_model_auth_details'
|
|
7
|
+
|
|
8
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
|
9
|
+
module OCI
|
|
10
|
+
# The information to update OCI Generative AI authentication details for an AI Model connection.
|
|
11
|
+
#
|
|
12
|
+
class GoldenGate::Models::UpdateOciGenAiModelAuthDetails < GoldenGate::Models::UpdateAiModelAuthDetails
|
|
13
|
+
# API key for the AI model connection.
|
|
14
|
+
# Deprecated: This field is deprecated and replaced by \"apiKeySecretId\".
|
|
15
|
+
# This change follows the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
16
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
17
|
+
#
|
|
18
|
+
# @return [String]
|
|
19
|
+
attr_accessor :api_key
|
|
20
|
+
|
|
21
|
+
# API key secret OCID for the AI model connection.
|
|
22
|
+
#
|
|
23
|
+
# @return [String]
|
|
24
|
+
attr_accessor :api_key_secret_id
|
|
25
|
+
|
|
26
|
+
# OCI Generative AI key fingerprint.
|
|
27
|
+
#
|
|
28
|
+
# @return [String]
|
|
29
|
+
attr_accessor :key_fingerprint
|
|
30
|
+
|
|
31
|
+
# The name of the region. e.g.: us-ashburn-1
|
|
32
|
+
# If the region is not provided, backend will default to the default region.
|
|
33
|
+
#
|
|
34
|
+
# @return [String]
|
|
35
|
+
attr_accessor :region
|
|
36
|
+
|
|
37
|
+
# OCI Generative AI tenancy OCID. If this value is not provided, or is updated to an empty
|
|
38
|
+
# value, it defaults to the tenancy OCID of the user who is executing the operation.
|
|
39
|
+
#
|
|
40
|
+
# @return [String]
|
|
41
|
+
attr_accessor :tenancy_id
|
|
42
|
+
|
|
43
|
+
# OCI Generative AI user OCID. If this value is not provided, or is updated to an empty
|
|
44
|
+
# value, it defaults to the OCID of the user who is executing the operation.
|
|
45
|
+
#
|
|
46
|
+
# @return [String]
|
|
47
|
+
attr_accessor :user_id
|
|
48
|
+
|
|
49
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
50
|
+
def self.attribute_map
|
|
51
|
+
{
|
|
52
|
+
# rubocop:disable Style/SymbolLiteral
|
|
53
|
+
'auth_type': :'authType',
|
|
54
|
+
'api_key': :'apiKey',
|
|
55
|
+
'api_key_secret_id': :'apiKeySecretId',
|
|
56
|
+
'key_fingerprint': :'keyFingerprint',
|
|
57
|
+
'region': :'region',
|
|
58
|
+
'tenancy_id': :'tenancyId',
|
|
59
|
+
'user_id': :'userId'
|
|
60
|
+
# rubocop:enable Style/SymbolLiteral
|
|
61
|
+
}
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
# Attribute type mapping.
|
|
65
|
+
def self.swagger_types
|
|
66
|
+
{
|
|
67
|
+
# rubocop:disable Style/SymbolLiteral
|
|
68
|
+
'auth_type': :'String',
|
|
69
|
+
'api_key': :'String',
|
|
70
|
+
'api_key_secret_id': :'String',
|
|
71
|
+
'key_fingerprint': :'String',
|
|
72
|
+
'region': :'String',
|
|
73
|
+
'tenancy_id': :'String',
|
|
74
|
+
'user_id': :'String'
|
|
75
|
+
# rubocop:enable Style/SymbolLiteral
|
|
76
|
+
}
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
80
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
# Initializes the object
|
|
84
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
85
|
+
# @option attributes [String] :api_key The value to assign to the {#api_key} property
|
|
86
|
+
# @option attributes [String] :api_key_secret_id The value to assign to the {#api_key_secret_id} property
|
|
87
|
+
# @option attributes [String] :key_fingerprint The value to assign to the {#key_fingerprint} property
|
|
88
|
+
# @option attributes [String] :region The value to assign to the {#region} property
|
|
89
|
+
# @option attributes [String] :tenancy_id The value to assign to the {#tenancy_id} property
|
|
90
|
+
# @option attributes [String] :user_id The value to assign to the {#user_id} property
|
|
91
|
+
def initialize(attributes = {})
|
|
92
|
+
return unless attributes.is_a?(Hash)
|
|
93
|
+
|
|
94
|
+
attributes['authType'] = 'OCI_GEN_AI'
|
|
95
|
+
|
|
96
|
+
super(attributes)
|
|
97
|
+
|
|
98
|
+
# convert string to symbol for hash key
|
|
99
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
100
|
+
|
|
101
|
+
self.api_key = attributes[:'apiKey'] if attributes[:'apiKey']
|
|
102
|
+
|
|
103
|
+
raise 'You cannot provide both :apiKey and :api_key' if attributes.key?(:'apiKey') && attributes.key?(:'api_key')
|
|
104
|
+
|
|
105
|
+
self.api_key = attributes[:'api_key'] if attributes[:'api_key']
|
|
106
|
+
|
|
107
|
+
self.api_key_secret_id = attributes[:'apiKeySecretId'] if attributes[:'apiKeySecretId']
|
|
108
|
+
|
|
109
|
+
raise 'You cannot provide both :apiKeySecretId and :api_key_secret_id' if attributes.key?(:'apiKeySecretId') && attributes.key?(:'api_key_secret_id')
|
|
110
|
+
|
|
111
|
+
self.api_key_secret_id = attributes[:'api_key_secret_id'] if attributes[:'api_key_secret_id']
|
|
112
|
+
|
|
113
|
+
self.key_fingerprint = attributes[:'keyFingerprint'] if attributes[:'keyFingerprint']
|
|
114
|
+
|
|
115
|
+
raise 'You cannot provide both :keyFingerprint and :key_fingerprint' if attributes.key?(:'keyFingerprint') && attributes.key?(:'key_fingerprint')
|
|
116
|
+
|
|
117
|
+
self.key_fingerprint = attributes[:'key_fingerprint'] if attributes[:'key_fingerprint']
|
|
118
|
+
|
|
119
|
+
self.region = attributes[:'region'] if attributes[:'region']
|
|
120
|
+
|
|
121
|
+
self.tenancy_id = attributes[:'tenancyId'] if attributes[:'tenancyId']
|
|
122
|
+
|
|
123
|
+
raise 'You cannot provide both :tenancyId and :tenancy_id' if attributes.key?(:'tenancyId') && attributes.key?(:'tenancy_id')
|
|
124
|
+
|
|
125
|
+
self.tenancy_id = attributes[:'tenancy_id'] if attributes[:'tenancy_id']
|
|
126
|
+
|
|
127
|
+
self.user_id = attributes[:'userId'] if attributes[:'userId']
|
|
128
|
+
|
|
129
|
+
raise 'You cannot provide both :userId and :user_id' if attributes.key?(:'userId') && attributes.key?(:'user_id')
|
|
130
|
+
|
|
131
|
+
self.user_id = attributes[:'user_id'] if attributes[:'user_id']
|
|
132
|
+
end
|
|
133
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
134
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
135
|
+
|
|
136
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
# Checks equality by comparing each attribute.
|
|
140
|
+
# @param [Object] other the other object to be compared
|
|
141
|
+
def ==(other)
|
|
142
|
+
return true if equal?(other)
|
|
143
|
+
|
|
144
|
+
self.class == other.class &&
|
|
145
|
+
auth_type == other.auth_type &&
|
|
146
|
+
api_key == other.api_key &&
|
|
147
|
+
api_key_secret_id == other.api_key_secret_id &&
|
|
148
|
+
key_fingerprint == other.key_fingerprint &&
|
|
149
|
+
region == other.region &&
|
|
150
|
+
tenancy_id == other.tenancy_id &&
|
|
151
|
+
user_id == other.user_id
|
|
152
|
+
end
|
|
153
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
154
|
+
|
|
155
|
+
# @see the `==` method
|
|
156
|
+
# @param [Object] other the other object to be compared
|
|
157
|
+
def eql?(other)
|
|
158
|
+
self == other
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
# Calculates hash code according to all attributes.
|
|
165
|
+
# @return [Fixnum] Hash code
|
|
166
|
+
def hash
|
|
167
|
+
[auth_type, api_key, api_key_secret_id, key_fingerprint, region, tenancy_id, user_id].hash
|
|
168
|
+
end
|
|
169
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
170
|
+
|
|
171
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
# Builds the object from hash
|
|
175
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
176
|
+
# @return [Object] Returns the model itself
|
|
177
|
+
def build_from_hash(attributes)
|
|
178
|
+
return nil unless attributes.is_a?(Hash)
|
|
179
|
+
|
|
180
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
181
|
+
if type =~ /^Array<(.*)>/i
|
|
182
|
+
# check to ensure the input is an array given that the the attribute
|
|
183
|
+
# is documented as an array but the input is not
|
|
184
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
185
|
+
public_method("#{key}=").call(
|
|
186
|
+
attributes[self.class.attribute_map[key]]
|
|
187
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
|
188
|
+
)
|
|
189
|
+
end
|
|
190
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
191
|
+
public_method("#{key}=").call(
|
|
192
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
|
193
|
+
)
|
|
194
|
+
end
|
|
195
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
self
|
|
199
|
+
end
|
|
200
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
201
|
+
|
|
202
|
+
# Returns the string representation of the object
|
|
203
|
+
# @return [String] String presentation of the object
|
|
204
|
+
def to_s
|
|
205
|
+
to_hash.to_s
|
|
206
|
+
end
|
|
207
|
+
|
|
208
|
+
# Returns the object in the form of hash
|
|
209
|
+
# @return [Hash] Returns the object in the form of hash
|
|
210
|
+
def to_hash
|
|
211
|
+
hash = {}
|
|
212
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
213
|
+
value = public_method(attr).call
|
|
214
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
215
|
+
|
|
216
|
+
hash[param] = _to_hash(value)
|
|
217
|
+
end
|
|
218
|
+
hash
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
private
|
|
222
|
+
|
|
223
|
+
# Outputs non-array value in the form of hash
|
|
224
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
225
|
+
# @param [Object] value Any valid value
|
|
226
|
+
# @return [Hash] Returns the value in the form of hash
|
|
227
|
+
def _to_hash(value)
|
|
228
|
+
if value.is_a?(Array)
|
|
229
|
+
value.compact.map { |v| _to_hash(v) }
|
|
230
|
+
elsif value.is_a?(Hash)
|
|
231
|
+
{}.tap do |hash|
|
|
232
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
233
|
+
end
|
|
234
|
+
elsif value.respond_to? :to_hash
|
|
235
|
+
value.to_hash
|
|
236
|
+
else
|
|
237
|
+
value
|
|
238
|
+
end
|
|
239
|
+
end
|
|
240
|
+
end
|
|
241
|
+
end
|
|
242
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
|
@@ -30,7 +30,9 @@ module OCI
|
|
|
30
30
|
|
|
31
31
|
# The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint.
|
|
32
32
|
# See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm
|
|
33
|
-
# Deprecated: This field is deprecated and replaced by \"privateKeyFileSecretId\".
|
|
33
|
+
# Deprecated: This field is deprecated and replaced by \"privateKeyFileSecretId\".
|
|
34
|
+
# This change follows the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
35
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
34
36
|
#
|
|
35
37
|
# @return [String]
|
|
36
38
|
attr_accessor :private_key_file
|
|
@@ -43,7 +45,9 @@ module OCI
|
|
|
43
45
|
attr_accessor :private_key_file_secret_id
|
|
44
46
|
|
|
45
47
|
# The passphrase of the private key.
|
|
46
|
-
# Deprecated: This field is deprecated and replaced by \"privateKeyPassphraseSecretId\".
|
|
48
|
+
# Deprecated: This field is deprecated and replaced by \"privateKeyPassphraseSecretId\".
|
|
49
|
+
# This change follows the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
50
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
47
51
|
#
|
|
48
52
|
# @return [String]
|
|
49
53
|
attr_accessor :private_key_passphrase
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
2
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
3
|
+
|
|
4
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200407
|
|
5
|
+
require 'date'
|
|
6
|
+
require_relative 'update_iceberg_storage_details'
|
|
7
|
+
|
|
8
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
|
9
|
+
module OCI
|
|
10
|
+
# The information to update the OCI Object Storage (S3 Compatibility API) configuration used by the
|
|
11
|
+
# Iceberg connection.
|
|
12
|
+
#
|
|
13
|
+
class GoldenGate::Models::UpdateOciObjectStorageS3ApiIcebergStorageDetails < GoldenGate::Models::UpdateIcebergStorageDetails
|
|
14
|
+
# OCI Object Storage S3 Compatibility API endpoint URL.
|
|
15
|
+
# Format: \"https://<namespace>.compat.objectstorage.<region>.<domain>\"
|
|
16
|
+
# Example: \"https://mynamespace.compat.objectstorage.us-ashburn-1.oraclecloud.com\"
|
|
17
|
+
#
|
|
18
|
+
# @return [String]
|
|
19
|
+
attr_accessor :endpoint
|
|
20
|
+
|
|
21
|
+
# Access Key ID from the OCI IAM user's Customer Secret Key pair used to authenticate to
|
|
22
|
+
# OCI Object Storage via the S3 Compatibility API.
|
|
23
|
+
#
|
|
24
|
+
# Note: Despite the \"Id\" suffix, this value is not an OCI OCID.
|
|
25
|
+
#
|
|
26
|
+
# @return [String]
|
|
27
|
+
attr_accessor :access_key_id
|
|
28
|
+
|
|
29
|
+
# The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Secret where the Secret Access Key used for OCI Object Storage S3 Compatibility authentication.
|
|
30
|
+
#
|
|
31
|
+
# @return [String]
|
|
32
|
+
attr_accessor :secret_access_key_secret_id
|
|
33
|
+
|
|
34
|
+
# Secret Access Key from the OCI IAM user's Customer Secret Key pair used to authenticate to
|
|
35
|
+
# OCI Object Storage via the S3 Compatibility API.
|
|
36
|
+
# Deprecated: This field is deprecated and replaced by \"secretAccessKeySecretId\".
|
|
37
|
+
# This change follows the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
38
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
39
|
+
#
|
|
40
|
+
# @return [String]
|
|
41
|
+
attr_accessor :secret_access_key
|
|
42
|
+
|
|
43
|
+
# Target OCI Object Storage bucket name where Iceberg stores
|
|
44
|
+
# table metadata and data files.
|
|
45
|
+
#
|
|
46
|
+
# @return [String]
|
|
47
|
+
attr_accessor :bucket
|
|
48
|
+
|
|
49
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
50
|
+
def self.attribute_map
|
|
51
|
+
{
|
|
52
|
+
# rubocop:disable Style/SymbolLiteral
|
|
53
|
+
'storage_type': :'storageType',
|
|
54
|
+
'endpoint': :'endpoint',
|
|
55
|
+
'access_key_id': :'accessKeyId',
|
|
56
|
+
'secret_access_key_secret_id': :'secretAccessKeySecretId',
|
|
57
|
+
'secret_access_key': :'secretAccessKey',
|
|
58
|
+
'bucket': :'bucket'
|
|
59
|
+
# rubocop:enable Style/SymbolLiteral
|
|
60
|
+
}
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
# Attribute type mapping.
|
|
64
|
+
def self.swagger_types
|
|
65
|
+
{
|
|
66
|
+
# rubocop:disable Style/SymbolLiteral
|
|
67
|
+
'storage_type': :'String',
|
|
68
|
+
'endpoint': :'String',
|
|
69
|
+
'access_key_id': :'String',
|
|
70
|
+
'secret_access_key_secret_id': :'String',
|
|
71
|
+
'secret_access_key': :'String',
|
|
72
|
+
'bucket': :'String'
|
|
73
|
+
# rubocop:enable Style/SymbolLiteral
|
|
74
|
+
}
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
78
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
# Initializes the object
|
|
82
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
83
|
+
# @option attributes [String] :endpoint The value to assign to the {#endpoint} property
|
|
84
|
+
# @option attributes [String] :access_key_id The value to assign to the {#access_key_id} property
|
|
85
|
+
# @option attributes [String] :secret_access_key_secret_id The value to assign to the {#secret_access_key_secret_id} property
|
|
86
|
+
# @option attributes [String] :secret_access_key The value to assign to the {#secret_access_key} property
|
|
87
|
+
# @option attributes [String] :bucket The value to assign to the {#bucket} property
|
|
88
|
+
def initialize(attributes = {})
|
|
89
|
+
return unless attributes.is_a?(Hash)
|
|
90
|
+
|
|
91
|
+
attributes['storageType'] = 'OCI_OBJECT_STORAGE_S3_API'
|
|
92
|
+
|
|
93
|
+
super(attributes)
|
|
94
|
+
|
|
95
|
+
# convert string to symbol for hash key
|
|
96
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
97
|
+
|
|
98
|
+
self.endpoint = attributes[:'endpoint'] if attributes[:'endpoint']
|
|
99
|
+
|
|
100
|
+
self.access_key_id = attributes[:'accessKeyId'] if attributes[:'accessKeyId']
|
|
101
|
+
|
|
102
|
+
raise 'You cannot provide both :accessKeyId and :access_key_id' if attributes.key?(:'accessKeyId') && attributes.key?(:'access_key_id')
|
|
103
|
+
|
|
104
|
+
self.access_key_id = attributes[:'access_key_id'] if attributes[:'access_key_id']
|
|
105
|
+
|
|
106
|
+
self.secret_access_key_secret_id = attributes[:'secretAccessKeySecretId'] if attributes[:'secretAccessKeySecretId']
|
|
107
|
+
|
|
108
|
+
raise 'You cannot provide both :secretAccessKeySecretId and :secret_access_key_secret_id' if attributes.key?(:'secretAccessKeySecretId') && attributes.key?(:'secret_access_key_secret_id')
|
|
109
|
+
|
|
110
|
+
self.secret_access_key_secret_id = attributes[:'secret_access_key_secret_id'] if attributes[:'secret_access_key_secret_id']
|
|
111
|
+
|
|
112
|
+
self.secret_access_key = attributes[:'secretAccessKey'] if attributes[:'secretAccessKey']
|
|
113
|
+
|
|
114
|
+
raise 'You cannot provide both :secretAccessKey and :secret_access_key' if attributes.key?(:'secretAccessKey') && attributes.key?(:'secret_access_key')
|
|
115
|
+
|
|
116
|
+
self.secret_access_key = attributes[:'secret_access_key'] if attributes[:'secret_access_key']
|
|
117
|
+
|
|
118
|
+
self.bucket = attributes[:'bucket'] if attributes[:'bucket']
|
|
119
|
+
end
|
|
120
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
121
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
122
|
+
|
|
123
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
# Checks equality by comparing each attribute.
|
|
127
|
+
# @param [Object] other the other object to be compared
|
|
128
|
+
def ==(other)
|
|
129
|
+
return true if equal?(other)
|
|
130
|
+
|
|
131
|
+
self.class == other.class &&
|
|
132
|
+
storage_type == other.storage_type &&
|
|
133
|
+
endpoint == other.endpoint &&
|
|
134
|
+
access_key_id == other.access_key_id &&
|
|
135
|
+
secret_access_key_secret_id == other.secret_access_key_secret_id &&
|
|
136
|
+
secret_access_key == other.secret_access_key &&
|
|
137
|
+
bucket == other.bucket
|
|
138
|
+
end
|
|
139
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
140
|
+
|
|
141
|
+
# @see the `==` method
|
|
142
|
+
# @param [Object] other the other object to be compared
|
|
143
|
+
def eql?(other)
|
|
144
|
+
self == other
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
# Calculates hash code according to all attributes.
|
|
151
|
+
# @return [Fixnum] Hash code
|
|
152
|
+
def hash
|
|
153
|
+
[storage_type, endpoint, access_key_id, secret_access_key_secret_id, secret_access_key, bucket].hash
|
|
154
|
+
end
|
|
155
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
156
|
+
|
|
157
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
# Builds the object from hash
|
|
161
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
162
|
+
# @return [Object] Returns the model itself
|
|
163
|
+
def build_from_hash(attributes)
|
|
164
|
+
return nil unless attributes.is_a?(Hash)
|
|
165
|
+
|
|
166
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
167
|
+
if type =~ /^Array<(.*)>/i
|
|
168
|
+
# check to ensure the input is an array given that the the attribute
|
|
169
|
+
# is documented as an array but the input is not
|
|
170
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
171
|
+
public_method("#{key}=").call(
|
|
172
|
+
attributes[self.class.attribute_map[key]]
|
|
173
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
|
174
|
+
)
|
|
175
|
+
end
|
|
176
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
177
|
+
public_method("#{key}=").call(
|
|
178
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
|
179
|
+
)
|
|
180
|
+
end
|
|
181
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
self
|
|
185
|
+
end
|
|
186
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
187
|
+
|
|
188
|
+
# Returns the string representation of the object
|
|
189
|
+
# @return [String] String presentation of the object
|
|
190
|
+
def to_s
|
|
191
|
+
to_hash.to_s
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
# Returns the object in the form of hash
|
|
195
|
+
# @return [Hash] Returns the object in the form of hash
|
|
196
|
+
def to_hash
|
|
197
|
+
hash = {}
|
|
198
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
199
|
+
value = public_method(attr).call
|
|
200
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
201
|
+
|
|
202
|
+
hash[param] = _to_hash(value)
|
|
203
|
+
end
|
|
204
|
+
hash
|
|
205
|
+
end
|
|
206
|
+
|
|
207
|
+
private
|
|
208
|
+
|
|
209
|
+
# Outputs non-array value in the form of hash
|
|
210
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
211
|
+
# @param [Object] value Any valid value
|
|
212
|
+
# @return [Hash] Returns the value in the form of hash
|
|
213
|
+
def _to_hash(value)
|
|
214
|
+
if value.is_a?(Array)
|
|
215
|
+
value.compact.map { |v| _to_hash(v) }
|
|
216
|
+
elsif value.is_a?(Hash)
|
|
217
|
+
{}.tap do |hash|
|
|
218
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
219
|
+
end
|
|
220
|
+
elsif value.respond_to? :to_hash
|
|
221
|
+
value.to_hash
|
|
222
|
+
else
|
|
223
|
+
value
|
|
224
|
+
end
|
|
225
|
+
end
|
|
226
|
+
end
|
|
227
|
+
end
|
|
228
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
|
@@ -49,13 +49,17 @@ module OCI
|
|
|
49
49
|
|
|
50
50
|
# The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint.
|
|
51
51
|
# See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm
|
|
52
|
-
# Deprecated: This field is deprecated and replaced by \"privateKeyFileSecretId\".
|
|
52
|
+
# Deprecated: This field is deprecated and replaced by \"privateKeyFileSecretId\".
|
|
53
|
+
# This change follows the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
54
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
53
55
|
#
|
|
54
56
|
# @return [String]
|
|
55
57
|
attr_accessor :private_key_file
|
|
56
58
|
|
|
57
59
|
# The passphrase of the private key.
|
|
58
|
-
# Deprecated: This field is deprecated and replaced by \"privateKeyPassphraseSecretId\".
|
|
60
|
+
# Deprecated: This field is deprecated and replaced by \"privateKeyPassphraseSecretId\".
|
|
61
|
+
# This change follows the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
62
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
59
63
|
#
|
|
60
64
|
# @return [String]
|
|
61
65
|
attr_accessor :private_key_passphrase
|
|
@@ -19,7 +19,9 @@ module OCI
|
|
|
19
19
|
|
|
20
20
|
# The password Oracle GoldenGate uses to connect the associated system of the given technology.
|
|
21
21
|
# It must conform to the specific security requirements including length, case sensitivity, and so on.
|
|
22
|
-
# Deprecated: This field is deprecated and replaced by \"passwordSecretId\".
|
|
22
|
+
# Deprecated: This field is deprecated and replaced by \"passwordSecretId\".
|
|
23
|
+
# This change follows the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
24
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
23
25
|
#
|
|
24
26
|
# @return [String]
|
|
25
27
|
attr_accessor :password
|
|
@@ -46,7 +48,9 @@ module OCI
|
|
|
46
48
|
|
|
47
49
|
# The wallet contents Oracle GoldenGate uses to make connections to a database.
|
|
48
50
|
# This attribute is expected to be base64 encoded.
|
|
49
|
-
# Deprecated: This field is deprecated and replaced by \"walletSecretId\".
|
|
51
|
+
# Deprecated: This field is deprecated and replaced by \"walletSecretId\".
|
|
52
|
+
# This change follows the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
53
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
50
54
|
#
|
|
51
55
|
# @return [String]
|
|
52
56
|
attr_accessor :wallet
|
|
@@ -67,7 +71,7 @@ module OCI
|
|
|
67
71
|
# The default is DIRECT, except when databaseId is provided and the discovered database relies on the SCAN listener.
|
|
68
72
|
# In this case, the default is REDIRECT.
|
|
69
73
|
#
|
|
70
|
-
# Deprecated: Defaulting to the REDIRECT session mode will be removed after
|
|
74
|
+
# Deprecated: Defaulting to the REDIRECT session mode will be removed after April 21, 2027.
|
|
71
75
|
#
|
|
72
76
|
# @return [String]
|
|
73
77
|
attr_accessor :session_mode
|
|
@@ -30,7 +30,9 @@ module OCI
|
|
|
30
30
|
|
|
31
31
|
# The base64 encoded content of the private key file (PEM file) corresponding to the API key of the fingerprint.
|
|
32
32
|
# See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm
|
|
33
|
-
# Deprecated: This field is deprecated and replaced by \"privateKeyFileSecretId\".
|
|
33
|
+
# Deprecated: This field is deprecated and replaced by \"privateKeyFileSecretId\".
|
|
34
|
+
# This change follows the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
35
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
34
36
|
#
|
|
35
37
|
# @return [String]
|
|
36
38
|
attr_accessor :private_key_file
|
|
@@ -43,7 +45,9 @@ module OCI
|
|
|
43
45
|
attr_accessor :private_key_file_secret_id
|
|
44
46
|
|
|
45
47
|
# The passphrase of the private key.
|
|
46
|
-
# Deprecated: This field is deprecated and replaced by \"privateKeyPassphraseSecretId\".
|
|
48
|
+
# Deprecated: This field is deprecated and replaced by \"privateKeyPassphraseSecretId\".
|
|
49
|
+
# This change follows the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
50
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
47
51
|
#
|
|
48
52
|
# @return [String]
|
|
49
53
|
attr_accessor :private_key_passphrase
|
|
@@ -34,7 +34,9 @@ module OCI
|
|
|
34
34
|
|
|
35
35
|
# The password Oracle GoldenGate uses to connect the associated system of the given technology.
|
|
36
36
|
# It must conform to the specific security requirements including length, case sensitivity, and so on.
|
|
37
|
-
# Deprecated: This field is deprecated and replaced by \"passwordSecretId\".
|
|
37
|
+
# Deprecated: This field is deprecated and replaced by \"passwordSecretId\".
|
|
38
|
+
# This change follows the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
39
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
38
40
|
#
|
|
39
41
|
# @return [String]
|
|
40
42
|
attr_accessor :password
|
|
@@ -82,7 +84,9 @@ module OCI
|
|
|
82
84
|
attr_accessor :ssl_cert
|
|
83
85
|
|
|
84
86
|
# The base64 encoded private key of the PostgreSQL server. The supported file formats are .pem and .crt.
|
|
85
|
-
# Deprecated: This field is deprecated and replaced by \"sslKeySecretId\".
|
|
87
|
+
# Deprecated: This field is deprecated and replaced by \"sslKeySecretId\".
|
|
88
|
+
# This change follows the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
89
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
86
90
|
#
|
|
87
91
|
# @return [String]
|
|
88
92
|
attr_accessor :ssl_key
|
|
@@ -35,7 +35,9 @@ module OCI
|
|
|
35
35
|
|
|
36
36
|
# The password Oracle GoldenGate uses to connect the associated system of the given technology.
|
|
37
37
|
# It must conform to the specific security requirements including length, case sensitivity, and so on.
|
|
38
|
-
# Deprecated: This field is deprecated and replaced by \"passwordSecretId\".
|
|
38
|
+
# Deprecated: This field is deprecated and replaced by \"passwordSecretId\".
|
|
39
|
+
# This change follows the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
40
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
39
41
|
#
|
|
40
42
|
# @return [String]
|
|
41
43
|
attr_accessor :password
|
|
@@ -50,7 +52,9 @@ module OCI
|
|
|
50
52
|
attr_accessor :password_secret_id
|
|
51
53
|
|
|
52
54
|
# The base64 encoded content of the TrustStore file.
|
|
53
|
-
# Deprecated: This field is deprecated and replaced by \"trustStoreSecretId\".
|
|
55
|
+
# Deprecated: This field is deprecated and replaced by \"trustStoreSecretId\".
|
|
56
|
+
# This change follows the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
57
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
54
58
|
#
|
|
55
59
|
# @return [String]
|
|
56
60
|
attr_accessor :trust_store
|
|
@@ -62,7 +66,9 @@ module OCI
|
|
|
62
66
|
attr_accessor :trust_store_secret_id
|
|
63
67
|
|
|
64
68
|
# The TrustStore password.
|
|
65
|
-
# Deprecated: This field is deprecated and replaced by \"trustStorePasswordSecretId\".
|
|
69
|
+
# Deprecated: This field is deprecated and replaced by \"trustStorePasswordSecretId\".
|
|
70
|
+
# This change follows the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
71
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
66
72
|
#
|
|
67
73
|
# @return [String]
|
|
68
74
|
attr_accessor :trust_store_password
|
|
@@ -74,7 +80,9 @@ module OCI
|
|
|
74
80
|
attr_accessor :trust_store_password_secret_id
|
|
75
81
|
|
|
76
82
|
# The base64 encoded content of the KeyStore file.
|
|
77
|
-
# Deprecated: This field is deprecated and replaced by \"keyStoreSecretId\".
|
|
83
|
+
# Deprecated: This field is deprecated and replaced by \"keyStoreSecretId\".
|
|
84
|
+
# This change follows the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
85
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
78
86
|
#
|
|
79
87
|
# @return [String]
|
|
80
88
|
attr_accessor :key_store
|
|
@@ -86,7 +94,9 @@ module OCI
|
|
|
86
94
|
attr_accessor :key_store_secret_id
|
|
87
95
|
|
|
88
96
|
# The KeyStore password.
|
|
89
|
-
# Deprecated: This field is deprecated and replaced by \"keyStorePasswordSecretId\".
|
|
97
|
+
# Deprecated: This field is deprecated and replaced by \"keyStorePasswordSecretId\".
|
|
98
|
+
# This change follows the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
99
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
90
100
|
#
|
|
91
101
|
# @return [String]
|
|
92
102
|
attr_accessor :key_store_password
|