File manager - Edit - /usr/lib/mysqlsh/lib/python3.9/site-packages/oci/golden_gate/models/rest_iceberg_catalog.py
Back
# coding: utf-8 # Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved. # 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. # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200407 from .iceberg_catalog import IcebergCatalog from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 from oci.decorators import init_model_state_from_kwargs @init_model_state_from_kwargs class RestIcebergCatalog(IcebergCatalog): """ Represents a Rest catalog used in the Iceberg connection. """ def __init__(self, **kwargs): """ Initializes a new RestIcebergCatalog object with values from keyword arguments. The default value of the :py:attr:`~oci.golden_gate.models.RestIcebergCatalog.catalog_type` attribute of this class is ``REST`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param catalog_type: The value to assign to the catalog_type property of this RestIcebergCatalog. Allowed values for this property are: "GLUE", "HADOOP", "NESSIE", "POLARIS", "REST" :type catalog_type: str :param uri: The value to assign to the uri property of this RestIcebergCatalog. :type uri: str :param properties_secret_id: The value to assign to the properties_secret_id property of this RestIcebergCatalog. :type properties_secret_id: str """ self.swagger_types = { 'catalog_type': 'str', 'uri': 'str', 'properties_secret_id': 'str' } self.attribute_map = { 'catalog_type': 'catalogType', 'uri': 'uri', 'properties_secret_id': 'propertiesSecretId' } self._catalog_type = None self._uri = None self._properties_secret_id = None self._catalog_type = 'REST' @property def uri(self): """ **[Required]** Gets the uri of this RestIcebergCatalog. The base URL for the REST Catalog API. e.g.: 'https://my-rest-catalog.example.com/api/v1' :return: The uri of this RestIcebergCatalog. :rtype: str """ return self._uri @uri.setter def uri(self, uri): """ Sets the uri of this RestIcebergCatalog. The base URL for the REST Catalog API. e.g.: 'https://my-rest-catalog.example.com/api/v1' :param uri: The uri of this RestIcebergCatalog. :type: str """ self._uri = uri @property def properties_secret_id(self): """ **[Required]** Gets the properties_secret_id of this RestIcebergCatalog. The `OCID`__ of the Secret that stores the content of the configuration file containing additional properties for the REST catalog. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The properties_secret_id of this RestIcebergCatalog. :rtype: str """ return self._properties_secret_id @properties_secret_id.setter def properties_secret_id(self, properties_secret_id): """ Sets the properties_secret_id of this RestIcebergCatalog. The `OCID`__ of the Secret that stores the content of the configuration file containing additional properties for the REST catalog. See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param properties_secret_id: The properties_secret_id of this RestIcebergCatalog. :type: str """ self._properties_secret_id = properties_secret_id def __repr__(self): return formatted_flat_dict(self) def __eq__(self, other): if other is None: return False return self.__dict__ == other.__dict__ def __ne__(self, other): return not self == other
| ver. 1.4 |
Github
|
.
| PHP 8.2.32 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings