File manager - Edit - /usr/lib/mysqlsh/lib/python3.9/site-packages/oci/gdp/models/create_gdp_pipeline_details.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: 20230301 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 CreateGdpPipelineDetails(object): """ The information about the new pipeline. """ def __init__(self, **kwargs): """ Initializes a new CreateGdpPipelineDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param compartment_id: The value to assign to the compartment_id property of this CreateGdpPipelineDetails. :type compartment_id: str :param display_name: The value to assign to the display_name property of this CreateGdpPipelineDetails. :type display_name: str :param description: The value to assign to the description property of this CreateGdpPipelineDetails. :type description: str :param service_log_group_id: The value to assign to the service_log_group_id property of this CreateGdpPipelineDetails. :type service_log_group_id: str :param pipeline_type: The value to assign to the pipeline_type property of this CreateGdpPipelineDetails. :type pipeline_type: str :param file_types: The value to assign to the file_types property of this CreateGdpPipelineDetails. :type file_types: list[str] :param bucket_details: The value to assign to the bucket_details property of this CreateGdpPipelineDetails. :type bucket_details: list[oci.gdp.models.BucketDetailsDefinition] :param peering_region: The value to assign to the peering_region property of this CreateGdpPipelineDetails. :type peering_region: str :param authorization_details: The value to assign to the authorization_details property of this CreateGdpPipelineDetails. :type authorization_details: str :param is_file_override_in_destination_enabled: The value to assign to the is_file_override_in_destination_enabled property of this CreateGdpPipelineDetails. :type is_file_override_in_destination_enabled: bool :param is_scanning_enabled: The value to assign to the is_scanning_enabled property of this CreateGdpPipelineDetails. :type is_scanning_enabled: bool :param is_chunking_enabled: The value to assign to the is_chunking_enabled property of this CreateGdpPipelineDetails. :type is_chunking_enabled: bool :param is_approval_needed: The value to assign to the is_approval_needed property of this CreateGdpPipelineDetails. :type is_approval_needed: bool :param approval_key_vault_id: The value to assign to the approval_key_vault_id property of this CreateGdpPipelineDetails. :type approval_key_vault_id: str :param freeform_tags: The value to assign to the freeform_tags property of this CreateGdpPipelineDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this CreateGdpPipelineDetails. :type defined_tags: dict(str, dict(str, object)) """ self.swagger_types = { 'compartment_id': 'str', 'display_name': 'str', 'description': 'str', 'service_log_group_id': 'str', 'pipeline_type': 'str', 'file_types': 'list[str]', 'bucket_details': 'list[BucketDetailsDefinition]', 'peering_region': 'str', 'authorization_details': 'str', 'is_file_override_in_destination_enabled': 'bool', 'is_scanning_enabled': 'bool', 'is_chunking_enabled': 'bool', 'is_approval_needed': 'bool', 'approval_key_vault_id': 'str', 'freeform_tags': 'dict(str, str)', 'defined_tags': 'dict(str, dict(str, object))' } self.attribute_map = { 'compartment_id': 'compartmentId', 'display_name': 'displayName', 'description': 'description', 'service_log_group_id': 'serviceLogGroupId', 'pipeline_type': 'pipelineType', 'file_types': 'fileTypes', 'bucket_details': 'bucketDetails', 'peering_region': 'peeringRegion', 'authorization_details': 'authorizationDetails', 'is_file_override_in_destination_enabled': 'isFileOverrideInDestinationEnabled', 'is_scanning_enabled': 'isScanningEnabled', 'is_chunking_enabled': 'isChunkingEnabled', 'is_approval_needed': 'isApprovalNeeded', 'approval_key_vault_id': 'approvalKeyVaultId', 'freeform_tags': 'freeformTags', 'defined_tags': 'definedTags' } self._compartment_id = None self._display_name = None self._description = None self._service_log_group_id = None self._pipeline_type = None self._file_types = None self._bucket_details = None self._peering_region = None self._authorization_details = None self._is_file_override_in_destination_enabled = None self._is_scanning_enabled = None self._is_chunking_enabled = None self._is_approval_needed = None self._approval_key_vault_id = None self._freeform_tags = None self._defined_tags = None @property def compartment_id(self): """ **[Required]** Gets the compartment_id of this CreateGdpPipelineDetails. The OCID of the compartment. :return: The compartment_id of this CreateGdpPipelineDetails. :rtype: str """ return self._compartment_id @compartment_id.setter def compartment_id(self, compartment_id): """ Sets the compartment_id of this CreateGdpPipelineDetails. The OCID of the compartment. :param compartment_id: The compartment_id of this CreateGdpPipelineDetails. :type: str """ self._compartment_id = compartment_id @property def display_name(self): """ **[Required]** Gets the display_name of this CreateGdpPipelineDetails. Pipeline short name. :return: The display_name of this CreateGdpPipelineDetails. :rtype: str """ return self._display_name @display_name.setter def display_name(self, display_name): """ Sets the display_name of this CreateGdpPipelineDetails. Pipeline short name. :param display_name: The display_name of this CreateGdpPipelineDetails. :type: str """ self._display_name = display_name @property def description(self): """ Gets the description of this CreateGdpPipelineDetails. Short field input by customer for a description of the data pipeline use-case. :return: The description of this CreateGdpPipelineDetails. :rtype: str """ return self._description @description.setter def description(self, description): """ Sets the description of this CreateGdpPipelineDetails. Short field input by customer for a description of the data pipeline use-case. :param description: The description of this CreateGdpPipelineDetails. :type: str """ self._description = description @property def service_log_group_id(self): """ Gets the service_log_group_id of this CreateGdpPipelineDetails. the OCID of the service log group. :return: The service_log_group_id of this CreateGdpPipelineDetails. :rtype: str """ return self._service_log_group_id @service_log_group_id.setter def service_log_group_id(self, service_log_group_id): """ Sets the service_log_group_id of this CreateGdpPipelineDetails. the OCID of the service log group. :param service_log_group_id: The service_log_group_id of this CreateGdpPipelineDetails. :type: str """ self._service_log_group_id = service_log_group_id @property def pipeline_type(self): """ **[Required]** Gets the pipeline_type of this CreateGdpPipelineDetails. Type of pipeline. Can be SENDER or RECEIVER. :return: The pipeline_type of this CreateGdpPipelineDetails. :rtype: str """ return self._pipeline_type @pipeline_type.setter def pipeline_type(self, pipeline_type): """ Sets the pipeline_type of this CreateGdpPipelineDetails. Type of pipeline. Can be SENDER or RECEIVER. :param pipeline_type: The pipeline_type of this CreateGdpPipelineDetails. :type: str """ self._pipeline_type = pipeline_type @property def file_types(self): """ Gets the file_types of this CreateGdpPipelineDetails. List of file types allowed to be transferred in the pipeline according to the authorization details (e.g. .pdf, .xml, .doc). :return: The file_types of this CreateGdpPipelineDetails. :rtype: list[str] """ return self._file_types @file_types.setter def file_types(self, file_types): """ Sets the file_types of this CreateGdpPipelineDetails. List of file types allowed to be transferred in the pipeline according to the authorization details (e.g. .pdf, .xml, .doc). :param file_types: The file_types of this CreateGdpPipelineDetails. :type: list[str] """ self._file_types = file_types @property def bucket_details(self): """ **[Required]** Gets the bucket_details of this CreateGdpPipelineDetails. Information about the bucket in the pipeline being configured. :return: The bucket_details of this CreateGdpPipelineDetails. :rtype: list[oci.gdp.models.BucketDetailsDefinition] """ return self._bucket_details @bucket_details.setter def bucket_details(self, bucket_details): """ Sets the bucket_details of this CreateGdpPipelineDetails. Information about the bucket in the pipeline being configured. :param bucket_details: The bucket_details of this CreateGdpPipelineDetails. :type: list[oci.gdp.models.BucketDetailsDefinition] """ self._bucket_details = bucket_details @property def peering_region(self): """ **[Required]** Gets the peering_region of this CreateGdpPipelineDetails. Public region name where the peered pipeline exists. :return: The peering_region of this CreateGdpPipelineDetails. :rtype: str """ return self._peering_region @peering_region.setter def peering_region(self, peering_region): """ Sets the peering_region of this CreateGdpPipelineDetails. Public region name where the peered pipeline exists. :param peering_region: The peering_region of this CreateGdpPipelineDetails. :type: str """ self._peering_region = peering_region @property def authorization_details(self): """ Gets the authorization_details of this CreateGdpPipelineDetails. Authorization information about the pipeline being configured. :return: The authorization_details of this CreateGdpPipelineDetails. :rtype: str """ return self._authorization_details @authorization_details.setter def authorization_details(self, authorization_details): """ Sets the authorization_details of this CreateGdpPipelineDetails. Authorization information about the pipeline being configured. :param authorization_details: The authorization_details of this CreateGdpPipelineDetails. :type: str """ self._authorization_details = authorization_details @property def is_file_override_in_destination_enabled(self): """ Gets the is_file_override_in_destination_enabled of this CreateGdpPipelineDetails. Enable file override feature in destination bucket :return: The is_file_override_in_destination_enabled of this CreateGdpPipelineDetails. :rtype: bool """ return self._is_file_override_in_destination_enabled @is_file_override_in_destination_enabled.setter def is_file_override_in_destination_enabled(self, is_file_override_in_destination_enabled): """ Sets the is_file_override_in_destination_enabled of this CreateGdpPipelineDetails. Enable file override feature in destination bucket :param is_file_override_in_destination_enabled: The is_file_override_in_destination_enabled of this CreateGdpPipelineDetails. :type: bool """ self._is_file_override_in_destination_enabled = is_file_override_in_destination_enabled @property def is_scanning_enabled(self): """ Gets the is_scanning_enabled of this CreateGdpPipelineDetails. Determines whether GDP Scanning should be enabled for the pipeline. :return: The is_scanning_enabled of this CreateGdpPipelineDetails. :rtype: bool """ return self._is_scanning_enabled @is_scanning_enabled.setter def is_scanning_enabled(self, is_scanning_enabled): """ Sets the is_scanning_enabled of this CreateGdpPipelineDetails. Determines whether GDP Scanning should be enabled for the pipeline. :param is_scanning_enabled: The is_scanning_enabled of this CreateGdpPipelineDetails. :type: bool """ self._is_scanning_enabled = is_scanning_enabled @property def is_chunking_enabled(self): """ Gets the is_chunking_enabled of this CreateGdpPipelineDetails. Determines whether file must be chunked during the transfer. This is only a property of SENDER pipelines. :return: The is_chunking_enabled of this CreateGdpPipelineDetails. :rtype: bool """ return self._is_chunking_enabled @is_chunking_enabled.setter def is_chunking_enabled(self, is_chunking_enabled): """ Sets the is_chunking_enabled of this CreateGdpPipelineDetails. Determines whether file must be chunked during the transfer. This is only a property of SENDER pipelines. :param is_chunking_enabled: The is_chunking_enabled of this CreateGdpPipelineDetails. :type: bool """ self._is_chunking_enabled = is_chunking_enabled @property def is_approval_needed(self): """ Gets the is_approval_needed of this CreateGdpPipelineDetails. Determines whether file transfers need to go through an approval workflow. :return: The is_approval_needed of this CreateGdpPipelineDetails. :rtype: bool """ return self._is_approval_needed @is_approval_needed.setter def is_approval_needed(self, is_approval_needed): """ Sets the is_approval_needed of this CreateGdpPipelineDetails. Determines whether file transfers need to go through an approval workflow. :param is_approval_needed: The is_approval_needed of this CreateGdpPipelineDetails. :type: bool """ self._is_approval_needed = is_approval_needed @property def approval_key_vault_id(self): """ Gets the approval_key_vault_id of this CreateGdpPipelineDetails. The KMS vault OCID for the key to be used for file transfer approvals. :return: The approval_key_vault_id of this CreateGdpPipelineDetails. :rtype: str """ return self._approval_key_vault_id @approval_key_vault_id.setter def approval_key_vault_id(self, approval_key_vault_id): """ Sets the approval_key_vault_id of this CreateGdpPipelineDetails. The KMS vault OCID for the key to be used for file transfer approvals. :param approval_key_vault_id: The approval_key_vault_id of this CreateGdpPipelineDetails. :type: str """ self._approval_key_vault_id = approval_key_vault_id @property def freeform_tags(self): """ Gets the freeform_tags of this CreateGdpPipelineDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}` :return: The freeform_tags of this CreateGdpPipelineDetails. :rtype: dict(str, str) """ return self._freeform_tags @freeform_tags.setter def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this CreateGdpPipelineDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}` :param freeform_tags: The freeform_tags of this CreateGdpPipelineDetails. :type: dict(str, str) """ self._freeform_tags = freeform_tags @property def defined_tags(self): """ Gets the defined_tags of this CreateGdpPipelineDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}` :return: The defined_tags of this CreateGdpPipelineDetails. :rtype: dict(str, dict(str, object)) """ return self._defined_tags @defined_tags.setter def defined_tags(self, defined_tags): """ Sets the defined_tags of this CreateGdpPipelineDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}` :param defined_tags: The defined_tags of this CreateGdpPipelineDetails. :type: dict(str, dict(str, object)) """ self._defined_tags = defined_tags 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