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,237 @@
|
|
|
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_connection_details'
|
|
7
|
+
|
|
8
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
|
9
|
+
module OCI
|
|
10
|
+
# The information to update an AI Model Connection.
|
|
11
|
+
#
|
|
12
|
+
class GoldenGate::Models::UpdateAiModelConnectionDetails < GoldenGate::Models::UpdateConnectionDetails
|
|
13
|
+
# AI model identifier.
|
|
14
|
+
#
|
|
15
|
+
# @return [String]
|
|
16
|
+
attr_accessor :model_key
|
|
17
|
+
|
|
18
|
+
# Maximum number of input characters supported by this AI model connection.
|
|
19
|
+
#
|
|
20
|
+
# @return [Integer]
|
|
21
|
+
attr_accessor :max_input_chars
|
|
22
|
+
|
|
23
|
+
# @return [OCI::GoldenGate::Models::UpdateAiModelAuthDetails]
|
|
24
|
+
attr_accessor :auth_details
|
|
25
|
+
|
|
26
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
27
|
+
def self.attribute_map
|
|
28
|
+
{
|
|
29
|
+
# rubocop:disable Style/SymbolLiteral
|
|
30
|
+
'connection_type': :'connectionType',
|
|
31
|
+
'display_name': :'displayName',
|
|
32
|
+
'description': :'description',
|
|
33
|
+
'freeform_tags': :'freeformTags',
|
|
34
|
+
'defined_tags': :'definedTags',
|
|
35
|
+
'vault_id': :'vaultId',
|
|
36
|
+
'key_id': :'keyId',
|
|
37
|
+
'nsg_ids': :'nsgIds',
|
|
38
|
+
'subnet_id': :'subnetId',
|
|
39
|
+
'routing_method': :'routingMethod',
|
|
40
|
+
'does_use_secret_ids': :'doesUseSecretIds',
|
|
41
|
+
'security_attributes': :'securityAttributes',
|
|
42
|
+
'model_key': :'modelKey',
|
|
43
|
+
'max_input_chars': :'maxInputChars',
|
|
44
|
+
'auth_details': :'authDetails'
|
|
45
|
+
# rubocop:enable Style/SymbolLiteral
|
|
46
|
+
}
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# Attribute type mapping.
|
|
50
|
+
def self.swagger_types
|
|
51
|
+
{
|
|
52
|
+
# rubocop:disable Style/SymbolLiteral
|
|
53
|
+
'connection_type': :'String',
|
|
54
|
+
'display_name': :'String',
|
|
55
|
+
'description': :'String',
|
|
56
|
+
'freeform_tags': :'Hash<String, String>',
|
|
57
|
+
'defined_tags': :'Hash<String, Hash<String, Object>>',
|
|
58
|
+
'vault_id': :'String',
|
|
59
|
+
'key_id': :'String',
|
|
60
|
+
'nsg_ids': :'Array<String>',
|
|
61
|
+
'subnet_id': :'String',
|
|
62
|
+
'routing_method': :'String',
|
|
63
|
+
'does_use_secret_ids': :'BOOLEAN',
|
|
64
|
+
'security_attributes': :'Hash<String, Hash<String, Object>>',
|
|
65
|
+
'model_key': :'String',
|
|
66
|
+
'max_input_chars': :'Integer',
|
|
67
|
+
'auth_details': :'OCI::GoldenGate::Models::UpdateAiModelAuthDetails'
|
|
68
|
+
# rubocop:enable Style/SymbolLiteral
|
|
69
|
+
}
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
73
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
# Initializes the object
|
|
77
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
78
|
+
# @option attributes [String] :display_name The value to assign to the {OCI::GoldenGate::Models::UpdateConnectionDetails#display_name #display_name} proprety
|
|
79
|
+
# @option attributes [String] :description The value to assign to the {OCI::GoldenGate::Models::UpdateConnectionDetails#description #description} proprety
|
|
80
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {OCI::GoldenGate::Models::UpdateConnectionDetails#freeform_tags #freeform_tags} proprety
|
|
81
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {OCI::GoldenGate::Models::UpdateConnectionDetails#defined_tags #defined_tags} proprety
|
|
82
|
+
# @option attributes [String] :vault_id The value to assign to the {OCI::GoldenGate::Models::UpdateConnectionDetails#vault_id #vault_id} proprety
|
|
83
|
+
# @option attributes [String] :key_id The value to assign to the {OCI::GoldenGate::Models::UpdateConnectionDetails#key_id #key_id} proprety
|
|
84
|
+
# @option attributes [Array<String>] :nsg_ids The value to assign to the {OCI::GoldenGate::Models::UpdateConnectionDetails#nsg_ids #nsg_ids} proprety
|
|
85
|
+
# @option attributes [String] :subnet_id The value to assign to the {OCI::GoldenGate::Models::UpdateConnectionDetails#subnet_id #subnet_id} proprety
|
|
86
|
+
# @option attributes [String] :routing_method The value to assign to the {OCI::GoldenGate::Models::UpdateConnectionDetails#routing_method #routing_method} proprety
|
|
87
|
+
# @option attributes [BOOLEAN] :does_use_secret_ids The value to assign to the {OCI::GoldenGate::Models::UpdateConnectionDetails#does_use_secret_ids #does_use_secret_ids} proprety
|
|
88
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :security_attributes The value to assign to the {OCI::GoldenGate::Models::UpdateConnectionDetails#security_attributes #security_attributes} proprety
|
|
89
|
+
# @option attributes [String] :model_key The value to assign to the {#model_key} property
|
|
90
|
+
# @option attributes [Integer] :max_input_chars The value to assign to the {#max_input_chars} property
|
|
91
|
+
# @option attributes [OCI::GoldenGate::Models::UpdateAiModelAuthDetails] :auth_details The value to assign to the {#auth_details} property
|
|
92
|
+
def initialize(attributes = {})
|
|
93
|
+
return unless attributes.is_a?(Hash)
|
|
94
|
+
|
|
95
|
+
attributes['connectionType'] = 'AI_MODEL'
|
|
96
|
+
|
|
97
|
+
super(attributes)
|
|
98
|
+
|
|
99
|
+
# convert string to symbol for hash key
|
|
100
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
101
|
+
|
|
102
|
+
self.model_key = attributes[:'modelKey'] if attributes[:'modelKey']
|
|
103
|
+
|
|
104
|
+
raise 'You cannot provide both :modelKey and :model_key' if attributes.key?(:'modelKey') && attributes.key?(:'model_key')
|
|
105
|
+
|
|
106
|
+
self.model_key = attributes[:'model_key'] if attributes[:'model_key']
|
|
107
|
+
|
|
108
|
+
self.max_input_chars = attributes[:'maxInputChars'] if attributes[:'maxInputChars']
|
|
109
|
+
|
|
110
|
+
raise 'You cannot provide both :maxInputChars and :max_input_chars' if attributes.key?(:'maxInputChars') && attributes.key?(:'max_input_chars')
|
|
111
|
+
|
|
112
|
+
self.max_input_chars = attributes[:'max_input_chars'] if attributes[:'max_input_chars']
|
|
113
|
+
|
|
114
|
+
self.auth_details = attributes[:'authDetails'] if attributes[:'authDetails']
|
|
115
|
+
|
|
116
|
+
raise 'You cannot provide both :authDetails and :auth_details' if attributes.key?(:'authDetails') && attributes.key?(:'auth_details')
|
|
117
|
+
|
|
118
|
+
self.auth_details = attributes[:'auth_details'] if attributes[:'auth_details']
|
|
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
|
+
connection_type == other.connection_type &&
|
|
133
|
+
display_name == other.display_name &&
|
|
134
|
+
description == other.description &&
|
|
135
|
+
freeform_tags == other.freeform_tags &&
|
|
136
|
+
defined_tags == other.defined_tags &&
|
|
137
|
+
vault_id == other.vault_id &&
|
|
138
|
+
key_id == other.key_id &&
|
|
139
|
+
nsg_ids == other.nsg_ids &&
|
|
140
|
+
subnet_id == other.subnet_id &&
|
|
141
|
+
routing_method == other.routing_method &&
|
|
142
|
+
does_use_secret_ids == other.does_use_secret_ids &&
|
|
143
|
+
security_attributes == other.security_attributes &&
|
|
144
|
+
model_key == other.model_key &&
|
|
145
|
+
max_input_chars == other.max_input_chars &&
|
|
146
|
+
auth_details == other.auth_details
|
|
147
|
+
end
|
|
148
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
149
|
+
|
|
150
|
+
# @see the `==` method
|
|
151
|
+
# @param [Object] other the other object to be compared
|
|
152
|
+
def eql?(other)
|
|
153
|
+
self == other
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
# Calculates hash code according to all attributes.
|
|
160
|
+
# @return [Fixnum] Hash code
|
|
161
|
+
def hash
|
|
162
|
+
[connection_type, display_name, description, freeform_tags, defined_tags, vault_id, key_id, nsg_ids, subnet_id, routing_method, does_use_secret_ids, security_attributes, model_key, max_input_chars, auth_details].hash
|
|
163
|
+
end
|
|
164
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
165
|
+
|
|
166
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
# Builds the object from hash
|
|
170
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
171
|
+
# @return [Object] Returns the model itself
|
|
172
|
+
def build_from_hash(attributes)
|
|
173
|
+
return nil unless attributes.is_a?(Hash)
|
|
174
|
+
|
|
175
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
176
|
+
if type =~ /^Array<(.*)>/i
|
|
177
|
+
# check to ensure the input is an array given that the the attribute
|
|
178
|
+
# is documented as an array but the input is not
|
|
179
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
180
|
+
public_method("#{key}=").call(
|
|
181
|
+
attributes[self.class.attribute_map[key]]
|
|
182
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
|
183
|
+
)
|
|
184
|
+
end
|
|
185
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
186
|
+
public_method("#{key}=").call(
|
|
187
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
|
188
|
+
)
|
|
189
|
+
end
|
|
190
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
|
191
|
+
end
|
|
192
|
+
|
|
193
|
+
self
|
|
194
|
+
end
|
|
195
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
196
|
+
|
|
197
|
+
# Returns the string representation of the object
|
|
198
|
+
# @return [String] String presentation of the object
|
|
199
|
+
def to_s
|
|
200
|
+
to_hash.to_s
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
# Returns the object in the form of hash
|
|
204
|
+
# @return [Hash] Returns the object in the form of hash
|
|
205
|
+
def to_hash
|
|
206
|
+
hash = {}
|
|
207
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
208
|
+
value = public_method(attr).call
|
|
209
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
210
|
+
|
|
211
|
+
hash[param] = _to_hash(value)
|
|
212
|
+
end
|
|
213
|
+
hash
|
|
214
|
+
end
|
|
215
|
+
|
|
216
|
+
private
|
|
217
|
+
|
|
218
|
+
# Outputs non-array value in the form of hash
|
|
219
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
220
|
+
# @param [Object] value Any valid value
|
|
221
|
+
# @return [Hash] Returns the value in the form of hash
|
|
222
|
+
def _to_hash(value)
|
|
223
|
+
if value.is_a?(Array)
|
|
224
|
+
value.compact.map { |v| _to_hash(v) }
|
|
225
|
+
elsif value.is_a?(Hash)
|
|
226
|
+
{}.tap do |hash|
|
|
227
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
228
|
+
end
|
|
229
|
+
elsif value.respond_to? :to_hash
|
|
230
|
+
value.to_hash
|
|
231
|
+
else
|
|
232
|
+
value
|
|
233
|
+
end
|
|
234
|
+
end
|
|
235
|
+
end
|
|
236
|
+
end
|
|
237
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
|
@@ -11,12 +11,15 @@ module OCI
|
|
|
11
11
|
#
|
|
12
12
|
class GoldenGate::Models::UpdateAmazonKinesisConnectionDetails < GoldenGate::Models::UpdateConnectionDetails
|
|
13
13
|
# Access key ID to access the Amazon Kinesis.
|
|
14
|
+
# Note: Despite the \"Id\" suffix, this value is not an OCI OCID.
|
|
14
15
|
#
|
|
15
16
|
# @return [String]
|
|
16
17
|
attr_accessor :access_key_id
|
|
17
18
|
|
|
18
19
|
# Secret access key to access the Amazon Kinesis.
|
|
19
|
-
# Deprecated: This field is deprecated and replaced by \"secretAccessKeySecretId\".
|
|
20
|
+
# Deprecated: This field is deprecated and replaced by \"secretAccessKeySecretId\".
|
|
21
|
+
# This change follows the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
22
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
20
23
|
#
|
|
21
24
|
# @return [String]
|
|
22
25
|
attr_accessor :secret_access_key
|
|
@@ -25,7 +25,9 @@ module OCI
|
|
|
25
25
|
|
|
26
26
|
# The password Oracle GoldenGate uses to connect the associated system of the given technology.
|
|
27
27
|
# It must conform to the specific security requirements including length, case sensitivity, and so on.
|
|
28
|
-
# Deprecated: This field is deprecated and replaced by \"passwordSecretId\".
|
|
28
|
+
# Deprecated: This field is deprecated and replaced by \"passwordSecretId\".
|
|
29
|
+
# This change follows the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
30
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
29
31
|
#
|
|
30
32
|
# @return [String]
|
|
31
33
|
attr_accessor :password
|
|
@@ -11,14 +11,16 @@ module OCI
|
|
|
11
11
|
#
|
|
12
12
|
class GoldenGate::Models::UpdateAmazonS3ConnectionDetails < GoldenGate::Models::UpdateConnectionDetails
|
|
13
13
|
# Access key ID to access the Amazon S3 bucket.
|
|
14
|
-
#
|
|
14
|
+
# Note: Despite the \"Id\" suffix, this value is not an OCI OCID.
|
|
15
15
|
#
|
|
16
16
|
# @return [String]
|
|
17
17
|
attr_accessor :access_key_id
|
|
18
18
|
|
|
19
19
|
# Secret access key to access the Amazon S3 bucket.
|
|
20
|
-
#
|
|
21
|
-
# Deprecated: This field is deprecated and replaced by \"secretAccessKeySecretId\".
|
|
20
|
+
#
|
|
21
|
+
# Deprecated: This field is deprecated and replaced by \"secretAccessKeySecretId\".
|
|
22
|
+
# This change follows the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
23
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
22
24
|
#
|
|
23
25
|
# @return [String]
|
|
24
26
|
attr_accessor :secret_access_key
|
|
@@ -22,6 +22,7 @@ module OCI
|
|
|
22
22
|
attr_accessor :endpoint
|
|
23
23
|
|
|
24
24
|
# Access key ID to access the Amazon S3 bucket.
|
|
25
|
+
# Note: Despite the \"Id\" suffix, this value is not an OCI OCID.
|
|
25
26
|
#
|
|
26
27
|
# @return [String]
|
|
27
28
|
attr_accessor :access_key_id
|
|
@@ -32,8 +33,10 @@ module OCI
|
|
|
32
33
|
attr_accessor :secret_access_key_secret_id
|
|
33
34
|
|
|
34
35
|
# Secret access key to access the Amazon S3 bucket.
|
|
35
|
-
#
|
|
36
|
-
# Deprecated: This field is deprecated and replaced by \"secretAccessKeySecretId\".
|
|
36
|
+
#
|
|
37
|
+
# Deprecated: This field is deprecated and replaced by \"secretAccessKeySecretId\".
|
|
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
|
|
37
40
|
#
|
|
38
41
|
# @return [String]
|
|
39
42
|
attr_accessor :secret_access_key
|
|
@@ -0,0 +1,199 @@
|
|
|
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 API key authentication details for an AI Model connection.
|
|
11
|
+
#
|
|
12
|
+
class GoldenGate::Models::UpdateApiKeyAiModelAuthDetails < GoldenGate::Models::UpdateAiModelAuthDetails
|
|
13
|
+
# Base URL of the AI model endpoint.
|
|
14
|
+
# If not specified, the default base URL for the selected AI provider will be used.
|
|
15
|
+
#
|
|
16
|
+
# @return [String]
|
|
17
|
+
attr_accessor :base_url
|
|
18
|
+
|
|
19
|
+
# API key for the AI model connection.
|
|
20
|
+
# Deprecated: This field is deprecated and replaced by \"apiKeySecretId\".
|
|
21
|
+
# This change follows the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
22
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
23
|
+
#
|
|
24
|
+
# @return [String]
|
|
25
|
+
attr_accessor :api_key
|
|
26
|
+
|
|
27
|
+
# API key secret OCID for the AI model connection.
|
|
28
|
+
#
|
|
29
|
+
# @return [String]
|
|
30
|
+
attr_accessor :api_key_secret_id
|
|
31
|
+
|
|
32
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
33
|
+
def self.attribute_map
|
|
34
|
+
{
|
|
35
|
+
# rubocop:disable Style/SymbolLiteral
|
|
36
|
+
'auth_type': :'authType',
|
|
37
|
+
'base_url': :'baseUrl',
|
|
38
|
+
'api_key': :'apiKey',
|
|
39
|
+
'api_key_secret_id': :'apiKeySecretId'
|
|
40
|
+
# rubocop:enable Style/SymbolLiteral
|
|
41
|
+
}
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
# Attribute type mapping.
|
|
45
|
+
def self.swagger_types
|
|
46
|
+
{
|
|
47
|
+
# rubocop:disable Style/SymbolLiteral
|
|
48
|
+
'auth_type': :'String',
|
|
49
|
+
'base_url': :'String',
|
|
50
|
+
'api_key': :'String',
|
|
51
|
+
'api_key_secret_id': :'String'
|
|
52
|
+
# rubocop:enable Style/SymbolLiteral
|
|
53
|
+
}
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
57
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
# Initializes the object
|
|
61
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
62
|
+
# @option attributes [String] :base_url The value to assign to the {#base_url} property
|
|
63
|
+
# @option attributes [String] :api_key The value to assign to the {#api_key} property
|
|
64
|
+
# @option attributes [String] :api_key_secret_id The value to assign to the {#api_key_secret_id} property
|
|
65
|
+
def initialize(attributes = {})
|
|
66
|
+
return unless attributes.is_a?(Hash)
|
|
67
|
+
|
|
68
|
+
attributes['authType'] = 'API_KEY'
|
|
69
|
+
|
|
70
|
+
super(attributes)
|
|
71
|
+
|
|
72
|
+
# convert string to symbol for hash key
|
|
73
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
74
|
+
|
|
75
|
+
self.base_url = attributes[:'baseUrl'] if attributes[:'baseUrl']
|
|
76
|
+
|
|
77
|
+
raise 'You cannot provide both :baseUrl and :base_url' if attributes.key?(:'baseUrl') && attributes.key?(:'base_url')
|
|
78
|
+
|
|
79
|
+
self.base_url = attributes[:'base_url'] if attributes[:'base_url']
|
|
80
|
+
|
|
81
|
+
self.api_key = attributes[:'apiKey'] if attributes[:'apiKey']
|
|
82
|
+
|
|
83
|
+
raise 'You cannot provide both :apiKey and :api_key' if attributes.key?(:'apiKey') && attributes.key?(:'api_key')
|
|
84
|
+
|
|
85
|
+
self.api_key = attributes[:'api_key'] if attributes[:'api_key']
|
|
86
|
+
|
|
87
|
+
self.api_key_secret_id = attributes[:'apiKeySecretId'] if attributes[:'apiKeySecretId']
|
|
88
|
+
|
|
89
|
+
raise 'You cannot provide both :apiKeySecretId and :api_key_secret_id' if attributes.key?(:'apiKeySecretId') && attributes.key?(:'api_key_secret_id')
|
|
90
|
+
|
|
91
|
+
self.api_key_secret_id = attributes[:'api_key_secret_id'] if attributes[:'api_key_secret_id']
|
|
92
|
+
end
|
|
93
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
94
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
95
|
+
|
|
96
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
# Checks equality by comparing each attribute.
|
|
100
|
+
# @param [Object] other the other object to be compared
|
|
101
|
+
def ==(other)
|
|
102
|
+
return true if equal?(other)
|
|
103
|
+
|
|
104
|
+
self.class == other.class &&
|
|
105
|
+
auth_type == other.auth_type &&
|
|
106
|
+
base_url == other.base_url &&
|
|
107
|
+
api_key == other.api_key &&
|
|
108
|
+
api_key_secret_id == other.api_key_secret_id
|
|
109
|
+
end
|
|
110
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
111
|
+
|
|
112
|
+
# @see the `==` method
|
|
113
|
+
# @param [Object] other the other object to be compared
|
|
114
|
+
def eql?(other)
|
|
115
|
+
self == other
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
# Calculates hash code according to all attributes.
|
|
122
|
+
# @return [Fixnum] Hash code
|
|
123
|
+
def hash
|
|
124
|
+
[auth_type, base_url, api_key, api_key_secret_id].hash
|
|
125
|
+
end
|
|
126
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
127
|
+
|
|
128
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
# Builds the object from hash
|
|
132
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
133
|
+
# @return [Object] Returns the model itself
|
|
134
|
+
def build_from_hash(attributes)
|
|
135
|
+
return nil unless attributes.is_a?(Hash)
|
|
136
|
+
|
|
137
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
138
|
+
if type =~ /^Array<(.*)>/i
|
|
139
|
+
# check to ensure the input is an array given that the the attribute
|
|
140
|
+
# is documented as an array but the input is not
|
|
141
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
142
|
+
public_method("#{key}=").call(
|
|
143
|
+
attributes[self.class.attribute_map[key]]
|
|
144
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
|
145
|
+
)
|
|
146
|
+
end
|
|
147
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
148
|
+
public_method("#{key}=").call(
|
|
149
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
|
150
|
+
)
|
|
151
|
+
end
|
|
152
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
self
|
|
156
|
+
end
|
|
157
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
158
|
+
|
|
159
|
+
# Returns the string representation of the object
|
|
160
|
+
# @return [String] String presentation of the object
|
|
161
|
+
def to_s
|
|
162
|
+
to_hash.to_s
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
# Returns the object in the form of hash
|
|
166
|
+
# @return [Hash] Returns the object in the form of hash
|
|
167
|
+
def to_hash
|
|
168
|
+
hash = {}
|
|
169
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
170
|
+
value = public_method(attr).call
|
|
171
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
172
|
+
|
|
173
|
+
hash[param] = _to_hash(value)
|
|
174
|
+
end
|
|
175
|
+
hash
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
private
|
|
179
|
+
|
|
180
|
+
# Outputs non-array value in the form of hash
|
|
181
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
182
|
+
# @param [Object] value Any valid value
|
|
183
|
+
# @return [Hash] Returns the value in the form of hash
|
|
184
|
+
def _to_hash(value)
|
|
185
|
+
if value.is_a?(Array)
|
|
186
|
+
value.compact.map { |v| _to_hash(v) }
|
|
187
|
+
elsif value.is_a?(Hash)
|
|
188
|
+
{}.tap do |hash|
|
|
189
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
190
|
+
end
|
|
191
|
+
elsif value.respond_to? :to_hash
|
|
192
|
+
value.to_hash
|
|
193
|
+
else
|
|
194
|
+
value
|
|
195
|
+
end
|
|
196
|
+
end
|
|
197
|
+
end
|
|
198
|
+
end
|
|
199
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
|
@@ -22,7 +22,9 @@ module OCI
|
|
|
22
22
|
|
|
23
23
|
# Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'.
|
|
24
24
|
# e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ==
|
|
25
|
-
# Deprecated: This field is deprecated and replaced by \"accountKeySecretId\".
|
|
25
|
+
# Deprecated: This field is deprecated and replaced by \"accountKeySecretId\".
|
|
26
|
+
# This change follows the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
27
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
26
28
|
#
|
|
27
29
|
# @return [String]
|
|
28
30
|
attr_accessor :account_key
|
|
@@ -36,7 +38,9 @@ module OCI
|
|
|
36
38
|
# Credential that uses a shared access signature (SAS) to authenticate to an Azure Service. This property is
|
|
37
39
|
# required when 'authenticationType' is set to 'SHARED_ACCESS_SIGNATURE'.
|
|
38
40
|
# e.g.: ?sv=2020-06-08&ss=bfqt&srt=sco&sp=rwdlacupyx&se=2020-09-10T20:27:28Z&st=2022-08-05T12:27:28Z&spr=https&sig=C1IgHsiLBmTSStYkXXGLTP8it0xBrArcgCqOsZbXwIQ%3D
|
|
39
|
-
# Deprecated: This field is deprecated and replaced by \"sasTokenSecretId\".
|
|
41
|
+
# Deprecated: This field is deprecated and replaced by \"sasTokenSecretId\".
|
|
42
|
+
# This change follows the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
43
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
40
44
|
#
|
|
41
45
|
# @return [String]
|
|
42
46
|
attr_accessor :sas_token
|
|
@@ -61,7 +65,9 @@ module OCI
|
|
|
61
65
|
|
|
62
66
|
# Azure client secret (aka application password) for authentication. This property is required when 'authenticationType' is set to 'AZURE_ACTIVE_DIRECTORY'.
|
|
63
67
|
# e.g.: dO29Q~F5-VwnA.lZdd11xFF_t5NAXCaGwDl9NbT1
|
|
64
|
-
# Deprecated: This field is deprecated and replaced by \"clientSecretSecretId\".
|
|
68
|
+
# Deprecated: This field is deprecated and replaced by \"clientSecretSecretId\".
|
|
69
|
+
# This change follows the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
70
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
65
71
|
#
|
|
66
72
|
# @return [String]
|
|
67
73
|
attr_accessor :client_secret
|
|
@@ -26,7 +26,9 @@ module OCI
|
|
|
26
26
|
|
|
27
27
|
# Azure storage account key. This property is required when 'authenticationType' is set to 'SHARED_KEY'.
|
|
28
28
|
# e.g.: pa3WbhVATzj56xD4DH1VjOUhApRGEGHvOo58eQJVWIzX+j8j4CUVFcTjpIqDSRaSa1Wo2LbWY5at+AStEgLOIQ==
|
|
29
|
-
# Deprecated: This field is deprecated and replaced by \"accountKeySecretId\".
|
|
29
|
+
# Deprecated: This field is deprecated and replaced by \"accountKeySecretId\".
|
|
30
|
+
# This change follows the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
31
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
30
32
|
#
|
|
31
33
|
# @return [String]
|
|
32
34
|
attr_accessor :account_key
|
|
@@ -25,7 +25,9 @@ module OCI
|
|
|
25
25
|
|
|
26
26
|
# The password Oracle GoldenGate uses to connect the associated system of the given technology.
|
|
27
27
|
# It must conform to the specific security requirements including length, case sensitivity, and so on.
|
|
28
|
-
# Deprecated: This field is deprecated and replaced by \"passwordSecretId\".
|
|
28
|
+
# Deprecated: This field is deprecated and replaced by \"passwordSecretId\".
|
|
29
|
+
# This change follows the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
30
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
29
31
|
#
|
|
30
32
|
# @return [String]
|
|
31
33
|
attr_accessor :password
|
|
@@ -39,7 +39,8 @@ module OCI
|
|
|
39
39
|
CONNECTION_TYPE_DATABRICKS = 'DATABRICKS'.freeze,
|
|
40
40
|
CONNECTION_TYPE_GOOGLE_PUBSUB = 'GOOGLE_PUBSUB'.freeze,
|
|
41
41
|
CONNECTION_TYPE_MICROSOFT_FABRIC = 'MICROSOFT_FABRIC'.freeze,
|
|
42
|
-
CONNECTION_TYPE_ICEBERG = 'ICEBERG'.freeze
|
|
42
|
+
CONNECTION_TYPE_ICEBERG = 'ICEBERG'.freeze,
|
|
43
|
+
CONNECTION_TYPE_AI_MODEL = 'AI_MODEL'.freeze
|
|
43
44
|
].freeze
|
|
44
45
|
|
|
45
46
|
ROUTING_METHOD_ENUM = [
|
|
@@ -78,15 +79,30 @@ module OCI
|
|
|
78
79
|
# @return [Hash<String, Hash<String, Object>>]
|
|
79
80
|
attr_accessor :defined_tags
|
|
80
81
|
|
|
81
|
-
#
|
|
82
|
-
#
|
|
83
|
-
#
|
|
82
|
+
# References the OCI Vault that contains the customer-managed encryption key identified by `keyId`.
|
|
83
|
+
#
|
|
84
|
+
# Deprecated: This field is deprecated for GoldenGate connections. Sensitive attributes should be provided using the
|
|
85
|
+
# corresponding Secret OCID attributes of the connection (for example, `passwordSecretId`) instead of plain-text
|
|
86
|
+
# attributes encrypted with `vaultId` and `keyId`. This change follows the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
87
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
88
|
+
#
|
|
89
|
+
# This field is applicable only when `doesUseSecretIds` is set to `false`.
|
|
90
|
+
# If `vaultId` is provided, `keyId` must also be provided.
|
|
84
91
|
#
|
|
85
92
|
# @return [String]
|
|
86
93
|
attr_accessor :vault_id
|
|
87
94
|
|
|
88
|
-
#
|
|
89
|
-
#
|
|
95
|
+
# References the OCI Vault key in the OCI Vault identified by `vaultId`.
|
|
96
|
+
#
|
|
97
|
+
# Deprecated: This field is deprecated for GoldenGate connections. Sensitive attributes should be provided using the
|
|
98
|
+
# corresponding Secret OCID attributes of the connection (for example, `passwordSecretId`) instead of plain-text
|
|
99
|
+
# attributes encrypted with `vaultId` and `keyId`. This change follows the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
100
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
101
|
+
#
|
|
102
|
+
# The GoldenGate service uses this key to encrypt sensitive information (for example, `password`) that is provided in plain-text connection attributes through the API.
|
|
103
|
+
# This field is applicable only when `doesUseSecretIds` is set to `false`. If both `vaultId` and `keyId` are provided,
|
|
104
|
+
# the GoldenGate service uses the specified customer-managed key to encrypt the sensitive data.
|
|
105
|
+
# If neither `vaultId` nor `keyId` is provided, the GoldenGate service uses Oracle-managed encryption keys.
|
|
90
106
|
#
|
|
91
107
|
# @return [String]
|
|
92
108
|
attr_accessor :key_id
|
|
@@ -102,15 +118,34 @@ module OCI
|
|
|
102
118
|
attr_accessor :subnet_id
|
|
103
119
|
|
|
104
120
|
# Controls the network traffic direction to the target:
|
|
105
|
-
# SHARED_SERVICE_ENDPOINT: Traffic flows through the Goldengate Service's network to public hosts. Cannot be used for private targets.
|
|
106
121
|
# SHARED_DEPLOYMENT_ENDPOINT: Network traffic flows from the assigned deployment's private endpoint through the deployment's subnet.
|
|
107
122
|
# DEDICATED_ENDPOINT: A dedicated private endpoint is created in the target VCN subnet for the connection. The subnetId is required when DEDICATED_ENDPOINT networking is selected.
|
|
123
|
+
# SHARED_SERVICE_ENDPOINT: Traffic flows through the Goldengate Service's network to public hosts. Cannot be used for private targets.
|
|
124
|
+
#
|
|
125
|
+
# Deprecated: SHARED_SERVICE_ENDPOINT is deprecated. Use another supported routingMethod value, or update existing connections to use a supported routing method.
|
|
126
|
+
# This change follows the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
127
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
108
128
|
#
|
|
109
129
|
# @return [String]
|
|
110
130
|
attr_reader :routing_method
|
|
111
131
|
|
|
112
132
|
# Indicates that sensitive attributes are provided via Secrets.
|
|
113
133
|
#
|
|
134
|
+
# Deprecated: This field is deprecated. Sensitive attributes should be provided using the corresponding Secret OCID
|
|
135
|
+
# attributes of the connection (for example, `passwordSecretId`) instead of plain-text attributes. This change follows
|
|
136
|
+
# the GoldenGate \"Plain Text Fields in Connections\" deprecation:
|
|
137
|
+
# https://docs.oracle.com/en-us/iaas/Content/servicechanges.htm#servicechanges_topic-GoldenGate
|
|
138
|
+
#
|
|
139
|
+
# When set to `true`, all sensitive information must be provided as OCI Vault secrets using the corresponding
|
|
140
|
+
# `*SecretId` attributes of the connection (for example, `passwordSecretId`). Plain-text sensitive attributes (for example, `password`) must not be used.
|
|
141
|
+
# This ensures that sensitive information remains stored and managed in the customer's OCI Vault rather than by the GoldenGate service.
|
|
142
|
+
#
|
|
143
|
+
# When set to false, sensitive information must be provided in the corresponding plain-text attributes (for example, `password`) rather than in secret OCID attributes.
|
|
144
|
+
# In this mode, the sensitive information is stored by the GoldenGate service. If `vaultId` and `keyId` are not specified,
|
|
145
|
+
# the GoldenGate service uses Oracle-managed encryption keys to encrypt the stored data.
|
|
146
|
+
#
|
|
147
|
+
# If `vaultId` and `keyId` are provided, the specified customer-managed key is used.
|
|
148
|
+
#
|
|
114
149
|
# @return [BOOLEAN]
|
|
115
150
|
attr_accessor :does_use_secret_ids
|
|
116
151
|
|
|
@@ -179,6 +214,7 @@ module OCI
|
|
|
179
214
|
return 'OCI::GoldenGate::Models::UpdateMongoDbConnectionDetails' if type == 'MONGODB'
|
|
180
215
|
return 'OCI::GoldenGate::Models::UpdateGoogleCloudStorageConnectionDetails' if type == 'GOOGLE_CLOUD_STORAGE'
|
|
181
216
|
return 'OCI::GoldenGate::Models::UpdateOracleAiDataPlatformConnectionDetails' if type == 'ORACLE_AI_DATA_PLATFORM'
|
|
217
|
+
return 'OCI::GoldenGate::Models::UpdateAiModelConnectionDetails' if type == 'AI_MODEL'
|
|
182
218
|
return 'OCI::GoldenGate::Models::UpdateMicrosoftFabricConnectionDetails' if type == 'MICROSOFT_FABRIC'
|
|
183
219
|
return 'OCI::GoldenGate::Models::UpdatePostgresqlConnectionDetails' if type == 'POSTGRESQL'
|
|
184
220
|
return 'OCI::GoldenGate::Models::UpdateMicrosoftSqlserverConnectionDetails' if type == 'MICROSOFT_SQLSERVER'
|