diff --git a/sdk/purview/azure-purview-datamap/_meta.json b/sdk/purview/azure-purview-datamap/_meta.json new file mode 100644 index 000000000000..e44133661318 --- /dev/null +++ b/sdk/purview/azure-purview-datamap/_meta.json @@ -0,0 +1,6 @@ +{ + "commit": "62f2c8a9ff7d25a917c7b9dd95326db9c3a8d620", + "repository_url": "https://github.com/Azure/azure-rest-api-specs", + "typespec_src": "specification/purview/Azure.Analytics.Purview.DataMap", + "@azure-tools/typespec-python": "0.25.0" +} \ No newline at end of file diff --git a/sdk/purview/azure-purview-datamap/azure/purview/datamap/_client.py b/sdk/purview/azure-purview-datamap/azure/purview/datamap/_client.py index 4dac6f59e70b..1397ce26c20a 100644 --- a/sdk/purview/azure-purview-datamap/azure/purview/datamap/_client.py +++ b/sdk/purview/azure-purview-datamap/azure/purview/datamap/_client.py @@ -8,6 +8,7 @@ from copy import deepcopy from typing import Any, TYPE_CHECKING +from typing_extensions import Self from azure.core import PipelineClient from azure.core.pipeline import policies @@ -44,13 +45,14 @@ class DataMapClient: # pylint: disable=client-accepts-api-version-keyword :vartype relationship: azure.purview.datamap.operations.RelationshipOperations :ivar type_definition: TypeDefinitionOperations operations :vartype type_definition: azure.purview.datamap.operations.TypeDefinitionOperations - :param endpoint: Required. + :param endpoint: Purview Data Map Service is a fully managed cloud service whose users can + discover the data sources they need and understand the data sources they find. At the same + time, Data Map helps organizations get more value from their existing investments. Required. :type endpoint: str - :param credential: Credential needed for the client to connect to Azure. Required. + :param credential: Credential used to authenticate requests to the service. Required. :type credential: ~azure.core.credentials.TokenCredential - :keyword api_version: The API version to use for this operation. Known values are "2023-09-01" - and None. Default value is "2023-09-01". Note that overriding this default value may result in - unsupported behavior. + :keyword api_version: The API version to use for this operation. Default value is "2023-09-01". + Note that overriding this default value may result in unsupported behavior. :paramtype api_version: str """ @@ -106,7 +108,7 @@ def send_request(self, request: HttpRequest, *, stream: bool = False, **kwargs: request_copy = deepcopy(request) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } request_copy.url = self._client.format_url(request_copy.url, **path_format_arguments) @@ -115,7 +117,7 @@ def send_request(self, request: HttpRequest, *, stream: bool = False, **kwargs: def close(self) -> None: self._client.close() - def __enter__(self) -> "DataMapClient": + def __enter__(self) -> Self: self._client.__enter__() return self diff --git a/sdk/purview/azure-purview-datamap/azure/purview/datamap/_configuration.py b/sdk/purview/azure-purview-datamap/azure/purview/datamap/_configuration.py index 1084d8ba9649..449432c31576 100644 --- a/sdk/purview/azure-purview-datamap/azure/purview/datamap/_configuration.py +++ b/sdk/purview/azure-purview-datamap/azure/purview/datamap/_configuration.py @@ -23,13 +23,14 @@ class DataMapClientConfiguration: # pylint: disable=too-many-instance-attribute Note that all parameters used to create this instance are saved as instance attributes. - :param endpoint: Required. + :param endpoint: Purview Data Map Service is a fully managed cloud service whose users can + discover the data sources they need and understand the data sources they find. At the same + time, Data Map helps organizations get more value from their existing investments. Required. :type endpoint: str - :param credential: Credential needed for the client to connect to Azure. Required. + :param credential: Credential used to authenticate requests to the service. Required. :type credential: ~azure.core.credentials.TokenCredential - :keyword api_version: The API version to use for this operation. Known values are "2023-09-01" - and None. Default value is "2023-09-01". Note that overriding this default value may result in - unsupported behavior. + :keyword api_version: The API version to use for this operation. Default value is "2023-09-01". + Note that overriding this default value may result in unsupported behavior. :paramtype api_version: str """ diff --git a/sdk/purview/azure-purview-datamap/azure/purview/datamap/_model_base.py b/sdk/purview/azure-purview-datamap/azure/purview/datamap/_model_base.py index 1ddc071517d6..43fd8c7e9b1b 100644 --- a/sdk/purview/azure-purview-datamap/azure/purview/datamap/_model_base.py +++ b/sdk/purview/azure-purview-datamap/azure/purview/datamap/_model_base.py @@ -6,6 +6,7 @@ # -------------------------------------------------------------------------- # pylint: disable=protected-access, arguments-differ, signature-differs, broad-except +import copy import calendar import decimal import functools @@ -13,7 +14,6 @@ import logging import base64 import re -import copy import typing import enum import email.utils @@ -339,7 +339,7 @@ def _get_model(module_name: str, model_name: str): class _MyMutableMapping(MutableMapping[str, typing.Any]): # pylint: disable=unsubscriptable-object def __init__(self, data: typing.Dict[str, typing.Any]) -> None: - self._data = copy.deepcopy(data) + self._data = data def __contains__(self, key: typing.Any) -> bool: return key in self._data @@ -378,16 +378,13 @@ def get(self, key: str, default: typing.Any = None) -> typing.Any: return default @typing.overload - def pop(self, key: str) -> typing.Any: - ... + def pop(self, key: str) -> typing.Any: ... @typing.overload - def pop(self, key: str, default: _T) -> _T: - ... + def pop(self, key: str, default: _T) -> _T: ... @typing.overload - def pop(self, key: str, default: typing.Any) -> typing.Any: - ... + def pop(self, key: str, default: typing.Any) -> typing.Any: ... def pop(self, key: str, default: typing.Any = _UNSET) -> typing.Any: if default is _UNSET: @@ -404,12 +401,10 @@ def update(self, *args: typing.Any, **kwargs: typing.Any) -> None: self._data.update(*args, **kwargs) @typing.overload - def setdefault(self, key: str, default: None = None) -> None: - ... + def setdefault(self, key: str, default: None = None) -> None: ... @typing.overload - def setdefault(self, key: str, default: typing.Any) -> typing.Any: - ... + def setdefault(self, key: str, default: typing.Any) -> typing.Any: ... def setdefault(self, key: str, default: typing.Any = _UNSET) -> typing.Any: if default is _UNSET: @@ -594,6 +589,64 @@ def _as_dict_value(v: typing.Any, exclude_readonly: bool = False) -> typing.Any: return v.as_dict(exclude_readonly=exclude_readonly) if hasattr(v, "as_dict") else v +def _deserialize_model(model_deserializer: typing.Optional[typing.Callable], obj): + if _is_model(obj): + return obj + return _deserialize(model_deserializer, obj) + + +def _deserialize_with_optional(if_obj_deserializer: typing.Optional[typing.Callable], obj): + if obj is None: + return obj + return _deserialize_with_callable(if_obj_deserializer, obj) + + +def _deserialize_with_union(deserializers, obj): + for deserializer in deserializers: + try: + return _deserialize(deserializer, obj) + except DeserializationError: + pass + raise DeserializationError() + + +def _deserialize_dict( + value_deserializer: typing.Optional[typing.Callable], + module: typing.Optional[str], + obj: typing.Dict[typing.Any, typing.Any], +): + if obj is None: + return obj + return {k: _deserialize(value_deserializer, v, module) for k, v in obj.items()} + + +def _deserialize_multiple_sequence( + entry_deserializers: typing.List[typing.Optional[typing.Callable]], + module: typing.Optional[str], + obj, +): + if obj is None: + return obj + return type(obj)(_deserialize(deserializer, entry, module) for entry, deserializer in zip(obj, entry_deserializers)) + + +def _deserialize_sequence( + deserializer: typing.Optional[typing.Callable], + module: typing.Optional[str], + obj, +): + if obj is None: + return obj + return type(obj)(_deserialize(deserializer, entry, module) for entry in obj) + + +def _sorted_annotations(types: typing.List[typing.Any]) -> typing.List[typing.Any]: + return sorted( + types, + key=lambda x: hasattr(x, "__name__") and x.__name__.lower() in ("str", "float", "int", "bool"), + ) + + def _get_deserialize_callable_from_annotation( # pylint: disable=R0911, R0915, R0912 annotation: typing.Any, module: typing.Optional[str], @@ -621,11 +674,6 @@ def _get_deserialize_callable_from_annotation( # pylint: disable=R0911, R0915, if rf: rf._is_model = True - def _deserialize_model(model_deserializer: typing.Optional[typing.Callable], obj): - if _is_model(obj): - return obj - return _deserialize(model_deserializer, obj) - return functools.partial(_deserialize_model, annotation) # pyright: ignore except Exception: pass @@ -640,36 +688,27 @@ def _deserialize_model(model_deserializer: typing.Optional[typing.Callable], obj # is it optional? try: if any(a for a in annotation.__args__ if a == type(None)): # pyright: ignore - if_obj_deserializer = _get_deserialize_callable_from_annotation( - next(a for a in annotation.__args__ if a != type(None)), module, rf # pyright: ignore - ) - - def _deserialize_with_optional(if_obj_deserializer: typing.Optional[typing.Callable], obj): - if obj is None: - return obj - return _deserialize_with_callable(if_obj_deserializer, obj) - - return functools.partial(_deserialize_with_optional, if_obj_deserializer) + if len(annotation.__args__) <= 2: # pyright: ignore + if_obj_deserializer = _get_deserialize_callable_from_annotation( + next(a for a in annotation.__args__ if a != type(None)), module, rf # pyright: ignore + ) + + return functools.partial(_deserialize_with_optional, if_obj_deserializer) + # the type is Optional[Union[...]], we need to remove the None type from the Union + annotation_copy = copy.copy(annotation) + annotation_copy.__args__ = [a for a in annotation_copy.__args__ if a != type(None)] # pyright: ignore + return _get_deserialize_callable_from_annotation(annotation_copy, module, rf) except AttributeError: pass + # is it union? if getattr(annotation, "__origin__", None) is typing.Union: # initial ordering is we make `string` the last deserialization option, because it is often them most generic deserializers = [ _get_deserialize_callable_from_annotation(arg, module, rf) - for arg in sorted( - annotation.__args__, key=lambda x: hasattr(x, "__name__") and x.__name__ == "str" # pyright: ignore - ) + for arg in _sorted_annotations(annotation.__args__) # pyright: ignore ] - def _deserialize_with_union(deserializers, obj): - for deserializer in deserializers: - try: - return _deserialize(deserializer, obj) - except DeserializationError: - pass - raise DeserializationError() - return functools.partial(_deserialize_with_union, deserializers) try: @@ -678,17 +717,10 @@ def _deserialize_with_union(deserializers, obj): annotation.__args__[1], module, rf # pyright: ignore ) - def _deserialize_dict( - value_deserializer: typing.Optional[typing.Callable], - obj: typing.Dict[typing.Any, typing.Any], - ): - if obj is None: - return obj - return {k: _deserialize(value_deserializer, v, module) for k, v in obj.items()} - return functools.partial( _deserialize_dict, value_deserializer, + module, ) except (AttributeError, IndexError): pass @@ -696,35 +728,16 @@ def _deserialize_dict( if annotation._name in ["List", "Set", "Tuple", "Sequence"]: # pyright: ignore if len(annotation.__args__) > 1: # pyright: ignore - def _deserialize_multiple_sequence( - entry_deserializers: typing.List[typing.Optional[typing.Callable]], - obj, - ): - if obj is None: - return obj - return type(obj)( - _deserialize(deserializer, entry, module) - for entry, deserializer in zip(obj, entry_deserializers) - ) - entry_deserializers = [ _get_deserialize_callable_from_annotation(dt, module, rf) for dt in annotation.__args__ # pyright: ignore ] - return functools.partial(_deserialize_multiple_sequence, entry_deserializers) + return functools.partial(_deserialize_multiple_sequence, entry_deserializers, module) deserializer = _get_deserialize_callable_from_annotation( annotation.__args__[0], module, rf # pyright: ignore ) - def _deserialize_sequence( - deserializer: typing.Optional[typing.Callable], - obj, - ): - if obj is None: - return obj - return type(obj)(_deserialize(deserializer, entry, module) for entry in obj) - - return functools.partial(_deserialize_sequence, deserializer) + return functools.partial(_deserialize_sequence, deserializer, module) except (TypeError, IndexError, AttributeError, SyntaxError): pass @@ -870,5 +883,6 @@ def rest_discriminator( *, name: typing.Optional[str] = None, type: typing.Optional[typing.Callable] = None, # pylint: disable=redefined-builtin + visibility: typing.Optional[typing.List[str]] = None, ) -> typing.Any: - return _RestField(name=name, type=type, is_discriminator=True) + return _RestField(name=name, type=type, is_discriminator=True, visibility=visibility) diff --git a/sdk/purview/azure-purview-datamap/azure/purview/datamap/_serialization.py b/sdk/purview/azure-purview-datamap/azure/purview/datamap/_serialization.py index 2f781d740827..8139854b97bb 100644 --- a/sdk/purview/azure-purview-datamap/azure/purview/datamap/_serialization.py +++ b/sdk/purview/azure-purview-datamap/azure/purview/datamap/_serialization.py @@ -144,6 +144,8 @@ def _json_attemp(data): # context otherwise. _LOGGER.critical("Wasn't XML not JSON, failing") raise DeserializationError("XML is invalid") from err + elif content_type.startswith("text/"): + return data_as_str raise DeserializationError("Cannot deserialize content-type: {}".format(content_type)) @classmethod @@ -1441,7 +1443,7 @@ def _deserialize(self, target_obj, data): elif isinstance(response, type) and issubclass(response, Enum): return self.deserialize_enum(data, response) - if data is None: + if data is None or data is CoreNull: return data try: attributes = response._attribute_map # type: ignore diff --git a/sdk/purview/azure-purview-datamap/azure/purview/datamap/_version.py b/sdk/purview/azure-purview-datamap/azure/purview/datamap/_version.py index bbcd28b4aa67..be71c81bd282 100644 --- a/sdk/purview/azure-purview-datamap/azure/purview/datamap/_version.py +++ b/sdk/purview/azure-purview-datamap/azure/purview/datamap/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "1.0.0b2" +VERSION = "1.0.0b1" diff --git a/sdk/purview/azure-purview-datamap/azure/purview/datamap/aio/_client.py b/sdk/purview/azure-purview-datamap/azure/purview/datamap/aio/_client.py index f6ff86ec1c34..943ab8fa2ae9 100644 --- a/sdk/purview/azure-purview-datamap/azure/purview/datamap/aio/_client.py +++ b/sdk/purview/azure-purview-datamap/azure/purview/datamap/aio/_client.py @@ -8,6 +8,7 @@ from copy import deepcopy from typing import Any, Awaitable, TYPE_CHECKING +from typing_extensions import Self from azure.core import AsyncPipelineClient from azure.core.pipeline import policies @@ -44,13 +45,14 @@ class DataMapClient: # pylint: disable=client-accepts-api-version-keyword :vartype relationship: azure.purview.datamap.aio.operations.RelationshipOperations :ivar type_definition: TypeDefinitionOperations operations :vartype type_definition: azure.purview.datamap.aio.operations.TypeDefinitionOperations - :param endpoint: Required. + :param endpoint: Purview Data Map Service is a fully managed cloud service whose users can + discover the data sources they need and understand the data sources they find. At the same + time, Data Map helps organizations get more value from their existing investments. Required. :type endpoint: str - :param credential: Credential needed for the client to connect to Azure. Required. + :param credential: Credential used to authenticate requests to the service. Required. :type credential: ~azure.core.credentials_async.AsyncTokenCredential - :keyword api_version: The API version to use for this operation. Known values are "2023-09-01" - and None. Default value is "2023-09-01". Note that overriding this default value may result in - unsupported behavior. + :keyword api_version: The API version to use for this operation. Default value is "2023-09-01". + Note that overriding this default value may result in unsupported behavior. :paramtype api_version: str """ @@ -108,7 +110,7 @@ def send_request( request_copy = deepcopy(request) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } request_copy.url = self._client.format_url(request_copy.url, **path_format_arguments) @@ -117,7 +119,7 @@ def send_request( async def close(self) -> None: await self._client.close() - async def __aenter__(self) -> "DataMapClient": + async def __aenter__(self) -> Self: await self._client.__aenter__() return self diff --git a/sdk/purview/azure-purview-datamap/azure/purview/datamap/aio/_configuration.py b/sdk/purview/azure-purview-datamap/azure/purview/datamap/aio/_configuration.py index 8f67d155f7df..74771e0faf93 100644 --- a/sdk/purview/azure-purview-datamap/azure/purview/datamap/aio/_configuration.py +++ b/sdk/purview/azure-purview-datamap/azure/purview/datamap/aio/_configuration.py @@ -23,13 +23,14 @@ class DataMapClientConfiguration: # pylint: disable=too-many-instance-attribute Note that all parameters used to create this instance are saved as instance attributes. - :param endpoint: Required. + :param endpoint: Purview Data Map Service is a fully managed cloud service whose users can + discover the data sources they need and understand the data sources they find. At the same + time, Data Map helps organizations get more value from their existing investments. Required. :type endpoint: str - :param credential: Credential needed for the client to connect to Azure. Required. + :param credential: Credential used to authenticate requests to the service. Required. :type credential: ~azure.core.credentials_async.AsyncTokenCredential - :keyword api_version: The API version to use for this operation. Known values are "2023-09-01" - and None. Default value is "2023-09-01". Note that overriding this default value may result in - unsupported behavior. + :keyword api_version: The API version to use for this operation. Default value is "2023-09-01". + Note that overriding this default value may result in unsupported behavior. :paramtype api_version: str """ diff --git a/sdk/purview/azure-purview-datamap/azure/purview/datamap/aio/operations/_operations.py b/sdk/purview/azure-purview-datamap/azure/purview/datamap/aio/operations/_operations.py index 3d3e3db3b6ae..8cd169eb18d6 100644 --- a/sdk/purview/azure-purview-datamap/azure/purview/datamap/aio/operations/_operations.py +++ b/sdk/purview/azure-purview-datamap/azure/purview/datamap/aio/operations/_operations.py @@ -9,7 +9,7 @@ from io import IOBase import json import sys -from typing import Any, Callable, Dict, IO, List, Optional, TypeVar, Union, overload +from typing import Any, AsyncIterator, Callable, Dict, IO, List, Optional, Type, TypeVar, Union, overload from azure.core.exceptions import ( ClientAuthenticationError, @@ -162,7 +162,6 @@ async def create_or_update( content_type: str = "application/json", **kwargs: Any ) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Create or update an entity. Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. @@ -171,7 +170,7 @@ async def create_or_update( int>>. For each contact type, the maximum number of contacts is 20. - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.AtlasEntityWithExtInfo :keyword business_attribute_update_behavior: Used to define the update behavior for business attributes when updating @@ -196,201 +195,146 @@ async def create_or_update( body = { "entity": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the - entity. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The - end of the time boundary. - "startTime": "str", # Optional. The - start of the time boundary. - "timeZone": "str" # Optional. The - timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure Active - Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence of the - term assignment. - "createdBy": "str", # Optional. The user who created - the record. - "description": "str", # Optional. The description of - the term assignment. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term assignment. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of terms - assignment. Known values are: "DISCOVERED", "PROPOSED", "IMPORTED", - "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of relationship. + "str": {} }, - "status": "str", # Optional. Status of the entity - can be active or - deleted. Deleted entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the entity. + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 }, "referredEntities": { "str": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the - entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure - Active Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "provenanceType": 0, # Optional. Used to record the - provenance of an instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of - relationship. - }, - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the entity. + "str": {} + }, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } } } @@ -398,170 +342,117 @@ async def create_or_update( # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } @@ -577,7 +468,6 @@ async def create_or_update( content_type: str = "application/json", **kwargs: Any ) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Create or update an entity. Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. @@ -586,7 +476,7 @@ async def create_or_update( int>>. For each contact type, the maximum number of contacts is 20. - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword business_attribute_update_behavior: Used to define the update behavior for business attributes when updating @@ -610,170 +500,117 @@ async def create_or_update( # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } @@ -789,7 +626,6 @@ async def create_or_update( content_type: str = "application/json", **kwargs: Any ) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Create or update an entity. Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. @@ -798,7 +634,7 @@ async def create_or_update( int>>. For each contact type, the maximum number of contacts is 20. - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword business_attribute_update_behavior: Used to define the update behavior for business attributes when updating @@ -822,170 +658,117 @@ async def create_or_update( # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } @@ -1000,7 +783,6 @@ async def create_or_update( collection_id: Optional[str] = None, **kwargs: Any ) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Create or update an entity. Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. @@ -1009,7 +791,8 @@ async def create_or_update( int>>. For each contact type, the maximum number of contacts is 20. - :param body: Is one of the following types: AtlasEntityWithExtInfo, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: AtlasEntityWithExtInfo, JSON, + IO[bytes] Required. :type body: ~azure.purview.datamap.models.AtlasEntityWithExtInfo or JSON or IO[bytes] :keyword business_attribute_update_behavior: Used to define the update behavior for business attributes when updating @@ -1031,201 +814,146 @@ async def create_or_update( body = { "entity": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the - entity. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The - end of the time boundary. - "startTime": "str", # Optional. The - start of the time boundary. - "timeZone": "str" # Optional. The - timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure Active - Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence of the - term assignment. - "createdBy": "str", # Optional. The user who created - the record. - "description": "str", # Optional. The description of - the term assignment. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term assignment. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of terms - assignment. Known values are: "DISCOVERED", "PROPOSED", "IMPORTED", - "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of relationship. + "str": {} }, - "status": "str", # Optional. Status of the entity - can be active or - deleted. Deleted entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the entity. + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 }, "referredEntities": { "str": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the - entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure - Active Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "provenanceType": 0, # Optional. Used to record the - provenance of an instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of - relationship. - }, - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the entity. + "str": {} + }, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } } } @@ -1233,175 +961,122 @@ async def create_or_update( # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -1432,7 +1107,7 @@ async def create_or_update( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -1469,7 +1144,6 @@ async def get_by_ids( ignore_relationships: Optional[bool] = None, **kwargs: Any ) -> _models.AtlasEntitiesWithExtInfo: - # pylint: disable=line-too-long """List entities in bulk identified by its GUIDs. :keyword guid: An array of GUIDs of entities to list. Required. @@ -1493,216 +1167,152 @@ async def get_by_ids( "entities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the - entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure - Active Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "provenanceType": 0, # Optional. Used to record the - provenance of an instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of - relationship. + "str": {} }, - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the entity. + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "referredEntities": { "str": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the - entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure - Active Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "provenanceType": 0, # Optional. Used to record the - provenance of an instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of - relationship. - }, - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the entity. + "str": {} + }, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } } } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -1724,7 +1334,7 @@ async def get_by_ids( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -1762,7 +1372,6 @@ async def batch_create_or_update( content_type: str = "application/json", **kwargs: Any ) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Create or update entities in bulk. Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. @@ -1772,7 +1381,7 @@ async def batch_create_or_update( For each contact type, the maximum number of contacts is 20. - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.AtlasEntitiesWithExtInfo :keyword collection_id: The collection where entities will be moved to. Only specify a value if you @@ -1798,211 +1407,147 @@ async def batch_create_or_update( "entities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the - entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure - Active Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "provenanceType": 0, # Optional. Used to record the - provenance of an instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of - relationship. + "str": {} }, - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the entity. + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "referredEntities": { "str": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the - entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure - Active Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "provenanceType": 0, # Optional. Used to record the - provenance of an instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of - relationship. - }, - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the entity. + "str": {} + }, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } } } @@ -2010,170 +1555,117 @@ async def batch_create_or_update( # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } @@ -2189,7 +1681,6 @@ async def batch_create_or_update( content_type: str = "application/json", **kwargs: Any ) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Create or update entities in bulk. Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. @@ -2199,7 +1690,7 @@ async def batch_create_or_update( For each contact type, the maximum number of contacts is 20. - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword collection_id: The collection where entities will be moved to. Only specify a value if you @@ -2223,170 +1714,117 @@ async def batch_create_or_update( # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } @@ -2402,7 +1840,6 @@ async def batch_create_or_update( content_type: str = "application/json", **kwargs: Any ) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Create or update entities in bulk. Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. @@ -2412,7 +1849,7 @@ async def batch_create_or_update( For each contact type, the maximum number of contacts is 20. - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword collection_id: The collection where entities will be moved to. Only specify a value if you @@ -2436,170 +1873,117 @@ async def batch_create_or_update( # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } @@ -2614,7 +1998,6 @@ async def batch_create_or_update( business_attribute_update_behavior: Optional[Union[str, _models.BusinessAttributeUpdateBehavior]] = None, **kwargs: Any ) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Create or update entities in bulk. Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. @@ -2624,7 +2007,8 @@ async def batch_create_or_update( For each contact type, the maximum number of contacts is 20. - :param body: Is one of the following types: AtlasEntitiesWithExtInfo, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: AtlasEntitiesWithExtInfo, JSON, + IO[bytes] Required. :type body: ~azure.purview.datamap.models.AtlasEntitiesWithExtInfo or JSON or IO[bytes] :keyword collection_id: The collection where entities will be moved to. Only specify a value if you @@ -2647,211 +2031,147 @@ async def batch_create_or_update( "entities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the - entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure - Active Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "provenanceType": 0, # Optional. Used to record the - provenance of an instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of - relationship. + "str": {} }, - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the entity. + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "referredEntities": { "str": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the - entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure - Active Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "provenanceType": 0, # Optional. Used to record the - provenance of an instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of - relationship. - }, - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the entity. + "str": {} + }, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } } } @@ -2859,175 +2179,122 @@ async def batch_create_or_update( # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -3058,7 +2325,7 @@ async def batch_create_or_update( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -3088,7 +2355,6 @@ async def batch_create_or_update( @distributed_trace_async async def batch_delete(self, *, guid: List[str], **kwargs: Any) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Delete a list of entities in bulk identified by their GUIDs or unique attributes. @@ -3104,175 +2370,122 @@ async def batch_delete(self, *, guid: List[str], **kwargs: Any) -> _models.Entit # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -3291,7 +2504,7 @@ async def batch_delete(self, *, guid: List[str], **kwargs: Any) -> _models.Entit params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -3323,10 +2536,9 @@ async def batch_delete(self, *, guid: List[str], **kwargs: Any) -> _models.Entit async def add_classification( # pylint: disable=inconsistent-return-statements self, body: _models.ClassificationAssociateOptions, *, content_type: str = "application/json", **kwargs: Any ) -> None: - # pylint: disable=line-too-long """Associate a classification to multiple entities in bulk. - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.ClassificationAssociateOptions :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -3342,29 +2554,23 @@ async def add_classification( # pylint: disable=inconsistent-return-statements body = { "classification": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "removePropagationsOnEntityDelete": bool, # Optional. Determines if - propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the time - boundary. - "startTime": "str", # Optional. The start of the - time boundary. - "timeZone": "str" # Optional. The timezone of the - time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] }, "entityGuids": [ - "str" # Optional. The GUID of the entity. + "str" ] } """ @@ -3375,7 +2581,7 @@ async def add_classification( # pylint: disable=inconsistent-return-statements ) -> None: """Associate a classification to multiple entities in bulk. - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -3391,7 +2597,7 @@ async def add_classification( # pylint: disable=inconsistent-return-statements ) -> None: """Associate a classification to multiple entities in bulk. - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword content_type: Body Parameter content-type. Content type parameter for binary body. Default value is "application/json". @@ -3405,11 +2611,10 @@ async def add_classification( # pylint: disable=inconsistent-return-statements async def add_classification( # pylint: disable=inconsistent-return-statements self, body: Union[_models.ClassificationAssociateOptions, JSON, IO[bytes]], **kwargs: Any ) -> None: - # pylint: disable=line-too-long """Associate a classification to multiple entities in bulk. - :param body: Is one of the following types: ClassificationAssociateOptions, JSON, IO[bytes] - Required. + :param body: Body parameter. Is one of the following types: ClassificationAssociateOptions, + JSON, IO[bytes] Required. :type body: ~azure.purview.datamap.models.ClassificationAssociateOptions or JSON or IO[bytes] :return: None :rtype: None @@ -3422,33 +2627,27 @@ async def add_classification( # pylint: disable=inconsistent-return-statements body = { "classification": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "removePropagationsOnEntityDelete": bool, # Optional. Determines if - propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the time - boundary. - "startTime": "str", # Optional. The start of the - time boundary. - "timeZone": "str" # Optional. The timezone of the - time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] }, "entityGuids": [ - "str" # Optional. The GUID of the entity. + "str" ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -3476,7 +2675,7 @@ async def add_classification( # pylint: disable=inconsistent-return-statements params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -3488,8 +2687,6 @@ async def add_classification( # pylint: disable=inconsistent-return-statements response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -3506,7 +2703,6 @@ async def get( ignore_relationships: Optional[bool] = None, **kwargs: Any ) -> _models.AtlasEntityWithExtInfo: - # pylint: disable=line-too-long """Get complete definition of an entity given its GUID. :param guid: The globally unique identifier of the entity. Required. @@ -3528,206 +2724,151 @@ async def get( response == { "entity": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the - entity. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The - end of the time boundary. - "startTime": "str", # Optional. The - start of the time boundary. - "timeZone": "str" # Optional. The - timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure Active - Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence of the - term assignment. - "createdBy": "str", # Optional. The user who created - the record. - "description": "str", # Optional. The description of - the term assignment. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term assignment. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of terms - assignment. Known values are: "DISCOVERED", "PROPOSED", "IMPORTED", - "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of relationship. + "str": {} }, - "status": "str", # Optional. Status of the entity - can be active or - deleted. Deleted entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the entity. + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 }, "referredEntities": { "str": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the - entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure - Active Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "provenanceType": 0, # Optional. Used to record the - provenance of an instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of - relationship. - }, - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the entity. + "str": {} + }, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } } } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -3748,7 +2889,7 @@ async def get( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -3780,7 +2921,6 @@ async def get( async def update_attribute_by_id( self, guid: str, body: Any, *, name: str, **kwargs: Any ) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Update entity partially - create or update entity attribute identified by its GUID. Supports only primitive attribute type and entity references. @@ -3803,175 +2943,122 @@ async def update_attribute_by_id( # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -3996,7 +3083,7 @@ async def update_attribute_by_id( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -4026,7 +3113,6 @@ async def update_attribute_by_id( @distributed_trace_async async def delete(self, guid: str, **kwargs: Any) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Delete an entity identified by its GUID. :param guid: The globally unique identifier of the entity. Required. @@ -4041,175 +3127,122 @@ async def delete(self, guid: str, **kwargs: Any) -> _models.EntityMutationResult # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -4228,7 +3261,7 @@ async def delete(self, guid: str, **kwargs: Any) -> _models.EntityMutationResult params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -4260,7 +3293,6 @@ async def delete(self, guid: str, **kwargs: Any) -> _models.EntityMutationResult async def get_classification( self, guid: str, classification_name: str, **kwargs: Any ) -> _models.AtlasClassification: - # pylint: disable=line-too-long """Get classification for a given entity represented by a GUID. :param guid: The globally unique identifier of the entity. Required. @@ -4277,28 +3309,23 @@ async def get_classification( # response body for status code(s): 200 response == { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - can be active or - deleted. Deleted entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "removePropagationsOnEntityDelete": bool, # Optional. Determines if - propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the time boundary. - "startTime": "str", # Optional. The start of the time - boundary. - "timeZone": "str" # Optional. The timezone of the time - boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -4318,7 +3345,7 @@ async def get_classification( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -4360,7 +3387,7 @@ async def remove_classification( # pylint: disable=inconsistent-return-statemen :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -4380,7 +3407,7 @@ async def remove_classification( # pylint: disable=inconsistent-return-statemen params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -4392,8 +3419,6 @@ async def remove_classification( # pylint: disable=inconsistent-return-statemen response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -4403,7 +3428,6 @@ async def remove_classification( # pylint: disable=inconsistent-return-statemen @distributed_trace_async async def get_classifications(self, guid: str, **kwargs: Any) -> _models.AtlasClassifications: - # pylint: disable=line-too-long """List classifications for a given entity represented by a GUID. :param guid: The globally unique identifier of the entity. Required. @@ -4418,17 +3442,16 @@ async def get_classifications(self, guid: str, **kwargs: Any) -> _models.AtlasCl # response body for status code(s): 200 response == { "list": [ - {} # Optional. An array of objects. - ], - "pageSize": 0, # Optional. The size of the page. - "sortBy": "str", # Optional. The sorted by field. - "sortType": "str", # Optional. to specify whether the result should be - sorted? If yes, whether asc or desc. Known values are: "NONE", "ASC", and "DESC". - "startIndex": 0, # Optional. The start index of the page. - "totalCount": 0 # Optional. The total count of items. + {} + ], + "pageSize": 0, + "sortBy": "str", + "sortType": "str", + "startIndex": 0, + "totalCount": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -4447,7 +3470,7 @@ async def get_classifications(self, guid: str, **kwargs: Any) -> _models.AtlasCl params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -4484,7 +3507,6 @@ async def add_classifications( # pylint: disable=inconsistent-return-statements content_type: str = "application/json", **kwargs: Any ) -> None: - # pylint: disable=line-too-long """Add classifications to an existing entity represented by a GUID. :param guid: The globally unique identifier of the entity. Required. @@ -4505,24 +3527,18 @@ async def add_classifications( # pylint: disable=inconsistent-return-statements body = [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "removePropagationsOnEntityDelete": bool, # Optional. Determines if - propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the time - boundary. - "startTime": "str", # Optional. The start of the - time boundary. - "timeZone": "str" # Optional. The timezone of the - time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } @@ -4562,7 +3578,7 @@ async def add_classifications( # pylint: disable=inconsistent-return-statements :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -4591,7 +3607,7 @@ async def add_classifications( # pylint: disable=inconsistent-return-statements params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -4603,8 +3619,6 @@ async def add_classifications( # pylint: disable=inconsistent-return-statements response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -4621,7 +3635,6 @@ async def update_classifications( # pylint: disable=inconsistent-return-stateme content_type: str = "application/json", **kwargs: Any ) -> None: - # pylint: disable=line-too-long """Update classifications to an existing entity represented by a guid. :param guid: The globally unique identifier of the entity. Required. @@ -4642,24 +3655,18 @@ async def update_classifications( # pylint: disable=inconsistent-return-stateme body = [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "removePropagationsOnEntityDelete": bool, # Optional. Determines if - propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the time - boundary. - "startTime": "str", # Optional. The start of the - time boundary. - "timeZone": "str" # Optional. The timezone of the - time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } @@ -4699,7 +3706,7 @@ async def update_classifications( # pylint: disable=inconsistent-return-stateme :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -4728,7 +3735,7 @@ async def update_classifications( # pylint: disable=inconsistent-return-stateme params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -4740,8 +3747,6 @@ async def update_classifications( # pylint: disable=inconsistent-return-stateme response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -4759,13 +3764,12 @@ async def get_by_unique_attribute( attribute: Optional[str] = None, **kwargs: Any ) -> _models.AtlasEntityWithExtInfo: - # pylint: disable=line-too-long """Get complete definition of an entity given its type and unique attribute. In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format: - attr:\:code:``=:code:``. + attr:\\:code:``=:code:``. NOTE: The attrName and attrValue should be unique across entities, eg. @@ -4798,206 +3802,151 @@ async def get_by_unique_attribute( response == { "entity": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the - entity. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The - end of the time boundary. - "startTime": "str", # Optional. The - start of the time boundary. - "timeZone": "str" # Optional. The - timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure Active - Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence of the - term assignment. - "createdBy": "str", # Optional. The user who created - the record. - "description": "str", # Optional. The description of - the term assignment. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term assignment. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of terms - assignment. Known values are: "DISCOVERED", "PROPOSED", "IMPORTED", - "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of relationship. + "str": {} }, - "status": "str", # Optional. Status of the entity - can be active or - deleted. Deleted entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the entity. + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 }, "referredEntities": { "str": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the - entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure - Active Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "provenanceType": 0, # Optional. Used to record the - provenance of an instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of - relationship. - }, - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the entity. + "str": {} + }, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } } } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -5019,7 +3968,7 @@ async def get_by_unique_attribute( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -5057,7 +4006,6 @@ async def update_by_unique_attribute( content_type: str = "application/json", **kwargs: Any ) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Update entity partially - Allow a subset of attributes to be updated on an entity which is identified by its type and unique attribute eg: Referenceable.qualifiedName. Null updates are not possible. @@ -5077,7 +4025,7 @@ async def update_by_unique_attribute( :param type_name: The name of the type. Required. :type type_name: str - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.AtlasEntityWithExtInfo :keyword attribute: The qualified name of the entity. (This is only an example. qualifiedName can @@ -5097,201 +4045,146 @@ async def update_by_unique_attribute( body = { "entity": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the - entity. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The - end of the time boundary. - "startTime": "str", # Optional. The - start of the time boundary. - "timeZone": "str" # Optional. The - timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure Active - Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence of the - term assignment. - "createdBy": "str", # Optional. The user who created - the record. - "description": "str", # Optional. The description of - the term assignment. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term assignment. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of terms - assignment. Known values are: "DISCOVERED", "PROPOSED", "IMPORTED", - "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of relationship. + "str": {} }, - "status": "str", # Optional. Status of the entity - can be active or - deleted. Deleted entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the entity. + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 }, "referredEntities": { "str": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the - entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure - Active Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "provenanceType": 0, # Optional. Used to record the - provenance of an instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of - relationship. - }, - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the entity. + "str": {} + }, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } } } @@ -5299,170 +4192,117 @@ async def update_by_unique_attribute( # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } @@ -5478,7 +4318,6 @@ async def update_by_unique_attribute( content_type: str = "application/json", **kwargs: Any ) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Update entity partially - Allow a subset of attributes to be updated on an entity which is identified by its type and unique attribute eg: Referenceable.qualifiedName. Null updates are not possible. @@ -5498,7 +4337,7 @@ async def update_by_unique_attribute( :param type_name: The name of the type. Required. :type type_name: str - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword attribute: The qualified name of the entity. (This is only an example. qualifiedName can @@ -5517,170 +4356,117 @@ async def update_by_unique_attribute( # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } @@ -5696,7 +4482,6 @@ async def update_by_unique_attribute( content_type: str = "application/json", **kwargs: Any ) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Update entity partially - Allow a subset of attributes to be updated on an entity which is identified by its type and unique attribute eg: Referenceable.qualifiedName. Null updates are not possible. @@ -5716,7 +4501,7 @@ async def update_by_unique_attribute( :param type_name: The name of the type. Required. :type type_name: str - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword attribute: The qualified name of the entity. (This is only an example. qualifiedName can @@ -5735,170 +4520,117 @@ async def update_by_unique_attribute( # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } @@ -5913,7 +4645,6 @@ async def update_by_unique_attribute( attribute: Optional[str] = None, **kwargs: Any ) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Update entity partially - Allow a subset of attributes to be updated on an entity which is identified by its type and unique attribute eg: Referenceable.qualifiedName. Null updates are not possible. @@ -5933,7 +4664,8 @@ async def update_by_unique_attribute( :param type_name: The name of the type. Required. :type type_name: str - :param body: Is one of the following types: AtlasEntityWithExtInfo, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: AtlasEntityWithExtInfo, JSON, + IO[bytes] Required. :type body: ~azure.purview.datamap.models.AtlasEntityWithExtInfo or JSON or IO[bytes] :keyword attribute: The qualified name of the entity. (This is only an example. qualifiedName can @@ -5950,201 +4682,146 @@ async def update_by_unique_attribute( body = { "entity": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the - entity. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The - end of the time boundary. - "startTime": "str", # Optional. The - start of the time boundary. - "timeZone": "str" # Optional. The - timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure Active - Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence of the - term assignment. - "createdBy": "str", # Optional. The user who created - the record. - "description": "str", # Optional. The description of - the term assignment. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term assignment. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of terms - assignment. Known values are: "DISCOVERED", "PROPOSED", "IMPORTED", - "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of relationship. + "str": {} }, - "status": "str", # Optional. Status of the entity - can be active or - deleted. Deleted entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the entity. + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 }, "referredEntities": { "str": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the - entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure - Active Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "provenanceType": 0, # Optional. Used to record the - provenance of an instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of - relationship. - }, - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the entity. + "str": {} + }, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } } } @@ -6152,175 +4829,122 @@ async def update_by_unique_attribute( # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -6350,7 +4974,7 @@ async def update_by_unique_attribute( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -6382,12 +5006,11 @@ async def update_by_unique_attribute( async def delete_by_unique_attribute( self, type_name: str, *, attribute: Optional[str] = None, **kwargs: Any ) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Delete an entity identified by its type and unique attributes. In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format: - attr:\:code:``=\:code:``. + attr:\\:code:``=\\:code:``. NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName. @@ -6412,175 +5035,122 @@ async def delete_by_unique_attribute( # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -6600,7 +5170,7 @@ async def delete_by_unique_attribute( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -6647,7 +5217,7 @@ async def remove_classification_by_unique_attribute( # pylint: disable=inconsis :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -6668,7 +5238,7 @@ async def remove_classification_by_unique_attribute( # pylint: disable=inconsis params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -6680,8 +5250,6 @@ async def remove_classification_by_unique_attribute( # pylint: disable=inconsis response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -6699,7 +5267,6 @@ async def add_classifications_by_unique_attribute( # pylint: disable=inconsiste content_type: str = "application/json", **kwargs: Any ) -> None: - # pylint: disable=line-too-long """Add classification to the entity identified by its type and unique attributes. :param type_name: The name of the type. Required. @@ -6724,24 +5291,18 @@ async def add_classifications_by_unique_attribute( # pylint: disable=inconsiste body = [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "removePropagationsOnEntityDelete": bool, # Optional. Determines if - propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the time - boundary. - "startTime": "str", # Optional. The start of the - time boundary. - "timeZone": "str" # Optional. The timezone of the - time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } @@ -6800,7 +5361,7 @@ async def add_classifications_by_unique_attribute( # pylint: disable=inconsiste :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -6830,7 +5391,7 @@ async def add_classifications_by_unique_attribute( # pylint: disable=inconsiste params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -6842,8 +5403,6 @@ async def add_classifications_by_unique_attribute( # pylint: disable=inconsiste response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -6861,7 +5420,6 @@ async def update_classifications_unique_by_attribute( # pylint: disable=inconsi content_type: str = "application/json", **kwargs: Any ) -> None: - # pylint: disable=line-too-long """Update classification on an entity identified by its type and unique attributes. :param type_name: The name of the type. Required. @@ -6886,24 +5444,18 @@ async def update_classifications_unique_by_attribute( # pylint: disable=inconsi body = [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "removePropagationsOnEntityDelete": bool, # Optional. Determines if - propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the time - boundary. - "startTime": "str", # Optional. The start of the - time boundary. - "timeZone": "str" # Optional. The timezone of the - time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } @@ -6962,7 +5514,7 @@ async def update_classifications_unique_by_attribute( # pylint: disable=inconsi :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -6992,7 +5544,7 @@ async def update_classifications_unique_by_attribute( # pylint: disable=inconsi params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -7004,8 +5556,6 @@ async def update_classifications_unique_by_attribute( # pylint: disable=inconsi response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -7017,10 +5567,9 @@ async def update_classifications_unique_by_attribute( # pylint: disable=inconsi async def batch_set_classifications( self, body: _models.AtlasEntityHeaders, *, content_type: str = "application/json", **kwargs: Any ) -> List[str]: - # pylint: disable=line-too-long """Set classifications on entities in bulk. - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.AtlasEntityHeaders :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -7037,87 +5586,62 @@ async def batch_set_classifications( "guidHeaderMap": { "str": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } } } # response body for status code(s): 200 response == [ - "str" # Optional. + "str" ] """ @@ -7127,7 +5651,7 @@ async def batch_set_classifications( ) -> List[str]: """Set classifications on entities in bulk. - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -7141,7 +5665,7 @@ async def batch_set_classifications( # response body for status code(s): 200 response == [ - "str" # Optional. + "str" ] """ @@ -7151,7 +5675,7 @@ async def batch_set_classifications( ) -> List[str]: """Set classifications on entities in bulk. - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword content_type: Body Parameter content-type. Content type parameter for binary body. Default value is "application/json". @@ -7165,7 +5689,7 @@ async def batch_set_classifications( # response body for status code(s): 200 response == [ - "str" # Optional. + "str" ] """ @@ -7173,10 +5697,10 @@ async def batch_set_classifications( async def batch_set_classifications( self, body: Union[_models.AtlasEntityHeaders, JSON, IO[bytes]], **kwargs: Any ) -> List[str]: - # pylint: disable=line-too-long """Set classifications on entities in bulk. - :param body: Is one of the following types: AtlasEntityHeaders, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: AtlasEntityHeaders, JSON, IO[bytes] + Required. :type body: ~azure.purview.datamap.models.AtlasEntityHeaders or JSON or IO[bytes] :return: list of str :rtype: list[str] @@ -7190,90 +5714,65 @@ async def batch_set_classifications( "guidHeaderMap": { "str": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } } } # response body for status code(s): 200 response == [ - "str" # Optional. + "str" ] """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -7301,7 +5800,7 @@ async def batch_set_classifications( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -7339,14 +5838,13 @@ async def batch_get_by_unique_attributes( attr_n_qualified_name: Optional[str] = None, **kwargs: Any ) -> _models.AtlasEntitiesWithExtInfo: - # pylint: disable=line-too-long """Bulk API to retrieve list of entities identified by its unique attributes. In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format - typeName=\:code:``&attr_1:\:code:``=\:code:``&attr_2:\:code:``=\:code:``&attr_3:\:code:``=\:code:`` + typeName=\\:code:``&attr_1:\\:code:``=\\:code:``&attr_2:\\:code:``=\\:code:``&attr_3:\\:code:``=\\:code:`` NOTE: The attrName should be an unique attribute for the given entity-type. @@ -7385,216 +5883,152 @@ async def batch_get_by_unique_attributes( "entities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the - entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure - Active Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "provenanceType": 0, # Optional. Used to record the - provenance of an instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of - relationship. + "str": {} }, - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the entity. + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "referredEntities": { "str": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the - entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure - Active Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "provenanceType": 0, # Optional. Used to record the - provenance of an instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of - relationship. - }, - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the entity. + "str": {} + }, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } } } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -7616,7 +6050,7 @@ async def batch_get_by_unique_attributes( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -7646,7 +6080,6 @@ async def batch_get_by_unique_attributes( @distributed_trace_async async def get_header(self, guid: str, **kwargs: Any) -> _models.AtlasEntityHeader: - # pylint: disable=line-too-long """Get entity header given its GUID. :param guid: The globally unique identifier of the entity. Required. @@ -7661,74 +6094,58 @@ async def get_header(self, guid: str, **kwargs: Any) -> _models.AtlasEntityHeade # response body for status code(s): 200 response == { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence of the term - assignment. - "createdBy": "str", # Optional. The user who created the - record. - "description": "str", # Optional. The description of the - term assignment. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term - assignment. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of terms assignment. - Known values are: "DISCOVERED", "PROPOSED", "IMPORTED", "VALIDATED", - "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "status": "str", # Optional. Status of the entity - can be active or - deleted. Deleted entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -7747,7 +6164,7 @@ async def get_header(self, guid: str, **kwargs: Any) -> _models.AtlasEntityHeade params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -7798,7 +6215,7 @@ async def remove_business_metadata( # pylint: disable=inconsistent-return-state # JSON input template you can fill out and use as your body input. body = { "str": { - "str": {} # Optional. + "str": {} } } """ @@ -7836,7 +6253,7 @@ async def remove_business_metadata( # pylint: disable=inconsistent-return-state :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -7865,7 +6282,7 @@ async def remove_business_metadata( # pylint: disable=inconsistent-return-state params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -7877,8 +6294,6 @@ async def remove_business_metadata( # pylint: disable=inconsistent-return-state response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -7918,7 +6333,7 @@ async def add_or_update_business_metadata( # pylint: disable=inconsistent-retur # JSON input template you can fill out and use as your body input. body = { "str": { - "str": {} # Optional. + "str": {} } } """ @@ -7973,7 +6388,7 @@ async def add_or_update_business_metadata( # pylint: disable=inconsistent-retur :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -8003,7 +6418,7 @@ async def add_or_update_business_metadata( # pylint: disable=inconsistent-retur params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -8015,8 +6430,6 @@ async def add_or_update_business_metadata( # pylint: disable=inconsistent-retur response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -8054,7 +6467,7 @@ async def remove_business_metadata_attributes( # pylint: disable=inconsistent-r # JSON input template you can fill out and use as your body input. body = { - "str": {} # Optional. + "str": {} } """ @@ -8101,7 +6514,7 @@ async def remove_business_metadata_attributes( # pylint: disable=inconsistent-r :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -8131,7 +6544,7 @@ async def remove_business_metadata_attributes( # pylint: disable=inconsistent-r params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -8143,8 +6556,6 @@ async def remove_business_metadata_attributes( # pylint: disable=inconsistent-r response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -8182,7 +6593,7 @@ async def add_or_update_business_metadata_attributes( # pylint: disable=inconsi # JSON input template you can fill out and use as your body input. body = { - "str": {} # Optional. + "str": {} } """ @@ -8229,7 +6640,7 @@ async def add_or_update_business_metadata_attributes( # pylint: disable=inconsi :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -8259,7 +6670,7 @@ async def add_or_update_business_metadata_attributes( # pylint: disable=inconsi params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -8271,8 +6682,6 @@ async def add_or_update_business_metadata_attributes( # pylint: disable=inconsi response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -8281,14 +6690,14 @@ async def add_or_update_business_metadata_attributes( # pylint: disable=inconsi return cls(pipeline_response, None, {}) # type: ignore @distributed_trace_async - async def get_business_metadata_template(self, **kwargs: Any) -> bytes: + async def get_business_metadata_template(self, **kwargs: Any) -> AsyncIterator[bytes]: """Get the sample Template for uploading/creating bulk BusinessMetaData. - :return: bytes - :rtype: bytes + :return: AsyncIterator[bytes] + :rtype: AsyncIterator[bytes] :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -8299,14 +6708,14 @@ async def get_business_metadata_template(self, **kwargs: Any) -> bytes: _headers = kwargs.pop("headers", {}) or {} _params = kwargs.pop("params", {}) or {} - cls: ClsType[bytes] = kwargs.pop("cls", None) + cls: ClsType[AsyncIterator[bytes]] = kwargs.pop("cls", None) _request = build_entity_get_business_metadata_template_request( headers=_headers, params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -8324,10 +6733,7 @@ async def get_business_metadata_template(self, **kwargs: Any) -> bytes: error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) - if _stream: - deserialized = response.iter_bytes() - else: - deserialized = await response.read() + deserialized = response.iter_bytes() if cls: return cls(pipeline_response, deserialized, {}) # type: ignore @@ -8340,7 +6746,7 @@ async def import_business_metadata( ) -> _models.BulkImportResult: """Upload the file for creating Business Metadata in BULK. - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.BusinessMetadataOptions :return: BulkImportResult. The BulkImportResult is compatible with MutableMapping :rtype: ~azure.purview.datamap.models.BulkImportResult @@ -8358,20 +6764,18 @@ async def import_business_metadata( response == { "failedImportInfoList": [ { - "childObjectName": "str", # Optional. childObjectName. - "importStatus": "str", # Optional. importStatus. Known - values are: "SUCCESS" and "FAILED". - "parentObjectName": "str", # Optional. parentObjectName. - "remarks": "str" # Optional. remarks. + "childObjectName": "str", + "importStatus": "str", + "parentObjectName": "str", + "remarks": "str" } ], "successImportInfoList": [ { - "childObjectName": "str", # Optional. childObjectName. - "importStatus": "str", # Optional. importStatus. Known - values are: "SUCCESS" and "FAILED". - "parentObjectName": "str", # Optional. parentObjectName. - "remarks": "str" # Optional. remarks. + "childObjectName": "str", + "importStatus": "str", + "parentObjectName": "str", + "remarks": "str" } ] } @@ -8381,7 +6785,7 @@ async def import_business_metadata( async def import_business_metadata(self, body: JSON, **kwargs: Any) -> _models.BulkImportResult: """Upload the file for creating Business Metadata in BULK. - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :return: BulkImportResult. The BulkImportResult is compatible with MutableMapping :rtype: ~azure.purview.datamap.models.BulkImportResult @@ -8394,20 +6798,18 @@ async def import_business_metadata(self, body: JSON, **kwargs: Any) -> _models.B response == { "failedImportInfoList": [ { - "childObjectName": "str", # Optional. childObjectName. - "importStatus": "str", # Optional. importStatus. Known - values are: "SUCCESS" and "FAILED". - "parentObjectName": "str", # Optional. parentObjectName. - "remarks": "str" # Optional. remarks. + "childObjectName": "str", + "importStatus": "str", + "parentObjectName": "str", + "remarks": "str" } ], "successImportInfoList": [ { - "childObjectName": "str", # Optional. childObjectName. - "importStatus": "str", # Optional. importStatus. Known - values are: "SUCCESS" and "FAILED". - "parentObjectName": "str", # Optional. parentObjectName. - "remarks": "str" # Optional. remarks. + "childObjectName": "str", + "importStatus": "str", + "parentObjectName": "str", + "remarks": "str" } ] } @@ -8419,7 +6821,7 @@ async def import_business_metadata( ) -> _models.BulkImportResult: """Upload the file for creating Business Metadata in BULK. - :param body: Is either a BusinessMetadataOptions type or a JSON type. Required. + :param body: Body parameter. Is either a BusinessMetadataOptions type or a JSON type. Required. :type body: ~azure.purview.datamap.models.BusinessMetadataOptions or JSON :return: BulkImportResult. The BulkImportResult is compatible with MutableMapping :rtype: ~azure.purview.datamap.models.BulkImportResult @@ -8437,25 +6839,23 @@ async def import_business_metadata( response == { "failedImportInfoList": [ { - "childObjectName": "str", # Optional. childObjectName. - "importStatus": "str", # Optional. importStatus. Known - values are: "SUCCESS" and "FAILED". - "parentObjectName": "str", # Optional. parentObjectName. - "remarks": "str" # Optional. remarks. + "childObjectName": "str", + "importStatus": "str", + "parentObjectName": "str", + "remarks": "str" } ], "successImportInfoList": [ { - "childObjectName": "str", # Optional. childObjectName. - "importStatus": "str", # Optional. importStatus. Known - values are: "SUCCESS" and "FAILED". - "parentObjectName": "str", # Optional. parentObjectName. - "remarks": "str" # Optional. remarks. + "childObjectName": "str", + "importStatus": "str", + "parentObjectName": "str", + "remarks": "str" } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -8480,7 +6880,7 @@ async def import_business_metadata( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -8530,7 +6930,7 @@ async def remove_labels( # pylint: disable=inconsistent-return-statements # JSON input template you can fill out and use as your body input. body = [ - "str" # Optional. + "str" ] """ @@ -8567,7 +6967,7 @@ async def remove_labels( # pylint: disable=inconsistent-return-statements :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -8599,7 +6999,7 @@ async def remove_labels( # pylint: disable=inconsistent-return-statements params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -8611,8 +7011,6 @@ async def remove_labels( # pylint: disable=inconsistent-return-statements response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -8642,7 +7040,7 @@ async def set_labels( # pylint: disable=inconsistent-return-statements # JSON input template you can fill out and use as your body input. body = [ - "str" # Optional. + "str" ] """ @@ -8679,7 +7077,7 @@ async def set_labels( # pylint: disable=inconsistent-return-statements :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -8711,7 +7109,7 @@ async def set_labels( # pylint: disable=inconsistent-return-statements params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -8723,8 +7121,6 @@ async def set_labels( # pylint: disable=inconsistent-return-statements response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -8754,7 +7150,7 @@ async def add_label( # pylint: disable=inconsistent-return-statements # JSON input template you can fill out and use as your body input. body = [ - "str" # Optional. + "str" ] """ @@ -8791,7 +7187,7 @@ async def add_label( # pylint: disable=inconsistent-return-statements :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -8823,7 +7219,7 @@ async def add_label( # pylint: disable=inconsistent-return-statements params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -8835,8 +7231,6 @@ async def add_label( # pylint: disable=inconsistent-return-statements response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -8888,7 +7282,7 @@ async def remove_labels_by_unique_attribute( # pylint: disable=inconsistent-ret # JSON input template you can fill out and use as your body input. body = [ - "str" # Optional. + "str" ] """ @@ -8968,7 +7362,7 @@ async def remove_labels_by_unique_attribute( # pylint: disable=inconsistent-ret :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -9001,7 +7395,7 @@ async def remove_labels_by_unique_attribute( # pylint: disable=inconsistent-ret params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -9013,8 +7407,6 @@ async def remove_labels_by_unique_attribute( # pylint: disable=inconsistent-ret response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -9068,7 +7460,7 @@ async def set_labels_by_unique_attribute( # pylint: disable=inconsistent-return # JSON input template you can fill out and use as your body input. body = [ - "str" # Optional. + "str" ] """ @@ -9152,7 +7544,7 @@ async def set_labels_by_unique_attribute( # pylint: disable=inconsistent-return :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -9185,7 +7577,7 @@ async def set_labels_by_unique_attribute( # pylint: disable=inconsistent-return params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -9197,8 +7589,6 @@ async def set_labels_by_unique_attribute( # pylint: disable=inconsistent-return response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -9252,7 +7642,7 @@ async def add_labels_by_unique_attribute( # pylint: disable=inconsistent-return # JSON input template you can fill out and use as your body input. body = [ - "str" # Optional. + "str" ] """ @@ -9336,7 +7726,7 @@ async def add_labels_by_unique_attribute( # pylint: disable=inconsistent-return :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -9369,7 +7759,7 @@ async def add_labels_by_unique_attribute( # pylint: disable=inconsistent-return params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -9381,8 +7771,6 @@ async def add_labels_by_unique_attribute( # pylint: disable=inconsistent-return response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -9399,10 +7787,9 @@ async def move_entities_to_collection( content_type: str = "application/json", **kwargs: Any ) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Move existing entities to the target collection. - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.MoveEntitiesOptions :keyword collection_id: The collection where entities will be moved to. Required. :paramtype collection_id: str @@ -9419,178 +7806,124 @@ async def move_entities_to_collection( # JSON input template you can fill out and use as your body input. body = { "entityGuids": [ - "str" # Optional. An array of entity guids to be moved to target - collection. + "str" ] } # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } @@ -9600,10 +7933,9 @@ async def move_entities_to_collection( async def move_entities_to_collection( self, body: JSON, *, collection_id: str, content_type: str = "application/json", **kwargs: Any ) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Move existing entities to the target collection. - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword collection_id: The collection where entities will be moved to. Required. :paramtype collection_id: str @@ -9620,170 +7952,117 @@ async def move_entities_to_collection( # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } @@ -9793,10 +8072,9 @@ async def move_entities_to_collection( async def move_entities_to_collection( self, body: IO[bytes], *, collection_id: str, content_type: str = "application/json", **kwargs: Any ) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Move existing entities to the target collection. - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword collection_id: The collection where entities will be moved to. Required. :paramtype collection_id: str @@ -9813,170 +8091,117 @@ async def move_entities_to_collection( # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } @@ -9986,10 +8211,10 @@ async def move_entities_to_collection( async def move_entities_to_collection( self, body: Union[_models.MoveEntitiesOptions, JSON, IO[bytes]], *, collection_id: str, **kwargs: Any ) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Move existing entities to the target collection. - :param body: Is one of the following types: MoveEntitiesOptions, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: MoveEntitiesOptions, JSON, + IO[bytes] Required. :type body: ~azure.purview.datamap.models.MoveEntitiesOptions or JSON or IO[bytes] :keyword collection_id: The collection where entities will be moved to. Required. :paramtype collection_id: str @@ -10003,183 +8228,129 @@ async def move_entities_to_collection( # JSON input template you can fill out and use as your body input. body = { "entityGuids": [ - "str" # Optional. An array of entity guids to be moved to target - collection. + "str" ] } # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -10209,7 +8380,7 @@ async def move_entities_to_collection( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -10265,15 +8436,10 @@ async def batch_get( ignore_terms_and_categories: Optional[bool] = None, **kwargs: Any ) -> List[_models.AtlasGlossary]: - # pylint: disable=line-too-long """Get all glossaries. Recommend using limit/offset to get pagination result. Recommend using 'ignoreTermsAndCategories=true' and fetch terms/categories - separately using - - 'GET /datamap/api/atlas/v2/glossary/{glossaryId}/terms' - and - - 'GET '/datamap/api/atlas/v2/glossary/{glossaryId}/categories'. + separately using 'GET /datamap/api/atlas/v2/glossary/{glossaryId}/terms' + and 'GET '/datamap/api/atlas/v2/glossary/{glossaryId}/categories'. :keyword limit: The page size - by default there is no paging. Default value is None. :paramtype limit: int @@ -10296,81 +8462,59 @@ async def batch_get( { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the - category. - "description": "str", # Optional. The description of - the category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of - the parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the - entity. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The - end of the time boundary. - "startTime": "str", # Optional. The - start of the time boundary. - "timeZone": "str" # Optional. The - timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the - glossary object. - "shortDescription": "str", # Optional. The short version of - description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } ] """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -10393,7 +8537,7 @@ async def batch_get( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -10425,10 +8569,9 @@ async def batch_get( async def create( self, body: _models.AtlasGlossary, *, content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossary: - # pylint: disable=line-too-long """Create a glossary. - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.AtlasGlossary :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -10444,140 +8587,110 @@ async def create( body = { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } # response body for status code(s): 200 response == { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } """ @@ -10585,10 +8698,9 @@ async def create( async def create( self, body: JSON, *, content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossary: - # pylint: disable=line-too-long """Create a glossary. - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -10604,70 +8716,55 @@ async def create( response == { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } """ @@ -10675,10 +8772,9 @@ async def create( async def create( self, body: IO[bytes], *, content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossary: - # pylint: disable=line-too-long """Create a glossary. - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword content_type: Body Parameter content-type. Content type parameter for binary body. Default value is "application/json". @@ -10694,79 +8790,64 @@ async def create( response == { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } """ @distributed_trace_async async def create(self, body: Union[_models.AtlasGlossary, JSON, IO[bytes]], **kwargs: Any) -> _models.AtlasGlossary: - # pylint: disable=line-too-long """Create a glossary. - :param body: Is one of the following types: AtlasGlossary, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: AtlasGlossary, JSON, IO[bytes] + Required. :type body: ~azure.purview.datamap.models.AtlasGlossary or JSON or IO[bytes] :return: AtlasGlossary. The AtlasGlossary is compatible with MutableMapping :rtype: ~azure.purview.datamap.models.AtlasGlossary @@ -10779,143 +8860,113 @@ async def create(self, body: Union[_models.AtlasGlossary, JSON, IO[bytes]], **kw body = { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } # response body for status code(s): 200 response == { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -10943,7 +8994,7 @@ async def create(self, body: Union[_models.AtlasGlossary, JSON, IO[bytes]], **kw params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -10975,7 +9026,6 @@ async def create(self, body: Union[_models.AtlasGlossary, JSON, IO[bytes]], **kw async def create_categories( self, body: List[_models.AtlasGlossaryCategory], *, content_type: str = "application/json", **kwargs: Any ) -> List[_models.AtlasGlossaryCategory]: - # pylint: disable=line-too-long """Create glossary category in bulk. :param body: An array of glossary category definitions to be created. Required. @@ -10994,92 +9044,66 @@ async def create_categories( body = [ { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the - category. - "description": "str", # Optional. The description of - the category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of - the parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the - entity. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The - end of the time boundary. - "startTime": "str", # Optional. The - start of the time boundary. - "timeZone": "str" # Optional. The - timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the - glossary object. - "shortDescription": "str", # Optional. The short version of - description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "updateTime": 0, + "updatedBy": "str" } ] @@ -11087,92 +9111,66 @@ async def create_categories( response == [ { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the - category. - "description": "str", # Optional. The description of - the category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of - the parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the - entity. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The - end of the time boundary. - "startTime": "str", # Optional. The - start of the time boundary. - "timeZone": "str" # Optional. The - timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the - glossary object. - "shortDescription": "str", # Optional. The short version of - description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "updateTime": 0, + "updatedBy": "str" } ] """ @@ -11181,7 +9179,6 @@ async def create_categories( async def create_categories( self, body: IO[bytes], *, content_type: str = "application/json", **kwargs: Any ) -> List[_models.AtlasGlossaryCategory]: - # pylint: disable=line-too-long """Create glossary category in bulk. :param body: An array of glossary category definitions to be created. Required. @@ -11200,92 +9197,66 @@ async def create_categories( response == [ { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the - category. - "description": "str", # Optional. The description of - the category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of - the parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the - entity. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The - end of the time boundary. - "startTime": "str", # Optional. The - start of the time boundary. - "timeZone": "str" # Optional. The - timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the - glossary object. - "shortDescription": "str", # Optional. The short version of - description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "updateTime": 0, + "updatedBy": "str" } ] """ @@ -11294,7 +9265,6 @@ async def create_categories( async def create_categories( self, body: Union[List[_models.AtlasGlossaryCategory], IO[bytes]], **kwargs: Any ) -> List[_models.AtlasGlossaryCategory]: - # pylint: disable=line-too-long """Create glossary category in bulk. :param body: An array of glossary category definitions to be created. Is either a @@ -11311,96 +9281,70 @@ async def create_categories( response == [ { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the - category. - "description": "str", # Optional. The description of - the category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of - the parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the - entity. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The - end of the time boundary. - "startTime": "str", # Optional. The - start of the time boundary. - "timeZone": "str" # Optional. The - timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the - glossary object. - "shortDescription": "str", # Optional. The short version of - description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "updateTime": 0, + "updatedBy": "str" } ] """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -11428,7 +9372,7 @@ async def create_categories( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -11460,10 +9404,9 @@ async def create_categories( async def create_category( self, body: _models.AtlasGlossaryCategory, *, content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossaryCategory: - # pylint: disable=line-too-long """Create a glossary category. - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.AtlasGlossaryCategory :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -11478,165 +9421,131 @@ async def create_category( # JSON input template you can fill out and use as your body input. body = { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the category - header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the parent - category. - "relationGuid": "str" # Optional. The GUID of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str" } # response body for status code(s): 200 response == { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the category - header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the parent - category. - "relationGuid": "str" # Optional. The GUID of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str" } """ @@ -11644,10 +9553,9 @@ async def create_category( async def create_category( self, body: JSON, *, content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossaryCategory: - # pylint: disable=line-too-long """Create a glossary category. - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -11662,83 +9570,66 @@ async def create_category( # response body for status code(s): 200 response == { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the category - header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the parent - category. - "relationGuid": "str" # Optional. The GUID of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str" } """ @@ -11746,10 +9637,9 @@ async def create_category( async def create_category( self, body: IO[bytes], *, content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossaryCategory: - # pylint: disable=line-too-long """Create a glossary category. - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword content_type: Body Parameter content-type. Content type parameter for binary body. Default value is "application/json". @@ -11764,83 +9654,66 @@ async def create_category( # response body for status code(s): 200 response == { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the category - header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the parent - category. - "relationGuid": "str" # Optional. The GUID of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str" } """ @@ -11848,10 +9721,10 @@ async def create_category( async def create_category( self, body: Union[_models.AtlasGlossaryCategory, JSON, IO[bytes]], **kwargs: Any ) -> _models.AtlasGlossaryCategory: - # pylint: disable=line-too-long """Create a glossary category. - :param body: Is one of the following types: AtlasGlossaryCategory, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: AtlasGlossaryCategory, JSON, + IO[bytes] Required. :type body: ~azure.purview.datamap.models.AtlasGlossaryCategory or JSON or IO[bytes] :return: AtlasGlossaryCategory. The AtlasGlossaryCategory is compatible with MutableMapping :rtype: ~azure.purview.datamap.models.AtlasGlossaryCategory @@ -11863,168 +9736,134 @@ async def create_category( # JSON input template you can fill out and use as your body input. body = { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the category - header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the parent - category. - "relationGuid": "str" # Optional. The GUID of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str" } # response body for status code(s): 200 response == { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the category - header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the parent - category. - "relationGuid": "str" # Optional. The GUID of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str" } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -12052,7 +9891,7 @@ async def create_category( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -12082,7 +9921,6 @@ async def create_category( @distributed_trace_async async def get_category(self, category_id: str, **kwargs: Any) -> _models.AtlasGlossaryCategory: - # pylint: disable=line-too-long """Get specific glossary category by its GUID. :param category_id: The globally unique identifier of the category. Required. @@ -12097,86 +9935,69 @@ async def get_category(self, category_id: str, **kwargs: Any) -> _models.AtlasGl # response body for status code(s): 200 response == { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the category - header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the parent - category. - "relationGuid": "str" # Optional. The GUID of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str" } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -12195,7 +10016,7 @@ async def get_category(self, category_id: str, **kwargs: Any) -> _models.AtlasGl params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -12232,12 +10053,11 @@ async def update_category( content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossaryCategory: - # pylint: disable=line-too-long """Update the given glossary category by its GUID. :param category_id: The globally unique identifier of the category. Required. :type category_id: str - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.AtlasGlossaryCategory :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -12252,165 +10072,131 @@ async def update_category( # JSON input template you can fill out and use as your body input. body = { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the category - header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the parent - category. - "relationGuid": "str" # Optional. The GUID of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str" } # response body for status code(s): 200 response == { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the category - header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the parent - category. - "relationGuid": "str" # Optional. The GUID of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str" } """ @@ -12418,12 +10204,11 @@ async def update_category( async def update_category( self, category_id: str, body: JSON, *, content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossaryCategory: - # pylint: disable=line-too-long """Update the given glossary category by its GUID. :param category_id: The globally unique identifier of the category. Required. :type category_id: str - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -12438,83 +10223,66 @@ async def update_category( # response body for status code(s): 200 response == { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the category - header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the parent - category. - "relationGuid": "str" # Optional. The GUID of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str" } """ @@ -12522,12 +10290,11 @@ async def update_category( async def update_category( self, category_id: str, body: IO[bytes], *, content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossaryCategory: - # pylint: disable=line-too-long """Update the given glossary category by its GUID. :param category_id: The globally unique identifier of the category. Required. :type category_id: str - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword content_type: Body Parameter content-type. Content type parameter for binary body. Default value is "application/json". @@ -12542,83 +10309,66 @@ async def update_category( # response body for status code(s): 200 response == { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the category - header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the parent - category. - "relationGuid": "str" # Optional. The GUID of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str" } """ @@ -12626,12 +10376,12 @@ async def update_category( async def update_category( self, category_id: str, body: Union[_models.AtlasGlossaryCategory, JSON, IO[bytes]], **kwargs: Any ) -> _models.AtlasGlossaryCategory: - # pylint: disable=line-too-long """Update the given glossary category by its GUID. :param category_id: The globally unique identifier of the category. Required. :type category_id: str - :param body: Is one of the following types: AtlasGlossaryCategory, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: AtlasGlossaryCategory, JSON, + IO[bytes] Required. :type body: ~azure.purview.datamap.models.AtlasGlossaryCategory or JSON or IO[bytes] :return: AtlasGlossaryCategory. The AtlasGlossaryCategory is compatible with MutableMapping :rtype: ~azure.purview.datamap.models.AtlasGlossaryCategory @@ -12643,168 +10393,134 @@ async def update_category( # JSON input template you can fill out and use as your body input. body = { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the category - header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the parent - category. - "relationGuid": "str" # Optional. The GUID of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str" } # response body for status code(s): 200 response == { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the category - header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the parent - category. - "relationGuid": "str" # Optional. The GUID of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str" } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -12833,7 +10549,7 @@ async def update_category( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -12873,7 +10589,7 @@ async def delete_category( # pylint: disable=inconsistent-return-statements :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -12892,7 +10608,7 @@ async def delete_category( # pylint: disable=inconsistent-return-statements params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -12904,8 +10620,6 @@ async def delete_category( # pylint: disable=inconsistent-return-statements response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -12917,7 +10631,6 @@ async def delete_category( # pylint: disable=inconsistent-return-statements async def partial_update_category( self, category_id: str, body: Dict[str, str], *, content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossaryCategory: - # pylint: disable=line-too-long """Update the glossary category partially. So far we only supports partial updating shortDescription and longDescription for category. @@ -12938,89 +10651,72 @@ async def partial_update_category( # JSON input template you can fill out and use as your body input. body = { - "str": "str" # Optional. + "str": "str" } # response body for status code(s): 200 response == { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the category - header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the parent - category. - "relationGuid": "str" # Optional. The GUID of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str" } """ @@ -13028,7 +10724,6 @@ async def partial_update_category( async def partial_update_category( self, category_id: str, body: IO[bytes], *, content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossaryCategory: - # pylint: disable=line-too-long """Update the glossary category partially. So far we only supports partial updating shortDescription and longDescription for category. @@ -13050,83 +10745,66 @@ async def partial_update_category( # response body for status code(s): 200 response == { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the category - header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the parent - category. - "relationGuid": "str" # Optional. The GUID of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str" } """ @@ -13134,7 +10812,6 @@ async def partial_update_category( async def partial_update_category( self, category_id: str, body: Union[Dict[str, str], IO[bytes]], **kwargs: Any ) -> _models.AtlasGlossaryCategory: - # pylint: disable=line-too-long """Update the glossary category partially. So far we only supports partial updating shortDescription and longDescription for category. @@ -13153,86 +10830,69 @@ async def partial_update_category( # response body for status code(s): 200 response == { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the category - header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the parent - category. - "relationGuid": "str" # Optional. The GUID of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str" } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -13261,7 +10921,7 @@ async def partial_update_category( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -13321,19 +10981,16 @@ async def get_related_categories( response == { "str": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -13355,7 +11012,7 @@ async def get_related_categories( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -13393,7 +11050,6 @@ async def get_category_terms( sort: Optional[str] = None, **kwargs: Any ) -> List[_models.AtlasRelatedTermHeader]: - # pylint: disable=line-too-long """Get all terms associated with the specific category. :param category_id: The globally unique identifier of the category. Required. @@ -13414,19 +11070,17 @@ async def get_category_terms( # response body for status code(s): 200 response == [ { - "description": "str", # Optional. The description of the related - term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the relationship. - "status": "str", # Optional. The status of term relationship. Known - values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -13448,7 +11102,7 @@ async def get_category_terms( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -13485,10 +11139,9 @@ async def create_term( content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossaryTerm: - # pylint: disable=line-too-long """Create a glossary term. - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.AtlasGlossaryTerm :keyword include_term_hierarchy: Whether include term hierarchy. Default value is None. :paramtype include_term_hierarchy: bool @@ -13504,666 +11157,512 @@ async def create_term( # JSON input template you can fill out and use as your body input. body = { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "typeName": "str" # Optional. The name of the type. - }, - "relationshipGuid": "str", # Optional. The GUID of the - relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" + }, + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the term, - which is map>. The key of the first layer map - is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term relationship. - Known values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and - "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active Directory - object Id. - "info": "str" # Optional. additional information to - describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "shortDescription": "str", # Optional. The short version of description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known values - are: "Draft", "Approved", "Alert", and "Expired". + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } # response body for status code(s): 200 response == { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "typeName": "str" # Optional. The name of the type. - }, - "relationshipGuid": "str", # Optional. The GUID of the - relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" + }, + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the term, - which is map>. The key of the first layer map - is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term relationship. - Known values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and - "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active Directory - object Id. - "info": "str" # Optional. additional information to - describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "shortDescription": "str", # Optional. The short version of description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known values - are: "Draft", "Approved", "Alert", and "Expired". + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } @@ -14178,10 +11677,9 @@ async def create_term( content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossaryTerm: - # pylint: disable=line-too-long """Create a glossary term. - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword include_term_hierarchy: Whether include term hierarchy. Default value is None. :paramtype include_term_hierarchy: bool @@ -14197,333 +11695,256 @@ async def create_term( # response body for status code(s): 200 response == { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "typeName": "str" # Optional. The name of the type. - }, - "relationshipGuid": "str", # Optional. The GUID of the - relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" + }, + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the term, - which is map>. The key of the first layer map - is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term relationship. - Known values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and - "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active Directory - object Id. - "info": "str" # Optional. additional information to - describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "shortDescription": "str", # Optional. The short version of description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known values - are: "Draft", "Approved", "Alert", and "Expired". + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } @@ -14538,10 +11959,9 @@ async def create_term( content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossaryTerm: - # pylint: disable=line-too-long """Create a glossary term. - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword include_term_hierarchy: Whether include term hierarchy. Default value is None. :paramtype include_term_hierarchy: bool @@ -14557,333 +11977,256 @@ async def create_term( # response body for status code(s): 200 response == { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "typeName": "str" # Optional. The name of the type. - }, - "relationshipGuid": "str", # Optional. The GUID of the - relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" + }, + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the term, - which is map>. The key of the first layer map - is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term relationship. - Known values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and - "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active Directory - object Id. - "info": "str" # Optional. additional information to - describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "shortDescription": "str", # Optional. The short version of description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known values - are: "Draft", "Approved", "Alert", and "Expired". + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } @@ -14897,10 +12240,10 @@ async def create_term( include_term_hierarchy: Optional[bool] = None, **kwargs: Any ) -> _models.AtlasGlossaryTerm: - # pylint: disable=line-too-long """Create a glossary term. - :param body: Is one of the following types: AtlasGlossaryTerm, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: AtlasGlossaryTerm, JSON, IO[bytes] + Required. :type body: ~azure.purview.datamap.models.AtlasGlossaryTerm or JSON or IO[bytes] :keyword include_term_hierarchy: Whether include term hierarchy. Default value is None. :paramtype include_term_hierarchy: bool @@ -14913,671 +12256,517 @@ async def create_term( # JSON input template you can fill out and use as your body input. body = { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "typeName": "str" # Optional. The name of the type. - }, - "relationshipGuid": "str", # Optional. The GUID of the - relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" + }, + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the term, - which is map>. The key of the first layer map - is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term relationship. - Known values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and - "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active Directory - object Id. - "info": "str" # Optional. additional information to - describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "shortDescription": "str", # Optional. The short version of description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known values - are: "Draft", "Approved", "Alert", and "Expired". + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } # response body for status code(s): 200 response == { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "typeName": "str" # Optional. The name of the type. - }, - "relationshipGuid": "str", # Optional. The GUID of the - relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" + }, + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the term, - which is map>. The key of the first layer map - is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term relationship. - Known values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and - "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active Directory - object Id. - "info": "str" # Optional. additional information to - describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "shortDescription": "str", # Optional. The short version of description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known values - are: "Draft", "Approved", "Alert", and "Expired". + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. - "validValues": [ + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str", + "validValues": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -15606,7 +12795,7 @@ async def create_term( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -15636,7 +12825,6 @@ async def create_term( @distributed_trace_async async def get_term(self, term_id: str, **kwargs: Any) -> _models.AtlasGlossaryTerm: - # pylint: disable=line-too-long """Get a specific glossary term by its GUID. :param term_id: The globally unique identifier for glossary term. Required. @@ -15650,338 +12838,261 @@ async def get_term(self, term_id: str, **kwargs: Any) -> _models.AtlasGlossaryTe # response body for status code(s): 200 response == { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "typeName": "str" # Optional. The name of the type. - }, - "relationshipGuid": "str", # Optional. The GUID of the - relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" + }, + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the term, - which is map>. The key of the first layer map - is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term relationship. - Known values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and - "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active Directory - object Id. - "info": "str" # Optional. additional information to - describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "shortDescription": "str", # Optional. The short version of description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known values - are: "Draft", "Approved", "Alert", and "Expired". + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -16001,7 +13112,7 @@ async def get_term(self, term_id: str, **kwargs: Any) -> _models.AtlasGlossaryTe params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -16039,12 +13150,11 @@ async def update_term( content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossaryTerm: - # pylint: disable=line-too-long """Update the given glossary term by its GUID. :param term_id: The globally unique identifier for glossary term. Required. :type term_id: str - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.AtlasGlossaryTerm :keyword include_term_hierarchy: Whether include term hierarchy. Default value is None. :paramtype include_term_hierarchy: bool @@ -16060,666 +13170,512 @@ async def update_term( # JSON input template you can fill out and use as your body input. body = { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "typeName": "str" # Optional. The name of the type. - }, - "relationshipGuid": "str", # Optional. The GUID of the - relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" + }, + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the term, - which is map>. The key of the first layer map - is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term relationship. - Known values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and - "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active Directory - object Id. - "info": "str" # Optional. additional information to - describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "shortDescription": "str", # Optional. The short version of description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known values - are: "Draft", "Approved", "Alert", and "Expired". + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } # response body for status code(s): 200 response == { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "typeName": "str" # Optional. The name of the type. - }, - "relationshipGuid": "str", # Optional. The GUID of the - relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" + }, + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the term, - which is map>. The key of the first layer map - is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term relationship. - Known values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and - "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active Directory - object Id. - "info": "str" # Optional. additional information to - describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "shortDescription": "str", # Optional. The short version of description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known values - are: "Draft", "Approved", "Alert", and "Expired". + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } @@ -16735,12 +13691,11 @@ async def update_term( content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossaryTerm: - # pylint: disable=line-too-long """Update the given glossary term by its GUID. :param term_id: The globally unique identifier for glossary term. Required. :type term_id: str - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword include_term_hierarchy: Whether include term hierarchy. Default value is None. :paramtype include_term_hierarchy: bool @@ -16756,333 +13711,256 @@ async def update_term( # response body for status code(s): 200 response == { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "typeName": "str" # Optional. The name of the type. - }, - "relationshipGuid": "str", # Optional. The GUID of the - relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" + }, + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the term, - which is map>. The key of the first layer map - is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term relationship. - Known values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and - "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active Directory - object Id. - "info": "str" # Optional. additional information to - describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "shortDescription": "str", # Optional. The short version of description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known values - are: "Draft", "Approved", "Alert", and "Expired". + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } @@ -17098,12 +13976,11 @@ async def update_term( content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossaryTerm: - # pylint: disable=line-too-long """Update the given glossary term by its GUID. :param term_id: The globally unique identifier for glossary term. Required. :type term_id: str - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword include_term_hierarchy: Whether include term hierarchy. Default value is None. :paramtype include_term_hierarchy: bool @@ -17119,333 +13996,256 @@ async def update_term( # response body for status code(s): 200 response == { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "typeName": "str" # Optional. The name of the type. - }, - "relationshipGuid": "str", # Optional. The GUID of the - relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" + }, + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the term, - which is map>. The key of the first layer map - is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term relationship. - Known values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and - "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active Directory - object Id. - "info": "str" # Optional. additional information to - describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "shortDescription": "str", # Optional. The short version of description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known values - are: "Draft", "Approved", "Alert", and "Expired". + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } @@ -17460,12 +14260,12 @@ async def update_term( include_term_hierarchy: Optional[bool] = None, **kwargs: Any ) -> _models.AtlasGlossaryTerm: - # pylint: disable=line-too-long """Update the given glossary term by its GUID. :param term_id: The globally unique identifier for glossary term. Required. :type term_id: str - :param body: Is one of the following types: AtlasGlossaryTerm, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: AtlasGlossaryTerm, JSON, IO[bytes] + Required. :type body: ~azure.purview.datamap.models.AtlasGlossaryTerm or JSON or IO[bytes] :keyword include_term_hierarchy: Whether include term hierarchy. Default value is None. :paramtype include_term_hierarchy: bool @@ -17478,671 +14278,517 @@ async def update_term( # JSON input template you can fill out and use as your body input. body = { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "typeName": "str" # Optional. The name of the type. - }, - "relationshipGuid": "str", # Optional. The GUID of the - relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" + }, + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the term, - which is map>. The key of the first layer map - is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term relationship. - Known values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and - "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active Directory - object Id. - "info": "str" # Optional. additional information to - describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "shortDescription": "str", # Optional. The short version of description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known values - are: "Draft", "Approved", "Alert", and "Expired". + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } # response body for status code(s): 200 response == { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "typeName": "str" # Optional. The name of the type. - }, - "relationshipGuid": "str", # Optional. The GUID of the - relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" + }, + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the term, - which is map>. The key of the first layer map - is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term relationship. - Known values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and - "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active Directory - object Id. - "info": "str" # Optional. additional information to - describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "shortDescription": "str", # Optional. The short version of description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known values - are: "Draft", "Approved", "Alert", and "Expired". + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -18173,7 +14819,7 @@ async def update_term( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -18211,7 +14857,7 @@ async def delete_term(self, term_id: str, **kwargs: Any) -> None: # pylint: dis :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -18230,7 +14876,7 @@ async def delete_term(self, term_id: str, **kwargs: Any) -> None: # pylint: dis params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -18242,8 +14888,6 @@ async def delete_term(self, term_id: str, **kwargs: Any) -> None: # pylint: dis response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -18261,7 +14905,6 @@ async def partial_update_term( content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossaryTerm: - # pylint: disable=line-too-long """Update the glossary term partially. So far we only supports partial updating shortDescription, longDescription, abbreviation, usage and status for term. @@ -18284,338 +14927,261 @@ async def partial_update_term( # JSON input template you can fill out and use as your body input. body = { - "str": "str" # Optional. + "str": "str" } # response body for status code(s): 200 response == { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "typeName": "str" # Optional. The name of the type. - }, - "relationshipGuid": "str", # Optional. The GUID of the - relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" + }, + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the term, - which is map>. The key of the first layer map - is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term relationship. - Known values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and - "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active Directory - object Id. - "info": "str" # Optional. additional information to - describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "shortDescription": "str", # Optional. The short version of description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known values - are: "Draft", "Approved", "Alert", and "Expired". + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } @@ -18631,7 +15197,6 @@ async def partial_update_term( content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossaryTerm: - # pylint: disable=line-too-long """Update the glossary term partially. So far we only supports partial updating shortDescription, longDescription, abbreviation, usage and status for term. @@ -18654,333 +15219,256 @@ async def partial_update_term( # response body for status code(s): 200 response == { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "typeName": "str" # Optional. The name of the type. - }, - "relationshipGuid": "str", # Optional. The GUID of the - relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" + }, + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the term, - which is map>. The key of the first layer map - is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term relationship. - Known values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and - "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active Directory - object Id. - "info": "str" # Optional. additional information to - describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "shortDescription": "str", # Optional. The short version of description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known values - are: "Draft", "Approved", "Alert", and "Expired". + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } @@ -18995,7 +15483,6 @@ async def partial_update_term( include_term_hierarchy: Optional[bool] = None, **kwargs: Any ) -> _models.AtlasGlossaryTerm: - # pylint: disable=line-too-long """Update the glossary term partially. So far we only supports partial updating shortDescription, longDescription, abbreviation, usage and status for term. @@ -19015,338 +15502,261 @@ async def partial_update_term( # response body for status code(s): 200 response == { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "typeName": "str" # Optional. The name of the type. - }, - "relationshipGuid": "str", # Optional. The GUID of the - relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" + }, + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the term, - which is map>. The key of the first layer map - is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term relationship. - Known values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and - "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active Directory - object Id. - "info": "str" # Optional. additional information to - describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "shortDescription": "str", # Optional. The short version of description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known values - are: "Draft", "Approved", "Alert", and "Expired". + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -19377,7 +15787,7 @@ async def partial_update_term( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -19414,7 +15824,6 @@ async def create_terms( content_type: str = "application/json", **kwargs: Any ) -> List[_models.AtlasGlossaryTerm]: - # pylint: disable=line-too-long """Create glossary terms in bulk. :param body: An array of glossary term definitions to be created in bulk. Required. @@ -19434,369 +15843,256 @@ async def create_terms( # JSON input template you can fill out and use as your body input. body = [ { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "typeName": "str" # Optional. The name of - the type. + "lastModifiedTS": "str", + "typeName": "str" }, - "relationshipGuid": "str", # Optional. The GUID of - the relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship - type. - "typeName": "str", # Optional. The name of the type. + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes - of the object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the - term, which is map>. The key of the first - layer map is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the - category. - "description": "str", # Optional. The description of - the record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the - entity. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The - end of the time boundary. - "startTime": "str", # Optional. The - start of the time boundary. - "timeZone": "str" # Optional. The - timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active - Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of - :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes - of the object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "qualifiedName": "str", # Optional. The qualified name of the - glossary object. + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for - url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "shortDescription": "str", # Optional. The short version of - description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known - values are: "Draft", "Approved", "Alert", and "Expired". + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } @@ -19805,369 +16101,256 @@ async def create_terms( # response body for status code(s): 200 response == [ { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "typeName": "str" # Optional. The name of - the type. + "lastModifiedTS": "str", + "typeName": "str" }, - "relationshipGuid": "str", # Optional. The GUID of - the relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship - type. - "typeName": "str", # Optional. The name of the type. + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes - of the object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the - term, which is map>. The key of the first - layer map is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the - category. - "description": "str", # Optional. The description of - the record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the - entity. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The - end of the time boundary. - "startTime": "str", # Optional. The - start of the time boundary. - "timeZone": "str" # Optional. The - timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active - Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of - :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes - of the object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "qualifiedName": "str", # Optional. The qualified name of the - glossary object. + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for - url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "shortDescription": "str", # Optional. The short version of - description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known - values are: "Draft", "Approved", "Alert", and "Expired". + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } @@ -20183,7 +16366,6 @@ async def create_terms( content_type: str = "application/json", **kwargs: Any ) -> List[_models.AtlasGlossaryTerm]: - # pylint: disable=line-too-long """Create glossary terms in bulk. :param body: An array of glossary term definitions to be created in bulk. Required. @@ -20203,369 +16385,256 @@ async def create_terms( # response body for status code(s): 200 response == [ { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "typeName": "str" # Optional. The name of - the type. + "lastModifiedTS": "str", + "typeName": "str" }, - "relationshipGuid": "str", # Optional. The GUID of - the relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship - type. - "typeName": "str", # Optional. The name of the type. + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes - of the object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the - term, which is map>. The key of the first - layer map is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the - category. - "description": "str", # Optional. The description of - the record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the - entity. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The - end of the time boundary. - "startTime": "str", # Optional. The - start of the time boundary. - "timeZone": "str" # Optional. The - timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active - Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of - :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes - of the object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "qualifiedName": "str", # Optional. The qualified name of the - glossary object. + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for - url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "shortDescription": "str", # Optional. The short version of - description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known - values are: "Draft", "Approved", "Alert", and "Expired". + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } @@ -20580,7 +16649,6 @@ async def create_terms( include_term_hierarchy: Optional[bool] = None, **kwargs: Any ) -> List[_models.AtlasGlossaryTerm]: - # pylint: disable=line-too-long """Create glossary terms in bulk. :param body: An array of glossary term definitions to be created in bulk. Is either a @@ -20598,375 +16666,262 @@ async def create_terms( # response body for status code(s): 200 response == [ { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "typeName": "str" # Optional. The name of - the type. + "lastModifiedTS": "str", + "typeName": "str" }, - "relationshipGuid": "str", # Optional. The GUID of - the relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship - type. - "typeName": "str", # Optional. The name of the type. + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes - of the object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the - term, which is map>. The key of the first - layer map is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the - category. - "description": "str", # Optional. The description of - the record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the - entity. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The - end of the time boundary. - "startTime": "str", # Optional. The - start of the time boundary. - "timeZone": "str" # Optional. The - timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active - Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of - :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes - of the object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "qualifiedName": "str", # Optional. The qualified name of the - glossary object. + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for - url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "shortDescription": "str", # Optional. The short version of - description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known - values are: "Draft", "Approved", "Alert", and "Expired". + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } ] """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -20996,7 +16951,7 @@ async def create_terms( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -21034,7 +16989,6 @@ async def get_entities_assigned_with_term( sort: Optional[str] = None, **kwargs: Any ) -> List[_models.AtlasRelatedObjectId]: - # pylint: disable=line-too-long """List all related objects assigned with the specified term. Recommend using limit/offset to get pagination result. @@ -21056,31 +17010,27 @@ async def get_entities_assigned_with_term( # response body for status code(s): 200 response == [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "typeName": "str" # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" }, - "relationshipGuid": "str", # Optional. The GUID of the relationship. - "relationshipStatus": "str", # Optional. The enum of relationship - status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } } ] """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -21102,7 +17052,7 @@ async def get_entities_assigned_with_term( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -21139,7 +17089,6 @@ async def assign_term_to_entities( # pylint: disable=inconsistent-return-statem content_type: str = "application/json", **kwargs: Any ) -> None: - # pylint: disable=line-too-long """Assign the given term to the provided list of related objects. Recommend using small batches with multiple API calls. @@ -21165,26 +17114,22 @@ async def assign_term_to_entities( # pylint: disable=inconsistent-return-statem # JSON input template you can fill out and use as your body input. body = [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "typeName": "str" # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" }, - "relationshipGuid": "str", # Optional. The GUID of the relationship. - "relationshipStatus": "str", # Optional. The enum of relationship - status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } } ] @@ -21235,7 +17180,7 @@ async def assign_term_to_entities( # pylint: disable=inconsistent-return-statem :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -21264,7 +17209,7 @@ async def assign_term_to_entities( # pylint: disable=inconsistent-return-statem params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -21276,8 +17221,6 @@ async def assign_term_to_entities( # pylint: disable=inconsistent-return-statem response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -21294,7 +17237,6 @@ async def delete_term_assignment_from_entities( # pylint: disable=inconsistent- content_type: str = "application/json", **kwargs: Any ) -> None: - # pylint: disable=line-too-long """Delete the term assignment for the given list of related objects. :param term_id: The globally unique identifier for glossary term. Required. @@ -21315,26 +17257,22 @@ async def delete_term_assignment_from_entities( # pylint: disable=inconsistent- # JSON input template you can fill out and use as your body input. body = [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "typeName": "str" # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" }, - "relationshipGuid": "str", # Optional. The GUID of the relationship. - "relationshipStatus": "str", # Optional. The enum of relationship - status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } } ] @@ -21374,7 +17312,7 @@ async def delete_term_assignment_from_entities( # pylint: disable=inconsistent- :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -21403,7 +17341,7 @@ async def delete_term_assignment_from_entities( # pylint: disable=inconsistent- params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -21415,8 +17353,6 @@ async def delete_term_assignment_from_entities( # pylint: disable=inconsistent- response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -21434,7 +17370,6 @@ async def get_related_terms( sort: Optional[str] = None, **kwargs: Any ) -> Dict[str, List[_models.AtlasRelatedTermHeader]]: - # pylint: disable=line-too-long """Get all related terms for a specific term by its GUID. Limit, offset, and sort parameters are currently not being enabled and won't work even they are passed. @@ -21457,22 +17392,18 @@ async def get_related_terms( response == { "str": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -21495,7 +17426,7 @@ async def get_related_terms( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -21525,7 +17456,6 @@ async def get_related_terms( @distributed_trace_async async def get(self, glossary_id: str, **kwargs: Any) -> _models.AtlasGlossary: - # pylint: disable=line-too-long """Get a specific Glossary by its GUID. :param glossary_id: The globally unique identifier for glossary. Required. @@ -21541,73 +17471,58 @@ async def get(self, glossary_id: str, **kwargs: Any) -> _models.AtlasGlossary: response == { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -21626,7 +17541,7 @@ async def get(self, glossary_id: str, **kwargs: Any) -> _models.AtlasGlossary: params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -21664,12 +17579,11 @@ async def update( content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossary: - # pylint: disable=line-too-long """Update the given glossary. :param glossary_id: The globally unique identifier for glossary. Required. :type glossary_id: str - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.AtlasGlossary :keyword ignore_terms_and_categories: Whether ignore terms and categories. Default value is None. @@ -21688,140 +17602,110 @@ async def update( body = { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } # response body for status code(s): 200 response == { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } """ @@ -21835,12 +17719,11 @@ async def update( content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossary: - # pylint: disable=line-too-long """Update the given glossary. :param glossary_id: The globally unique identifier for glossary. Required. :type glossary_id: str - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword ignore_terms_and_categories: Whether ignore terms and categories. Default value is None. @@ -21859,70 +17742,55 @@ async def update( response == { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } """ @@ -21936,12 +17804,11 @@ async def update( content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossary: - # pylint: disable=line-too-long """Update the given glossary. :param glossary_id: The globally unique identifier for glossary. Required. :type glossary_id: str - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword ignore_terms_and_categories: Whether ignore terms and categories. Default value is None. @@ -21960,70 +17827,55 @@ async def update( response == { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } """ @@ -22036,12 +17888,12 @@ async def update( ignore_terms_and_categories: Optional[bool] = None, **kwargs: Any ) -> _models.AtlasGlossary: - # pylint: disable=line-too-long """Update the given glossary. :param glossary_id: The globally unique identifier for glossary. Required. :type glossary_id: str - :param body: Is one of the following types: AtlasGlossary, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: AtlasGlossary, JSON, IO[bytes] + Required. :type body: ~azure.purview.datamap.models.AtlasGlossary or JSON or IO[bytes] :keyword ignore_terms_and_categories: Whether ignore terms and categories. Default value is None. @@ -22057,143 +17909,113 @@ async def update( body = { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } # response body for status code(s): 200 response == { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -22224,7 +18046,7 @@ async def update( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -22263,7 +18085,7 @@ async def delete(self, glossary_id: str, **kwargs: Any) -> None: # pylint: disa :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -22282,7 +18104,7 @@ async def delete(self, glossary_id: str, **kwargs: Any) -> None: # pylint: disa params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -22294,8 +18116,6 @@ async def delete(self, glossary_id: str, **kwargs: Any) -> None: # pylint: disa response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -22313,7 +18133,6 @@ async def get_categories( sort: Optional[str] = None, **kwargs: Any ) -> List[_models.AtlasGlossaryCategory]: - # pylint: disable=line-too-long """Get the categories belonging to a specific glossary. Recommend using limit/offset to get pagination result. @@ -22336,96 +18155,70 @@ async def get_categories( response == [ { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the - category. - "description": "str", # Optional. The description of - the category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of - the parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the - entity. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The - end of the time boundary. - "startTime": "str", # Optional. The - start of the time boundary. - "timeZone": "str" # Optional. The - timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the - glossary object. - "shortDescription": "str", # Optional. The short version of - description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "updateTime": 0, + "updatedBy": "str" } ] """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -22447,7 +18240,7 @@ async def get_categories( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -22506,17 +18299,15 @@ async def get_categories_headers( # response body for status code(s): 200 response == [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the category - header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the parent - category. - "relationGuid": "str" # Optional. The GUID of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ] """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -22538,7 +18329,7 @@ async def get_categories_headers( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -22568,7 +18359,6 @@ async def get_categories_headers( @distributed_trace_async async def get_detailed(self, glossary_id: str, **kwargs: Any) -> _models.AtlasGlossaryExtInfo: - # pylint: disable=line-too-long """Get a specific glossary with detailed information. This API is not recommend. @@ -22591,587 +18381,379 @@ async def get_detailed(self, glossary_id: str, **kwargs: Any) -> _models.AtlasGl response == { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "categoryInfo": { "str": { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the - glossary. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID - of the category. - "description": "str", # Optional. The - description of the category header. - "displayText": "str", # Optional. The - display text. - "parentCategoryGuid": "str", # Optional. The - GUID of the parent category. - "relationGuid": "str" # Optional. The GUID - of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "longDescription": "str", # Optional. The long version - description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the - category. - "description": "str", # Optional. The description of - the category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of - the parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. - }, - "qualifiedName": "str", # Optional. The qualified name of - the glossary object. - "shortDescription": "str", # Optional. The short version of - description. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" + }, + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The - description of the related term. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - term relationship. Known values are: "DRAFT", "ACTIVE", - "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the - record. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str" } }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "termInfo": { "str": { - "abbreviation": "str", # Optional. The abbreviation of the - term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the - glossary. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The - description of the related term. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - term relationship. Known values are: "DRAFT", "ACTIVE", - "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The - display text. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the - object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. - "typeName": "str" # Optional. The - name of the type. + "lastModifiedTS": "str", + "typeName": "str" }, - "relationshipGuid": "str", # Optional. The - GUID of the relationship. - "relationshipStatus": "str", # Optional. The - enum of relationship status. Known values are: "ACTIVE" and - "DELETED". - "relationshipType": "str", # Optional. - Relationship type. - "typeName": "str", # Optional. The name of - the type. + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique - attributes of the object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes - of the term, which is map>. The key of - the first layer map is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID - of the category. - "description": "str", # Optional. The - description of the record. - "displayText": "str", # Optional. The - display text. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str" # Optional. The status of - term relationship. Known values are: "DRAFT", "ACTIVE", - "DEPRECATED", "OBSOLETE", and "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The - description of the related term. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - term relationship. Known values are: "DRAFT", "ACTIVE", - "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure - Active Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display - text. - "guid": "str", # Optional. The GUID of the - object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of - :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource - Id. - "typeName": "str", # Optional. The name of - the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique - attributes of the object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The - description of the related term. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - term relationship. Known values are: "DRAFT", "ACTIVE", - "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "longDescription": "str", # Optional. The long version - description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The - description of the related term. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - term relationship. Known values are: "DRAFT", "ACTIVE", - "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The - description of the related term. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - term relationship. Known values are: "DRAFT", "ACTIVE", - "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "qualifiedName": "str", # Optional. The qualified name of - the glossary object. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The - description of the related term. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - term relationship. Known values are: "DRAFT", "ACTIVE", - "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The - description of the related term. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - term relationship. Known values are: "DRAFT", "ACTIVE", - "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display - name for url. - "url": "str" # Optional. web url. http or - https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The - description of the related term. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - term relationship. Known values are: "DRAFT", "ACTIVE", - "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "shortDescription": "str", # Optional. The short version of - description. - "status": "str", # Optional. Status of the - AtlasGlossaryTerm. Known values are: "Draft", "Approved", "Alert", and - "Expired". + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The - description of the related term. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - term relationship. Known values are: "DRAFT", "ACTIVE", - "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The - description of the related term. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - term relationship. Known values are: "DRAFT", "ACTIVE", - "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The - description of the related term. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - term relationship. Known values are: "DRAFT", "ACTIVE", - "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "usage": "str", # Optional. The usage of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The - description of the related term. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - term relationship. Known values are: "DRAFT", "ACTIVE", - "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The - description of the related term. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - term relationship. Known values are: "DRAFT", "ACTIVE", - "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } }, "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -23191,7 +18773,7 @@ async def get_detailed(self, glossary_id: str, **kwargs: Any) -> _models.AtlasGl params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -23229,7 +18811,6 @@ async def partial_update( content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossary: - # pylint: disable=line-too-long """Update the glossary partially. Some properties such as qualifiedName are not allowed to be updated. @@ -23259,77 +18840,62 @@ async def partial_update( # JSON input template you can fill out and use as your body input. body = { - "str": "str" # Optional. + "str": "str" } # response body for status code(s): 200 response == { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } """ @@ -23343,7 +18909,6 @@ async def partial_update( content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossary: - # pylint: disable=line-too-long """Update the glossary partially. Some properties such as qualifiedName are not allowed to be updated. @@ -23375,70 +18940,55 @@ async def partial_update( response == { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } """ @@ -23451,7 +19001,6 @@ async def partial_update( ignore_terms_and_categories: Optional[bool] = None, **kwargs: Any ) -> _models.AtlasGlossary: - # pylint: disable=line-too-long """Update the glossary partially. Some properties such as qualifiedName are not allowed to be updated. @@ -23480,73 +19029,58 @@ async def partial_update( response == { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -23577,7 +19111,7 @@ async def partial_update( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -23615,7 +19149,6 @@ async def get_terms( sort: Optional[str] = None, **kwargs: Any ) -> List[_models.AtlasGlossaryTerm]: - # pylint: disable=line-too-long """Get terms belonging to a specific glossary. Recommend using limit/offset to get pagination result. @@ -23637,375 +19170,262 @@ async def get_terms( # response body for status code(s): 200 response == [ { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "typeName": "str" # Optional. The name of - the type. + "lastModifiedTS": "str", + "typeName": "str" }, - "relationshipGuid": "str", # Optional. The GUID of - the relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship - type. - "typeName": "str", # Optional. The name of the type. + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes - of the object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the - term, which is map>. The key of the first - layer map is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the - category. - "description": "str", # Optional. The description of - the record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the - entity. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The - end of the time boundary. - "startTime": "str", # Optional. The - start of the time boundary. - "timeZone": "str" # Optional. The - timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active - Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of - :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes - of the object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "qualifiedName": "str", # Optional. The qualified name of the - glossary object. + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for - url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "shortDescription": "str", # Optional. The short version of - description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known - values are: "Draft", "Approved", "Alert", and "Expired". + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } ] """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -24028,7 +19448,7 @@ async def get_terms( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -24066,7 +19486,6 @@ async def get_term_headers( sort: Optional[str] = None, **kwargs: Any ) -> List[_models.AtlasRelatedTermHeader]: - # pylint: disable=line-too-long """Get term headers belonging to a specific glossary. Recommend using limit/offset to get pagination result. @@ -24088,19 +19507,17 @@ async def get_term_headers( # response body for status code(s): 200 response == [ { - "description": "str", # Optional. The description of the related - term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the relationship. - "status": "str", # Optional. The status of term relationship. Known - values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -24122,7 +19539,7 @@ async def get_term_headers( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -24172,10 +19589,9 @@ def __init__(self, *args, **kwargs) -> None: async def query( self, body: _models.QueryOptions, *, content_type: str = "application/json", **kwargs: Any ) -> _models.QueryResult: - # pylint: disable=line-too-long """Get data using search. - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.QueryOptions :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -24189,43 +19605,33 @@ async def query( # JSON input template you can fill out and use as your body input. body = { - "continuationToken": "str", # Optional. The token used to get next batch of - data. Default 'Null' to get the first batch, and will return new token in each - response unless there's no more data. + "continuationToken": "str", "facets": [ { - "count": 0, # Optional. The count of the facet item. - "facet": "str", # Optional. The name of the facet item. + "count": 0, + "facet": "str", "sort": { - "count": "str", # Optional. Order by count. Known - values are: "asc" and "desc". - "value": "str" # Optional. Order by value. Known - values are: "asc" and "desc". + "count": "str", + "value": "str" } } ], - "filter": {}, # Optional. The filter for the search. See examples for the - usage of supported filters. - "keywords": "str", # Optional. The keywords applied to all searchable - fields. - "limit": 0, # Optional. The limit of the number of the search result. - default value is 50; maximum value is 1000. + "filter": {}, + "keywords": "str", + "limit": 0, "orderby": [ - {} # Optional. The sort order of search results, can specify - multiple fields. + {} ], "taxonomySetting": { "assetTypes": [ - "str" # Optional. Asset types. + "str" ], "facet": { - "count": 0, # Optional. The count of the facet item. - "facet": "str", # Optional. The name of the facet item. + "count": 0, + "facet": "str", "sort": { - "count": "str", # Optional. Order by count. Known - values are: "asc" and "desc". - "value": "str" # Optional. Order by value. Known - values are: "asc" and "desc". + "count": "str", + "value": "str" } } } @@ -24233,164 +19639,131 @@ async def query( # response body for status code(s): 200 response == { - "@search.count": 0, # Optional. The total number of search results (not the - number of documents in a single page). - "@search.count.approximate": bool, # Optional. 'True' if the '@search.count' - is an approximate value and vise versa. + "@search.count": 0, + "@search.count.approximate": bool, "@search.facets": { "assetType": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "classification": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "contactId": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "contactType": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "entityType": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "glossaryType": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "label": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "term": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "termStatus": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "termTemplate": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ] }, - "continuationToken": "str", # Optional. The token used to get next batch of - data. Absent if there's no more data. + "continuationToken": "str", "value": [ { "@search.highlights": { "description": [ - "str" # Optional. Description. + "str" ], "entityType": [ - "str" # Optional. Entity type. + "str" ], "id": [ - "str" # Optional. Id. + "str" ], "name": [ - "str" # Optional. Name. + "str" ], "qualifiedName": [ - "str" # Optional. Qualified name. + "str" ] }, - "@search.score": 0.0, # Optional. The search score - calculated by the search engine. The results are ordered by search score - by default. + "@search.score": 0.0, "assetType": [ - "str" # Optional. The asset types of the asset. + "str" ], "classification": [ - "str" # Optional. The classifications of the record. + "str" ], "contact": [ { - "contactType": "str", # Optional. The type - of the contact. It can be Expert or Owner for an entity. It can - be Expert or Steward for a glossary term. - "id": "str", # Optional. The GUID of the - contact. - "info": "str" # Optional. The description of - the contact. - } - ], - "createTime": 0, # Optional. The create time of the record. - The Unix epoch format. - "description": "str", # Optional. The description of the - asset. - "endorsement": "str", # Optional. The endorsement of the - asset. - "entityType": "str", # Optional. The type name of the asset. - "glossary": "str", # Optional. The glossary name of the - term. - "glossaryType": "str", # Optional. The type name of the - term. Could be AtlasGlossary, AtlasGlossaryTerm or AtlasGlossaryCategory. - "id": "str", # Optional. The GUID of the record. + "contactType": "str", + "id": "str", + "info": "str" + } + ], + "createTime": 0, + "description": "str", + "endorsement": "str", + "entityType": "str", + "glossary": "str", + "glossaryType": "str", + "id": "str", "label": [ - "str" # Optional. The labels of the asset. - ], - "longDescription": "str", # Optional. The definition of the - term. - "name": "str", # Optional. The name of the record. - "objectType": "str", # Optional. The object type of the - record. Object type is the top-level property to distinguish whether a - record is an asset or a term. - "owner": "str", # Optional. The owner of the record. - "qualifiedName": "str", # Optional. The qualified name of - the record. + "str" + ], + "longDescription": "str", + "name": "str", + "objectType": "str", + "owner": "str", + "qualifiedName": "str", "term": [ { - "glossaryName": "str", # Optional. The name - of the glossary which contains the term. - "guid": "str", # Optional. The GUID of the - term. - "name": "str" # Optional. The name of the - term. + "glossaryName": "str", + "guid": "str", + "name": "str" } ], - "termStatus": "str", # Optional. The status of the term. + "termStatus": "str", "termTemplate": [ - "str" # Optional. The term template names used by - the term. + "str" ], - "updateTime": 0 # Optional. The last update time of the - record. The Unix epoch format. + "updateTime": 0 } ] } @@ -24398,10 +19771,9 @@ async def query( @overload async def query(self, body: JSON, *, content_type: str = "application/json", **kwargs: Any) -> _models.QueryResult: - # pylint: disable=line-too-long """Get data using search. - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -24415,164 +19787,131 @@ async def query(self, body: JSON, *, content_type: str = "application/json", **k # response body for status code(s): 200 response == { - "@search.count": 0, # Optional. The total number of search results (not the - number of documents in a single page). - "@search.count.approximate": bool, # Optional. 'True' if the '@search.count' - is an approximate value and vise versa. + "@search.count": 0, + "@search.count.approximate": bool, "@search.facets": { "assetType": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "classification": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "contactId": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "contactType": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "entityType": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "glossaryType": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "label": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "term": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "termStatus": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "termTemplate": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ] }, - "continuationToken": "str", # Optional. The token used to get next batch of - data. Absent if there's no more data. + "continuationToken": "str", "value": [ { "@search.highlights": { "description": [ - "str" # Optional. Description. + "str" ], "entityType": [ - "str" # Optional. Entity type. + "str" ], "id": [ - "str" # Optional. Id. + "str" ], "name": [ - "str" # Optional. Name. + "str" ], "qualifiedName": [ - "str" # Optional. Qualified name. + "str" ] }, - "@search.score": 0.0, # Optional. The search score - calculated by the search engine. The results are ordered by search score - by default. + "@search.score": 0.0, "assetType": [ - "str" # Optional. The asset types of the asset. + "str" ], "classification": [ - "str" # Optional. The classifications of the record. + "str" ], "contact": [ { - "contactType": "str", # Optional. The type - of the contact. It can be Expert or Owner for an entity. It can - be Expert or Steward for a glossary term. - "id": "str", # Optional. The GUID of the - contact. - "info": "str" # Optional. The description of - the contact. - } - ], - "createTime": 0, # Optional. The create time of the record. - The Unix epoch format. - "description": "str", # Optional. The description of the - asset. - "endorsement": "str", # Optional. The endorsement of the - asset. - "entityType": "str", # Optional. The type name of the asset. - "glossary": "str", # Optional. The glossary name of the - term. - "glossaryType": "str", # Optional. The type name of the - term. Could be AtlasGlossary, AtlasGlossaryTerm or AtlasGlossaryCategory. - "id": "str", # Optional. The GUID of the record. + "contactType": "str", + "id": "str", + "info": "str" + } + ], + "createTime": 0, + "description": "str", + "endorsement": "str", + "entityType": "str", + "glossary": "str", + "glossaryType": "str", + "id": "str", "label": [ - "str" # Optional. The labels of the asset. - ], - "longDescription": "str", # Optional. The definition of the - term. - "name": "str", # Optional. The name of the record. - "objectType": "str", # Optional. The object type of the - record. Object type is the top-level property to distinguish whether a - record is an asset or a term. - "owner": "str", # Optional. The owner of the record. - "qualifiedName": "str", # Optional. The qualified name of - the record. + "str" + ], + "longDescription": "str", + "name": "str", + "objectType": "str", + "owner": "str", + "qualifiedName": "str", "term": [ { - "glossaryName": "str", # Optional. The name - of the glossary which contains the term. - "guid": "str", # Optional. The GUID of the - term. - "name": "str" # Optional. The name of the - term. + "glossaryName": "str", + "guid": "str", + "name": "str" } ], - "termStatus": "str", # Optional. The status of the term. + "termStatus": "str", "termTemplate": [ - "str" # Optional. The term template names used by - the term. + "str" ], - "updateTime": 0 # Optional. The last update time of the - record. The Unix epoch format. + "updateTime": 0 } ] } @@ -24582,10 +19921,9 @@ async def query(self, body: JSON, *, content_type: str = "application/json", **k async def query( self, body: IO[bytes], *, content_type: str = "application/json", **kwargs: Any ) -> _models.QueryResult: - # pylint: disable=line-too-long """Get data using search. - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword content_type: Body Parameter content-type. Content type parameter for binary body. Default value is "application/json". @@ -24599,164 +19937,131 @@ async def query( # response body for status code(s): 200 response == { - "@search.count": 0, # Optional. The total number of search results (not the - number of documents in a single page). - "@search.count.approximate": bool, # Optional. 'True' if the '@search.count' - is an approximate value and vise versa. + "@search.count": 0, + "@search.count.approximate": bool, "@search.facets": { "assetType": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "classification": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "contactId": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "contactType": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "entityType": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "glossaryType": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "label": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "term": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "termStatus": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "termTemplate": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ] }, - "continuationToken": "str", # Optional. The token used to get next batch of - data. Absent if there's no more data. + "continuationToken": "str", "value": [ { "@search.highlights": { "description": [ - "str" # Optional. Description. + "str" ], "entityType": [ - "str" # Optional. Entity type. + "str" ], "id": [ - "str" # Optional. Id. + "str" ], "name": [ - "str" # Optional. Name. + "str" ], "qualifiedName": [ - "str" # Optional. Qualified name. + "str" ] }, - "@search.score": 0.0, # Optional. The search score - calculated by the search engine. The results are ordered by search score - by default. + "@search.score": 0.0, "assetType": [ - "str" # Optional. The asset types of the asset. + "str" ], "classification": [ - "str" # Optional. The classifications of the record. + "str" ], "contact": [ { - "contactType": "str", # Optional. The type - of the contact. It can be Expert or Owner for an entity. It can - be Expert or Steward for a glossary term. - "id": "str", # Optional. The GUID of the - contact. - "info": "str" # Optional. The description of - the contact. - } - ], - "createTime": 0, # Optional. The create time of the record. - The Unix epoch format. - "description": "str", # Optional. The description of the - asset. - "endorsement": "str", # Optional. The endorsement of the - asset. - "entityType": "str", # Optional. The type name of the asset. - "glossary": "str", # Optional. The glossary name of the - term. - "glossaryType": "str", # Optional. The type name of the - term. Could be AtlasGlossary, AtlasGlossaryTerm or AtlasGlossaryCategory. - "id": "str", # Optional. The GUID of the record. + "contactType": "str", + "id": "str", + "info": "str" + } + ], + "createTime": 0, + "description": "str", + "endorsement": "str", + "entityType": "str", + "glossary": "str", + "glossaryType": "str", + "id": "str", "label": [ - "str" # Optional. The labels of the asset. - ], - "longDescription": "str", # Optional. The definition of the - term. - "name": "str", # Optional. The name of the record. - "objectType": "str", # Optional. The object type of the - record. Object type is the top-level property to distinguish whether a - record is an asset or a term. - "owner": "str", # Optional. The owner of the record. - "qualifiedName": "str", # Optional. The qualified name of - the record. + "str" + ], + "longDescription": "str", + "name": "str", + "objectType": "str", + "owner": "str", + "qualifiedName": "str", "term": [ { - "glossaryName": "str", # Optional. The name - of the glossary which contains the term. - "guid": "str", # Optional. The GUID of the - term. - "name": "str" # Optional. The name of the - term. + "glossaryName": "str", + "guid": "str", + "name": "str" } ], - "termStatus": "str", # Optional. The status of the term. + "termStatus": "str", "termTemplate": [ - "str" # Optional. The term template names used by - the term. + "str" ], - "updateTime": 0 # Optional. The last update time of the - record. The Unix epoch format. + "updateTime": 0 } ] } @@ -24764,10 +20069,10 @@ async def query( @distributed_trace_async async def query(self, body: Union[_models.QueryOptions, JSON, IO[bytes]], **kwargs: Any) -> _models.QueryResult: - # pylint: disable=line-too-long """Get data using search. - :param body: Is one of the following types: QueryOptions, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: QueryOptions, JSON, IO[bytes] + Required. :type body: ~azure.purview.datamap.models.QueryOptions or JSON or IO[bytes] :return: QueryResult. The QueryResult is compatible with MutableMapping :rtype: ~azure.purview.datamap.models.QueryResult @@ -24778,43 +20083,33 @@ async def query(self, body: Union[_models.QueryOptions, JSON, IO[bytes]], **kwar # JSON input template you can fill out and use as your body input. body = { - "continuationToken": "str", # Optional. The token used to get next batch of - data. Default 'Null' to get the first batch, and will return new token in each - response unless there's no more data. + "continuationToken": "str", "facets": [ { - "count": 0, # Optional. The count of the facet item. - "facet": "str", # Optional. The name of the facet item. + "count": 0, + "facet": "str", "sort": { - "count": "str", # Optional. Order by count. Known - values are: "asc" and "desc". - "value": "str" # Optional. Order by value. Known - values are: "asc" and "desc". + "count": "str", + "value": "str" } } ], - "filter": {}, # Optional. The filter for the search. See examples for the - usage of supported filters. - "keywords": "str", # Optional. The keywords applied to all searchable - fields. - "limit": 0, # Optional. The limit of the number of the search result. - default value is 50; maximum value is 1000. + "filter": {}, + "keywords": "str", + "limit": 0, "orderby": [ - {} # Optional. The sort order of search results, can specify - multiple fields. + {} ], "taxonomySetting": { "assetTypes": [ - "str" # Optional. Asset types. + "str" ], "facet": { - "count": 0, # Optional. The count of the facet item. - "facet": "str", # Optional. The name of the facet item. + "count": 0, + "facet": "str", "sort": { - "count": "str", # Optional. Order by count. Known - values are: "asc" and "desc". - "value": "str" # Optional. Order by value. Known - values are: "asc" and "desc". + "count": "str", + "value": "str" } } } @@ -24822,169 +20117,136 @@ async def query(self, body: Union[_models.QueryOptions, JSON, IO[bytes]], **kwar # response body for status code(s): 200 response == { - "@search.count": 0, # Optional. The total number of search results (not the - number of documents in a single page). - "@search.count.approximate": bool, # Optional. 'True' if the '@search.count' - is an approximate value and vise versa. + "@search.count": 0, + "@search.count.approximate": bool, "@search.facets": { "assetType": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "classification": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "contactId": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "contactType": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "entityType": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "glossaryType": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "label": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "term": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "termStatus": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "termTemplate": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ] }, - "continuationToken": "str", # Optional. The token used to get next batch of - data. Absent if there's no more data. + "continuationToken": "str", "value": [ { "@search.highlights": { "description": [ - "str" # Optional. Description. + "str" ], "entityType": [ - "str" # Optional. Entity type. + "str" ], "id": [ - "str" # Optional. Id. + "str" ], "name": [ - "str" # Optional. Name. + "str" ], "qualifiedName": [ - "str" # Optional. Qualified name. + "str" ] }, - "@search.score": 0.0, # Optional. The search score - calculated by the search engine. The results are ordered by search score - by default. + "@search.score": 0.0, "assetType": [ - "str" # Optional. The asset types of the asset. + "str" ], "classification": [ - "str" # Optional. The classifications of the record. + "str" ], "contact": [ { - "contactType": "str", # Optional. The type - of the contact. It can be Expert or Owner for an entity. It can - be Expert or Steward for a glossary term. - "id": "str", # Optional. The GUID of the - contact. - "info": "str" # Optional. The description of - the contact. - } - ], - "createTime": 0, # Optional. The create time of the record. - The Unix epoch format. - "description": "str", # Optional. The description of the - asset. - "endorsement": "str", # Optional. The endorsement of the - asset. - "entityType": "str", # Optional. The type name of the asset. - "glossary": "str", # Optional. The glossary name of the - term. - "glossaryType": "str", # Optional. The type name of the - term. Could be AtlasGlossary, AtlasGlossaryTerm or AtlasGlossaryCategory. - "id": "str", # Optional. The GUID of the record. + "contactType": "str", + "id": "str", + "info": "str" + } + ], + "createTime": 0, + "description": "str", + "endorsement": "str", + "entityType": "str", + "glossary": "str", + "glossaryType": "str", + "id": "str", "label": [ - "str" # Optional. The labels of the asset. - ], - "longDescription": "str", # Optional. The definition of the - term. - "name": "str", # Optional. The name of the record. - "objectType": "str", # Optional. The object type of the - record. Object type is the top-level property to distinguish whether a - record is an asset or a term. - "owner": "str", # Optional. The owner of the record. - "qualifiedName": "str", # Optional. The qualified name of - the record. + "str" + ], + "longDescription": "str", + "name": "str", + "objectType": "str", + "owner": "str", + "qualifiedName": "str", "term": [ { - "glossaryName": "str", # Optional. The name - of the glossary which contains the term. - "guid": "str", # Optional. The GUID of the - term. - "name": "str" # Optional. The name of the - term. + "glossaryName": "str", + "guid": "str", + "name": "str" } ], - "termStatus": "str", # Optional. The status of the term. + "termStatus": "str", "termTemplate": [ - "str" # Optional. The term template names used by - the term. + "str" ], - "updateTime": 0 # Optional. The last update time of the - record. The Unix epoch format. + "updateTime": 0 } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -25013,7 +20275,7 @@ async def query(self, body: Union[_models.QueryOptions, JSON, IO[bytes]], **kwar params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -25045,10 +20307,9 @@ async def query(self, body: Union[_models.QueryOptions, JSON, IO[bytes]], **kwar async def suggest( self, body: _models.SuggestOptions, *, content_type: str = "application/json", **kwargs: Any ) -> _models.SuggestResult: - # pylint: disable=line-too-long """Get search suggestions by query criteria. - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.SuggestOptions :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -25062,83 +20323,57 @@ async def suggest( # JSON input template you can fill out and use as your body input. body = { - "filter": {}, # Optional. The filter for the search. - "keywords": "str", # Optional. The keywords applied to all fields that - support suggest operation. It must be at least 1 character, and no more than 100 - characters. In the index schema we defined a default suggester which lists all - the supported fields and specifies a search mode. - "limit": 0 # Optional. The number of suggestions we hope to return. The - default value is 5. The value must be a number between 1 and 100. + "filter": {}, + "keywords": "str", + "limit": 0 } # response body for status code(s): 200 response == { "value": [ { - "@search.score": 0.0, # Optional. The search score - calculated by the search engine. The results are ordered by search score - by default. - "@search.text": "str", # Optional. The target text that - contains the keyword as prefix. The keyword is wrapped with emphasis - mark. + "@search.score": 0.0, + "@search.text": "str", "assetType": [ - "str" # Optional. The asset types of the asset. + "str" ], "classification": [ - "str" # Optional. The classifications of the record. + "str" ], "contact": [ { - "contactType": "str", # Optional. The type - of the contact. It can be Expert or Owner for an entity. It can - be Expert or Steward for a glossary term. - "id": "str", # Optional. The GUID of the - contact. - "info": "str" # Optional. The description of - the contact. - } - ], - "createTime": 0, # Optional. The create time of the record. - The Unix epoch format. - "description": "str", # Optional. The description of the - asset. - "endorsement": "str", # Optional. The endorsement of the - asset. - "entityType": "str", # Optional. The type name of the asset. - "glossary": "str", # Optional. The glossary name of the - term. - "glossaryType": "str", # Optional. The type name of the - term. Could be AtlasGlossary, AtlasGlossaryTerm or AtlasGlossaryCategory. - "id": "str", # Optional. The GUID of the record. + "contactType": "str", + "id": "str", + "info": "str" + } + ], + "createTime": 0, + "description": "str", + "endorsement": "str", + "entityType": "str", + "glossary": "str", + "glossaryType": "str", + "id": "str", "label": [ - "str" # Optional. The labels of the asset. - ], - "longDescription": "str", # Optional. The definition of the - term. - "name": "str", # Optional. The name of the record. - "objectType": "str", # Optional. The object type of the - record. Object type is the top-level property to distinguish whether a - record is an asset or a term. - "owner": "str", # Optional. The owner of the record. - "qualifiedName": "str", # Optional. The qualified name of - the record. + "str" + ], + "longDescription": "str", + "name": "str", + "objectType": "str", + "owner": "str", + "qualifiedName": "str", "term": [ { - "glossaryName": "str", # Optional. The name - of the glossary which contains the term. - "guid": "str", # Optional. The GUID of the - term. - "name": "str" # Optional. The name of the - term. + "glossaryName": "str", + "guid": "str", + "name": "str" } ], - "termStatus": "str", # Optional. The status of the term. + "termStatus": "str", "termTemplate": [ - "str" # Optional. The term template names used by - the term. + "str" ], - "updateTime": 0 # Optional. The last update time of the - record. The Unix epoch format. + "updateTime": 0 } ] } @@ -25148,10 +20383,9 @@ async def suggest( async def suggest( self, body: JSON, *, content_type: str = "application/json", **kwargs: Any ) -> _models.SuggestResult: - # pylint: disable=line-too-long """Get search suggestions by query criteria. - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -25167,70 +20401,48 @@ async def suggest( response == { "value": [ { - "@search.score": 0.0, # Optional. The search score - calculated by the search engine. The results are ordered by search score - by default. - "@search.text": "str", # Optional. The target text that - contains the keyword as prefix. The keyword is wrapped with emphasis - mark. + "@search.score": 0.0, + "@search.text": "str", "assetType": [ - "str" # Optional. The asset types of the asset. + "str" ], "classification": [ - "str" # Optional. The classifications of the record. + "str" ], "contact": [ { - "contactType": "str", # Optional. The type - of the contact. It can be Expert or Owner for an entity. It can - be Expert or Steward for a glossary term. - "id": "str", # Optional. The GUID of the - contact. - "info": "str" # Optional. The description of - the contact. - } - ], - "createTime": 0, # Optional. The create time of the record. - The Unix epoch format. - "description": "str", # Optional. The description of the - asset. - "endorsement": "str", # Optional. The endorsement of the - asset. - "entityType": "str", # Optional. The type name of the asset. - "glossary": "str", # Optional. The glossary name of the - term. - "glossaryType": "str", # Optional. The type name of the - term. Could be AtlasGlossary, AtlasGlossaryTerm or AtlasGlossaryCategory. - "id": "str", # Optional. The GUID of the record. + "contactType": "str", + "id": "str", + "info": "str" + } + ], + "createTime": 0, + "description": "str", + "endorsement": "str", + "entityType": "str", + "glossary": "str", + "glossaryType": "str", + "id": "str", "label": [ - "str" # Optional. The labels of the asset. - ], - "longDescription": "str", # Optional. The definition of the - term. - "name": "str", # Optional. The name of the record. - "objectType": "str", # Optional. The object type of the - record. Object type is the top-level property to distinguish whether a - record is an asset or a term. - "owner": "str", # Optional. The owner of the record. - "qualifiedName": "str", # Optional. The qualified name of - the record. + "str" + ], + "longDescription": "str", + "name": "str", + "objectType": "str", + "owner": "str", + "qualifiedName": "str", "term": [ { - "glossaryName": "str", # Optional. The name - of the glossary which contains the term. - "guid": "str", # Optional. The GUID of the - term. - "name": "str" # Optional. The name of the - term. + "glossaryName": "str", + "guid": "str", + "name": "str" } ], - "termStatus": "str", # Optional. The status of the term. + "termStatus": "str", "termTemplate": [ - "str" # Optional. The term template names used by - the term. + "str" ], - "updateTime": 0 # Optional. The last update time of the - record. The Unix epoch format. + "updateTime": 0 } ] } @@ -25240,10 +20452,9 @@ async def suggest( async def suggest( self, body: IO[bytes], *, content_type: str = "application/json", **kwargs: Any ) -> _models.SuggestResult: - # pylint: disable=line-too-long """Get search suggestions by query criteria. - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword content_type: Body Parameter content-type. Content type parameter for binary body. Default value is "application/json". @@ -25259,70 +20470,48 @@ async def suggest( response == { "value": [ { - "@search.score": 0.0, # Optional. The search score - calculated by the search engine. The results are ordered by search score - by default. - "@search.text": "str", # Optional. The target text that - contains the keyword as prefix. The keyword is wrapped with emphasis - mark. + "@search.score": 0.0, + "@search.text": "str", "assetType": [ - "str" # Optional. The asset types of the asset. + "str" ], "classification": [ - "str" # Optional. The classifications of the record. + "str" ], "contact": [ { - "contactType": "str", # Optional. The type - of the contact. It can be Expert or Owner for an entity. It can - be Expert or Steward for a glossary term. - "id": "str", # Optional. The GUID of the - contact. - "info": "str" # Optional. The description of - the contact. - } - ], - "createTime": 0, # Optional. The create time of the record. - The Unix epoch format. - "description": "str", # Optional. The description of the - asset. - "endorsement": "str", # Optional. The endorsement of the - asset. - "entityType": "str", # Optional. The type name of the asset. - "glossary": "str", # Optional. The glossary name of the - term. - "glossaryType": "str", # Optional. The type name of the - term. Could be AtlasGlossary, AtlasGlossaryTerm or AtlasGlossaryCategory. - "id": "str", # Optional. The GUID of the record. + "contactType": "str", + "id": "str", + "info": "str" + } + ], + "createTime": 0, + "description": "str", + "endorsement": "str", + "entityType": "str", + "glossary": "str", + "glossaryType": "str", + "id": "str", "label": [ - "str" # Optional. The labels of the asset. - ], - "longDescription": "str", # Optional. The definition of the - term. - "name": "str", # Optional. The name of the record. - "objectType": "str", # Optional. The object type of the - record. Object type is the top-level property to distinguish whether a - record is an asset or a term. - "owner": "str", # Optional. The owner of the record. - "qualifiedName": "str", # Optional. The qualified name of - the record. + "str" + ], + "longDescription": "str", + "name": "str", + "objectType": "str", + "owner": "str", + "qualifiedName": "str", "term": [ { - "glossaryName": "str", # Optional. The name - of the glossary which contains the term. - "guid": "str", # Optional. The GUID of the - term. - "name": "str" # Optional. The name of the - term. + "glossaryName": "str", + "guid": "str", + "name": "str" } ], - "termStatus": "str", # Optional. The status of the term. + "termStatus": "str", "termTemplate": [ - "str" # Optional. The term template names used by - the term. + "str" ], - "updateTime": 0 # Optional. The last update time of the - record. The Unix epoch format. + "updateTime": 0 } ] } @@ -25332,10 +20521,10 @@ async def suggest( async def suggest( self, body: Union[_models.SuggestOptions, JSON, IO[bytes]], **kwargs: Any ) -> _models.SuggestResult: - # pylint: disable=line-too-long """Get search suggestions by query criteria. - :param body: Is one of the following types: SuggestOptions, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: SuggestOptions, JSON, IO[bytes] + Required. :type body: ~azure.purview.datamap.models.SuggestOptions or JSON or IO[bytes] :return: SuggestResult. The SuggestResult is compatible with MutableMapping :rtype: ~azure.purview.datamap.models.SuggestResult @@ -25346,88 +20535,62 @@ async def suggest( # JSON input template you can fill out and use as your body input. body = { - "filter": {}, # Optional. The filter for the search. - "keywords": "str", # Optional. The keywords applied to all fields that - support suggest operation. It must be at least 1 character, and no more than 100 - characters. In the index schema we defined a default suggester which lists all - the supported fields and specifies a search mode. - "limit": 0 # Optional. The number of suggestions we hope to return. The - default value is 5. The value must be a number between 1 and 100. + "filter": {}, + "keywords": "str", + "limit": 0 } # response body for status code(s): 200 response == { "value": [ { - "@search.score": 0.0, # Optional. The search score - calculated by the search engine. The results are ordered by search score - by default. - "@search.text": "str", # Optional. The target text that - contains the keyword as prefix. The keyword is wrapped with emphasis - mark. + "@search.score": 0.0, + "@search.text": "str", "assetType": [ - "str" # Optional. The asset types of the asset. + "str" ], "classification": [ - "str" # Optional. The classifications of the record. + "str" ], "contact": [ { - "contactType": "str", # Optional. The type - of the contact. It can be Expert or Owner for an entity. It can - be Expert or Steward for a glossary term. - "id": "str", # Optional. The GUID of the - contact. - "info": "str" # Optional. The description of - the contact. - } - ], - "createTime": 0, # Optional. The create time of the record. - The Unix epoch format. - "description": "str", # Optional. The description of the - asset. - "endorsement": "str", # Optional. The endorsement of the - asset. - "entityType": "str", # Optional. The type name of the asset. - "glossary": "str", # Optional. The glossary name of the - term. - "glossaryType": "str", # Optional. The type name of the - term. Could be AtlasGlossary, AtlasGlossaryTerm or AtlasGlossaryCategory. - "id": "str", # Optional. The GUID of the record. + "contactType": "str", + "id": "str", + "info": "str" + } + ], + "createTime": 0, + "description": "str", + "endorsement": "str", + "entityType": "str", + "glossary": "str", + "glossaryType": "str", + "id": "str", "label": [ - "str" # Optional. The labels of the asset. - ], - "longDescription": "str", # Optional. The definition of the - term. - "name": "str", # Optional. The name of the record. - "objectType": "str", # Optional. The object type of the - record. Object type is the top-level property to distinguish whether a - record is an asset or a term. - "owner": "str", # Optional. The owner of the record. - "qualifiedName": "str", # Optional. The qualified name of - the record. + "str" + ], + "longDescription": "str", + "name": "str", + "objectType": "str", + "owner": "str", + "qualifiedName": "str", "term": [ { - "glossaryName": "str", # Optional. The name - of the glossary which contains the term. - "guid": "str", # Optional. The GUID of the - term. - "name": "str" # Optional. The name of the - term. + "glossaryName": "str", + "guid": "str", + "name": "str" } ], - "termStatus": "str", # Optional. The status of the term. + "termStatus": "str", "termTemplate": [ - "str" # Optional. The term template names used by - the term. + "str" ], - "updateTime": 0 # Optional. The last update time of the - record. The Unix epoch format. + "updateTime": 0 } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -25456,7 +20619,7 @@ async def suggest( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -25488,10 +20651,9 @@ async def suggest( async def auto_complete( self, body: _models.AutoCompleteOptions, *, content_type: str = "application/json", **kwargs: Any ) -> _models.AutoCompleteResult: - # pylint: disable=line-too-long """Get auto complete options. - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.AutoCompleteOptions :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -25505,21 +20667,17 @@ async def auto_complete( # JSON input template you can fill out and use as your body input. body = { - "filter": {}, # Optional. The filter for the autocomplete request. - "keywords": "str", # Optional. The keywords applied to all fields that - support autocomplete operation. It must be at least 1 character, and no more than - 100 characters. - "limit": 0 # Optional. The number of autocomplete results we hope to return. - The default value is 50. The value must be a number between 1 and 100. + "filter": {}, + "keywords": "str", + "limit": 0 } # response body for status code(s): 200 response == { "value": [ { - "queryPlusText": "str", # Optional. The completed search - query text. - "text": "str" # Optional. The completed term or phrase. + "queryPlusText": "str", + "text": "str" } ] } @@ -25531,7 +20689,7 @@ async def auto_complete( ) -> _models.AutoCompleteResult: """Get auto complete options. - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -25547,9 +20705,8 @@ async def auto_complete( response == { "value": [ { - "queryPlusText": "str", # Optional. The completed search - query text. - "text": "str" # Optional. The completed term or phrase. + "queryPlusText": "str", + "text": "str" } ] } @@ -25561,7 +20718,7 @@ async def auto_complete( ) -> _models.AutoCompleteResult: """Get auto complete options. - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword content_type: Body Parameter content-type. Content type parameter for binary body. Default value is "application/json". @@ -25577,9 +20734,8 @@ async def auto_complete( response == { "value": [ { - "queryPlusText": "str", # Optional. The completed search - query text. - "text": "str" # Optional. The completed term or phrase. + "queryPlusText": "str", + "text": "str" } ] } @@ -25589,10 +20745,10 @@ async def auto_complete( async def auto_complete( self, body: Union[_models.AutoCompleteOptions, JSON, IO[bytes]], **kwargs: Any ) -> _models.AutoCompleteResult: - # pylint: disable=line-too-long """Get auto complete options. - :param body: Is one of the following types: AutoCompleteOptions, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: AutoCompleteOptions, JSON, + IO[bytes] Required. :type body: ~azure.purview.datamap.models.AutoCompleteOptions or JSON or IO[bytes] :return: AutoCompleteResult. The AutoCompleteResult is compatible with MutableMapping :rtype: ~azure.purview.datamap.models.AutoCompleteResult @@ -25603,26 +20759,22 @@ async def auto_complete( # JSON input template you can fill out and use as your body input. body = { - "filter": {}, # Optional. The filter for the autocomplete request. - "keywords": "str", # Optional. The keywords applied to all fields that - support autocomplete operation. It must be at least 1 character, and no more than - 100 characters. - "limit": 0 # Optional. The number of autocomplete results we hope to return. - The default value is 50. The value must be a number between 1 and 100. + "filter": {}, + "keywords": "str", + "limit": 0 } # response body for status code(s): 200 response == { "value": [ { - "queryPlusText": "str", # Optional. The completed search - query text. - "text": "str" # Optional. The completed term or phrase. + "queryPlusText": "str", + "text": "str" } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -25651,7 +20803,7 @@ async def auto_complete( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -25701,7 +20853,6 @@ def __init__(self, *args, **kwargs) -> None: async def get( self, guid: str, *, direction: Union[str, _models.LineageDirection], depth: Optional[int] = None, **kwargs: Any ) -> _models.AtlasLineageInfo: - # pylint: disable=line-too-long """Get lineage info of the entity specified by GUID. :param guid: The globally unique identifier of the entity. Required. @@ -25720,118 +20871,87 @@ async def get( # response body for status code(s): 200 response == { - "baseEntityGuid": "str", # Optional. The GUID of the base entity. - "childrenCount": 0, # Optional. The number of children node. + "baseEntityGuid": "str", + "childrenCount": 0, "guidEntityMap": { "str": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } }, - "lineageDepth": 0, # Optional. The depth of lineage. - "lineageDirection": "str", # Optional. The enum of lineage direction. Known - values are: "INPUT", "OUTPUT", and "BOTH". - "lineageWidth": 0, # Optional. The width of lineage. + "lineageDepth": 0, + "lineageDirection": "str", + "lineageWidth": 0, "parentRelations": [ { - "childEntityId": "str", # Optional. The GUID of child - entity. - "parentEntityId": "str", # Optional. The GUID of parent - entity. - "relationshipId": "str" # Optional. The GUID of - relationship. + "childEntityId": "str", + "parentEntityId": "str", + "relationshipId": "str" } ], "relations": [ { - "fromEntityId": "str", # Optional. The GUID of from-entity. - "relationshipId": "str", # Optional. The GUID of - relationship. - "toEntityId": "str" # Optional. The GUID of to-entity. + "fromEntityId": "str", + "relationshipId": "str", + "toEntityId": "str" } ], "widthCounts": { "str": { - "str": {} # Optional. The entity count in specific - direction. + "str": {} } } } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -25852,7 +20972,7 @@ async def get( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -25890,7 +21010,6 @@ async def get_next_page( limit: Optional[int] = None, **kwargs: Any ) -> _models.AtlasLineageInfo: - # pylint: disable=line-too-long """Return immediate next page lineage info about entity with pagination. :param guid: The globally unique identifier of the entity. Required. @@ -25911,118 +21030,87 @@ async def get_next_page( # response body for status code(s): 200 response == { - "baseEntityGuid": "str", # Optional. The GUID of the base entity. - "childrenCount": 0, # Optional. The number of children node. + "baseEntityGuid": "str", + "childrenCount": 0, "guidEntityMap": { "str": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } }, - "lineageDepth": 0, # Optional. The depth of lineage. - "lineageDirection": "str", # Optional. The enum of lineage direction. Known - values are: "INPUT", "OUTPUT", and "BOTH". - "lineageWidth": 0, # Optional. The width of lineage. + "lineageDepth": 0, + "lineageDirection": "str", + "lineageWidth": 0, "parentRelations": [ { - "childEntityId": "str", # Optional. The GUID of child - entity. - "parentEntityId": "str", # Optional. The GUID of parent - entity. - "relationshipId": "str" # Optional. The GUID of - relationship. + "childEntityId": "str", + "parentEntityId": "str", + "relationshipId": "str" } ], "relations": [ { - "fromEntityId": "str", # Optional. The GUID of from-entity. - "relationshipId": "str", # Optional. The GUID of - relationship. - "toEntityId": "str" # Optional. The GUID of to-entity. + "fromEntityId": "str", + "relationshipId": "str", + "toEntityId": "str" } ], "widthCounts": { "str": { - "str": {} # Optional. The entity count in specific - direction. + "str": {} } } } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -26045,7 +21133,7 @@ async def get_next_page( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -26083,7 +21171,6 @@ async def get_by_unique_attribute( attribute: Optional[str] = None, **kwargs: Any ) -> _models.AtlasLineageInfo: - # pylint: disable=line-too-long """Return lineage info about entity. In addition to the typeName path parameter, @@ -26121,118 +21208,87 @@ async def get_by_unique_attribute( # response body for status code(s): 200 response == { - "baseEntityGuid": "str", # Optional. The GUID of the base entity. - "childrenCount": 0, # Optional. The number of children node. + "baseEntityGuid": "str", + "childrenCount": 0, "guidEntityMap": { "str": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } }, - "lineageDepth": 0, # Optional. The depth of lineage. - "lineageDirection": "str", # Optional. The enum of lineage direction. Known - values are: "INPUT", "OUTPUT", and "BOTH". - "lineageWidth": 0, # Optional. The width of lineage. + "lineageDepth": 0, + "lineageDirection": "str", + "lineageWidth": 0, "parentRelations": [ { - "childEntityId": "str", # Optional. The GUID of child - entity. - "parentEntityId": "str", # Optional. The GUID of parent - entity. - "relationshipId": "str" # Optional. The GUID of - relationship. + "childEntityId": "str", + "parentEntityId": "str", + "relationshipId": "str" } ], "relations": [ { - "fromEntityId": "str", # Optional. The GUID of from-entity. - "relationshipId": "str", # Optional. The GUID of - relationship. - "toEntityId": "str" # Optional. The GUID of to-entity. + "fromEntityId": "str", + "relationshipId": "str", + "toEntityId": "str" } ], "widthCounts": { "str": { - "str": {} # Optional. The entity count in specific - direction. + "str": {} } } } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -26254,7 +21310,7 @@ async def get_by_unique_attribute( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -26306,7 +21362,7 @@ async def create( ) -> _models.AtlasRelationship: """Create a new relationship between entities. - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.AtlasRelationship :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -26321,71 +21377,67 @@ async def create( # JSON input template you can fill out and use as your body input. body = { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "end1": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, "end2": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, - "guid": "str", # Optional. The GUID of the relationship. - "homeId": "str", # Optional. The home ID of the relationship. - "label": "str", # Optional. The label of the relationship. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "status": "str", # Optional. The enum of relationship status. Known values - are: "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the relationship. + "guid": "str", + "homeId": "str", + "label": "str", + "lastModifiedTS": "str", + "provenanceType": 0, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } # response body for status code(s): 200 response == { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "end1": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, "end2": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, - "guid": "str", # Optional. The GUID of the relationship. - "homeId": "str", # Optional. The home ID of the relationship. - "label": "str", # Optional. The label of the relationship. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "status": "str", # Optional. The enum of relationship status. Known values - are: "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the relationship. + "guid": "str", + "homeId": "str", + "label": "str", + "lastModifiedTS": "str", + "provenanceType": 0, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ @@ -26395,7 +21447,7 @@ async def create( ) -> _models.AtlasRelationship: """Create a new relationship between entities. - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -26410,36 +21462,34 @@ async def create( # response body for status code(s): 200 response == { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "end1": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, "end2": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, - "guid": "str", # Optional. The GUID of the relationship. - "homeId": "str", # Optional. The home ID of the relationship. - "label": "str", # Optional. The label of the relationship. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "status": "str", # Optional. The enum of relationship status. Known values - are: "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the relationship. + "guid": "str", + "homeId": "str", + "label": "str", + "lastModifiedTS": "str", + "provenanceType": 0, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ @@ -26449,7 +21499,7 @@ async def create( ) -> _models.AtlasRelationship: """Create a new relationship between entities. - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword content_type: Body Parameter content-type. Content type parameter for binary body. Default value is "application/json". @@ -26464,36 +21514,34 @@ async def create( # response body for status code(s): 200 response == { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "end1": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, "end2": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, - "guid": "str", # Optional. The GUID of the relationship. - "homeId": "str", # Optional. The home ID of the relationship. - "label": "str", # Optional. The label of the relationship. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "status": "str", # Optional. The enum of relationship status. Known values - are: "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the relationship. + "guid": "str", + "homeId": "str", + "label": "str", + "lastModifiedTS": "str", + "provenanceType": 0, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ @@ -26503,7 +21551,8 @@ async def create( ) -> _models.AtlasRelationship: """Create a new relationship between entities. - :param body: Is one of the following types: AtlasRelationship, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: AtlasRelationship, JSON, IO[bytes] + Required. :type body: ~azure.purview.datamap.models.AtlasRelationship or JSON or IO[bytes] :return: AtlasRelationship. The AtlasRelationship is compatible with MutableMapping :rtype: ~azure.purview.datamap.models.AtlasRelationship @@ -26515,74 +21564,70 @@ async def create( # JSON input template you can fill out and use as your body input. body = { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "end1": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, "end2": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, - "guid": "str", # Optional. The GUID of the relationship. - "homeId": "str", # Optional. The home ID of the relationship. - "label": "str", # Optional. The label of the relationship. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "status": "str", # Optional. The enum of relationship status. Known values - are: "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the relationship. + "guid": "str", + "homeId": "str", + "label": "str", + "lastModifiedTS": "str", + "provenanceType": 0, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } # response body for status code(s): 200 response == { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "end1": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, "end2": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, - "guid": "str", # Optional. The GUID of the relationship. - "homeId": "str", # Optional. The home ID of the relationship. - "label": "str", # Optional. The label of the relationship. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "status": "str", # Optional. The enum of relationship status. Known values - are: "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the relationship. + "guid": "str", + "homeId": "str", + "label": "str", + "lastModifiedTS": "str", + "provenanceType": 0, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -26610,7 +21655,7 @@ async def create( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -26644,7 +21689,7 @@ async def update( ) -> _models.AtlasRelationship: """Update an existing relationship between entities. - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.AtlasRelationship :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -26659,71 +21704,67 @@ async def update( # JSON input template you can fill out and use as your body input. body = { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "end1": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, "end2": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, - "guid": "str", # Optional. The GUID of the relationship. - "homeId": "str", # Optional. The home ID of the relationship. - "label": "str", # Optional. The label of the relationship. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "status": "str", # Optional. The enum of relationship status. Known values - are: "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the relationship. + "guid": "str", + "homeId": "str", + "label": "str", + "lastModifiedTS": "str", + "provenanceType": 0, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } # response body for status code(s): 200 response == { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "end1": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, "end2": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, - "guid": "str", # Optional. The GUID of the relationship. - "homeId": "str", # Optional. The home ID of the relationship. - "label": "str", # Optional. The label of the relationship. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "status": "str", # Optional. The enum of relationship status. Known values - are: "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the relationship. + "guid": "str", + "homeId": "str", + "label": "str", + "lastModifiedTS": "str", + "provenanceType": 0, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ @@ -26733,7 +21774,7 @@ async def update( ) -> _models.AtlasRelationship: """Update an existing relationship between entities. - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -26748,36 +21789,34 @@ async def update( # response body for status code(s): 200 response == { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "end1": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, "end2": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, - "guid": "str", # Optional. The GUID of the relationship. - "homeId": "str", # Optional. The home ID of the relationship. - "label": "str", # Optional. The label of the relationship. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "status": "str", # Optional. The enum of relationship status. Known values - are: "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the relationship. + "guid": "str", + "homeId": "str", + "label": "str", + "lastModifiedTS": "str", + "provenanceType": 0, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ @@ -26787,7 +21826,7 @@ async def update( ) -> _models.AtlasRelationship: """Update an existing relationship between entities. - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword content_type: Body Parameter content-type. Content type parameter for binary body. Default value is "application/json". @@ -26802,36 +21841,34 @@ async def update( # response body for status code(s): 200 response == { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "end1": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, "end2": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, - "guid": "str", # Optional. The GUID of the relationship. - "homeId": "str", # Optional. The home ID of the relationship. - "label": "str", # Optional. The label of the relationship. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "status": "str", # Optional. The enum of relationship status. Known values - are: "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the relationship. + "guid": "str", + "homeId": "str", + "label": "str", + "lastModifiedTS": "str", + "provenanceType": 0, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ @@ -26841,7 +21878,8 @@ async def update( ) -> _models.AtlasRelationship: """Update an existing relationship between entities. - :param body: Is one of the following types: AtlasRelationship, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: AtlasRelationship, JSON, IO[bytes] + Required. :type body: ~azure.purview.datamap.models.AtlasRelationship or JSON or IO[bytes] :return: AtlasRelationship. The AtlasRelationship is compatible with MutableMapping :rtype: ~azure.purview.datamap.models.AtlasRelationship @@ -26853,74 +21891,70 @@ async def update( # JSON input template you can fill out and use as your body input. body = { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "end1": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, "end2": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, - "guid": "str", # Optional. The GUID of the relationship. - "homeId": "str", # Optional. The home ID of the relationship. - "label": "str", # Optional. The label of the relationship. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "status": "str", # Optional. The enum of relationship status. Known values - are: "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the relationship. + "guid": "str", + "homeId": "str", + "label": "str", + "lastModifiedTS": "str", + "provenanceType": 0, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } # response body for status code(s): 200 response == { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "end1": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, "end2": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, - "guid": "str", # Optional. The GUID of the relationship. - "homeId": "str", # Optional. The home ID of the relationship. - "label": "str", # Optional. The label of the relationship. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "status": "str", # Optional. The enum of relationship status. Known values - are: "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the relationship. + "guid": "str", + "homeId": "str", + "label": "str", + "lastModifiedTS": "str", + "provenanceType": 0, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -26948,7 +21982,7 @@ async def update( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -26980,7 +22014,6 @@ async def update( async def get( self, guid: str, *, extended_info: Optional[bool] = None, **kwargs: Any ) -> _models.AtlasRelationshipWithExtInfo: - # pylint: disable=line-too-long """Get relationship information between entities by its GUID. :param guid: The globally unique identifier of the relationship. Required. @@ -27000,120 +22033,91 @@ async def get( "referredEntities": { "str": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } }, "relationship": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "end1": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } }, "end2": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } }, - "guid": "str", # Optional. The GUID of the relationship. - "homeId": "str", # Optional. The home ID of the relationship. - "label": "str", # Optional. The label of the relationship. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "status": "str", # Optional. The enum of relationship status. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the relationship. + "guid": "str", + "homeId": "str", + "label": "str", + "lastModifiedTS": "str", + "provenanceType": 0, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -27133,7 +22137,7 @@ async def get( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -27171,7 +22175,7 @@ async def delete(self, guid: str, **kwargs: Any) -> None: # pylint: disable=inc :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -27190,7 +22194,7 @@ async def delete(self, guid: str, **kwargs: Any) -> None: # pylint: disable=inc params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -27202,8 +22206,6 @@ async def delete(self, guid: str, **kwargs: Any) -> None: # pylint: disable=inc response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -27231,7 +22233,6 @@ def __init__(self, *args, **kwargs) -> None: @distributed_trace_async async def get_business_metadata_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasBusinessMetadataDef: - # pylint: disable=line-too-long """Get the businessMetadata definition for the given guid. :param guid: businessMetadata guid. Required. @@ -27248,111 +22249,87 @@ async def get_business_metadata_by_id(self, guid: str, **kwargs: Any) -> _models response == { "attributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "category": "str", # Optional. The enum of type category. Known values are: - "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", - "ARRAY", "MAP", "RELATIONSHIP", and "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency of the date - format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines if grouping is - used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The maximum of - fraction digits. - "maximumIntegerDigits": 0, # Optional. The maximum of - integer digits. - "minimumFractionDigits": 0, # Optional. The minimum of - fraction digits. - "minimumIntegerDigits": 0, # Optional. The minimum of - integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. Determines if only - integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum of rounding mode. - Known values are: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", - "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The display name of the - timezone. - "dstSavings": 0, # Optional. The value of the daylight - saving time. - "id": "str", # Optional. The ID of the timezone. - "rawOffset": 0 # Optional. The raw offset of the timezone. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 } }, - "description": "str", # Optional. The description of the type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "name": "str", # Optional. The name of the type definition. + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -27371,7 +22348,7 @@ async def get_business_metadata_by_id(self, guid: str, **kwargs: Any) -> _models params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -27401,7 +22378,6 @@ async def get_business_metadata_by_id(self, guid: str, **kwargs: Any) -> _models @distributed_trace_async async def get_business_metadata_by_name(self, name: str, **kwargs: Any) -> _models.AtlasBusinessMetadataDef: - # pylint: disable=line-too-long """Get the businessMetadata definition by it's name (unique). :param name: businessMetadata name. Required. @@ -27418,111 +22394,87 @@ async def get_business_metadata_by_name(self, name: str, **kwargs: Any) -> _mode response == { "attributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "category": "str", # Optional. The enum of type category. Known values are: - "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", - "ARRAY", "MAP", "RELATIONSHIP", and "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency of the date - format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines if grouping is - used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The maximum of - fraction digits. - "maximumIntegerDigits": 0, # Optional. The maximum of - integer digits. - "minimumFractionDigits": 0, # Optional. The minimum of - fraction digits. - "minimumIntegerDigits": 0, # Optional. The minimum of - integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. Determines if only - integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum of rounding mode. - Known values are: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", - "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The display name of the - timezone. - "dstSavings": 0, # Optional. The value of the daylight - saving time. - "id": "str", # Optional. The ID of the timezone. - "rawOffset": 0 # Optional. The raw offset of the timezone. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 } }, - "description": "str", # Optional. The description of the type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "name": "str", # Optional. The name of the type definition. + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -27541,7 +22493,7 @@ async def get_business_metadata_by_name(self, name: str, **kwargs: Any) -> _mode params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -27571,7 +22523,6 @@ async def get_business_metadata_by_name(self, name: str, **kwargs: Any) -> _mode @distributed_trace_async async def get_classification_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasClassificationDef: - # pylint: disable=line-too-long """Get the classification definition for the given GUID. :param guid: The globally unique identifier of the classification. Required. @@ -27587,130 +22538,96 @@ async def get_classification_by_id(self, guid: str, **kwargs: Any) -> _models.At response == { "attributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "category": "str", # Optional. The enum of type category. Known values are: - "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", - "ARRAY", "MAP", "RELATIONSHIP", and "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency of the date - format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines if grouping is - used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The maximum of - fraction digits. - "maximumIntegerDigits": 0, # Optional. The maximum of - integer digits. - "minimumFractionDigits": 0, # Optional. The minimum of - fraction digits. - "minimumIntegerDigits": 0, # Optional. The minimum of - integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. Determines if only - integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum of rounding mode. - Known values are: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", - "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The display name of the - timezone. - "dstSavings": 0, # Optional. The value of the daylight - saving time. - "id": "str", # Optional. The ID of the timezone. - "rawOffset": 0 # Optional. The raw offset of the timezone. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 } }, - "description": "str", # Optional. The description of the type definition. + "description": "str", "entityTypes": [ - "str" # Optional. Specifying a list of entityType names in the - classificationDef, ensures that classifications can only be applied to those - entityTypes. Any subtypes of the entity types inherit the restriction. Any - classificationDef subtypes inherit the parents entityTypes restrictions. Any - classificationDef subtypes can further restrict the parents entityTypes - restrictions by specifying a subset of the entityTypes. An empty entityTypes - list when there are no parent restrictions means there are no restrictions. - An empty entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes are - supplied, where one inherits from another, this will be rejected. This should - encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -27729,7 +22646,7 @@ async def get_classification_by_id(self, guid: str, **kwargs: Any) -> _models.At params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -27759,7 +22676,6 @@ async def get_classification_by_id(self, guid: str, **kwargs: Any) -> _models.At @distributed_trace_async async def get_classification_by_name(self, name: str, **kwargs: Any) -> _models.AtlasClassificationDef: - # pylint: disable=line-too-long """Get the classification definition by its name (unique). :param name: The name of the classification. Required. @@ -27775,130 +22691,96 @@ async def get_classification_by_name(self, name: str, **kwargs: Any) -> _models. response == { "attributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "category": "str", # Optional. The enum of type category. Known values are: - "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", - "ARRAY", "MAP", "RELATIONSHIP", and "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency of the date - format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines if grouping is - used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The maximum of - fraction digits. - "maximumIntegerDigits": 0, # Optional. The maximum of - integer digits. - "minimumFractionDigits": 0, # Optional. The minimum of - fraction digits. - "minimumIntegerDigits": 0, # Optional. The minimum of - integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. Determines if only - integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum of rounding mode. - Known values are: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", - "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The display name of the - timezone. - "dstSavings": 0, # Optional. The value of the daylight - saving time. - "id": "str", # Optional. The ID of the timezone. - "rawOffset": 0 # Optional. The raw offset of the timezone. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 } }, - "description": "str", # Optional. The description of the type definition. + "description": "str", "entityTypes": [ - "str" # Optional. Specifying a list of entityType names in the - classificationDef, ensures that classifications can only be applied to those - entityTypes. Any subtypes of the entity types inherit the restriction. Any - classificationDef subtypes inherit the parents entityTypes restrictions. Any - classificationDef subtypes can further restrict the parents entityTypes - restrictions by specifying a subset of the entityTypes. An empty entityTypes - list when there are no parent restrictions means there are no restrictions. - An empty entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes are - supplied, where one inherits from another, this will be rejected. This should - encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -27917,7 +22799,7 @@ async def get_classification_by_name(self, name: str, **kwargs: Any) -> _models. params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -27947,7 +22829,6 @@ async def get_classification_by_name(self, name: str, **kwargs: Any) -> _models. @distributed_trace_async async def get_entity_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasEntityDef: - # pylint: disable=line-too-long """Get the Entity definition for the given GUID. :param guid: The globally unique identifier of the entity. Required. @@ -27963,158 +22844,121 @@ async def get_entity_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasEntit response == { "attributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "category": "str", # Optional. The enum of type category. Known values are: - "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", - "ARRAY", "MAP", "RELATIONSHIP", and "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency of the date - format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines if grouping is - used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The maximum of - fraction digits. - "maximumIntegerDigits": 0, # Optional. The maximum of - integer digits. - "minimumFractionDigits": 0, # Optional. The minimum of - fraction digits. - "minimumIntegerDigits": 0, # Optional. The minimum of - integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. Determines if only - integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum of rounding mode. - Known values are: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", - "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The display name of the - timezone. - "dstSavings": 0, # Optional. The value of the daylight - saving time. - "id": "str", # Optional. The ID of the timezone. - "rawOffset": 0 # Optional. The raw offset of the timezone. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 } }, - "description": "str", # Optional. The description of the type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "name": "str", # Optional. The name of the type definition. + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isLegacyAttribute": bool, # Optional. Determines if it is a - legacy attribute. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. + "str": "str" }, - "relationshipTypeName": "str", # Optional. The name of the - relationship type. - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -28133,7 +22977,7 @@ async def get_entity_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasEntit params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -28163,7 +23007,6 @@ async def get_entity_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasEntit @distributed_trace_async async def get_entity_by_name(self, name: str, **kwargs: Any) -> _models.AtlasEntityDef: - # pylint: disable=line-too-long """Get the entity definition by its name (unique). :param name: The name of the entity. Required. @@ -28179,158 +23022,121 @@ async def get_entity_by_name(self, name: str, **kwargs: Any) -> _models.AtlasEnt response == { "attributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "category": "str", # Optional. The enum of type category. Known values are: - "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", - "ARRAY", "MAP", "RELATIONSHIP", and "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency of the date - format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines if grouping is - used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The maximum of - fraction digits. - "maximumIntegerDigits": 0, # Optional. The maximum of - integer digits. - "minimumFractionDigits": 0, # Optional. The minimum of - fraction digits. - "minimumIntegerDigits": 0, # Optional. The minimum of - integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. Determines if only - integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum of rounding mode. - Known values are: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", - "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The display name of the - timezone. - "dstSavings": 0, # Optional. The value of the daylight - saving time. - "id": "str", # Optional. The ID of the timezone. - "rawOffset": 0 # Optional. The raw offset of the timezone. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 } }, - "description": "str", # Optional. The description of the type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "name": "str", # Optional. The name of the type definition. + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isLegacyAttribute": bool, # Optional. Determines if it is a - legacy attribute. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. + "str": "str" }, - "relationshipTypeName": "str", # Optional. The name of the - relationship type. - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -28349,7 +23155,7 @@ async def get_entity_by_name(self, name: str, **kwargs: Any) -> _models.AtlasEnt params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -28379,7 +23185,6 @@ async def get_entity_by_name(self, name: str, **kwargs: Any) -> _models.AtlasEnt @distributed_trace_async async def get_enum_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasEnumDef: - # pylint: disable=line-too-long """Get the enum definition for the given GUID. :param guid: The globally unique identifier of the enum. Required. @@ -28393,87 +23198,71 @@ async def get_enum_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasEnumDef # response body for status code(s): 200 response == { - "category": "str", # Optional. The enum of type category. Known values are: - "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", - "ARRAY", "MAP", "RELATIONSHIP", and "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency of the date - format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines if grouping is - used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The maximum of - fraction digits. - "maximumIntegerDigits": 0, # Optional. The maximum of - integer digits. - "minimumFractionDigits": 0, # Optional. The minimum of - fraction digits. - "minimumIntegerDigits": 0, # Optional. The minimum of - integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. Determines if only - integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum of rounding mode. - Known values are: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", - "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The display name of the - timezone. - "dstSavings": 0, # Optional. The value of the daylight - saving time. - "id": "str", # Optional. The ID of the timezone. - "rawOffset": 0 # Optional. The raw offset of the timezone. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 } }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the type definition. + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The description of the - enum element definition. - "ordinal": 0, # Optional. The ordinal of the enum element - definition. - "value": "str" # Optional. The value of the enum element - definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -28492,7 +23281,7 @@ async def get_enum_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasEnumDef params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -28522,7 +23311,6 @@ async def get_enum_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasEnumDef @distributed_trace_async async def get_enum_by_name(self, name: str, **kwargs: Any) -> _models.AtlasEnumDef: - # pylint: disable=line-too-long """Get the enum definition by its name (unique). :param name: The name of the enum. Required. @@ -28536,87 +23324,71 @@ async def get_enum_by_name(self, name: str, **kwargs: Any) -> _models.AtlasEnumD # response body for status code(s): 200 response == { - "category": "str", # Optional. The enum of type category. Known values are: - "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", - "ARRAY", "MAP", "RELATIONSHIP", and "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency of the date - format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines if grouping is - used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The maximum of - fraction digits. - "maximumIntegerDigits": 0, # Optional. The maximum of - integer digits. - "minimumFractionDigits": 0, # Optional. The minimum of - fraction digits. - "minimumIntegerDigits": 0, # Optional. The minimum of - integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. Determines if only - integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum of rounding mode. - Known values are: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", - "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The display name of the - timezone. - "dstSavings": 0, # Optional. The value of the daylight - saving time. - "id": "str", # Optional. The ID of the timezone. - "rawOffset": 0 # Optional. The raw offset of the timezone. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 } }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the type definition. + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The description of the - enum element definition. - "ordinal": 0, # Optional. The ordinal of the enum element - definition. - "value": "str" # Optional. The value of the enum element - definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -28635,7 +23407,7 @@ async def get_enum_by_name(self, name: str, **kwargs: Any) -> _models.AtlasEnumD params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -28665,7 +23437,6 @@ async def get_enum_by_name(self, name: str, **kwargs: Any) -> _models.AtlasEnumD @distributed_trace_async async def get_relationship_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasRelationshipDef: - # pylint: disable=line-too-long """Get the relationship definition for the given GUID. :param guid: The globally unique identifier of the relationship. Required. @@ -28681,144 +23452,105 @@ async def get_relationship_by_id(self, guid: str, **kwargs: Any) -> _models.Atla response == { "attributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "category": "str", # Optional. The enum of type category. Known values are: - "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", - "ARRAY", "MAP", "RELATIONSHIP", and "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency of the date - format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines if grouping is - used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The maximum of - fraction digits. - "maximumIntegerDigits": 0, # Optional. The maximum of - integer digits. - "minimumFractionDigits": 0, # Optional. The minimum of - fraction digits. - "minimumIntegerDigits": 0, # Optional. The minimum of - integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. Determines if only - integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum of rounding mode. - Known values are: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", - "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The display name of the - timezone. - "dstSavings": 0, # Optional. The value of the daylight - saving time. - "id": "str", # Optional. The ID of the timezone. - "rawOffset": 0 # Optional. The raw offset of the timezone. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 } }, - "description": "str", # Optional. The description of the type definition. + "description": "str", "endDef1": { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". - "description": "str", # Optional. The description of the - relationship end definition. - "isContainer": bool, # Optional. Determines if it is container. - "isLegacyAttribute": bool, # Optional. Determines if it is a legacy - attribute. - "name": "str", # Optional. The name of the relationship end - definition. - "type": "str" # Optional. The type of the relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". - "description": "str", # Optional. The description of the - relationship end definition. - "isContainer": bool, # Optional. Determines if it is container. - "isLegacyAttribute": bool, # Optional. Determines if it is a legacy - attribute. - "name": "str", # Optional. The name of the relationship end - definition. - "type": "str" # Optional. The type of the relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type definition. + "str": "str" }, - "relationshipCategory": "str", # Optional. The Relationship category - determines the style of relationship around containment and lifecycle. UML - terminology is used for the values. ASSOCIATION is a relationship with no - containment. COMPOSITION and AGGREGATION are containment relationships. The - difference being in the lifecycles of the container and its children. In the - COMPOSITION case, the children cannot exist without the container. For - AGGREGATION, the life cycles of the container and children are totally - independent. Known values are: "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the relationship. - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the record. + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -28837,7 +23569,7 @@ async def get_relationship_by_id(self, guid: str, **kwargs: Any) -> _models.Atla params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -28867,7 +23599,6 @@ async def get_relationship_by_id(self, guid: str, **kwargs: Any) -> _models.Atla @distributed_trace_async async def get_relationship_by_name(self, name: str, **kwargs: Any) -> _models.AtlasRelationshipDef: - # pylint: disable=line-too-long """Get the relationship definition by its name (unique). :param name: The name of the relationship. Required. @@ -28883,144 +23614,105 @@ async def get_relationship_by_name(self, name: str, **kwargs: Any) -> _models.At response == { "attributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "category": "str", # Optional. The enum of type category. Known values are: - "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", - "ARRAY", "MAP", "RELATIONSHIP", and "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency of the date - format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines if grouping is - used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The maximum of - fraction digits. - "maximumIntegerDigits": 0, # Optional. The maximum of - integer digits. - "minimumFractionDigits": 0, # Optional. The minimum of - fraction digits. - "minimumIntegerDigits": 0, # Optional. The minimum of - integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. Determines if only - integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum of rounding mode. - Known values are: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", - "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The display name of the - timezone. - "dstSavings": 0, # Optional. The value of the daylight - saving time. - "id": "str", # Optional. The ID of the timezone. - "rawOffset": 0 # Optional. The raw offset of the timezone. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 } }, - "description": "str", # Optional. The description of the type definition. + "description": "str", "endDef1": { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". - "description": "str", # Optional. The description of the - relationship end definition. - "isContainer": bool, # Optional. Determines if it is container. - "isLegacyAttribute": bool, # Optional. Determines if it is a legacy - attribute. - "name": "str", # Optional. The name of the relationship end - definition. - "type": "str" # Optional. The type of the relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". - "description": "str", # Optional. The description of the - relationship end definition. - "isContainer": bool, # Optional. Determines if it is container. - "isLegacyAttribute": bool, # Optional. Determines if it is a legacy - attribute. - "name": "str", # Optional. The name of the relationship end - definition. - "type": "str" # Optional. The type of the relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type definition. + "str": "str" }, - "relationshipCategory": "str", # Optional. The Relationship category - determines the style of relationship around containment and lifecycle. UML - terminology is used for the values. ASSOCIATION is a relationship with no - containment. COMPOSITION and AGGREGATION are containment relationships. The - difference being in the lifecycles of the container and its children. In the - COMPOSITION case, the children cannot exist without the container. For - AGGREGATION, the life cycles of the container and children are totally - independent. Known values are: "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the relationship. - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the record. + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -29039,7 +23731,7 @@ async def get_relationship_by_name(self, name: str, **kwargs: Any) -> _models.At params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -29069,7 +23761,6 @@ async def get_relationship_by_name(self, name: str, **kwargs: Any) -> _models.At @distributed_trace_async async def get_struct_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasStructDef: - # pylint: disable=line-too-long """Get the struct definition for the given GUID. :param guid: The globally unique identifier of the struct. Required. @@ -29085,111 +23776,87 @@ async def get_struct_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasStruc response == { "attributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "category": "str", # Optional. The enum of type category. Known values are: - "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", - "ARRAY", "MAP", "RELATIONSHIP", and "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency of the date - format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines if grouping is - used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The maximum of - fraction digits. - "maximumIntegerDigits": 0, # Optional. The maximum of - integer digits. - "minimumFractionDigits": 0, # Optional. The minimum of - fraction digits. - "minimumIntegerDigits": 0, # Optional. The minimum of - integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. Determines if only - integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum of rounding mode. - Known values are: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", - "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The display name of the - timezone. - "dstSavings": 0, # Optional. The value of the daylight - saving time. - "id": "str", # Optional. The ID of the timezone. - "rawOffset": 0 # Optional. The raw offset of the timezone. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 } }, - "description": "str", # Optional. The description of the type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "name": "str", # Optional. The name of the type definition. + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -29208,7 +23875,7 @@ async def get_struct_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasStruc params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -29238,7 +23905,6 @@ async def get_struct_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasStruc @distributed_trace_async async def get_struct_by_name(self, name: str, **kwargs: Any) -> _models.AtlasStructDef: - # pylint: disable=line-too-long """Get the struct definition by its name (unique). :param name: The name of the struct. Required. @@ -29254,111 +23920,87 @@ async def get_struct_by_name(self, name: str, **kwargs: Any) -> _models.AtlasStr response == { "attributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "category": "str", # Optional. The enum of type category. Known values are: - "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", - "ARRAY", "MAP", "RELATIONSHIP", and "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency of the date - format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines if grouping is - used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The maximum of - fraction digits. - "maximumIntegerDigits": 0, # Optional. The maximum of - integer digits. - "minimumFractionDigits": 0, # Optional. The minimum of - fraction digits. - "minimumIntegerDigits": 0, # Optional. The minimum of - integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. Determines if only - integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum of rounding mode. - Known values are: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", - "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The display name of the - timezone. - "dstSavings": 0, # Optional. The value of the daylight - saving time. - "id": "str", # Optional. The ID of the timezone. - "rawOffset": 0 # Optional. The raw offset of the timezone. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 } }, - "description": "str", # Optional. The description of the type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "name": "str", # Optional. The name of the type definition. + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -29377,7 +24019,7 @@ async def get_struct_by_name(self, name: str, **kwargs: Any) -> _models.AtlasStr params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -29407,7 +24049,6 @@ async def get_struct_by_name(self, name: str, **kwargs: Any) -> _models.AtlasStr @distributed_trace_async async def get_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasTypeDef: - # pylint: disable=line-too-long """Get the type definition for the given GUID. :param guid: The globally unique identifier of the type. Required. @@ -29423,215 +24064,150 @@ async def get_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasTypeDef: response == { "attributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "category": "str", # Optional. The enum of type category. Known values are: - "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", - "ARRAY", "MAP", "RELATIONSHIP", and "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency of the date - format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines if grouping is - used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The maximum of - fraction digits. - "maximumIntegerDigits": 0, # Optional. The maximum of - integer digits. - "minimumFractionDigits": 0, # Optional. The minimum of - fraction digits. - "minimumIntegerDigits": 0, # Optional. The minimum of - integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. Determines if only - integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum of rounding mode. - Known values are: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", - "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The display name of the - timezone. - "dstSavings": 0, # Optional. The value of the daylight - saving time. - "id": "str", # Optional. The ID of the timezone. - "rawOffset": 0 # Optional. The raw offset of the timezone. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 } }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the type definition. + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The description of the - enum element definition. - "ordinal": 0, # Optional. The ordinal of the enum element - definition. - "value": "str" # Optional. The value of the enum element - definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], "endDef1": { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". - "description": "str", # Optional. The description of the - relationship end definition. - "isContainer": bool, # Optional. Determines if it is container. - "isLegacyAttribute": bool, # Optional. Determines if it is a legacy - attribute. - "name": "str", # Optional. The name of the relationship end - definition. - "type": "str" # Optional. The type of the relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". - "description": "str", # Optional. The description of the - relationship end definition. - "isContainer": bool, # Optional. Determines if it is container. - "isLegacyAttribute": bool, # Optional. Determines if it is a legacy - attribute. - "name": "str", # Optional. The name of the relationship end - definition. - "type": "str" # Optional. The type of the relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "entityTypes": [ - "str" # Optional. Specifying a list of entityType names in the - classificationDef, ensures that classifications can only be applied to those - entityTypes. Any subtypes of the entity types inherit the restriction. Any - classificationDef subtypes inherit the parents entityTypes restrictions. Any - classificationDef subtypes can further restrict the parents entityTypes - restrictions by specifying a subset of the entityTypes. An empty entityTypes - list when there are no parent restrictions means there are no restrictions. - An empty entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes are - supplied, where one inherits from another, this will be rejected. This should - encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isLegacyAttribute": bool, # Optional. Determines if it is a - legacy attribute. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. - }, - "relationshipTypeName": "str", # Optional. The name of the - relationship type. - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. - } - ], - "relationshipCategory": "str", # Optional. The Relationship category - determines the style of relationship around containment and lifecycle. UML - terminology is used for the values. ASSOCIATION is a relationship with no - containment. COMPOSITION and AGGREGATION are containment relationships. The - difference being in the lifecycles of the container and its children. In the - COMPOSITION case, the children cannot exist without the container. For - AGGREGATION, the life cycles of the container and children are totally - independent. Known values are: "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the relationship. - "serviceType": "str", # Optional. The service type. + "str": "str" + }, + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -29650,7 +24226,7 @@ async def get_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasTypeDef: params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -29680,7 +24256,6 @@ async def get_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasTypeDef: @distributed_trace_async async def get_by_name(self, name: str, **kwargs: Any) -> _models.AtlasTypeDef: - # pylint: disable=line-too-long """Get the type definition by its name (unique). :param name: The name of the type. Required. @@ -29696,215 +24271,150 @@ async def get_by_name(self, name: str, **kwargs: Any) -> _models.AtlasTypeDef: response == { "attributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "category": "str", # Optional. The enum of type category. Known values are: - "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", - "ARRAY", "MAP", "RELATIONSHIP", and "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency of the date - format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines if grouping is - used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The maximum of - fraction digits. - "maximumIntegerDigits": 0, # Optional. The maximum of - integer digits. - "minimumFractionDigits": 0, # Optional. The minimum of - fraction digits. - "minimumIntegerDigits": 0, # Optional. The minimum of - integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. Determines if only - integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum of rounding mode. - Known values are: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", - "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The display name of the - timezone. - "dstSavings": 0, # Optional. The value of the daylight - saving time. - "id": "str", # Optional. The ID of the timezone. - "rawOffset": 0 # Optional. The raw offset of the timezone. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 } }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the type definition. + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The description of the - enum element definition. - "ordinal": 0, # Optional. The ordinal of the enum element - definition. - "value": "str" # Optional. The value of the enum element - definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], "endDef1": { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". - "description": "str", # Optional. The description of the - relationship end definition. - "isContainer": bool, # Optional. Determines if it is container. - "isLegacyAttribute": bool, # Optional. Determines if it is a legacy - attribute. - "name": "str", # Optional. The name of the relationship end - definition. - "type": "str" # Optional. The type of the relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". - "description": "str", # Optional. The description of the - relationship end definition. - "isContainer": bool, # Optional. Determines if it is container. - "isLegacyAttribute": bool, # Optional. Determines if it is a legacy - attribute. - "name": "str", # Optional. The name of the relationship end - definition. - "type": "str" # Optional. The type of the relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "entityTypes": [ - "str" # Optional. Specifying a list of entityType names in the - classificationDef, ensures that classifications can only be applied to those - entityTypes. Any subtypes of the entity types inherit the restriction. Any - classificationDef subtypes inherit the parents entityTypes restrictions. Any - classificationDef subtypes can further restrict the parents entityTypes - restrictions by specifying a subset of the entityTypes. An empty entityTypes - list when there are no parent restrictions means there are no restrictions. - An empty entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes are - supplied, where one inherits from another, this will be rejected. This should - encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isLegacyAttribute": bool, # Optional. Determines if it is a - legacy attribute. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. - }, - "relationshipTypeName": "str", # Optional. The name of the - relationship type. - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. - } - ], - "relationshipCategory": "str", # Optional. The Relationship category - determines the style of relationship around containment and lifecycle. UML - terminology is used for the values. ASSOCIATION is a relationship with no - containment. COMPOSITION and AGGREGATION are containment relationships. The - difference being in the lifecycles of the container and its children. In the - COMPOSITION case, the children cannot exist without the container. For - AGGREGATION, the life cycles of the container and children are totally - independent. Known values are: "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the relationship. - "serviceType": "str", # Optional. The service type. + "str": "str" + }, + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -29923,7 +24433,7 @@ async def get_by_name(self, name: str, **kwargs: Any) -> _models.AtlasTypeDef: params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -29961,7 +24471,7 @@ async def delete(self, name: str, **kwargs: Any) -> None: # pylint: disable=inc :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -29980,7 +24490,7 @@ async def delete(self, name: str, **kwargs: Any) -> None: # pylint: disable=inc params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -29992,8 +24502,6 @@ async def delete(self, name: str, **kwargs: Any) -> None: # pylint: disable=inc response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -30009,7 +24517,6 @@ async def get( type: Optional[Union[str, _models.TypeCategory]] = None, **kwargs: Any ) -> _models.AtlasTypesDef: - # pylint: disable=line-too-long """List all type definitions in bulk. :keyword include_term_template: Whether include termtemplatedef when return all typedefs. @@ -30033,948 +24540,636 @@ async def get( { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "classificationDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "entityTypes": [ - "str" # Optional. Specifying a list of entityType - names in the classificationDef, ensures that classifications can only - be applied to those entityTypes. Any subtypes of the entity types - inherit the restriction. Any classificationDef subtypes inherit the - parents entityTypes restrictions. Any classificationDef subtypes can - further restrict the parents entityTypes restrictions by specifying a - subset of the entityTypes. An empty entityTypes list when there are - no parent restrictions means there are no restrictions. An empty - entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes - are supplied, where one inherits from another, this will be rejected. - This should encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "entityDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isLegacyAttribute": bool, # Optional. - Determines if it is a legacy attribute. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "relationshipTypeName": "str", # Optional. - The name of the relationship type. - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "enumDefs": [ { - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The - description of the enum element definition. - "ordinal": 0, # Optional. The ordinal of the - enum element definition. - "value": "str" # Optional. The value of the - enum element definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "relationshipDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "endDef1": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "endDef1": { + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. - }, - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" + }, + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. - }, - "relationshipCategory": "str", # Optional. The Relationship - category determines the style of relationship around containment and - lifecycle. UML terminology is used for the values. ASSOCIATION is a - relationship with no containment. COMPOSITION and AGGREGATION are - containment relationships. The difference being in the lifecycles of the - container and its children. In the COMPOSITION case, the children cannot - exist without the container. For AGGREGATION, the life cycles of the - container and children are totally independent. Known values are: - "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the - relationship. - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "str": "str" + }, + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "structDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "termTemplateDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -30995,7 +25190,7 @@ async def get( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -31027,12 +25222,9 @@ async def get( async def batch_create( self, body: _models.AtlasTypesDef, *, content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasTypesDef: - # pylint: disable=line-too-long - """Create all atlas type definitions in bulk, only new definitions will be - created. - Any changes to the existing definitions will be discarded. + """Create all atlas type definitions in bulk. Please avoid recreating existing types. - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.AtlasTypesDef :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -31050,943 +25242,631 @@ async def batch_create( { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "classificationDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "entityTypes": [ - "str" # Optional. Specifying a list of entityType - names in the classificationDef, ensures that classifications can only - be applied to those entityTypes. Any subtypes of the entity types - inherit the restriction. Any classificationDef subtypes inherit the - parents entityTypes restrictions. Any classificationDef subtypes can - further restrict the parents entityTypes restrictions by specifying a - subset of the entityTypes. An empty entityTypes list when there are - no parent restrictions means there are no restrictions. An empty - entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes - are supplied, where one inherits from another, this will be rejected. - This should encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "entityDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isLegacyAttribute": bool, # Optional. - Determines if it is a legacy attribute. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "relationshipTypeName": "str", # Optional. - The name of the relationship type. - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "enumDefs": [ { - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The - description of the enum element definition. - "ordinal": 0, # Optional. The ordinal of the - enum element definition. - "value": "str" # Optional. The value of the - enum element definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "relationshipDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "endDef1": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. - }, - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" + }, + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. - }, - "relationshipCategory": "str", # Optional. The Relationship - category determines the style of relationship around containment and - lifecycle. UML terminology is used for the values. ASSOCIATION is a - relationship with no containment. COMPOSITION and AGGREGATION are - containment relationships. The difference being in the lifecycles of the - container and its children. In the COMPOSITION case, the children cannot - exist without the container. For AGGREGATION, the life cycles of the - container and children are totally independent. Known values are: - "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the - relationship. - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "str": "str" + }, + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "structDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "termTemplateDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ] } @@ -31997,943 +25877,631 @@ async def batch_create( { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "classificationDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "entityTypes": [ - "str" # Optional. Specifying a list of entityType - names in the classificationDef, ensures that classifications can only - be applied to those entityTypes. Any subtypes of the entity types - inherit the restriction. Any classificationDef subtypes inherit the - parents entityTypes restrictions. Any classificationDef subtypes can - further restrict the parents entityTypes restrictions by specifying a - subset of the entityTypes. An empty entityTypes list when there are - no parent restrictions means there are no restrictions. An empty - entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes - are supplied, where one inherits from another, this will be rejected. - This should encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "entityDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isLegacyAttribute": bool, # Optional. - Determines if it is a legacy attribute. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "relationshipTypeName": "str", # Optional. - The name of the relationship type. - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "enumDefs": [ { - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The - description of the enum element definition. - "ordinal": 0, # Optional. The ordinal of the - enum element definition. - "value": "str" # Optional. The value of the - enum element definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "relationshipDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "endDef1": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. - }, - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" + }, + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. - }, - "relationshipCategory": "str", # Optional. The Relationship - category determines the style of relationship around containment and - lifecycle. UML terminology is used for the values. ASSOCIATION is a - relationship with no containment. COMPOSITION and AGGREGATION are - containment relationships. The difference being in the lifecycles of the - container and its children. In the COMPOSITION case, the children cannot - exist without the container. For AGGREGATION, the life cycles of the - container and children are totally independent. Known values are: - "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the - relationship. - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "str": "str" + }, + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "structDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "termTemplateDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ] } @@ -32943,12 +26511,9 @@ async def batch_create( async def batch_create( self, body: JSON, *, content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasTypesDef: - # pylint: disable=line-too-long - """Create all atlas type definitions in bulk, only new definitions will be - created. - Any changes to the existing definitions will be discarded. + """Create all atlas type definitions in bulk. Please avoid recreating existing types. - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -32966,943 +26531,631 @@ async def batch_create( { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "classificationDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "entityTypes": [ - "str" # Optional. Specifying a list of entityType - names in the classificationDef, ensures that classifications can only - be applied to those entityTypes. Any subtypes of the entity types - inherit the restriction. Any classificationDef subtypes inherit the - parents entityTypes restrictions. Any classificationDef subtypes can - further restrict the parents entityTypes restrictions by specifying a - subset of the entityTypes. An empty entityTypes list when there are - no parent restrictions means there are no restrictions. An empty - entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes - are supplied, where one inherits from another, this will be rejected. - This should encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "entityDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isLegacyAttribute": bool, # Optional. - Determines if it is a legacy attribute. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "relationshipTypeName": "str", # Optional. - The name of the relationship type. - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "enumDefs": [ { - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The - description of the enum element definition. - "ordinal": 0, # Optional. The ordinal of the - enum element definition. - "value": "str" # Optional. The value of the - enum element definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "relationshipDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "endDef1": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. - }, - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" + }, + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. - }, - "relationshipCategory": "str", # Optional. The Relationship - category determines the style of relationship around containment and - lifecycle. UML terminology is used for the values. ASSOCIATION is a - relationship with no containment. COMPOSITION and AGGREGATION are - containment relationships. The difference being in the lifecycles of the - container and its children. In the COMPOSITION case, the children cannot - exist without the container. For AGGREGATION, the life cycles of the - container and children are totally independent. Known values are: - "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the - relationship. - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "str": "str" + }, + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "structDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "termTemplateDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ] } @@ -33912,12 +27165,9 @@ async def batch_create( async def batch_create( self, body: IO[bytes], *, content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasTypesDef: - # pylint: disable=line-too-long - """Create all atlas type definitions in bulk, only new definitions will be - created. - Any changes to the existing definitions will be discarded. + """Create all atlas type definitions in bulk. Please avoid recreating existing types. - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword content_type: Body Parameter content-type. Content type parameter for binary body. Default value is "application/json". @@ -33935,943 +27185,631 @@ async def batch_create( { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "classificationDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "entityTypes": [ - "str" # Optional. Specifying a list of entityType - names in the classificationDef, ensures that classifications can only - be applied to those entityTypes. Any subtypes of the entity types - inherit the restriction. Any classificationDef subtypes inherit the - parents entityTypes restrictions. Any classificationDef subtypes can - further restrict the parents entityTypes restrictions by specifying a - subset of the entityTypes. An empty entityTypes list when there are - no parent restrictions means there are no restrictions. An empty - entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes - are supplied, where one inherits from another, this will be rejected. - This should encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "entityDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isLegacyAttribute": bool, # Optional. - Determines if it is a legacy attribute. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "relationshipTypeName": "str", # Optional. - The name of the relationship type. - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "enumDefs": [ { - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The - description of the enum element definition. - "ordinal": 0, # Optional. The ordinal of the - enum element definition. - "value": "str" # Optional. The value of the - enum element definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "relationshipDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "endDef1": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. - }, - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" + }, + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. - }, - "relationshipCategory": "str", # Optional. The Relationship - category determines the style of relationship around containment and - lifecycle. UML terminology is used for the values. ASSOCIATION is a - relationship with no containment. COMPOSITION and AGGREGATION are - containment relationships. The difference being in the lifecycles of the - container and its children. In the COMPOSITION case, the children cannot - exist without the container. For AGGREGATION, the life cycles of the - container and children are totally independent. Known values are: - "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the - relationship. - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "str": "str" + }, + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "structDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "termTemplateDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ] } @@ -34881,12 +27819,10 @@ async def batch_create( async def batch_create( self, body: Union[_models.AtlasTypesDef, JSON, IO[bytes]], **kwargs: Any ) -> _models.AtlasTypesDef: - # pylint: disable=line-too-long - """Create all atlas type definitions in bulk, only new definitions will be - created. - Any changes to the existing definitions will be discarded. + """Create all atlas type definitions in bulk. Please avoid recreating existing types. - :param body: Is one of the following types: AtlasTypesDef, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: AtlasTypesDef, JSON, IO[bytes] + Required. :type body: ~azure.purview.datamap.models.AtlasTypesDef or JSON or IO[bytes] :return: AtlasTypesDef. The AtlasTypesDef is compatible with MutableMapping :rtype: ~azure.purview.datamap.models.AtlasTypesDef @@ -34901,943 +27837,631 @@ async def batch_create( { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "classificationDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "entityTypes": [ - "str" # Optional. Specifying a list of entityType - names in the classificationDef, ensures that classifications can only - be applied to those entityTypes. Any subtypes of the entity types - inherit the restriction. Any classificationDef subtypes inherit the - parents entityTypes restrictions. Any classificationDef subtypes can - further restrict the parents entityTypes restrictions by specifying a - subset of the entityTypes. An empty entityTypes list when there are - no parent restrictions means there are no restrictions. An empty - entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes - are supplied, where one inherits from another, this will be rejected. - This should encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "entityDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isLegacyAttribute": bool, # Optional. - Determines if it is a legacy attribute. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "relationshipTypeName": "str", # Optional. - The name of the relationship type. - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "enumDefs": [ { - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The - description of the enum element definition. - "ordinal": 0, # Optional. The ordinal of the - enum element definition. - "value": "str" # Optional. The value of the - enum element definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "relationshipDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "endDef1": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. - }, - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" + }, + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. - }, - "relationshipCategory": "str", # Optional. The Relationship - category determines the style of relationship around containment and - lifecycle. UML terminology is used for the values. ASSOCIATION is a - relationship with no containment. COMPOSITION and AGGREGATION are - containment relationships. The difference being in the lifecycles of the - container and its children. In the COMPOSITION case, the children cannot - exist without the container. For AGGREGATION, the life cycles of the - container and children are totally independent. Known values are: - "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the - relationship. - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "str": "str" + }, + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "structDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "termTemplateDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ] } @@ -35848,948 +28472,636 @@ async def batch_create( { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "classificationDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "entityTypes": [ - "str" # Optional. Specifying a list of entityType - names in the classificationDef, ensures that classifications can only - be applied to those entityTypes. Any subtypes of the entity types - inherit the restriction. Any classificationDef subtypes inherit the - parents entityTypes restrictions. Any classificationDef subtypes can - further restrict the parents entityTypes restrictions by specifying a - subset of the entityTypes. An empty entityTypes list when there are - no parent restrictions means there are no restrictions. An empty - entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes - are supplied, where one inherits from another, this will be rejected. - This should encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "entityDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isLegacyAttribute": bool, # Optional. - Determines if it is a legacy attribute. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "relationshipTypeName": "str", # Optional. - The name of the relationship type. - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "enumDefs": [ { - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The - description of the enum element definition. - "ordinal": 0, # Optional. The ordinal of the - enum element definition. - "value": "str" # Optional. The value of the - enum element definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "relationshipDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "endDef1": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. - }, - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" + }, + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. - }, - "relationshipCategory": "str", # Optional. The Relationship - category determines the style of relationship around containment and - lifecycle. UML terminology is used for the values. ASSOCIATION is a - relationship with no containment. COMPOSITION and AGGREGATION are - containment relationships. The difference being in the lifecycles of the - container and its children. In the COMPOSITION case, the children cannot - exist without the container. For AGGREGATION, the life cycles of the - container and children are totally independent. Known values are: - "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the - relationship. - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "str": "str" + }, + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "structDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "termTemplateDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -36817,7 +29129,7 @@ async def batch_create( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -36849,11 +29161,10 @@ async def batch_create( async def batch_update( self, body: _models.AtlasTypesDef, *, content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasTypesDef: - # pylint: disable=line-too-long """Update all types in bulk, changes detected in the type definitions would be persisted. - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.AtlasTypesDef :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -36871,943 +29182,631 @@ async def batch_update( { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "classificationDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "entityTypes": [ - "str" # Optional. Specifying a list of entityType - names in the classificationDef, ensures that classifications can only - be applied to those entityTypes. Any subtypes of the entity types - inherit the restriction. Any classificationDef subtypes inherit the - parents entityTypes restrictions. Any classificationDef subtypes can - further restrict the parents entityTypes restrictions by specifying a - subset of the entityTypes. An empty entityTypes list when there are - no parent restrictions means there are no restrictions. An empty - entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes - are supplied, where one inherits from another, this will be rejected. - This should encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "entityDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isLegacyAttribute": bool, # Optional. - Determines if it is a legacy attribute. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "relationshipTypeName": "str", # Optional. - The name of the relationship type. - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "enumDefs": [ { - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The - description of the enum element definition. - "ordinal": 0, # Optional. The ordinal of the - enum element definition. - "value": "str" # Optional. The value of the - enum element definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "relationshipDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "endDef1": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. - }, - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" + }, + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. - }, - "relationshipCategory": "str", # Optional. The Relationship - category determines the style of relationship around containment and - lifecycle. UML terminology is used for the values. ASSOCIATION is a - relationship with no containment. COMPOSITION and AGGREGATION are - containment relationships. The difference being in the lifecycles of the - container and its children. In the COMPOSITION case, the children cannot - exist without the container. For AGGREGATION, the life cycles of the - container and children are totally independent. Known values are: - "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the - relationship. - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "str": "str" + }, + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "structDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "termTemplateDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ] } @@ -37818,943 +29817,631 @@ async def batch_update( { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "classificationDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "entityTypes": [ - "str" # Optional. Specifying a list of entityType - names in the classificationDef, ensures that classifications can only - be applied to those entityTypes. Any subtypes of the entity types - inherit the restriction. Any classificationDef subtypes inherit the - parents entityTypes restrictions. Any classificationDef subtypes can - further restrict the parents entityTypes restrictions by specifying a - subset of the entityTypes. An empty entityTypes list when there are - no parent restrictions means there are no restrictions. An empty - entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes - are supplied, where one inherits from another, this will be rejected. - This should encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "entityDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isLegacyAttribute": bool, # Optional. - Determines if it is a legacy attribute. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "relationshipTypeName": "str", # Optional. - The name of the relationship type. - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "enumDefs": [ { - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The - description of the enum element definition. - "ordinal": 0, # Optional. The ordinal of the - enum element definition. - "value": "str" # Optional. The value of the - enum element definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "relationshipDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "endDef1": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. - }, - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" + }, + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. - }, - "relationshipCategory": "str", # Optional. The Relationship - category determines the style of relationship around containment and - lifecycle. UML terminology is used for the values. ASSOCIATION is a - relationship with no containment. COMPOSITION and AGGREGATION are - containment relationships. The difference being in the lifecycles of the - container and its children. In the COMPOSITION case, the children cannot - exist without the container. For AGGREGATION, the life cycles of the - container and children are totally independent. Known values are: - "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the - relationship. - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "str": "str" + }, + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "structDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "termTemplateDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ] } @@ -38764,11 +30451,10 @@ async def batch_update( async def batch_update( self, body: JSON, *, content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasTypesDef: - # pylint: disable=line-too-long """Update all types in bulk, changes detected in the type definitions would be persisted. - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -38786,943 +30472,631 @@ async def batch_update( { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "classificationDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "entityTypes": [ - "str" # Optional. Specifying a list of entityType - names in the classificationDef, ensures that classifications can only - be applied to those entityTypes. Any subtypes of the entity types - inherit the restriction. Any classificationDef subtypes inherit the - parents entityTypes restrictions. Any classificationDef subtypes can - further restrict the parents entityTypes restrictions by specifying a - subset of the entityTypes. An empty entityTypes list when there are - no parent restrictions means there are no restrictions. An empty - entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes - are supplied, where one inherits from another, this will be rejected. - This should encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "entityDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isLegacyAttribute": bool, # Optional. - Determines if it is a legacy attribute. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "relationshipTypeName": "str", # Optional. - The name of the relationship type. - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "enumDefs": [ { - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The - description of the enum element definition. - "ordinal": 0, # Optional. The ordinal of the - enum element definition. - "value": "str" # Optional. The value of the - enum element definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "relationshipDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "endDef1": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. - }, - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" + }, + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. - }, - "relationshipCategory": "str", # Optional. The Relationship - category determines the style of relationship around containment and - lifecycle. UML terminology is used for the values. ASSOCIATION is a - relationship with no containment. COMPOSITION and AGGREGATION are - containment relationships. The difference being in the lifecycles of the - container and its children. In the COMPOSITION case, the children cannot - exist without the container. For AGGREGATION, the life cycles of the - container and children are totally independent. Known values are: - "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the - relationship. - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "str": "str" + }, + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "structDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "termTemplateDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ] } @@ -39732,11 +31106,10 @@ async def batch_update( async def batch_update( self, body: IO[bytes], *, content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasTypesDef: - # pylint: disable=line-too-long """Update all types in bulk, changes detected in the type definitions would be persisted. - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword content_type: Body Parameter content-type. Content type parameter for binary body. Default value is "application/json". @@ -39754,943 +31127,631 @@ async def batch_update( { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "classificationDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "entityTypes": [ - "str" # Optional. Specifying a list of entityType - names in the classificationDef, ensures that classifications can only - be applied to those entityTypes. Any subtypes of the entity types - inherit the restriction. Any classificationDef subtypes inherit the - parents entityTypes restrictions. Any classificationDef subtypes can - further restrict the parents entityTypes restrictions by specifying a - subset of the entityTypes. An empty entityTypes list when there are - no parent restrictions means there are no restrictions. An empty - entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes - are supplied, where one inherits from another, this will be rejected. - This should encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "entityDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isLegacyAttribute": bool, # Optional. - Determines if it is a legacy attribute. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "relationshipTypeName": "str", # Optional. - The name of the relationship type. - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "enumDefs": [ { - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The - description of the enum element definition. - "ordinal": 0, # Optional. The ordinal of the - enum element definition. - "value": "str" # Optional. The value of the - enum element definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "relationshipDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "endDef1": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. - }, - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" + }, + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. - }, - "relationshipCategory": "str", # Optional. The Relationship - category determines the style of relationship around containment and - lifecycle. UML terminology is used for the values. ASSOCIATION is a - relationship with no containment. COMPOSITION and AGGREGATION are - containment relationships. The difference being in the lifecycles of the - container and its children. In the COMPOSITION case, the children cannot - exist without the container. For AGGREGATION, the life cycles of the - container and children are totally independent. Known values are: - "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the - relationship. - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "str": "str" + }, + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "structDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "termTemplateDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ] } @@ -40700,11 +31761,11 @@ async def batch_update( async def batch_update( self, body: Union[_models.AtlasTypesDef, JSON, IO[bytes]], **kwargs: Any ) -> _models.AtlasTypesDef: - # pylint: disable=line-too-long """Update all types in bulk, changes detected in the type definitions would be persisted. - :param body: Is one of the following types: AtlasTypesDef, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: AtlasTypesDef, JSON, IO[bytes] + Required. :type body: ~azure.purview.datamap.models.AtlasTypesDef or JSON or IO[bytes] :return: AtlasTypesDef. The AtlasTypesDef is compatible with MutableMapping :rtype: ~azure.purview.datamap.models.AtlasTypesDef @@ -40719,943 +31780,631 @@ async def batch_update( { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "classificationDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "entityTypes": [ - "str" # Optional. Specifying a list of entityType - names in the classificationDef, ensures that classifications can only - be applied to those entityTypes. Any subtypes of the entity types - inherit the restriction. Any classificationDef subtypes inherit the - parents entityTypes restrictions. Any classificationDef subtypes can - further restrict the parents entityTypes restrictions by specifying a - subset of the entityTypes. An empty entityTypes list when there are - no parent restrictions means there are no restrictions. An empty - entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes - are supplied, where one inherits from another, this will be rejected. - This should encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "entityDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isLegacyAttribute": bool, # Optional. - Determines if it is a legacy attribute. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "relationshipTypeName": "str", # Optional. - The name of the relationship type. - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "enumDefs": [ { - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The - description of the enum element definition. - "ordinal": 0, # Optional. The ordinal of the - enum element definition. - "value": "str" # Optional. The value of the - enum element definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "relationshipDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "endDef1": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. - }, - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" + }, + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. - }, - "relationshipCategory": "str", # Optional. The Relationship - category determines the style of relationship around containment and - lifecycle. UML terminology is used for the values. ASSOCIATION is a - relationship with no containment. COMPOSITION and AGGREGATION are - containment relationships. The difference being in the lifecycles of the - container and its children. In the COMPOSITION case, the children cannot - exist without the container. For AGGREGATION, the life cycles of the - container and children are totally independent. Known values are: - "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the - relationship. - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "str": "str" + }, + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "structDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "termTemplateDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ] } @@ -41666,948 +32415,636 @@ async def batch_update( { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "classificationDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "entityTypes": [ - "str" # Optional. Specifying a list of entityType - names in the classificationDef, ensures that classifications can only - be applied to those entityTypes. Any subtypes of the entity types - inherit the restriction. Any classificationDef subtypes inherit the - parents entityTypes restrictions. Any classificationDef subtypes can - further restrict the parents entityTypes restrictions by specifying a - subset of the entityTypes. An empty entityTypes list when there are - no parent restrictions means there are no restrictions. An empty - entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes - are supplied, where one inherits from another, this will be rejected. - This should encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "entityDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isLegacyAttribute": bool, # Optional. - Determines if it is a legacy attribute. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "relationshipTypeName": "str", # Optional. - The name of the relationship type. - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "enumDefs": [ { - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The - description of the enum element definition. - "ordinal": 0, # Optional. The ordinal of the - enum element definition. - "value": "str" # Optional. The value of the - enum element definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "relationshipDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "endDef1": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. - }, - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" + }, + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. - }, - "relationshipCategory": "str", # Optional. The Relationship - category determines the style of relationship around containment and - lifecycle. UML terminology is used for the values. ASSOCIATION is a - relationship with no containment. COMPOSITION and AGGREGATION are - containment relationships. The difference being in the lifecycles of the - container and its children. In the COMPOSITION case, the children cannot - exist without the container. For AGGREGATION, the life cycles of the - container and children are totally independent. Known values are: - "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the - relationship. - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "str": "str" + }, + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "structDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "termTemplateDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -42635,7 +33072,7 @@ async def batch_update( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -42667,10 +33104,9 @@ async def batch_update( async def batch_delete( # pylint: disable=inconsistent-return-statements self, body: _models.AtlasTypesDef, *, content_type: str = "application/json", **kwargs: Any ) -> None: - # pylint: disable=line-too-long """Delete API for all types in bulk. - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.AtlasTypesDef :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -42688,943 +33124,631 @@ async def batch_delete( # pylint: disable=inconsistent-return-statements { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "classificationDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "entityTypes": [ - "str" # Optional. Specifying a list of entityType - names in the classificationDef, ensures that classifications can only - be applied to those entityTypes. Any subtypes of the entity types - inherit the restriction. Any classificationDef subtypes inherit the - parents entityTypes restrictions. Any classificationDef subtypes can - further restrict the parents entityTypes restrictions by specifying a - subset of the entityTypes. An empty entityTypes list when there are - no parent restrictions means there are no restrictions. An empty - entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes - are supplied, where one inherits from another, this will be rejected. - This should encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "entityDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isLegacyAttribute": bool, # Optional. - Determines if it is a legacy attribute. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "relationshipTypeName": "str", # Optional. - The name of the relationship type. - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "enumDefs": [ { - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The - description of the enum element definition. - "ordinal": 0, # Optional. The ordinal of the - enum element definition. - "value": "str" # Optional. The value of the - enum element definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "relationshipDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "endDef1": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. - }, - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" + }, + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. - }, - "relationshipCategory": "str", # Optional. The Relationship - category determines the style of relationship around containment and - lifecycle. UML terminology is used for the values. ASSOCIATION is a - relationship with no containment. COMPOSITION and AGGREGATION are - containment relationships. The difference being in the lifecycles of the - container and its children. In the COMPOSITION case, the children cannot - exist without the container. For AGGREGATION, the life cycles of the - container and children are totally independent. Known values are: - "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the - relationship. - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "str": "str" + }, + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "structDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "termTemplateDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ] } @@ -43636,7 +33760,7 @@ async def batch_delete( # pylint: disable=inconsistent-return-statements ) -> None: """Delete API for all types in bulk. - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -43652,7 +33776,7 @@ async def batch_delete( # pylint: disable=inconsistent-return-statements ) -> None: """Delete API for all types in bulk. - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword content_type: Body Parameter content-type. Content type parameter for binary body. Default value is "application/json". @@ -43666,10 +33790,10 @@ async def batch_delete( # pylint: disable=inconsistent-return-statements async def batch_delete( # pylint: disable=inconsistent-return-statements self, body: Union[_models.AtlasTypesDef, JSON, IO[bytes]], **kwargs: Any ) -> None: - # pylint: disable=line-too-long """Delete API for all types in bulk. - :param body: Is one of the following types: AtlasTypesDef, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: AtlasTypesDef, JSON, IO[bytes] + Required. :type body: ~azure.purview.datamap.models.AtlasTypesDef or JSON or IO[bytes] :return: None :rtype: None @@ -43684,948 +33808,636 @@ async def batch_delete( # pylint: disable=inconsistent-return-statements { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "classificationDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "entityTypes": [ - "str" # Optional. Specifying a list of entityType - names in the classificationDef, ensures that classifications can only - be applied to those entityTypes. Any subtypes of the entity types - inherit the restriction. Any classificationDef subtypes inherit the - parents entityTypes restrictions. Any classificationDef subtypes can - further restrict the parents entityTypes restrictions by specifying a - subset of the entityTypes. An empty entityTypes list when there are - no parent restrictions means there are no restrictions. An empty - entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes - are supplied, where one inherits from another, this will be rejected. - This should encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "entityDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isLegacyAttribute": bool, # Optional. - Determines if it is a legacy attribute. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "relationshipTypeName": "str", # Optional. - The name of the relationship type. - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "enumDefs": [ { - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The - description of the enum element definition. - "ordinal": 0, # Optional. The ordinal of the - enum element definition. - "value": "str" # Optional. The value of the - enum element definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "relationshipDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "endDef1": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. - }, - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" + }, + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. - }, - "relationshipCategory": "str", # Optional. The Relationship - category determines the style of relationship around containment and - lifecycle. UML terminology is used for the values. ASSOCIATION is a - relationship with no containment. COMPOSITION and AGGREGATION are - containment relationships. The difference being in the lifecycles of the - container and its children. In the COMPOSITION case, the children cannot - exist without the container. For AGGREGATION, the life cycles of the - container and children are totally independent. Known values are: - "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the - relationship. - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "str": "str" + }, + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "structDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "termTemplateDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -44653,7 +34465,7 @@ async def batch_delete( # pylint: disable=inconsistent-return-statements params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -44665,8 +34477,6 @@ async def batch_delete( # pylint: disable=inconsistent-return-statements response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -44682,7 +34492,6 @@ async def get_headers( type: Optional[Union[str, _models.TypeCategory]] = None, **kwargs: Any ) -> List[_models.AtlasTypeDefHeader]: - # pylint: disable=line-too-long """List all type definitions returned as a list of minimal information header. :keyword include_term_template: Whether include termtemplatedef when return all typedefs. @@ -44703,16 +34512,13 @@ async def get_headers( # response body for status code(s): 200 response == [ { - "category": "str", # Optional. The enum of type category. Known - values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "guid": "str", # Optional. The GUID of the type definition. - "name": "str" # Optional. The name of the type definition. + "category": "str", + "guid": "str", + "name": "str" } ] """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -44733,7 +34539,7 @@ async def get_headers( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -44763,7 +34569,6 @@ async def get_headers( @distributed_trace_async async def get_term_template_by_id(self, guid: str, **kwargs: Any) -> _models.TermTemplateDef: - # pylint: disable=line-too-long """Get the term template definition for the given GUID. :param guid: The globally unique identifier of the term template. Required. @@ -44779,111 +34584,87 @@ async def get_term_template_by_id(self, guid: str, **kwargs: Any) -> _models.Ter response == { "attributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "category": "str", # Optional. The enum of type category. Known values are: - "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", - "ARRAY", "MAP", "RELATIONSHIP", and "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency of the date - format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines if grouping is - used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The maximum of - fraction digits. - "maximumIntegerDigits": 0, # Optional. The maximum of - integer digits. - "minimumFractionDigits": 0, # Optional. The minimum of - fraction digits. - "minimumIntegerDigits": 0, # Optional. The minimum of - integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. Determines if only - integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum of rounding mode. - Known values are: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", - "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The display name of the - timezone. - "dstSavings": 0, # Optional. The value of the daylight - saving time. - "id": "str", # Optional. The ID of the timezone. - "rawOffset": 0 # Optional. The raw offset of the timezone. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 } }, - "description": "str", # Optional. The description of the type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "name": "str", # Optional. The name of the type definition. + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -44903,7 +34684,7 @@ async def get_term_template_by_id(self, guid: str, **kwargs: Any) -> _models.Ter params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -44933,7 +34714,6 @@ async def get_term_template_by_id(self, guid: str, **kwargs: Any) -> _models.Ter @distributed_trace_async async def get_term_template_by_name(self, name: str, **kwargs: Any) -> _models.TermTemplateDef: - # pylint: disable=line-too-long """Get the term template definition by its name (unique). :param name: The unique name of the term template. Required. @@ -44949,111 +34729,87 @@ async def get_term_template_by_name(self, name: str, **kwargs: Any) -> _models.T response == { "attributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "category": "str", # Optional. The enum of type category. Known values are: - "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", - "ARRAY", "MAP", "RELATIONSHIP", and "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency of the date - format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines if grouping is - used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The maximum of - fraction digits. - "maximumIntegerDigits": 0, # Optional. The maximum of - integer digits. - "minimumFractionDigits": 0, # Optional. The minimum of - fraction digits. - "minimumIntegerDigits": 0, # Optional. The minimum of - integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. Determines if only - integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum of rounding mode. - Known values are: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", - "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The display name of the - timezone. - "dstSavings": 0, # Optional. The value of the daylight - saving time. - "id": "str", # Optional. The ID of the timezone. - "rawOffset": 0 # Optional. The raw offset of the timezone. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 } }, - "description": "str", # Optional. The description of the type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "name": "str", # Optional. The name of the type definition. + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -45073,7 +34829,7 @@ async def get_term_template_by_name(self, name: str, **kwargs: Any) -> _models.T params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) diff --git a/sdk/purview/azure-purview-datamap/azure/purview/datamap/models/_models.py b/sdk/purview/azure-purview-datamap/azure/purview/datamap/models/_models.py index 2f689398273b..5dc5f7612127 100644 --- a/sdk/purview/azure-purview-datamap/azure/purview/datamap/models/_models.py +++ b/sdk/purview/azure-purview-datamap/azure/purview/datamap/models/_models.py @@ -95,8 +95,7 @@ def __init__( type_name: Optional[str] = None, values_max_count: Optional[int] = None, values_min_count: Optional[int] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -198,8 +197,7 @@ def __init__( version: Optional[int] = None, last_modified_t_s: Optional[str] = None, attribute_defs: Optional[List["_models.AtlasAttributeDef"]] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -261,8 +259,7 @@ def __init__( entity_status: Optional[Union[str, "_models.EntityStatus"]] = None, remove_propagations_on_entity_delete: Optional[bool] = None, validity_periods: Optional[List["_models.TimeBoundary"]] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -420,8 +417,7 @@ def __init__( entity_types: Optional[List[str]] = None, sub_types: Optional[List[str]] = None, super_types: Optional[List[str]] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -476,8 +472,7 @@ def __init__( sort_type: Optional[Union[str, "_models.SortType"]] = None, start_index: Optional[int] = None, total_count: Optional[int] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -510,8 +505,7 @@ def __init__( *, params: Optional[Dict[str, Any]] = None, type: Optional[str] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -545,8 +539,7 @@ def __init__( *, referred_entities: Optional[Dict[str, "_models.AtlasEntity"]] = None, entities: Optional[List["_models.AtlasEntity"]] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -683,8 +676,7 @@ def __init__( updated_by: Optional[str] = None, version: Optional[int] = None, contacts: Optional[Dict[str, List["_models.ContactInfo"]]] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -804,8 +796,7 @@ def __init__( sub_types: Optional[List[str]] = None, super_types: Optional[List[str]] = None, relationship_attribute_defs: Optional[List["_models.AtlasRelationshipAttributeDef"]] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -890,8 +881,7 @@ def __init__( meaning_names: Optional[List[str]] = None, meanings: Optional[List["_models.AtlasTermAssignmentHeader"]] = None, status: Optional[Union[str, "_models.EntityStatus"]] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -919,8 +909,7 @@ def __init__( self, *, guid_header_map: Optional[Dict[str, "_models.AtlasEntityHeader"]] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -954,8 +943,7 @@ def __init__( *, referred_entities: Optional[Dict[str, "_models.AtlasEntity"]] = None, entity: Optional["_models.AtlasEntity"] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -1062,8 +1050,7 @@ def __init__( last_modified_t_s: Optional[str] = None, default_value: Optional[str] = None, element_defs: Optional[List["_models.AtlasEnumElementDef"]] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -1101,8 +1088,7 @@ def __init__( description: Optional[str] = None, ordinal: Optional[int] = None, value: Optional[str] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -1140,8 +1126,7 @@ def __init__( request_id: Optional[str] = None, error_code: Optional[str] = None, error_message: Optional[str] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -1239,8 +1224,7 @@ def __init__( language: Optional[str] = None, terms: Optional[List["_models.AtlasRelatedTermHeader"]] = None, usage: Optional[str] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -1338,8 +1322,7 @@ def __init__( children_categories: Optional[List["_models.AtlasRelatedCategoryHeader"]] = None, parent_category: Optional["_models.AtlasRelatedCategoryHeader"] = None, terms: Optional[List["_models.AtlasRelatedTermHeader"]] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -1447,8 +1430,7 @@ def __init__( usage: Optional[str] = None, category_info: Optional[Dict[str, "_models.AtlasGlossaryCategory"]] = None, term_info: Optional[Dict[str, "_models.AtlasGlossaryTerm"]] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -1486,8 +1468,7 @@ def __init__( display_text: Optional[str] = None, glossary_guid: Optional[str] = None, relation_guid: Optional[str] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -1701,8 +1682,7 @@ def __init__( usage: Optional[str] = None, valid_values: Optional[List["_models.AtlasRelatedTermHeader"]] = None, valid_values_for: Optional[List["_models.AtlasRelatedTermHeader"]] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -1771,8 +1751,7 @@ def __init__( lineage_direction: Optional[Union[str, "_models.LineageDirection"]] = None, parent_relations: Optional[List["_models.ParentRelation"]] = None, relations: Optional[List["_models.LineageRelation"]] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -1810,8 +1789,7 @@ def __init__( guid: Optional[str] = None, type_name: Optional[str] = None, unique_attributes: Optional[Dict[str, Any]] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -1859,8 +1837,7 @@ def __init__( display_text: Optional[str] = None, parent_category_guid: Optional[str] = None, relation_guid: Optional[str] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -1935,8 +1912,7 @@ def __init__( relationship_attributes: Optional["_models.AtlasStruct"] = None, relationship_guid: Optional[str] = None, relationship_status: Optional[Union[str, "_models.StatusAtlasRelationship"]] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -1996,8 +1972,7 @@ def __init__( status: Optional[Union[str, "_models.AtlasTermRelationshipStatus"]] = None, steward: Optional[str] = None, term_guid: Optional[str] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -2096,8 +2071,7 @@ def __init__( update_time: Optional[int] = None, updated_by: Optional[str] = None, version: Optional[int] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -2200,8 +2174,7 @@ def __init__( values_min_count: Optional[int] = None, is_legacy_attribute: Optional[bool] = None, relationship_type_name: Optional[str] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -2391,8 +2364,7 @@ def __init__( end_def2: Optional["_models.AtlasRelationshipEndDef"] = None, relationship_category: Optional[Union[str, "_models.RelationshipCategory"]] = None, relationship_label: Optional[str] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -2450,8 +2422,7 @@ def __init__( is_legacy_attribute: Optional[bool] = None, name: Optional[str] = None, type: Optional[str] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -2484,8 +2455,7 @@ def __init__( *, referred_entities: Optional[Dict[str, "_models.AtlasEntityHeader"]] = None, relationship: Optional["_models.AtlasRelationship"] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -2524,8 +2494,7 @@ def __init__( attributes: Optional[Dict[str, Any]] = None, type_name: Optional[str] = None, last_modified_t_s: Optional[str] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -2627,8 +2596,7 @@ def __init__( version: Optional[int] = None, last_modified_t_s: Optional[str] = None, attribute_defs: Optional[List["_models.AtlasAttributeDef"]] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -2698,8 +2666,7 @@ def __init__( status: Optional[Union[str, "_models.AtlasTermAssignmentStatus"]] = None, steward: Optional[str] = None, term_guid: Optional[str] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -2749,8 +2716,7 @@ def __init__( display_text: Optional[str] = None, relation_guid: Optional[str] = None, status: Optional[Union[str, "_models.AtlasTermRelationshipStatus"]] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -2981,8 +2947,7 @@ def __init__( relationship_category: Optional[Union[str, "_models.RelationshipCategory"]] = None, relationship_label: Optional[str] = None, attribute_defs: Optional[List["_models.AtlasAttributeDef"]] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -3024,8 +2989,7 @@ def __init__( category: Optional[Union[str, "_models.TypeCategory"]] = None, guid: Optional[str] = None, name: Optional[str] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -3083,8 +3047,7 @@ def __init__( relationship_defs: Optional[List["_models.AtlasRelationshipDef"]] = None, struct_defs: Optional[List["_models.AtlasStructDef"]] = None, term_template_defs: Optional[List["_models.TermTemplateDef"]] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -3126,8 +3089,7 @@ def __init__( keywords: Optional[str] = None, limit: Optional[int] = None, filter: Optional[Any] = None, # pylint: disable=redefined-builtin - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -3155,8 +3117,7 @@ def __init__( self, *, value: Optional[List["_models.AutoCompleteResultValue"]] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -3189,8 +3150,7 @@ def __init__( *, text: Optional[str] = None, query_plus_text: Optional[str] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -3223,8 +3183,7 @@ def __init__( *, failed_import_info_list: Optional[List["_models.ImportInfo"]] = None, success_import_info_list: Optional[List["_models.ImportInfo"]] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -3254,8 +3213,7 @@ def __init__( self, *, file: FileType, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -3290,8 +3248,7 @@ def __init__( *, classification: Optional["_models.AtlasClassification"] = None, entity_guids: Optional[List[str]] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -3324,8 +3281,7 @@ def __init__( *, id: Optional[str] = None, # pylint: disable=redefined-builtin info: Optional[str] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -3365,8 +3321,7 @@ def __init__( id: Optional[str] = None, # pylint: disable=redefined-builtin info: Optional[str] = None, contact_type: Optional[str] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -3434,8 +3389,7 @@ def __init__( number_format: Optional["_models.NumberFormat"] = None, time_instance: Optional["_models.DateFormat"] = None, time_zone: Optional["_models.TimeZone"] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -3473,8 +3427,7 @@ def __init__( guid_assignments: Optional[Dict[str, str]] = None, mutated_entities: Optional[Dict[str, List["_models.AtlasEntityHeader"]]] = None, partial_updated_entities: Optional[List["_models.AtlasEntityHeader"]] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -3517,8 +3470,7 @@ def __init__( import_status: Optional[Union[str, "_models.ImportStatus"]] = None, parent_object_name: Optional[str] = None, remarks: Optional[str] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -3556,8 +3508,7 @@ def __init__( from_entity_id: Optional[str] = None, relationship_id: Optional[str] = None, to_entity_id: Optional[str] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -3585,8 +3536,7 @@ def __init__( self, *, entity_guids: Optional[List[str]] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -3681,8 +3631,7 @@ def __init__( parse_integer_only: Optional[bool] = None, percent_instance: Optional["_models.NumberFormat"] = None, rounding_mode: Optional[Union[str, "_models.RoundingMode"]] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -3720,8 +3669,7 @@ def __init__( child_entity_id: Optional[str] = None, relationship_id: Optional[str] = None, parent_entity_id: Optional[str] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -3784,8 +3732,7 @@ def __init__( item_path: Optional[str] = None, resource_id: Optional[str] = None, properties: Optional[Dict[str, Any]] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -3848,8 +3795,7 @@ def __init__( filter: Optional[Any] = None, # pylint: disable=redefined-builtin facets: Optional[List["_models.SearchFacetItem"]] = None, taxonomy_setting: Optional["_models.SearchTaxonomySetting"] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -3905,8 +3851,7 @@ def __init__( continuation_token: Optional[str] = None, search_facets: Optional["_models.SearchFacetResultValue"] = None, value: Optional[List["_models.SearchResultValue"]] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -3939,8 +3884,7 @@ def __init__( *, display_name: Optional[str] = None, url: Optional[str] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -3978,8 +3922,7 @@ def __init__( count: Optional[int] = None, facet: Optional[str] = None, sort: Optional["_models.SearchFacetSort"] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -4012,8 +3955,7 @@ def __init__( *, count: Optional[int] = None, value: Optional[str] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -4088,8 +4030,7 @@ def __init__( glossary_type: Optional[List["_models.SearchFacetItemValue"]] = None, term_status: Optional[List["_models.SearchFacetItemValue"]] = None, term_template: Optional[List["_models.SearchFacetItemValue"]] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -4122,8 +4063,7 @@ def __init__( *, count: Optional[Union[str, "_models.SearchSortOrder"]] = None, value: Optional[Union[str, "_models.SearchSortOrder"]] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -4174,8 +4114,7 @@ def __init__( name: Optional[List[str]] = None, description: Optional[List[str]] = None, entity_type: Optional[List[str]] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -4322,8 +4261,7 @@ def __init__( term_status: Optional[str] = None, term_template: Optional[List[str]] = None, long_description: Optional[str] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -4356,8 +4294,7 @@ def __init__( *, asset_types: Optional[List[str]] = None, facet: Optional["_models.SearchFacetItem"] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -4403,8 +4340,7 @@ def __init__( keywords: Optional[str] = None, limit: Optional[int] = None, filter: Optional[Any] = None, # pylint: disable=redefined-builtin - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -4432,8 +4368,7 @@ def __init__( self, *, value: Optional[List["_models.SuggestResultValue"]] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -4575,8 +4510,7 @@ def __init__( term_status: Optional[str] = None, term_template: Optional[List[str]] = None, long_description: Optional[str] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -4614,8 +4548,7 @@ def __init__( name: Optional[str] = None, glossary_name: Optional[str] = None, guid: Optional[str] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -4717,8 +4650,7 @@ def __init__( version: Optional[int] = None, last_modified_t_s: Optional[str] = None, attribute_defs: Optional[List["_models.AtlasAttributeDef"]] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -4756,8 +4688,7 @@ def __init__( end_time: Optional[str] = None, start_time: Optional[str] = None, time_zone: Optional[str] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): @@ -4810,8 +4741,7 @@ def __init__( default: Optional["_models.TimeZone"] = None, display_name: Optional[str] = None, raw_offset: Optional[int] = None, - ): - ... + ): ... @overload def __init__(self, mapping: Mapping[str, Any]): diff --git a/sdk/purview/azure-purview-datamap/azure/purview/datamap/operations/_operations.py b/sdk/purview/azure-purview-datamap/azure/purview/datamap/operations/_operations.py index 2dbd9c71546a..f3d9cddc54c4 100644 --- a/sdk/purview/azure-purview-datamap/azure/purview/datamap/operations/_operations.py +++ b/sdk/purview/azure-purview-datamap/azure/purview/datamap/operations/_operations.py @@ -9,7 +9,7 @@ from io import IOBase import json import sys -from typing import Any, Callable, Dict, IO, List, Optional, TypeVar, Union, overload +from typing import Any, Callable, Dict, IO, Iterator, List, Optional, Type, TypeVar, Union, overload from azure.core.exceptions import ( ClientAuthenticationError, @@ -68,9 +68,9 @@ def build_entity_create_or_update_request( _params["collectionId"] = _SERIALIZER.query("collection_id", collection_id, "str") # Construct headers - _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs) @@ -129,9 +129,9 @@ def build_entity_batch_create_or_update_request( # pylint: disable=name-too-lon ) # Construct headers - _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs) @@ -158,12 +158,15 @@ def build_entity_add_classification_request(**kwargs: Any) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) + accept = _headers.pop("Accept", "application/json") + # Construct URL _url = "/atlas/v2/entity/bulk/classification" # Construct headers if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) @@ -202,7 +205,7 @@ def build_entity_update_attribute_by_id_request( # pylint: disable=name-too-lon _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) + content_type: str = kwargs.pop("content_type") accept = _headers.pop("Accept", "application/json") # Construct URL @@ -217,9 +220,8 @@ def build_entity_update_attribute_by_id_request( # pylint: disable=name-too-lon _params["name"] = _SERIALIZER.query("name", name, "str") # Construct headers + _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") - if content_type is not None: - _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") return HttpRequest(method="PUT", url=_url, params=_params, headers=_headers, **kwargs) @@ -266,6 +268,10 @@ def build_entity_get_classification_request(guid: str, classification_name: str, def build_entity_remove_classification_request( # pylint: disable=name-too-long guid: str, classification_name: str, **kwargs: Any ) -> HttpRequest: + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + + accept = _headers.pop("Accept", "application/json") + # Construct URL _url = "/atlas/v2/entity/guid/{guid}/classification/{classificationName}" path_format_arguments = { @@ -275,7 +281,10 @@ def build_entity_remove_classification_request( # pylint: disable=name-too-long _url: str = _url.format(**path_format_arguments) # type: ignore - return HttpRequest(method="DELETE", url=_url, **kwargs) + # Construct headers + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") + + return HttpRequest(method="DELETE", url=_url, headers=_headers, **kwargs) def build_entity_get_classifications_request(guid: str, **kwargs: Any) -> HttpRequest: @@ -301,6 +310,8 @@ def build_entity_add_classifications_request(guid: str, **kwargs: Any) -> HttpRe _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) + accept = _headers.pop("Accept", "application/json") + # Construct URL _url = "/atlas/v2/entity/guid/{guid}/classifications" path_format_arguments = { @@ -312,6 +323,7 @@ def build_entity_add_classifications_request(guid: str, **kwargs: Any) -> HttpRe # Construct headers if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) @@ -322,6 +334,8 @@ def build_entity_update_classifications_request( # pylint: disable=name-too-lon _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) + accept = _headers.pop("Accept", "application/json") + # Construct URL _url = "/atlas/v2/entity/guid/{guid}/classifications" path_format_arguments = { @@ -333,6 +347,7 @@ def build_entity_update_classifications_request( # pylint: disable=name-too-lon # Construct headers if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="PUT", url=_url, headers=_headers, **kwargs) @@ -394,9 +409,9 @@ def build_entity_update_by_unique_attribute_request( # pylint: disable=name-too _params["attr:qualifiedName"] = _SERIALIZER.query("attribute", attribute, "str") # Construct headers - _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="PUT", url=_url, params=_params, headers=_headers, **kwargs) @@ -430,8 +445,11 @@ def build_entity_delete_by_unique_attribute_request( # pylint: disable=name-too def build_entity_remove_classification_by_unique_attribute_request( # pylint: disable=name-too-long type_name: str, classification_name: str, *, attribute: Optional[str] = None, **kwargs: Any ) -> HttpRequest: + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + accept = _headers.pop("Accept", "application/json") + # Construct URL _url = "/atlas/v2/entity/uniqueAttribute/type/{typeName}/classification/{classificationName}" path_format_arguments = { @@ -445,7 +463,10 @@ def build_entity_remove_classification_by_unique_attribute_request( # pylint: d if attribute is not None: _params["attr:qualifiedName"] = _SERIALIZER.query("attribute", attribute, "str") - return HttpRequest(method="DELETE", url=_url, params=_params, **kwargs) + # Construct headers + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") + + return HttpRequest(method="DELETE", url=_url, params=_params, headers=_headers, **kwargs) def build_entity_add_classifications_by_unique_attribute_request( # pylint: disable=name-too-long @@ -455,6 +476,8 @@ def build_entity_add_classifications_by_unique_attribute_request( # pylint: dis _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) + accept = _headers.pop("Accept", "application/json") + # Construct URL _url = "/atlas/v2/entity/uniqueAttribute/type/{typeName}/classifications" path_format_arguments = { @@ -470,6 +493,7 @@ def build_entity_add_classifications_by_unique_attribute_request( # pylint: dis # Construct headers if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs) @@ -481,6 +505,8 @@ def build_entity_update_classifications_unique_by_attribute_request( # pylint: _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) + accept = _headers.pop("Accept", "application/json") + # Construct URL _url = "/atlas/v2/entity/uniqueAttribute/type/{typeName}/classifications" path_format_arguments = { @@ -496,6 +522,7 @@ def build_entity_update_classifications_unique_by_attribute_request( # pylint: # Construct headers if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="PUT", url=_url, params=_params, headers=_headers, **kwargs) @@ -510,9 +537,9 @@ def build_entity_batch_set_classifications_request(**kwargs: Any) -> HttpRequest _url = "/atlas/v2/entity/bulk/setClassifications" # Construct headers - _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) @@ -577,6 +604,8 @@ def build_entity_remove_business_metadata_request( # pylint: disable=name-too-l _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) + accept = _headers.pop("Accept", "application/json") + # Construct URL _url = "/atlas/v2/entity/guid/{guid}/businessmetadata" path_format_arguments = { @@ -588,6 +617,7 @@ def build_entity_remove_business_metadata_request( # pylint: disable=name-too-l # Construct headers if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="DELETE", url=_url, headers=_headers, **kwargs) @@ -599,6 +629,8 @@ def build_entity_add_or_update_business_metadata_request( # pylint: disable=nam _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) + accept = _headers.pop("Accept", "application/json") + # Construct URL _url = "/atlas/v2/entity/guid/{guid}/businessmetadata" path_format_arguments = { @@ -614,6 +646,7 @@ def build_entity_add_or_update_business_metadata_request( # pylint: disable=nam # Construct headers if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs) @@ -624,6 +657,8 @@ def build_entity_remove_business_metadata_attributes_request( # pylint: disable _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) + accept = _headers.pop("Accept", "application/json") + # Construct URL _url = "/atlas/v2/entity/guid/{guid}/businessmetadata/{businessMetadataName}" path_format_arguments = { @@ -636,6 +671,7 @@ def build_entity_remove_business_metadata_attributes_request( # pylint: disable # Construct headers if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="DELETE", url=_url, headers=_headers, **kwargs) @@ -646,6 +682,8 @@ def build_entity_add_or_update_business_metadata_attributes_request( # pylint: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) + accept = _headers.pop("Accept", "application/json") + # Construct URL _url = "/atlas/v2/entity/guid/{guid}/businessmetadata/{businessMetadataName}" path_format_arguments = { @@ -658,6 +696,7 @@ def build_entity_add_or_update_business_metadata_attributes_request( # pylint: # Construct headers if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) @@ -694,6 +733,8 @@ def build_entity_remove_labels_request(guid: str, **kwargs: Any) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) + accept = _headers.pop("Accept", "application/json") + # Construct URL _url = "/atlas/v2/entity/guid/{guid}/labels" path_format_arguments = { @@ -705,6 +746,7 @@ def build_entity_remove_labels_request(guid: str, **kwargs: Any) -> HttpRequest: # Construct headers if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="DELETE", url=_url, headers=_headers, **kwargs) @@ -713,6 +755,8 @@ def build_entity_set_labels_request(guid: str, **kwargs: Any) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) + accept = _headers.pop("Accept", "application/json") + # Construct URL _url = "/atlas/v2/entity/guid/{guid}/labels" path_format_arguments = { @@ -724,6 +768,7 @@ def build_entity_set_labels_request(guid: str, **kwargs: Any) -> HttpRequest: # Construct headers if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) @@ -732,6 +777,8 @@ def build_entity_add_label_request(guid: str, **kwargs: Any) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) + accept = _headers.pop("Accept", "application/json") + # Construct URL _url = "/atlas/v2/entity/guid/{guid}/labels" path_format_arguments = { @@ -743,6 +790,7 @@ def build_entity_add_label_request(guid: str, **kwargs: Any) -> HttpRequest: # Construct headers if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="PUT", url=_url, headers=_headers, **kwargs) @@ -754,6 +802,8 @@ def build_entity_remove_labels_by_unique_attribute_request( # pylint: disable=n _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) + accept = _headers.pop("Accept", "application/json") + # Construct URL _url = "/atlas/v2/entity/uniqueAttribute/type/{typeName}/labels" path_format_arguments = { @@ -769,6 +819,7 @@ def build_entity_remove_labels_by_unique_attribute_request( # pylint: disable=n # Construct headers if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="DELETE", url=_url, params=_params, headers=_headers, **kwargs) @@ -780,6 +831,8 @@ def build_entity_set_labels_by_unique_attribute_request( # pylint: disable=name _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) + accept = _headers.pop("Accept", "application/json") + # Construct URL _url = "/atlas/v2/entity/uniqueAttribute/type/{typeName}/labels" path_format_arguments = { @@ -795,6 +848,7 @@ def build_entity_set_labels_by_unique_attribute_request( # pylint: disable=name # Construct headers if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs) @@ -806,6 +860,8 @@ def build_entity_add_labels_by_unique_attribute_request( # pylint: disable=name _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) + accept = _headers.pop("Accept", "application/json") + # Construct URL _url = "/atlas/v2/entity/uniqueAttribute/type/{typeName}/labels" path_format_arguments = { @@ -821,6 +877,7 @@ def build_entity_add_labels_by_unique_attribute_request( # pylint: disable=name # Construct headers if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="PUT", url=_url, params=_params, headers=_headers, **kwargs) @@ -843,9 +900,9 @@ def build_entity_move_entities_to_collection_request( # pylint: disable=name-to _params["collectionId"] = _SERIALIZER.query("collection_id", collection_id, "str") # Construct headers - _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs) @@ -897,9 +954,9 @@ def build_glossary_create_request(**kwargs: Any) -> HttpRequest: _url = "/atlas/v2/glossary" # Construct headers - _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) @@ -914,9 +971,9 @@ def build_glossary_create_categories_request(**kwargs: Any) -> HttpRequest: _url = "/atlas/v2/glossary/categories" # Construct headers - _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) @@ -931,9 +988,9 @@ def build_glossary_create_category_request(**kwargs: Any) -> HttpRequest: _url = "/atlas/v2/glossary/category" # Construct headers - _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) @@ -972,14 +1029,18 @@ def build_glossary_update_category_request(category_id: str, **kwargs: Any) -> H _url: str = _url.format(**path_format_arguments) # type: ignore # Construct headers - _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="PUT", url=_url, headers=_headers, **kwargs) def build_glossary_delete_category_request(category_id: str, **kwargs: Any) -> HttpRequest: + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + + accept = _headers.pop("Accept", "application/json") + # Construct URL _url = "/atlas/v2/glossary/category/{categoryId}" path_format_arguments = { @@ -988,7 +1049,10 @@ def build_glossary_delete_category_request(category_id: str, **kwargs: Any) -> H _url: str = _url.format(**path_format_arguments) # type: ignore - return HttpRequest(method="DELETE", url=_url, **kwargs) + # Construct headers + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") + + return HttpRequest(method="DELETE", url=_url, headers=_headers, **kwargs) def build_glossary_partial_update_category_request( # pylint: disable=name-too-long @@ -1008,9 +1072,9 @@ def build_glossary_partial_update_category_request( # pylint: disable=name-too- _url: str = _url.format(**path_format_arguments) # type: ignore # Construct headers - _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="PUT", url=_url, headers=_headers, **kwargs) @@ -1100,9 +1164,9 @@ def build_glossary_create_term_request(*, include_term_hierarchy: Optional[bool] _params["includeTermHierarchy"] = _SERIALIZER.query("include_term_hierarchy", include_term_hierarchy, "bool") # Construct headers - _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs) @@ -1157,14 +1221,18 @@ def build_glossary_update_term_request( _params["includeTermHierarchy"] = _SERIALIZER.query("include_term_hierarchy", include_term_hierarchy, "bool") # Construct headers - _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="PUT", url=_url, params=_params, headers=_headers, **kwargs) def build_glossary_delete_term_request(term_id: str, **kwargs: Any) -> HttpRequest: + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + + accept = _headers.pop("Accept", "application/json") + # Construct URL _url = "/atlas/v2/glossary/term/{termId}" path_format_arguments = { @@ -1173,7 +1241,10 @@ def build_glossary_delete_term_request(term_id: str, **kwargs: Any) -> HttpReque _url: str = _url.format(**path_format_arguments) # type: ignore - return HttpRequest(method="DELETE", url=_url, **kwargs) + # Construct headers + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") + + return HttpRequest(method="DELETE", url=_url, headers=_headers, **kwargs) def build_glossary_partial_update_term_request( # pylint: disable=name-too-long @@ -1201,9 +1272,9 @@ def build_glossary_partial_update_term_request( # pylint: disable=name-too-long _params["includeTermHierarchy"] = _SERIALIZER.query("include_term_hierarchy", include_term_hierarchy, "bool") # Construct headers - _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="PUT", url=_url, params=_params, headers=_headers, **kwargs) @@ -1226,9 +1297,9 @@ def build_glossary_create_terms_request(*, include_term_hierarchy: Optional[bool _params["includeTermHierarchy"] = _SERIALIZER.query("include_term_hierarchy", include_term_hierarchy, "bool") # Construct headers - _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs) @@ -1274,6 +1345,8 @@ def build_glossary_assign_term_to_entities_request( # pylint: disable=name-too- _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) + accept = _headers.pop("Accept", "application/json") + # Construct URL _url = "/atlas/v2/glossary/terms/{termId}/assignedEntities" path_format_arguments = { @@ -1285,6 +1358,7 @@ def build_glossary_assign_term_to_entities_request( # pylint: disable=name-too- # Construct headers if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) @@ -1295,6 +1369,8 @@ def build_glossary_delete_term_assignment_from_entities_request( # pylint: disa _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) + accept = _headers.pop("Accept", "application/json") + # Construct URL _url = "/atlas/v2/glossary/terms/{termId}/assignedEntities" path_format_arguments = { @@ -1306,6 +1382,7 @@ def build_glossary_delete_term_assignment_from_entities_request( # pylint: disa # Construct headers if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="DELETE", url=_url, headers=_headers, **kwargs) @@ -1394,14 +1471,18 @@ def build_glossary_update_request( ) # Construct headers - _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="PUT", url=_url, params=_params, headers=_headers, **kwargs) def build_glossary_delete_request(glossary_id: str, **kwargs: Any) -> HttpRequest: + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + + accept = _headers.pop("Accept", "application/json") + # Construct URL _url = "/atlas/v2/glossary/{glossaryId}" path_format_arguments = { @@ -1410,7 +1491,10 @@ def build_glossary_delete_request(glossary_id: str, **kwargs: Any) -> HttpReques _url: str = _url.format(**path_format_arguments) # type: ignore - return HttpRequest(method="DELETE", url=_url, **kwargs) + # Construct headers + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") + + return HttpRequest(method="DELETE", url=_url, headers=_headers, **kwargs) def build_glossary_get_categories_request( @@ -1535,9 +1619,9 @@ def build_glossary_partial_update_request( ) # Construct headers - _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="PUT", url=_url, params=_params, headers=_headers, **kwargs) @@ -1630,9 +1714,9 @@ def build_discovery_query_request(**kwargs: Any) -> HttpRequest: _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") # Construct headers - _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs) @@ -1652,9 +1736,9 @@ def build_discovery_suggest_request(**kwargs: Any) -> HttpRequest: _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") # Construct headers - _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs) @@ -1674,9 +1758,9 @@ def build_discovery_auto_complete_request(**kwargs: Any) -> HttpRequest: _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") # Construct headers - _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="POST", url=_url, params=_params, headers=_headers, **kwargs) @@ -1788,9 +1872,9 @@ def build_relationship_create_request(**kwargs: Any) -> HttpRequest: _url = "/atlas/v2/relationship" # Construct headers - _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) @@ -1805,9 +1889,9 @@ def build_relationship_update_request(**kwargs: Any) -> HttpRequest: _url = "/atlas/v2/relationship" # Construct headers - _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="PUT", url=_url, headers=_headers, **kwargs) @@ -1837,6 +1921,10 @@ def build_relationship_get_request(guid: str, *, extended_info: Optional[bool] = def build_relationship_delete_request(guid: str, **kwargs: Any) -> HttpRequest: + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + + accept = _headers.pop("Accept", "application/json") + # Construct URL _url = "/atlas/v2/relationship/guid/{guid}" path_format_arguments = { @@ -1845,7 +1933,10 @@ def build_relationship_delete_request(guid: str, **kwargs: Any) -> HttpRequest: _url: str = _url.format(**path_format_arguments) # type: ignore - return HttpRequest(method="DELETE", url=_url, **kwargs) + # Construct headers + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") + + return HttpRequest(method="DELETE", url=_url, headers=_headers, **kwargs) def build_type_definition_get_business_metadata_by_id_request( # pylint: disable=name-too-long @@ -2139,6 +2230,10 @@ def build_type_definition_get_by_name_request(name: str, **kwargs: Any) -> HttpR def build_type_definition_delete_request(name: str, **kwargs: Any) -> HttpRequest: + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + + accept = _headers.pop("Accept", "application/json") + # Construct URL _url = "/atlas/v2/types/typedef/name/{name}" path_format_arguments = { @@ -2147,7 +2242,10 @@ def build_type_definition_delete_request(name: str, **kwargs: Any) -> HttpReques _url: str = _url.format(**path_format_arguments) # type: ignore - return HttpRequest(method="DELETE", url=_url, **kwargs) + # Construct headers + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") + + return HttpRequest(method="DELETE", url=_url, headers=_headers, **kwargs) def build_type_definition_get_request( @@ -2189,9 +2287,9 @@ def build_type_definition_batch_create_request(**kwargs: Any) -> HttpRequest: # _url = "/atlas/v2/types/typedefs" # Construct headers - _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs) @@ -2206,9 +2304,9 @@ def build_type_definition_batch_update_request(**kwargs: Any) -> HttpRequest: # _url = "/atlas/v2/types/typedefs" # Construct headers - _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="PUT", url=_url, headers=_headers, **kwargs) @@ -2217,12 +2315,15 @@ def build_type_definition_batch_delete_request(**kwargs: Any) -> HttpRequest: # _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) + accept = _headers.pop("Accept", "application/json") + # Construct URL _url = "/atlas/v2/types/typedefs" # Construct headers if content_type is not None: _headers["Content-Type"] = _SERIALIZER.header("content_type", content_type, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") return HttpRequest(method="DELETE", url=_url, headers=_headers, **kwargs) @@ -2335,7 +2436,6 @@ def create_or_update( content_type: str = "application/json", **kwargs: Any ) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Create or update an entity. Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. @@ -2344,7 +2444,7 @@ def create_or_update( int>>. For each contact type, the maximum number of contacts is 20. - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.AtlasEntityWithExtInfo :keyword business_attribute_update_behavior: Used to define the update behavior for business attributes when updating @@ -2369,201 +2469,146 @@ def create_or_update( body = { "entity": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the - entity. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The - end of the time boundary. - "startTime": "str", # Optional. The - start of the time boundary. - "timeZone": "str" # Optional. The - timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure Active - Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence of the - term assignment. - "createdBy": "str", # Optional. The user who created - the record. - "description": "str", # Optional. The description of - the term assignment. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term assignment. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of terms - assignment. Known values are: "DISCOVERED", "PROPOSED", "IMPORTED", - "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of relationship. + "str": {} }, - "status": "str", # Optional. Status of the entity - can be active or - deleted. Deleted entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the entity. + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 }, "referredEntities": { "str": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the - entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure - Active Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "provenanceType": 0, # Optional. Used to record the - provenance of an instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of - relationship. - }, - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the entity. + "str": {} + }, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } } } @@ -2571,170 +2616,117 @@ def create_or_update( # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } @@ -2750,7 +2742,6 @@ def create_or_update( content_type: str = "application/json", **kwargs: Any ) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Create or update an entity. Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. @@ -2759,7 +2750,7 @@ def create_or_update( int>>. For each contact type, the maximum number of contacts is 20. - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword business_attribute_update_behavior: Used to define the update behavior for business attributes when updating @@ -2783,170 +2774,117 @@ def create_or_update( # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } @@ -2962,7 +2900,6 @@ def create_or_update( content_type: str = "application/json", **kwargs: Any ) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Create or update an entity. Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. @@ -2971,7 +2908,7 @@ def create_or_update( int>>. For each contact type, the maximum number of contacts is 20. - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword business_attribute_update_behavior: Used to define the update behavior for business attributes when updating @@ -2995,170 +2932,117 @@ def create_or_update( # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } @@ -3173,7 +3057,6 @@ def create_or_update( collection_id: Optional[str] = None, **kwargs: Any ) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Create or update an entity. Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. @@ -3182,7 +3065,8 @@ def create_or_update( int>>. For each contact type, the maximum number of contacts is 20. - :param body: Is one of the following types: AtlasEntityWithExtInfo, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: AtlasEntityWithExtInfo, JSON, + IO[bytes] Required. :type body: ~azure.purview.datamap.models.AtlasEntityWithExtInfo or JSON or IO[bytes] :keyword business_attribute_update_behavior: Used to define the update behavior for business attributes when updating @@ -3204,201 +3088,146 @@ def create_or_update( body = { "entity": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the - entity. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The - end of the time boundary. - "startTime": "str", # Optional. The - start of the time boundary. - "timeZone": "str" # Optional. The - timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure Active - Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence of the - term assignment. - "createdBy": "str", # Optional. The user who created - the record. - "description": "str", # Optional. The description of - the term assignment. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term assignment. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of terms - assignment. Known values are: "DISCOVERED", "PROPOSED", "IMPORTED", - "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of relationship. + "str": {} }, - "status": "str", # Optional. Status of the entity - can be active or - deleted. Deleted entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the entity. + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 }, "referredEntities": { "str": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the - entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure - Active Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "provenanceType": 0, # Optional. Used to record the - provenance of an instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of - relationship. - }, - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the entity. + "str": {} + }, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } } } @@ -3406,175 +3235,122 @@ def create_or_update( # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -3605,7 +3381,7 @@ def create_or_update( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -3642,7 +3418,6 @@ def get_by_ids( ignore_relationships: Optional[bool] = None, **kwargs: Any ) -> _models.AtlasEntitiesWithExtInfo: - # pylint: disable=line-too-long """List entities in bulk identified by its GUIDs. :keyword guid: An array of GUIDs of entities to list. Required. @@ -3666,216 +3441,152 @@ def get_by_ids( "entities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the - entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure - Active Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "provenanceType": 0, # Optional. Used to record the - provenance of an instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of - relationship. + "str": {} }, - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the entity. + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "referredEntities": { "str": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the - entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure - Active Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "provenanceType": 0, # Optional. Used to record the - provenance of an instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of - relationship. - }, - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the entity. + "str": {} + }, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } } } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -3897,7 +3608,7 @@ def get_by_ids( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -3935,7 +3646,6 @@ def batch_create_or_update( content_type: str = "application/json", **kwargs: Any ) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Create or update entities in bulk. Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. @@ -3945,7 +3655,7 @@ def batch_create_or_update( For each contact type, the maximum number of contacts is 20. - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.AtlasEntitiesWithExtInfo :keyword collection_id: The collection where entities will be moved to. Only specify a value if you @@ -3971,211 +3681,147 @@ def batch_create_or_update( "entities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the - entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure - Active Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "provenanceType": 0, # Optional. Used to record the - provenance of an instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of - relationship. + "str": {} }, - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the entity. + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "referredEntities": { "str": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the - entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure - Active Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "provenanceType": 0, # Optional. Used to record the - provenance of an instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of - relationship. - }, - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the entity. + "str": {} + }, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } } } @@ -4183,170 +3829,117 @@ def batch_create_or_update( # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } @@ -4362,7 +3955,6 @@ def batch_create_or_update( content_type: str = "application/json", **kwargs: Any ) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Create or update entities in bulk. Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. @@ -4372,7 +3964,7 @@ def batch_create_or_update( For each contact type, the maximum number of contacts is 20. - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword collection_id: The collection where entities will be moved to. Only specify a value if you @@ -4396,170 +3988,117 @@ def batch_create_or_update( # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } @@ -4575,7 +4114,6 @@ def batch_create_or_update( content_type: str = "application/json", **kwargs: Any ) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Create or update entities in bulk. Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. @@ -4585,7 +4123,7 @@ def batch_create_or_update( For each contact type, the maximum number of contacts is 20. - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword collection_id: The collection where entities will be moved to. Only specify a value if you @@ -4609,170 +4147,117 @@ def batch_create_or_update( # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } @@ -4787,7 +4272,6 @@ def batch_create_or_update( business_attribute_update_behavior: Optional[Union[str, _models.BusinessAttributeUpdateBehavior]] = None, **kwargs: Any ) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Create or update entities in bulk. Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. @@ -4797,7 +4281,8 @@ def batch_create_or_update( For each contact type, the maximum number of contacts is 20. - :param body: Is one of the following types: AtlasEntitiesWithExtInfo, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: AtlasEntitiesWithExtInfo, JSON, + IO[bytes] Required. :type body: ~azure.purview.datamap.models.AtlasEntitiesWithExtInfo or JSON or IO[bytes] :keyword collection_id: The collection where entities will be moved to. Only specify a value if you @@ -4820,211 +4305,147 @@ def batch_create_or_update( "entities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the - entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure - Active Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "provenanceType": 0, # Optional. Used to record the - provenance of an instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of - relationship. + "str": {} }, - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the entity. + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "referredEntities": { "str": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the - entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure - Active Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "provenanceType": 0, # Optional. Used to record the - provenance of an instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of - relationship. - }, - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the entity. + "str": {} + }, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } } } @@ -5032,175 +4453,122 @@ def batch_create_or_update( # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -5231,7 +4599,7 @@ def batch_create_or_update( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -5261,7 +4629,6 @@ def batch_create_or_update( @distributed_trace def batch_delete(self, *, guid: List[str], **kwargs: Any) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Delete a list of entities in bulk identified by their GUIDs or unique attributes. @@ -5277,175 +4644,122 @@ def batch_delete(self, *, guid: List[str], **kwargs: Any) -> _models.EntityMutat # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -5464,7 +4778,7 @@ def batch_delete(self, *, guid: List[str], **kwargs: Any) -> _models.EntityMutat params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -5496,10 +4810,9 @@ def batch_delete(self, *, guid: List[str], **kwargs: Any) -> _models.EntityMutat def add_classification( # pylint: disable=inconsistent-return-statements self, body: _models.ClassificationAssociateOptions, *, content_type: str = "application/json", **kwargs: Any ) -> None: - # pylint: disable=line-too-long """Associate a classification to multiple entities in bulk. - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.ClassificationAssociateOptions :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -5515,29 +4828,23 @@ def add_classification( # pylint: disable=inconsistent-return-statements body = { "classification": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "removePropagationsOnEntityDelete": bool, # Optional. Determines if - propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the time - boundary. - "startTime": "str", # Optional. The start of the - time boundary. - "timeZone": "str" # Optional. The timezone of the - time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] }, "entityGuids": [ - "str" # Optional. The GUID of the entity. + "str" ] } """ @@ -5548,7 +4855,7 @@ def add_classification( # pylint: disable=inconsistent-return-statements ) -> None: """Associate a classification to multiple entities in bulk. - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -5564,7 +4871,7 @@ def add_classification( # pylint: disable=inconsistent-return-statements ) -> None: """Associate a classification to multiple entities in bulk. - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword content_type: Body Parameter content-type. Content type parameter for binary body. Default value is "application/json". @@ -5578,11 +4885,10 @@ def add_classification( # pylint: disable=inconsistent-return-statements def add_classification( # pylint: disable=inconsistent-return-statements self, body: Union[_models.ClassificationAssociateOptions, JSON, IO[bytes]], **kwargs: Any ) -> None: - # pylint: disable=line-too-long """Associate a classification to multiple entities in bulk. - :param body: Is one of the following types: ClassificationAssociateOptions, JSON, IO[bytes] - Required. + :param body: Body parameter. Is one of the following types: ClassificationAssociateOptions, + JSON, IO[bytes] Required. :type body: ~azure.purview.datamap.models.ClassificationAssociateOptions or JSON or IO[bytes] :return: None :rtype: None @@ -5595,33 +4901,27 @@ def add_classification( # pylint: disable=inconsistent-return-statements body = { "classification": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "removePropagationsOnEntityDelete": bool, # Optional. Determines if - propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the time - boundary. - "startTime": "str", # Optional. The start of the - time boundary. - "timeZone": "str" # Optional. The timezone of the - time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] }, "entityGuids": [ - "str" # Optional. The GUID of the entity. + "str" ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -5649,7 +4949,7 @@ def add_classification( # pylint: disable=inconsistent-return-statements params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -5661,8 +4961,6 @@ def add_classification( # pylint: disable=inconsistent-return-statements response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -5679,7 +4977,6 @@ def get( ignore_relationships: Optional[bool] = None, **kwargs: Any ) -> _models.AtlasEntityWithExtInfo: - # pylint: disable=line-too-long """Get complete definition of an entity given its GUID. :param guid: The globally unique identifier of the entity. Required. @@ -5701,206 +4998,151 @@ def get( response == { "entity": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the - entity. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The - end of the time boundary. - "startTime": "str", # Optional. The - start of the time boundary. - "timeZone": "str" # Optional. The - timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure Active - Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence of the - term assignment. - "createdBy": "str", # Optional. The user who created - the record. - "description": "str", # Optional. The description of - the term assignment. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term assignment. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of terms - assignment. Known values are: "DISCOVERED", "PROPOSED", "IMPORTED", - "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of relationship. + "str": {} }, - "status": "str", # Optional. Status of the entity - can be active or - deleted. Deleted entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the entity. + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 }, "referredEntities": { "str": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the - entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure - Active Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "provenanceType": 0, # Optional. Used to record the - provenance of an instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of - relationship. - }, - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the entity. + "str": {} + }, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } } } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -5921,7 +5163,7 @@ def get( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -5951,7 +5193,6 @@ def get( @distributed_trace def update_attribute_by_id(self, guid: str, body: Any, *, name: str, **kwargs: Any) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Update entity partially - create or update entity attribute identified by its GUID. Supports only primitive attribute type and entity references. @@ -5974,175 +5215,122 @@ def update_attribute_by_id(self, guid: str, body: Any, *, name: str, **kwargs: A # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -6167,7 +5355,7 @@ def update_attribute_by_id(self, guid: str, body: Any, *, name: str, **kwargs: A params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -6197,7 +5385,6 @@ def update_attribute_by_id(self, guid: str, body: Any, *, name: str, **kwargs: A @distributed_trace def delete(self, guid: str, **kwargs: Any) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Delete an entity identified by its GUID. :param guid: The globally unique identifier of the entity. Required. @@ -6212,175 +5399,122 @@ def delete(self, guid: str, **kwargs: Any) -> _models.EntityMutationResult: # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -6399,7 +5533,7 @@ def delete(self, guid: str, **kwargs: Any) -> _models.EntityMutationResult: params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -6429,7 +5563,6 @@ def delete(self, guid: str, **kwargs: Any) -> _models.EntityMutationResult: @distributed_trace def get_classification(self, guid: str, classification_name: str, **kwargs: Any) -> _models.AtlasClassification: - # pylint: disable=line-too-long """Get classification for a given entity represented by a GUID. :param guid: The globally unique identifier of the entity. Required. @@ -6446,28 +5579,23 @@ def get_classification(self, guid: str, classification_name: str, **kwargs: Any) # response body for status code(s): 200 response == { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - can be active or - deleted. Deleted entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "removePropagationsOnEntityDelete": bool, # Optional. Determines if - propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the time boundary. - "startTime": "str", # Optional. The start of the time - boundary. - "timeZone": "str" # Optional. The timezone of the time - boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -6487,7 +5615,7 @@ def get_classification(self, guid: str, classification_name: str, **kwargs: Any) params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -6529,7 +5657,7 @@ def remove_classification( # pylint: disable=inconsistent-return-statements :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -6549,7 +5677,7 @@ def remove_classification( # pylint: disable=inconsistent-return-statements params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -6561,8 +5689,6 @@ def remove_classification( # pylint: disable=inconsistent-return-statements response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -6572,7 +5698,6 @@ def remove_classification( # pylint: disable=inconsistent-return-statements @distributed_trace def get_classifications(self, guid: str, **kwargs: Any) -> _models.AtlasClassifications: - # pylint: disable=line-too-long """List classifications for a given entity represented by a GUID. :param guid: The globally unique identifier of the entity. Required. @@ -6587,17 +5712,16 @@ def get_classifications(self, guid: str, **kwargs: Any) -> _models.AtlasClassifi # response body for status code(s): 200 response == { "list": [ - {} # Optional. An array of objects. - ], - "pageSize": 0, # Optional. The size of the page. - "sortBy": "str", # Optional. The sorted by field. - "sortType": "str", # Optional. to specify whether the result should be - sorted? If yes, whether asc or desc. Known values are: "NONE", "ASC", and "DESC". - "startIndex": 0, # Optional. The start index of the page. - "totalCount": 0 # Optional. The total count of items. + {} + ], + "pageSize": 0, + "sortBy": "str", + "sortType": "str", + "startIndex": 0, + "totalCount": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -6616,7 +5740,7 @@ def get_classifications(self, guid: str, **kwargs: Any) -> _models.AtlasClassifi params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -6653,7 +5777,6 @@ def add_classifications( # pylint: disable=inconsistent-return-statements content_type: str = "application/json", **kwargs: Any ) -> None: - # pylint: disable=line-too-long """Add classifications to an existing entity represented by a GUID. :param guid: The globally unique identifier of the entity. Required. @@ -6674,24 +5797,18 @@ def add_classifications( # pylint: disable=inconsistent-return-statements body = [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "removePropagationsOnEntityDelete": bool, # Optional. Determines if - propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the time - boundary. - "startTime": "str", # Optional. The start of the - time boundary. - "timeZone": "str" # Optional. The timezone of the - time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } @@ -6731,7 +5848,7 @@ def add_classifications( # pylint: disable=inconsistent-return-statements :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -6760,7 +5877,7 @@ def add_classifications( # pylint: disable=inconsistent-return-statements params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -6772,8 +5889,6 @@ def add_classifications( # pylint: disable=inconsistent-return-statements response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -6790,7 +5905,6 @@ def update_classifications( # pylint: disable=inconsistent-return-statements content_type: str = "application/json", **kwargs: Any ) -> None: - # pylint: disable=line-too-long """Update classifications to an existing entity represented by a guid. :param guid: The globally unique identifier of the entity. Required. @@ -6811,24 +5925,18 @@ def update_classifications( # pylint: disable=inconsistent-return-statements body = [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "removePropagationsOnEntityDelete": bool, # Optional. Determines if - propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the time - boundary. - "startTime": "str", # Optional. The start of the - time boundary. - "timeZone": "str" # Optional. The timezone of the - time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } @@ -6868,7 +5976,7 @@ def update_classifications( # pylint: disable=inconsistent-return-statements :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -6897,7 +6005,7 @@ def update_classifications( # pylint: disable=inconsistent-return-statements params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -6909,8 +6017,6 @@ def update_classifications( # pylint: disable=inconsistent-return-statements response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -6928,13 +6034,12 @@ def get_by_unique_attribute( attribute: Optional[str] = None, **kwargs: Any ) -> _models.AtlasEntityWithExtInfo: - # pylint: disable=line-too-long """Get complete definition of an entity given its type and unique attribute. In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format: - attr:\:code:``=:code:``. + attr:\\:code:``=:code:``. NOTE: The attrName and attrValue should be unique across entities, eg. @@ -6967,206 +6072,151 @@ def get_by_unique_attribute( response == { "entity": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the - entity. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The - end of the time boundary. - "startTime": "str", # Optional. The - start of the time boundary. - "timeZone": "str" # Optional. The - timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure Active - Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence of the - term assignment. - "createdBy": "str", # Optional. The user who created - the record. - "description": "str", # Optional. The description of - the term assignment. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term assignment. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of terms - assignment. Known values are: "DISCOVERED", "PROPOSED", "IMPORTED", - "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of relationship. + "str": {} }, - "status": "str", # Optional. Status of the entity - can be active or - deleted. Deleted entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the entity. + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 }, "referredEntities": { "str": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the - entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure - Active Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "provenanceType": 0, # Optional. Used to record the - provenance of an instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of - relationship. - }, - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the entity. + "str": {} + }, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } } } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -7188,7 +6238,7 @@ def get_by_unique_attribute( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -7226,7 +6276,6 @@ def update_by_unique_attribute( content_type: str = "application/json", **kwargs: Any ) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Update entity partially - Allow a subset of attributes to be updated on an entity which is identified by its type and unique attribute eg: Referenceable.qualifiedName. Null updates are not possible. @@ -7246,7 +6295,7 @@ def update_by_unique_attribute( :param type_name: The name of the type. Required. :type type_name: str - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.AtlasEntityWithExtInfo :keyword attribute: The qualified name of the entity. (This is only an example. qualifiedName can @@ -7266,201 +6315,146 @@ def update_by_unique_attribute( body = { "entity": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the - entity. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The - end of the time boundary. - "startTime": "str", # Optional. The - start of the time boundary. - "timeZone": "str" # Optional. The - timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure Active - Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence of the - term assignment. - "createdBy": "str", # Optional. The user who created - the record. - "description": "str", # Optional. The description of - the term assignment. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term assignment. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of terms - assignment. Known values are: "DISCOVERED", "PROPOSED", "IMPORTED", - "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of relationship. + "str": {} }, - "status": "str", # Optional. Status of the entity - can be active or - deleted. Deleted entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the entity. + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 }, "referredEntities": { "str": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the - entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure - Active Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "provenanceType": 0, # Optional. Used to record the - provenance of an instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of - relationship. - }, - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the entity. + "str": {} + }, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } } } @@ -7468,170 +6462,117 @@ def update_by_unique_attribute( # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } @@ -7647,7 +6588,6 @@ def update_by_unique_attribute( content_type: str = "application/json", **kwargs: Any ) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Update entity partially - Allow a subset of attributes to be updated on an entity which is identified by its type and unique attribute eg: Referenceable.qualifiedName. Null updates are not possible. @@ -7667,7 +6607,7 @@ def update_by_unique_attribute( :param type_name: The name of the type. Required. :type type_name: str - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword attribute: The qualified name of the entity. (This is only an example. qualifiedName can @@ -7686,170 +6626,117 @@ def update_by_unique_attribute( # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } @@ -7865,7 +6752,6 @@ def update_by_unique_attribute( content_type: str = "application/json", **kwargs: Any ) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Update entity partially - Allow a subset of attributes to be updated on an entity which is identified by its type and unique attribute eg: Referenceable.qualifiedName. Null updates are not possible. @@ -7885,7 +6771,7 @@ def update_by_unique_attribute( :param type_name: The name of the type. Required. :type type_name: str - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword attribute: The qualified name of the entity. (This is only an example. qualifiedName can @@ -7904,170 +6790,117 @@ def update_by_unique_attribute( # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } @@ -8082,7 +6915,6 @@ def update_by_unique_attribute( attribute: Optional[str] = None, **kwargs: Any ) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Update entity partially - Allow a subset of attributes to be updated on an entity which is identified by its type and unique attribute eg: Referenceable.qualifiedName. Null updates are not possible. @@ -8102,7 +6934,8 @@ def update_by_unique_attribute( :param type_name: The name of the type. Required. :type type_name: str - :param body: Is one of the following types: AtlasEntityWithExtInfo, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: AtlasEntityWithExtInfo, JSON, + IO[bytes] Required. :type body: ~azure.purview.datamap.models.AtlasEntityWithExtInfo or JSON or IO[bytes] :keyword attribute: The qualified name of the entity. (This is only an example. qualifiedName can @@ -8119,201 +6952,146 @@ def update_by_unique_attribute( body = { "entity": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the - entity. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The - end of the time boundary. - "startTime": "str", # Optional. The - start of the time boundary. - "timeZone": "str" # Optional. The - timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure Active - Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence of the - term assignment. - "createdBy": "str", # Optional. The user who created - the record. - "description": "str", # Optional. The description of - the term assignment. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term assignment. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of terms - assignment. Known values are: "DISCOVERED", "PROPOSED", "IMPORTED", - "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of relationship. + "str": {} }, - "status": "str", # Optional. Status of the entity - can be active or - deleted. Deleted entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the entity. + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 }, "referredEntities": { "str": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the - entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure - Active Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "provenanceType": 0, # Optional. Used to record the - provenance of an instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of - relationship. - }, - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the entity. + "str": {} + }, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } } } @@ -8321,175 +7099,122 @@ def update_by_unique_attribute( # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -8519,7 +7244,7 @@ def update_by_unique_attribute( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -8551,12 +7276,11 @@ def update_by_unique_attribute( def delete_by_unique_attribute( self, type_name: str, *, attribute: Optional[str] = None, **kwargs: Any ) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Delete an entity identified by its type and unique attributes. In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format: - attr:\:code:``=\:code:``. + attr:\\:code:``=\\:code:``. NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName. @@ -8581,175 +7305,122 @@ def delete_by_unique_attribute( # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -8769,7 +7440,7 @@ def delete_by_unique_attribute( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -8816,7 +7487,7 @@ def remove_classification_by_unique_attribute( # pylint: disable=inconsistent-r :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -8837,7 +7508,7 @@ def remove_classification_by_unique_attribute( # pylint: disable=inconsistent-r params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -8849,8 +7520,6 @@ def remove_classification_by_unique_attribute( # pylint: disable=inconsistent-r response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -8868,7 +7537,6 @@ def add_classifications_by_unique_attribute( # pylint: disable=inconsistent-ret content_type: str = "application/json", **kwargs: Any ) -> None: - # pylint: disable=line-too-long """Add classification to the entity identified by its type and unique attributes. :param type_name: The name of the type. Required. @@ -8893,24 +7561,18 @@ def add_classifications_by_unique_attribute( # pylint: disable=inconsistent-ret body = [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "removePropagationsOnEntityDelete": bool, # Optional. Determines if - propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the time - boundary. - "startTime": "str", # Optional. The start of the - time boundary. - "timeZone": "str" # Optional. The timezone of the - time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } @@ -8969,7 +7631,7 @@ def add_classifications_by_unique_attribute( # pylint: disable=inconsistent-ret :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -8999,7 +7661,7 @@ def add_classifications_by_unique_attribute( # pylint: disable=inconsistent-ret params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -9011,8 +7673,6 @@ def add_classifications_by_unique_attribute( # pylint: disable=inconsistent-ret response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -9030,7 +7690,6 @@ def update_classifications_unique_by_attribute( # pylint: disable=inconsistent- content_type: str = "application/json", **kwargs: Any ) -> None: - # pylint: disable=line-too-long """Update classification on an entity identified by its type and unique attributes. :param type_name: The name of the type. Required. @@ -9055,24 +7714,18 @@ def update_classifications_unique_by_attribute( # pylint: disable=inconsistent- body = [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "removePropagationsOnEntityDelete": bool, # Optional. Determines if - propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the time - boundary. - "startTime": "str", # Optional. The start of the - time boundary. - "timeZone": "str" # Optional. The timezone of the - time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } @@ -9131,7 +7784,7 @@ def update_classifications_unique_by_attribute( # pylint: disable=inconsistent- :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -9161,7 +7814,7 @@ def update_classifications_unique_by_attribute( # pylint: disable=inconsistent- params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -9173,8 +7826,6 @@ def update_classifications_unique_by_attribute( # pylint: disable=inconsistent- response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -9186,10 +7837,9 @@ def update_classifications_unique_by_attribute( # pylint: disable=inconsistent- def batch_set_classifications( self, body: _models.AtlasEntityHeaders, *, content_type: str = "application/json", **kwargs: Any ) -> List[str]: - # pylint: disable=line-too-long """Set classifications on entities in bulk. - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.AtlasEntityHeaders :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -9206,87 +7856,62 @@ def batch_set_classifications( "guidHeaderMap": { "str": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } } } # response body for status code(s): 200 response == [ - "str" # Optional. + "str" ] """ @@ -9296,7 +7921,7 @@ def batch_set_classifications( ) -> List[str]: """Set classifications on entities in bulk. - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -9310,7 +7935,7 @@ def batch_set_classifications( # response body for status code(s): 200 response == [ - "str" # Optional. + "str" ] """ @@ -9320,7 +7945,7 @@ def batch_set_classifications( ) -> List[str]: """Set classifications on entities in bulk. - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword content_type: Body Parameter content-type. Content type parameter for binary body. Default value is "application/json". @@ -9334,7 +7959,7 @@ def batch_set_classifications( # response body for status code(s): 200 response == [ - "str" # Optional. + "str" ] """ @@ -9342,10 +7967,10 @@ def batch_set_classifications( def batch_set_classifications( self, body: Union[_models.AtlasEntityHeaders, JSON, IO[bytes]], **kwargs: Any ) -> List[str]: - # pylint: disable=line-too-long """Set classifications on entities in bulk. - :param body: Is one of the following types: AtlasEntityHeaders, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: AtlasEntityHeaders, JSON, IO[bytes] + Required. :type body: ~azure.purview.datamap.models.AtlasEntityHeaders or JSON or IO[bytes] :return: list of str :rtype: list[str] @@ -9359,90 +7984,65 @@ def batch_set_classifications( "guidHeaderMap": { "str": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } } } # response body for status code(s): 200 response == [ - "str" # Optional. + "str" ] """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -9470,7 +8070,7 @@ def batch_set_classifications( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -9508,14 +8108,13 @@ def batch_get_by_unique_attributes( attr_n_qualified_name: Optional[str] = None, **kwargs: Any ) -> _models.AtlasEntitiesWithExtInfo: - # pylint: disable=line-too-long """Bulk API to retrieve list of entities identified by its unique attributes. In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format - typeName=\:code:``&attr_1:\:code:``=\:code:``&attr_2:\:code:``=\:code:``&attr_3:\:code:``=\:code:`` + typeName=\\:code:``&attr_1:\\:code:``=\\:code:``&attr_2:\\:code:``=\\:code:``&attr_3:\\:code:``=\\:code:`` NOTE: The attrName should be an unique attribute for the given entity-type. @@ -9554,216 +8153,152 @@ def batch_get_by_unique_attributes( "entities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the - entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure - Active Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "provenanceType": 0, # Optional. Used to record the - provenance of an instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of - relationship. + "str": {} }, - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the entity. + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "referredEntities": { "str": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "businessAttributes": { - "str": {} # Optional. Business attributes. + "str": {} }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "collectionId": "str", # Optional. The collection ID of the - entity. + "collectionId": "str", "contacts": { "str": [ { - "id": "str", # Optional. Azure - Active Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "createTime": 0, + "createdBy": "str", "customAttributes": { - "str": "str" # Optional. Custom Attribute. + "str": "str" }, - "guid": "str", # Optional. The GUID of the entity. - "homeId": "str", # Optional. The home ID of the entity. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "guid": "str", + "homeId": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "provenanceType": 0, # Optional. Used to record the - provenance of an instance of an entity or relationship. - "proxy": bool, # Optional. Determines if there's a proxy. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "provenanceType": 0, + "proxy": bool, "relationshipAttributes": { - "str": {} # Optional. The attributes of - relationship. - }, - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the entity. + "str": {} + }, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } } } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -9785,7 +8320,7 @@ def batch_get_by_unique_attributes( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -9815,7 +8350,6 @@ def batch_get_by_unique_attributes( @distributed_trace def get_header(self, guid: str, **kwargs: Any) -> _models.AtlasEntityHeader: - # pylint: disable=line-too-long """Get entity header given its GUID. :param guid: The globally unique identifier of the entity. Required. @@ -9830,74 +8364,58 @@ def get_header(self, guid: str, **kwargs: Any) -> _models.AtlasEntityHeader: # response body for status code(s): 200 response == { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence of the term - assignment. - "createdBy": "str", # Optional. The user who created the - record. - "description": "str", # Optional. The description of the - term assignment. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term - assignment. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of terms assignment. - Known values are: "DISCOVERED", "PROPOSED", "IMPORTED", "VALIDATED", - "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "status": "str", # Optional. Status of the entity - can be active or - deleted. Deleted entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -9916,7 +8434,7 @@ def get_header(self, guid: str, **kwargs: Any) -> _models.AtlasEntityHeader: params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -9967,7 +8485,7 @@ def remove_business_metadata( # pylint: disable=inconsistent-return-statements # JSON input template you can fill out and use as your body input. body = { "str": { - "str": {} # Optional. + "str": {} } } """ @@ -10005,7 +8523,7 @@ def remove_business_metadata( # pylint: disable=inconsistent-return-statements :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -10034,7 +8552,7 @@ def remove_business_metadata( # pylint: disable=inconsistent-return-statements params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -10046,8 +8564,6 @@ def remove_business_metadata( # pylint: disable=inconsistent-return-statements response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -10087,7 +8603,7 @@ def add_or_update_business_metadata( # pylint: disable=inconsistent-return-stat # JSON input template you can fill out and use as your body input. body = { "str": { - "str": {} # Optional. + "str": {} } } """ @@ -10142,7 +8658,7 @@ def add_or_update_business_metadata( # pylint: disable=inconsistent-return-stat :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -10172,7 +8688,7 @@ def add_or_update_business_metadata( # pylint: disable=inconsistent-return-stat params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -10184,8 +8700,6 @@ def add_or_update_business_metadata( # pylint: disable=inconsistent-return-stat response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -10223,7 +8737,7 @@ def remove_business_metadata_attributes( # pylint: disable=inconsistent-return- # JSON input template you can fill out and use as your body input. body = { - "str": {} # Optional. + "str": {} } """ @@ -10270,7 +8784,7 @@ def remove_business_metadata_attributes( # pylint: disable=inconsistent-return- :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -10300,7 +8814,7 @@ def remove_business_metadata_attributes( # pylint: disable=inconsistent-return- params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -10312,8 +8826,6 @@ def remove_business_metadata_attributes( # pylint: disable=inconsistent-return- response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -10351,7 +8863,7 @@ def add_or_update_business_metadata_attributes( # pylint: disable=inconsistent- # JSON input template you can fill out and use as your body input. body = { - "str": {} # Optional. + "str": {} } """ @@ -10398,7 +8910,7 @@ def add_or_update_business_metadata_attributes( # pylint: disable=inconsistent- :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -10428,7 +8940,7 @@ def add_or_update_business_metadata_attributes( # pylint: disable=inconsistent- params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -10440,8 +8952,6 @@ def add_or_update_business_metadata_attributes( # pylint: disable=inconsistent- response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -10450,14 +8960,14 @@ def add_or_update_business_metadata_attributes( # pylint: disable=inconsistent- return cls(pipeline_response, None, {}) # type: ignore @distributed_trace - def get_business_metadata_template(self, **kwargs: Any) -> bytes: + def get_business_metadata_template(self, **kwargs: Any) -> Iterator[bytes]: """Get the sample Template for uploading/creating bulk BusinessMetaData. - :return: bytes - :rtype: bytes + :return: Iterator[bytes] + :rtype: Iterator[bytes] :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -10468,14 +8978,14 @@ def get_business_metadata_template(self, **kwargs: Any) -> bytes: _headers = kwargs.pop("headers", {}) or {} _params = kwargs.pop("params", {}) or {} - cls: ClsType[bytes] = kwargs.pop("cls", None) + cls: ClsType[Iterator[bytes]] = kwargs.pop("cls", None) _request = build_entity_get_business_metadata_template_request( headers=_headers, params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -10493,10 +9003,7 @@ def get_business_metadata_template(self, **kwargs: Any) -> bytes: error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) - if _stream: - deserialized = response.iter_bytes() - else: - deserialized = response.read() + deserialized = response.iter_bytes() if cls: return cls(pipeline_response, deserialized, {}) # type: ignore @@ -10509,7 +9016,7 @@ def import_business_metadata( ) -> _models.BulkImportResult: """Upload the file for creating Business Metadata in BULK. - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.BusinessMetadataOptions :return: BulkImportResult. The BulkImportResult is compatible with MutableMapping :rtype: ~azure.purview.datamap.models.BulkImportResult @@ -10527,20 +9034,18 @@ def import_business_metadata( response == { "failedImportInfoList": [ { - "childObjectName": "str", # Optional. childObjectName. - "importStatus": "str", # Optional. importStatus. Known - values are: "SUCCESS" and "FAILED". - "parentObjectName": "str", # Optional. parentObjectName. - "remarks": "str" # Optional. remarks. + "childObjectName": "str", + "importStatus": "str", + "parentObjectName": "str", + "remarks": "str" } ], "successImportInfoList": [ { - "childObjectName": "str", # Optional. childObjectName. - "importStatus": "str", # Optional. importStatus. Known - values are: "SUCCESS" and "FAILED". - "parentObjectName": "str", # Optional. parentObjectName. - "remarks": "str" # Optional. remarks. + "childObjectName": "str", + "importStatus": "str", + "parentObjectName": "str", + "remarks": "str" } ] } @@ -10550,7 +9055,7 @@ def import_business_metadata( def import_business_metadata(self, body: JSON, **kwargs: Any) -> _models.BulkImportResult: """Upload the file for creating Business Metadata in BULK. - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :return: BulkImportResult. The BulkImportResult is compatible with MutableMapping :rtype: ~azure.purview.datamap.models.BulkImportResult @@ -10563,20 +9068,18 @@ def import_business_metadata(self, body: JSON, **kwargs: Any) -> _models.BulkImp response == { "failedImportInfoList": [ { - "childObjectName": "str", # Optional. childObjectName. - "importStatus": "str", # Optional. importStatus. Known - values are: "SUCCESS" and "FAILED". - "parentObjectName": "str", # Optional. parentObjectName. - "remarks": "str" # Optional. remarks. + "childObjectName": "str", + "importStatus": "str", + "parentObjectName": "str", + "remarks": "str" } ], "successImportInfoList": [ { - "childObjectName": "str", # Optional. childObjectName. - "importStatus": "str", # Optional. importStatus. Known - values are: "SUCCESS" and "FAILED". - "parentObjectName": "str", # Optional. parentObjectName. - "remarks": "str" # Optional. remarks. + "childObjectName": "str", + "importStatus": "str", + "parentObjectName": "str", + "remarks": "str" } ] } @@ -10588,7 +9091,7 @@ def import_business_metadata( ) -> _models.BulkImportResult: """Upload the file for creating Business Metadata in BULK. - :param body: Is either a BusinessMetadataOptions type or a JSON type. Required. + :param body: Body parameter. Is either a BusinessMetadataOptions type or a JSON type. Required. :type body: ~azure.purview.datamap.models.BusinessMetadataOptions or JSON :return: BulkImportResult. The BulkImportResult is compatible with MutableMapping :rtype: ~azure.purview.datamap.models.BulkImportResult @@ -10606,25 +9109,23 @@ def import_business_metadata( response == { "failedImportInfoList": [ { - "childObjectName": "str", # Optional. childObjectName. - "importStatus": "str", # Optional. importStatus. Known - values are: "SUCCESS" and "FAILED". - "parentObjectName": "str", # Optional. parentObjectName. - "remarks": "str" # Optional. remarks. + "childObjectName": "str", + "importStatus": "str", + "parentObjectName": "str", + "remarks": "str" } ], "successImportInfoList": [ { - "childObjectName": "str", # Optional. childObjectName. - "importStatus": "str", # Optional. importStatus. Known - values are: "SUCCESS" and "FAILED". - "parentObjectName": "str", # Optional. parentObjectName. - "remarks": "str" # Optional. remarks. + "childObjectName": "str", + "importStatus": "str", + "parentObjectName": "str", + "remarks": "str" } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -10649,7 +9150,7 @@ def import_business_metadata( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -10699,7 +9200,7 @@ def remove_labels( # pylint: disable=inconsistent-return-statements # JSON input template you can fill out and use as your body input. body = [ - "str" # Optional. + "str" ] """ @@ -10736,7 +9237,7 @@ def remove_labels( # pylint: disable=inconsistent-return-statements :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -10768,7 +9269,7 @@ def remove_labels( # pylint: disable=inconsistent-return-statements params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -10780,8 +9281,6 @@ def remove_labels( # pylint: disable=inconsistent-return-statements response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -10811,7 +9310,7 @@ def set_labels( # pylint: disable=inconsistent-return-statements # JSON input template you can fill out and use as your body input. body = [ - "str" # Optional. + "str" ] """ @@ -10848,7 +9347,7 @@ def set_labels( # pylint: disable=inconsistent-return-statements :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -10880,7 +9379,7 @@ def set_labels( # pylint: disable=inconsistent-return-statements params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -10892,8 +9391,6 @@ def set_labels( # pylint: disable=inconsistent-return-statements response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -10923,7 +9420,7 @@ def add_label( # pylint: disable=inconsistent-return-statements # JSON input template you can fill out and use as your body input. body = [ - "str" # Optional. + "str" ] """ @@ -10960,7 +9457,7 @@ def add_label( # pylint: disable=inconsistent-return-statements :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -10992,7 +9489,7 @@ def add_label( # pylint: disable=inconsistent-return-statements params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -11004,8 +9501,6 @@ def add_label( # pylint: disable=inconsistent-return-statements response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -11057,7 +9552,7 @@ def remove_labels_by_unique_attribute( # pylint: disable=inconsistent-return-st # JSON input template you can fill out and use as your body input. body = [ - "str" # Optional. + "str" ] """ @@ -11137,7 +9632,7 @@ def remove_labels_by_unique_attribute( # pylint: disable=inconsistent-return-st :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -11170,7 +9665,7 @@ def remove_labels_by_unique_attribute( # pylint: disable=inconsistent-return-st params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -11182,8 +9677,6 @@ def remove_labels_by_unique_attribute( # pylint: disable=inconsistent-return-st response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -11237,7 +9730,7 @@ def set_labels_by_unique_attribute( # pylint: disable=inconsistent-return-state # JSON input template you can fill out and use as your body input. body = [ - "str" # Optional. + "str" ] """ @@ -11321,7 +9814,7 @@ def set_labels_by_unique_attribute( # pylint: disable=inconsistent-return-state :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -11354,7 +9847,7 @@ def set_labels_by_unique_attribute( # pylint: disable=inconsistent-return-state params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -11366,8 +9859,6 @@ def set_labels_by_unique_attribute( # pylint: disable=inconsistent-return-state response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -11421,7 +9912,7 @@ def add_labels_by_unique_attribute( # pylint: disable=inconsistent-return-state # JSON input template you can fill out and use as your body input. body = [ - "str" # Optional. + "str" ] """ @@ -11505,7 +9996,7 @@ def add_labels_by_unique_attribute( # pylint: disable=inconsistent-return-state :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -11538,7 +10029,7 @@ def add_labels_by_unique_attribute( # pylint: disable=inconsistent-return-state params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -11550,8 +10041,6 @@ def add_labels_by_unique_attribute( # pylint: disable=inconsistent-return-state response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -11568,10 +10057,9 @@ def move_entities_to_collection( content_type: str = "application/json", **kwargs: Any ) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Move existing entities to the target collection. - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.MoveEntitiesOptions :keyword collection_id: The collection where entities will be moved to. Required. :paramtype collection_id: str @@ -11588,178 +10076,124 @@ def move_entities_to_collection( # JSON input template you can fill out and use as your body input. body = { "entityGuids": [ - "str" # Optional. An array of entity guids to be moved to target - collection. + "str" ] } # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } @@ -11769,10 +10203,9 @@ def move_entities_to_collection( def move_entities_to_collection( self, body: JSON, *, collection_id: str, content_type: str = "application/json", **kwargs: Any ) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Move existing entities to the target collection. - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword collection_id: The collection where entities will be moved to. Required. :paramtype collection_id: str @@ -11789,170 +10222,117 @@ def move_entities_to_collection( # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } @@ -11962,10 +10342,9 @@ def move_entities_to_collection( def move_entities_to_collection( self, body: IO[bytes], *, collection_id: str, content_type: str = "application/json", **kwargs: Any ) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Move existing entities to the target collection. - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword collection_id: The collection where entities will be moved to. Required. :paramtype collection_id: str @@ -11982,170 +10361,117 @@ def move_entities_to_collection( # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } @@ -12155,10 +10481,10 @@ def move_entities_to_collection( def move_entities_to_collection( self, body: Union[_models.MoveEntitiesOptions, JSON, IO[bytes]], *, collection_id: str, **kwargs: Any ) -> _models.EntityMutationResult: - # pylint: disable=line-too-long """Move existing entities to the target collection. - :param body: Is one of the following types: MoveEntitiesOptions, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: MoveEntitiesOptions, JSON, + IO[bytes] Required. :type body: ~azure.purview.datamap.models.MoveEntitiesOptions or JSON or IO[bytes] :keyword collection_id: The collection where entities will be moved to. Required. :paramtype collection_id: str @@ -12172,183 +10498,129 @@ def move_entities_to_collection( # JSON input template you can fill out and use as your body input. body = { "entityGuids": [ - "str" # Optional. An array of entity guids to be moved to target - collection. + "str" ] } # response body for status code(s): 200 response == { "guidAssignments": { - "str": "str" # Optional. A map of GUID assignments with entities. + "str": "str" }, "mutatedEntities": { "str": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification - names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The - GUID of the entity. - "entityStatus": "str", # Optional. - Status of the entity - can be active or deleted. Deleted - entities are not removed. Known values are: "ACTIVE" and - "DELETED". - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", "removePropagationsOnEntityDelete": - bool, # Optional. Determines if propagations will be removed - on entity deletion. - "typeName": "str", # Optional. The - name of the type. + bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. + "endTime": "str", "startTime": "str", - # Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a - shell entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The - confidence of the term assignment. - "createdBy": "str", # Optional. The - user who created the record. - "description": "str", # Optional. - The description of the term assignment. - "displayText": "str", # Optional. - The display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. - The GUID of the relationship. - "status": "str", # Optional. The - status of terms assignment. Known values are: "DISCOVERED", - "PROPOSED", "IMPORTED", "VALIDATED", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The - steward of the term. - "termGuid": "str" # Optional. The - GUID of the term. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "status": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "status": "str", + "typeName": "str" } ] }, "partialUpdatedEntities": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -12378,7 +10650,7 @@ def move_entities_to_collection( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -12434,15 +10706,10 @@ def batch_get( ignore_terms_and_categories: Optional[bool] = None, **kwargs: Any ) -> List[_models.AtlasGlossary]: - # pylint: disable=line-too-long """Get all glossaries. Recommend using limit/offset to get pagination result. Recommend using 'ignoreTermsAndCategories=true' and fetch terms/categories - separately using - - 'GET /datamap/api/atlas/v2/glossary/{glossaryId}/terms' - and - - 'GET '/datamap/api/atlas/v2/glossary/{glossaryId}/categories'. + separately using 'GET /datamap/api/atlas/v2/glossary/{glossaryId}/terms' + and 'GET '/datamap/api/atlas/v2/glossary/{glossaryId}/categories'. :keyword limit: The page size - by default there is no paging. Default value is None. :paramtype limit: int @@ -12465,81 +10732,59 @@ def batch_get( { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the - category. - "description": "str", # Optional. The description of - the category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of - the parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the - entity. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The - end of the time boundary. - "startTime": "str", # Optional. The - start of the time boundary. - "timeZone": "str" # Optional. The - timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the - glossary object. - "shortDescription": "str", # Optional. The short version of - description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } ] """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -12562,7 +10807,7 @@ def batch_get( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -12594,10 +10839,9 @@ def batch_get( def create( self, body: _models.AtlasGlossary, *, content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossary: - # pylint: disable=line-too-long """Create a glossary. - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.AtlasGlossary :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -12613,149 +10857,118 @@ def create( body = { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } # response body for status code(s): 200 response == { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } """ @overload def create(self, body: JSON, *, content_type: str = "application/json", **kwargs: Any) -> _models.AtlasGlossary: - # pylint: disable=line-too-long """Create a glossary. - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -12771,70 +10984,55 @@ def create(self, body: JSON, *, content_type: str = "application/json", **kwargs response == { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } """ @@ -12842,10 +11040,9 @@ def create(self, body: JSON, *, content_type: str = "application/json", **kwargs def create( self, body: IO[bytes], *, content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossary: - # pylint: disable=line-too-long """Create a glossary. - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword content_type: Body Parameter content-type. Content type parameter for binary body. Default value is "application/json". @@ -12861,79 +11058,64 @@ def create( response == { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } """ @distributed_trace def create(self, body: Union[_models.AtlasGlossary, JSON, IO[bytes]], **kwargs: Any) -> _models.AtlasGlossary: - # pylint: disable=line-too-long """Create a glossary. - :param body: Is one of the following types: AtlasGlossary, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: AtlasGlossary, JSON, IO[bytes] + Required. :type body: ~azure.purview.datamap.models.AtlasGlossary or JSON or IO[bytes] :return: AtlasGlossary. The AtlasGlossary is compatible with MutableMapping :rtype: ~azure.purview.datamap.models.AtlasGlossary @@ -12946,143 +11128,113 @@ def create(self, body: Union[_models.AtlasGlossary, JSON, IO[bytes]], **kwargs: body = { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } # response body for status code(s): 200 response == { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -13110,7 +11262,7 @@ def create(self, body: Union[_models.AtlasGlossary, JSON, IO[bytes]], **kwargs: params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -13142,7 +11294,6 @@ def create(self, body: Union[_models.AtlasGlossary, JSON, IO[bytes]], **kwargs: def create_categories( self, body: List[_models.AtlasGlossaryCategory], *, content_type: str = "application/json", **kwargs: Any ) -> List[_models.AtlasGlossaryCategory]: - # pylint: disable=line-too-long """Create glossary category in bulk. :param body: An array of glossary category definitions to be created. Required. @@ -13161,92 +11312,66 @@ def create_categories( body = [ { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the - category. - "description": "str", # Optional. The description of - the category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of - the parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the - entity. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The - end of the time boundary. - "startTime": "str", # Optional. The - start of the time boundary. - "timeZone": "str" # Optional. The - timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the - glossary object. - "shortDescription": "str", # Optional. The short version of - description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "updateTime": 0, + "updatedBy": "str" } ] @@ -13254,92 +11379,66 @@ def create_categories( response == [ { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the - category. - "description": "str", # Optional. The description of - the category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of - the parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the - entity. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The - end of the time boundary. - "startTime": "str", # Optional. The - start of the time boundary. - "timeZone": "str" # Optional. The - timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the - glossary object. - "shortDescription": "str", # Optional. The short version of - description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "updateTime": 0, + "updatedBy": "str" } ] """ @@ -13348,7 +11447,6 @@ def create_categories( def create_categories( self, body: IO[bytes], *, content_type: str = "application/json", **kwargs: Any ) -> List[_models.AtlasGlossaryCategory]: - # pylint: disable=line-too-long """Create glossary category in bulk. :param body: An array of glossary category definitions to be created. Required. @@ -13367,92 +11465,66 @@ def create_categories( response == [ { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the - category. - "description": "str", # Optional. The description of - the category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of - the parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the - entity. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The - end of the time boundary. - "startTime": "str", # Optional. The - start of the time boundary. - "timeZone": "str" # Optional. The - timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the - glossary object. - "shortDescription": "str", # Optional. The short version of - description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "updateTime": 0, + "updatedBy": "str" } ] """ @@ -13461,7 +11533,6 @@ def create_categories( def create_categories( self, body: Union[List[_models.AtlasGlossaryCategory], IO[bytes]], **kwargs: Any ) -> List[_models.AtlasGlossaryCategory]: - # pylint: disable=line-too-long """Create glossary category in bulk. :param body: An array of glossary category definitions to be created. Is either a @@ -13478,96 +11549,70 @@ def create_categories( response == [ { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the - category. - "description": "str", # Optional. The description of - the category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of - the parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the - entity. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The - end of the time boundary. - "startTime": "str", # Optional. The - start of the time boundary. - "timeZone": "str" # Optional. The - timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the - glossary object. - "shortDescription": "str", # Optional. The short version of - description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "updateTime": 0, + "updatedBy": "str" } ] """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -13595,7 +11640,7 @@ def create_categories( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -13627,10 +11672,9 @@ def create_categories( def create_category( self, body: _models.AtlasGlossaryCategory, *, content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossaryCategory: - # pylint: disable=line-too-long """Create a glossary category. - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.AtlasGlossaryCategory :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -13645,165 +11689,131 @@ def create_category( # JSON input template you can fill out and use as your body input. body = { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the category - header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the parent - category. - "relationGuid": "str" # Optional. The GUID of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str" } # response body for status code(s): 200 response == { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the category - header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the parent - category. - "relationGuid": "str" # Optional. The GUID of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str" } """ @@ -13811,10 +11821,9 @@ def create_category( def create_category( self, body: JSON, *, content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossaryCategory: - # pylint: disable=line-too-long """Create a glossary category. - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -13829,83 +11838,66 @@ def create_category( # response body for status code(s): 200 response == { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the category - header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the parent - category. - "relationGuid": "str" # Optional. The GUID of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str" } """ @@ -13913,10 +11905,9 @@ def create_category( def create_category( self, body: IO[bytes], *, content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossaryCategory: - # pylint: disable=line-too-long """Create a glossary category. - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword content_type: Body Parameter content-type. Content type parameter for binary body. Default value is "application/json". @@ -13931,83 +11922,66 @@ def create_category( # response body for status code(s): 200 response == { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the category - header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the parent - category. - "relationGuid": "str" # Optional. The GUID of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str" } """ @@ -14015,10 +11989,10 @@ def create_category( def create_category( self, body: Union[_models.AtlasGlossaryCategory, JSON, IO[bytes]], **kwargs: Any ) -> _models.AtlasGlossaryCategory: - # pylint: disable=line-too-long """Create a glossary category. - :param body: Is one of the following types: AtlasGlossaryCategory, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: AtlasGlossaryCategory, JSON, + IO[bytes] Required. :type body: ~azure.purview.datamap.models.AtlasGlossaryCategory or JSON or IO[bytes] :return: AtlasGlossaryCategory. The AtlasGlossaryCategory is compatible with MutableMapping :rtype: ~azure.purview.datamap.models.AtlasGlossaryCategory @@ -14030,168 +12004,134 @@ def create_category( # JSON input template you can fill out and use as your body input. body = { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the category - header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the parent - category. - "relationGuid": "str" # Optional. The GUID of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str" } # response body for status code(s): 200 response == { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the category - header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the parent - category. - "relationGuid": "str" # Optional. The GUID of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str" } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -14219,7 +12159,7 @@ def create_category( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -14249,7 +12189,6 @@ def create_category( @distributed_trace def get_category(self, category_id: str, **kwargs: Any) -> _models.AtlasGlossaryCategory: - # pylint: disable=line-too-long """Get specific glossary category by its GUID. :param category_id: The globally unique identifier of the category. Required. @@ -14264,86 +12203,69 @@ def get_category(self, category_id: str, **kwargs: Any) -> _models.AtlasGlossary # response body for status code(s): 200 response == { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the category - header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the parent - category. - "relationGuid": "str" # Optional. The GUID of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str" } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -14362,7 +12284,7 @@ def get_category(self, category_id: str, **kwargs: Any) -> _models.AtlasGlossary params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -14399,12 +12321,11 @@ def update_category( content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossaryCategory: - # pylint: disable=line-too-long """Update the given glossary category by its GUID. :param category_id: The globally unique identifier of the category. Required. :type category_id: str - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.AtlasGlossaryCategory :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -14419,165 +12340,131 @@ def update_category( # JSON input template you can fill out and use as your body input. body = { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the category - header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the parent - category. - "relationGuid": "str" # Optional. The GUID of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str" } # response body for status code(s): 200 response == { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the category - header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the parent - category. - "relationGuid": "str" # Optional. The GUID of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str" } """ @@ -14585,12 +12472,11 @@ def update_category( def update_category( self, category_id: str, body: JSON, *, content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossaryCategory: - # pylint: disable=line-too-long """Update the given glossary category by its GUID. :param category_id: The globally unique identifier of the category. Required. :type category_id: str - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -14605,83 +12491,66 @@ def update_category( # response body for status code(s): 200 response == { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the category - header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the parent - category. - "relationGuid": "str" # Optional. The GUID of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str" } """ @@ -14689,12 +12558,11 @@ def update_category( def update_category( self, category_id: str, body: IO[bytes], *, content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossaryCategory: - # pylint: disable=line-too-long """Update the given glossary category by its GUID. :param category_id: The globally unique identifier of the category. Required. :type category_id: str - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword content_type: Body Parameter content-type. Content type parameter for binary body. Default value is "application/json". @@ -14709,83 +12577,66 @@ def update_category( # response body for status code(s): 200 response == { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the category - header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the parent - category. - "relationGuid": "str" # Optional. The GUID of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str" } """ @@ -14793,12 +12644,12 @@ def update_category( def update_category( self, category_id: str, body: Union[_models.AtlasGlossaryCategory, JSON, IO[bytes]], **kwargs: Any ) -> _models.AtlasGlossaryCategory: - # pylint: disable=line-too-long """Update the given glossary category by its GUID. :param category_id: The globally unique identifier of the category. Required. :type category_id: str - :param body: Is one of the following types: AtlasGlossaryCategory, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: AtlasGlossaryCategory, JSON, + IO[bytes] Required. :type body: ~azure.purview.datamap.models.AtlasGlossaryCategory or JSON or IO[bytes] :return: AtlasGlossaryCategory. The AtlasGlossaryCategory is compatible with MutableMapping :rtype: ~azure.purview.datamap.models.AtlasGlossaryCategory @@ -14810,168 +12661,134 @@ def update_category( # JSON input template you can fill out and use as your body input. body = { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the category - header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the parent - category. - "relationGuid": "str" # Optional. The GUID of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str" } # response body for status code(s): 200 response == { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the category - header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the parent - category. - "relationGuid": "str" # Optional. The GUID of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str" } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -15000,7 +12817,7 @@ def update_category( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -15040,7 +12857,7 @@ def delete_category( # pylint: disable=inconsistent-return-statements :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -15059,7 +12876,7 @@ def delete_category( # pylint: disable=inconsistent-return-statements params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -15071,8 +12888,6 @@ def delete_category( # pylint: disable=inconsistent-return-statements response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -15084,7 +12899,6 @@ def delete_category( # pylint: disable=inconsistent-return-statements def partial_update_category( self, category_id: str, body: Dict[str, str], *, content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossaryCategory: - # pylint: disable=line-too-long """Update the glossary category partially. So far we only supports partial updating shortDescription and longDescription for category. @@ -15105,89 +12919,72 @@ def partial_update_category( # JSON input template you can fill out and use as your body input. body = { - "str": "str" # Optional. + "str": "str" } # response body for status code(s): 200 response == { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the category - header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the parent - category. - "relationGuid": "str" # Optional. The GUID of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str" } """ @@ -15195,7 +12992,6 @@ def partial_update_category( def partial_update_category( self, category_id: str, body: IO[bytes], *, content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossaryCategory: - # pylint: disable=line-too-long """Update the glossary category partially. So far we only supports partial updating shortDescription and longDescription for category. @@ -15217,83 +13013,66 @@ def partial_update_category( # response body for status code(s): 200 response == { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the category - header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the parent - category. - "relationGuid": "str" # Optional. The GUID of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str" } """ @@ -15301,7 +13080,6 @@ def partial_update_category( def partial_update_category( self, category_id: str, body: Union[Dict[str, str], IO[bytes]], **kwargs: Any ) -> _models.AtlasGlossaryCategory: - # pylint: disable=line-too-long """Update the glossary category partially. So far we only supports partial updating shortDescription and longDescription for category. @@ -15320,86 +13098,69 @@ def partial_update_category( # response body for status code(s): 200 response == { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the category - header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the parent - category. - "relationGuid": "str" # Optional. The GUID of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str" } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -15428,7 +13189,7 @@ def partial_update_category( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -15488,19 +13249,16 @@ def get_related_categories( response == { "str": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -15522,7 +13280,7 @@ def get_related_categories( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -15560,7 +13318,6 @@ def get_category_terms( sort: Optional[str] = None, **kwargs: Any ) -> List[_models.AtlasRelatedTermHeader]: - # pylint: disable=line-too-long """Get all terms associated with the specific category. :param category_id: The globally unique identifier of the category. Required. @@ -15581,19 +13338,17 @@ def get_category_terms( # response body for status code(s): 200 response == [ { - "description": "str", # Optional. The description of the related - term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the relationship. - "status": "str", # Optional. The status of term relationship. Known - values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -15615,7 +13370,7 @@ def get_category_terms( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -15652,10 +13407,9 @@ def create_term( content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossaryTerm: - # pylint: disable=line-too-long """Create a glossary term. - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.AtlasGlossaryTerm :keyword include_term_hierarchy: Whether include term hierarchy. Default value is None. :paramtype include_term_hierarchy: bool @@ -15671,666 +13425,512 @@ def create_term( # JSON input template you can fill out and use as your body input. body = { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "typeName": "str" # Optional. The name of the type. - }, - "relationshipGuid": "str", # Optional. The GUID of the - relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" + }, + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the term, - which is map>. The key of the first layer map - is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term relationship. - Known values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and - "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active Directory - object Id. - "info": "str" # Optional. additional information to - describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "shortDescription": "str", # Optional. The short version of description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known values - are: "Draft", "Approved", "Alert", and "Expired". + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } # response body for status code(s): 200 response == { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "typeName": "str" # Optional. The name of the type. - }, - "relationshipGuid": "str", # Optional. The GUID of the - relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" + }, + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the term, - which is map>. The key of the first layer map - is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term relationship. - Known values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and - "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active Directory - object Id. - "info": "str" # Optional. additional information to - describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "shortDescription": "str", # Optional. The short version of description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known values - are: "Draft", "Approved", "Alert", and "Expired". + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } @@ -16345,10 +13945,9 @@ def create_term( content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossaryTerm: - # pylint: disable=line-too-long """Create a glossary term. - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword include_term_hierarchy: Whether include term hierarchy. Default value is None. :paramtype include_term_hierarchy: bool @@ -16364,333 +13963,256 @@ def create_term( # response body for status code(s): 200 response == { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "typeName": "str" # Optional. The name of the type. - }, - "relationshipGuid": "str", # Optional. The GUID of the - relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" + }, + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the term, - which is map>. The key of the first layer map - is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term relationship. - Known values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and - "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active Directory - object Id. - "info": "str" # Optional. additional information to - describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "shortDescription": "str", # Optional. The short version of description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known values - are: "Draft", "Approved", "Alert", and "Expired". + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } @@ -16705,10 +14227,9 @@ def create_term( content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossaryTerm: - # pylint: disable=line-too-long """Create a glossary term. - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword include_term_hierarchy: Whether include term hierarchy. Default value is None. :paramtype include_term_hierarchy: bool @@ -16724,333 +14245,256 @@ def create_term( # response body for status code(s): 200 response == { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "typeName": "str" # Optional. The name of the type. - }, - "relationshipGuid": "str", # Optional. The GUID of the - relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" + }, + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the term, - which is map>. The key of the first layer map - is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term relationship. - Known values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and - "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active Directory - object Id. - "info": "str" # Optional. additional information to - describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "shortDescription": "str", # Optional. The short version of description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known values - are: "Draft", "Approved", "Alert", and "Expired". + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } @@ -17064,10 +14508,10 @@ def create_term( include_term_hierarchy: Optional[bool] = None, **kwargs: Any ) -> _models.AtlasGlossaryTerm: - # pylint: disable=line-too-long """Create a glossary term. - :param body: Is one of the following types: AtlasGlossaryTerm, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: AtlasGlossaryTerm, JSON, IO[bytes] + Required. :type body: ~azure.purview.datamap.models.AtlasGlossaryTerm or JSON or IO[bytes] :keyword include_term_hierarchy: Whether include term hierarchy. Default value is None. :paramtype include_term_hierarchy: bool @@ -17080,671 +14524,517 @@ def create_term( # JSON input template you can fill out and use as your body input. body = { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "typeName": "str" # Optional. The name of the type. - }, - "relationshipGuid": "str", # Optional. The GUID of the - relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" + }, + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the term, - which is map>. The key of the first layer map - is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term relationship. - Known values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and - "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active Directory - object Id. - "info": "str" # Optional. additional information to - describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "shortDescription": "str", # Optional. The short version of description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known values - are: "Draft", "Approved", "Alert", and "Expired". + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } # response body for status code(s): 200 response == { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "typeName": "str" # Optional. The name of the type. - }, - "relationshipGuid": "str", # Optional. The GUID of the - relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" + }, + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the term, - which is map>. The key of the first layer map - is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term relationship. - Known values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and - "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active Directory - object Id. - "info": "str" # Optional. additional information to - describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "shortDescription": "str", # Optional. The short version of description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known values - are: "Draft", "Approved", "Alert", and "Expired". + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -17773,7 +15063,7 @@ def create_term( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -17803,7 +15093,6 @@ def create_term( @distributed_trace def get_term(self, term_id: str, **kwargs: Any) -> _models.AtlasGlossaryTerm: - # pylint: disable=line-too-long """Get a specific glossary term by its GUID. :param term_id: The globally unique identifier for glossary term. Required. @@ -17817,338 +15106,261 @@ def get_term(self, term_id: str, **kwargs: Any) -> _models.AtlasGlossaryTerm: # response body for status code(s): 200 response == { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "typeName": "str" # Optional. The name of the type. - }, - "relationshipGuid": "str", # Optional. The GUID of the - relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" + }, + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the term, - which is map>. The key of the first layer map - is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term relationship. - Known values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and - "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active Directory - object Id. - "info": "str" # Optional. additional information to - describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "shortDescription": "str", # Optional. The short version of description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known values - are: "Draft", "Approved", "Alert", and "Expired". + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -18168,7 +15380,7 @@ def get_term(self, term_id: str, **kwargs: Any) -> _models.AtlasGlossaryTerm: params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -18206,12 +15418,11 @@ def update_term( content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossaryTerm: - # pylint: disable=line-too-long """Update the given glossary term by its GUID. :param term_id: The globally unique identifier for glossary term. Required. :type term_id: str - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.AtlasGlossaryTerm :keyword include_term_hierarchy: Whether include term hierarchy. Default value is None. :paramtype include_term_hierarchy: bool @@ -18227,666 +15438,512 @@ def update_term( # JSON input template you can fill out and use as your body input. body = { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "typeName": "str" # Optional. The name of the type. - }, - "relationshipGuid": "str", # Optional. The GUID of the - relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" + }, + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the term, - which is map>. The key of the first layer map - is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term relationship. - Known values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and - "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active Directory - object Id. - "info": "str" # Optional. additional information to - describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "shortDescription": "str", # Optional. The short version of description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known values - are: "Draft", "Approved", "Alert", and "Expired". + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } # response body for status code(s): 200 response == { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "typeName": "str" # Optional. The name of the type. - }, - "relationshipGuid": "str", # Optional. The GUID of the - relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" + }, + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the term, - which is map>. The key of the first layer map - is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term relationship. - Known values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and - "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active Directory - object Id. - "info": "str" # Optional. additional information to - describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "shortDescription": "str", # Optional. The short version of description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known values - are: "Draft", "Approved", "Alert", and "Expired". + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } @@ -18902,12 +15959,11 @@ def update_term( content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossaryTerm: - # pylint: disable=line-too-long """Update the given glossary term by its GUID. :param term_id: The globally unique identifier for glossary term. Required. :type term_id: str - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword include_term_hierarchy: Whether include term hierarchy. Default value is None. :paramtype include_term_hierarchy: bool @@ -18923,333 +15979,256 @@ def update_term( # response body for status code(s): 200 response == { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "typeName": "str" # Optional. The name of the type. - }, - "relationshipGuid": "str", # Optional. The GUID of the - relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" + }, + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the term, - which is map>. The key of the first layer map - is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term relationship. - Known values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and - "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active Directory - object Id. - "info": "str" # Optional. additional information to - describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "shortDescription": "str", # Optional. The short version of description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known values - are: "Draft", "Approved", "Alert", and "Expired". + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } @@ -19265,12 +16244,11 @@ def update_term( content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossaryTerm: - # pylint: disable=line-too-long """Update the given glossary term by its GUID. :param term_id: The globally unique identifier for glossary term. Required. :type term_id: str - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword include_term_hierarchy: Whether include term hierarchy. Default value is None. :paramtype include_term_hierarchy: bool @@ -19286,333 +16264,256 @@ def update_term( # response body for status code(s): 200 response == { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "typeName": "str" # Optional. The name of the type. - }, - "relationshipGuid": "str", # Optional. The GUID of the - relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" + }, + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the term, - which is map>. The key of the first layer map - is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term relationship. - Known values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and - "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active Directory - object Id. - "info": "str" # Optional. additional information to - describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "shortDescription": "str", # Optional. The short version of description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known values - are: "Draft", "Approved", "Alert", and "Expired". + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } @@ -19627,12 +16528,12 @@ def update_term( include_term_hierarchy: Optional[bool] = None, **kwargs: Any ) -> _models.AtlasGlossaryTerm: - # pylint: disable=line-too-long """Update the given glossary term by its GUID. :param term_id: The globally unique identifier for glossary term. Required. :type term_id: str - :param body: Is one of the following types: AtlasGlossaryTerm, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: AtlasGlossaryTerm, JSON, IO[bytes] + Required. :type body: ~azure.purview.datamap.models.AtlasGlossaryTerm or JSON or IO[bytes] :keyword include_term_hierarchy: Whether include term hierarchy. Default value is None. :paramtype include_term_hierarchy: bool @@ -19645,671 +16546,517 @@ def update_term( # JSON input template you can fill out and use as your body input. body = { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "typeName": "str" # Optional. The name of the type. - }, - "relationshipGuid": "str", # Optional. The GUID of the - relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" + }, + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the term, - which is map>. The key of the first layer map - is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term relationship. - Known values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and - "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active Directory - object Id. - "info": "str" # Optional. additional information to - describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "shortDescription": "str", # Optional. The short version of description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known values - are: "Draft", "Approved", "Alert", and "Expired". + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } # response body for status code(s): 200 response == { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "typeName": "str" # Optional. The name of the type. - }, - "relationshipGuid": "str", # Optional. The GUID of the - relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" + }, + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the term, - which is map>. The key of the first layer map - is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term relationship. - Known values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and - "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active Directory - object Id. - "info": "str" # Optional. additional information to - describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "shortDescription": "str", # Optional. The short version of description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known values - are: "Draft", "Approved", "Alert", and "Expired". + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -20340,7 +17087,7 @@ def update_term( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -20378,7 +17125,7 @@ def delete_term(self, term_id: str, **kwargs: Any) -> None: # pylint: disable=i :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -20397,7 +17144,7 @@ def delete_term(self, term_id: str, **kwargs: Any) -> None: # pylint: disable=i params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -20409,8 +17156,6 @@ def delete_term(self, term_id: str, **kwargs: Any) -> None: # pylint: disable=i response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -20428,7 +17173,6 @@ def partial_update_term( content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossaryTerm: - # pylint: disable=line-too-long """Update the glossary term partially. So far we only supports partial updating shortDescription, longDescription, abbreviation, usage and status for term. @@ -20451,338 +17195,261 @@ def partial_update_term( # JSON input template you can fill out and use as your body input. body = { - "str": "str" # Optional. + "str": "str" } # response body for status code(s): 200 response == { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "typeName": "str" # Optional. The name of the type. - }, - "relationshipGuid": "str", # Optional. The GUID of the - relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" + }, + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the term, - which is map>. The key of the first layer map - is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term relationship. - Known values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and - "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active Directory - object Id. - "info": "str" # Optional. additional information to - describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "shortDescription": "str", # Optional. The short version of description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known values - are: "Draft", "Approved", "Alert", and "Expired". + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } @@ -20798,7 +17465,6 @@ def partial_update_term( content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossaryTerm: - # pylint: disable=line-too-long """Update the glossary term partially. So far we only supports partial updating shortDescription, longDescription, abbreviation, usage and status for term. @@ -20821,333 +17487,256 @@ def partial_update_term( # response body for status code(s): 200 response == { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "typeName": "str" # Optional. The name of the type. - }, - "relationshipGuid": "str", # Optional. The GUID of the - relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" + }, + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the term, - which is map>. The key of the first layer map - is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term relationship. - Known values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and - "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active Directory - object Id. - "info": "str" # Optional. additional information to - describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "shortDescription": "str", # Optional. The short version of description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known values - are: "Draft", "Approved", "Alert", and "Expired". + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } @@ -21162,7 +17751,6 @@ def partial_update_term( include_term_hierarchy: Optional[bool] = None, **kwargs: Any ) -> _models.AtlasGlossaryTerm: - # pylint: disable=line-too-long """Update the glossary term partially. So far we only supports partial updating shortDescription, longDescription, abbreviation, usage and status for term. @@ -21182,338 +17770,261 @@ def partial_update_term( # response body for status code(s): 200 response == { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "typeName": "str" # Optional. The name of the type. - }, - "relationshipGuid": "str", # Optional. The GUID of the - relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" + }, + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the term, - which is map>. The key of the first layer map - is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term relationship. - Known values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and - "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active Directory - object Id. - "info": "str" # Optional. additional information to - describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "shortDescription": "str", # Optional. The short version of description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known values - are: "Draft", "Approved", "Alert", and "Expired". + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -21544,7 +18055,7 @@ def partial_update_term( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -21581,7 +18092,6 @@ def create_terms( content_type: str = "application/json", **kwargs: Any ) -> List[_models.AtlasGlossaryTerm]: - # pylint: disable=line-too-long """Create glossary terms in bulk. :param body: An array of glossary term definitions to be created in bulk. Required. @@ -21601,369 +18111,256 @@ def create_terms( # JSON input template you can fill out and use as your body input. body = [ { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "typeName": "str" # Optional. The name of - the type. + "lastModifiedTS": "str", + "typeName": "str" }, - "relationshipGuid": "str", # Optional. The GUID of - the relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship - type. - "typeName": "str", # Optional. The name of the type. + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes - of the object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the - term, which is map>. The key of the first - layer map is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the - category. - "description": "str", # Optional. The description of - the record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the - entity. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The - end of the time boundary. - "startTime": "str", # Optional. The - start of the time boundary. - "timeZone": "str" # Optional. The - timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active - Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of - :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes - of the object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "qualifiedName": "str", # Optional. The qualified name of the - glossary object. + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for - url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "shortDescription": "str", # Optional. The short version of - description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known - values are: "Draft", "Approved", "Alert", and "Expired". + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } @@ -21972,369 +18369,256 @@ def create_terms( # response body for status code(s): 200 response == [ { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "typeName": "str" # Optional. The name of - the type. + "lastModifiedTS": "str", + "typeName": "str" }, - "relationshipGuid": "str", # Optional. The GUID of - the relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship - type. - "typeName": "str", # Optional. The name of the type. + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes - of the object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the - term, which is map>. The key of the first - layer map is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the - category. - "description": "str", # Optional. The description of - the record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the - entity. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The - end of the time boundary. - "startTime": "str", # Optional. The - start of the time boundary. - "timeZone": "str" # Optional. The - timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active - Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of - :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes - of the object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "qualifiedName": "str", # Optional. The qualified name of the - glossary object. + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for - url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "shortDescription": "str", # Optional. The short version of - description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known - values are: "Draft", "Approved", "Alert", and "Expired". + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } @@ -22350,7 +18634,6 @@ def create_terms( content_type: str = "application/json", **kwargs: Any ) -> List[_models.AtlasGlossaryTerm]: - # pylint: disable=line-too-long """Create glossary terms in bulk. :param body: An array of glossary term definitions to be created in bulk. Required. @@ -22370,369 +18653,256 @@ def create_terms( # response body for status code(s): 200 response == [ { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "typeName": "str" # Optional. The name of - the type. + "lastModifiedTS": "str", + "typeName": "str" }, - "relationshipGuid": "str", # Optional. The GUID of - the relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship - type. - "typeName": "str", # Optional. The name of the type. + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes - of the object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the - term, which is map>. The key of the first - layer map is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the - category. - "description": "str", # Optional. The description of - the record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the - entity. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The - end of the time boundary. - "startTime": "str", # Optional. The - start of the time boundary. - "timeZone": "str" # Optional. The - timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active - Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of - :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes - of the object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "qualifiedName": "str", # Optional. The qualified name of the - glossary object. + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for - url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "shortDescription": "str", # Optional. The short version of - description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known - values are: "Draft", "Approved", "Alert", and "Expired". + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } @@ -22747,7 +18917,6 @@ def create_terms( include_term_hierarchy: Optional[bool] = None, **kwargs: Any ) -> List[_models.AtlasGlossaryTerm]: - # pylint: disable=line-too-long """Create glossary terms in bulk. :param body: An array of glossary term definitions to be created in bulk. Is either a @@ -22765,375 +18934,262 @@ def create_terms( # response body for status code(s): 200 response == [ { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "typeName": "str" # Optional. The name of - the type. + "lastModifiedTS": "str", + "typeName": "str" }, - "relationshipGuid": "str", # Optional. The GUID of - the relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship - type. - "typeName": "str", # Optional. The name of the type. + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes - of the object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the - term, which is map>. The key of the first - layer map is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the - category. - "description": "str", # Optional. The description of - the record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the - entity. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The - end of the time boundary. - "startTime": "str", # Optional. The - start of the time boundary. - "timeZone": "str" # Optional. The - timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active - Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of - :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes - of the object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "qualifiedName": "str", # Optional. The qualified name of the - glossary object. + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for - url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "shortDescription": "str", # Optional. The short version of - description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known - values are: "Draft", "Approved", "Alert", and "Expired". + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } ] """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -23163,7 +19219,7 @@ def create_terms( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -23201,7 +19257,6 @@ def get_entities_assigned_with_term( sort: Optional[str] = None, **kwargs: Any ) -> List[_models.AtlasRelatedObjectId]: - # pylint: disable=line-too-long """List all related objects assigned with the specified term. Recommend using limit/offset to get pagination result. @@ -23223,31 +19278,27 @@ def get_entities_assigned_with_term( # response body for status code(s): 200 response == [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "typeName": "str" # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" }, - "relationshipGuid": "str", # Optional. The GUID of the relationship. - "relationshipStatus": "str", # Optional. The enum of relationship - status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } } ] """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -23269,7 +19320,7 @@ def get_entities_assigned_with_term( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -23306,7 +19357,6 @@ def assign_term_to_entities( # pylint: disable=inconsistent-return-statements content_type: str = "application/json", **kwargs: Any ) -> None: - # pylint: disable=line-too-long """Assign the given term to the provided list of related objects. Recommend using small batches with multiple API calls. @@ -23332,26 +19382,22 @@ def assign_term_to_entities( # pylint: disable=inconsistent-return-statements # JSON input template you can fill out and use as your body input. body = [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "typeName": "str" # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" }, - "relationshipGuid": "str", # Optional. The GUID of the relationship. - "relationshipStatus": "str", # Optional. The enum of relationship - status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } } ] @@ -23402,7 +19448,7 @@ def assign_term_to_entities( # pylint: disable=inconsistent-return-statements :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -23431,7 +19477,7 @@ def assign_term_to_entities( # pylint: disable=inconsistent-return-statements params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -23443,8 +19489,6 @@ def assign_term_to_entities( # pylint: disable=inconsistent-return-statements response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -23461,7 +19505,6 @@ def delete_term_assignment_from_entities( # pylint: disable=inconsistent-return content_type: str = "application/json", **kwargs: Any ) -> None: - # pylint: disable=line-too-long """Delete the term assignment for the given list of related objects. :param term_id: The globally unique identifier for glossary term. Required. @@ -23482,26 +19525,22 @@ def delete_term_assignment_from_entities( # pylint: disable=inconsistent-return # JSON input template you can fill out and use as your body input. body = [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "typeName": "str" # Optional. The name of the type. + "lastModifiedTS": "str", + "typeName": "str" }, - "relationshipGuid": "str", # Optional. The GUID of the relationship. - "relationshipStatus": "str", # Optional. The enum of relationship - status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship type. - "typeName": "str", # Optional. The name of the type. + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } } ] @@ -23541,7 +19580,7 @@ def delete_term_assignment_from_entities( # pylint: disable=inconsistent-return :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -23570,7 +19609,7 @@ def delete_term_assignment_from_entities( # pylint: disable=inconsistent-return params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -23582,8 +19621,6 @@ def delete_term_assignment_from_entities( # pylint: disable=inconsistent-return response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -23601,7 +19638,6 @@ def get_related_terms( sort: Optional[str] = None, **kwargs: Any ) -> Dict[str, List[_models.AtlasRelatedTermHeader]]: - # pylint: disable=line-too-long """Get all related terms for a specific term by its GUID. Limit, offset, and sort parameters are currently not being enabled and won't work even they are passed. @@ -23624,22 +19660,18 @@ def get_related_terms( response == { "str": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -23662,7 +19694,7 @@ def get_related_terms( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -23692,7 +19724,6 @@ def get_related_terms( @distributed_trace def get(self, glossary_id: str, **kwargs: Any) -> _models.AtlasGlossary: - # pylint: disable=line-too-long """Get a specific Glossary by its GUID. :param glossary_id: The globally unique identifier for glossary. Required. @@ -23708,73 +19739,58 @@ def get(self, glossary_id: str, **kwargs: Any) -> _models.AtlasGlossary: response == { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -23793,7 +19809,7 @@ def get(self, glossary_id: str, **kwargs: Any) -> _models.AtlasGlossary: params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -23831,12 +19847,11 @@ def update( content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossary: - # pylint: disable=line-too-long """Update the given glossary. :param glossary_id: The globally unique identifier for glossary. Required. :type glossary_id: str - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.AtlasGlossary :keyword ignore_terms_and_categories: Whether ignore terms and categories. Default value is None. @@ -23855,140 +19870,110 @@ def update( body = { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } # response body for status code(s): 200 response == { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } """ @@ -24002,12 +19987,11 @@ def update( content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossary: - # pylint: disable=line-too-long """Update the given glossary. :param glossary_id: The globally unique identifier for glossary. Required. :type glossary_id: str - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword ignore_terms_and_categories: Whether ignore terms and categories. Default value is None. @@ -24026,70 +20010,55 @@ def update( response == { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } """ @@ -24103,12 +20072,11 @@ def update( content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossary: - # pylint: disable=line-too-long """Update the given glossary. :param glossary_id: The globally unique identifier for glossary. Required. :type glossary_id: str - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword ignore_terms_and_categories: Whether ignore terms and categories. Default value is None. @@ -24127,70 +20095,55 @@ def update( response == { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } """ @@ -24203,12 +20156,12 @@ def update( ignore_terms_and_categories: Optional[bool] = None, **kwargs: Any ) -> _models.AtlasGlossary: - # pylint: disable=line-too-long """Update the given glossary. :param glossary_id: The globally unique identifier for glossary. Required. :type glossary_id: str - :param body: Is one of the following types: AtlasGlossary, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: AtlasGlossary, JSON, IO[bytes] + Required. :type body: ~azure.purview.datamap.models.AtlasGlossary or JSON or IO[bytes] :keyword ignore_terms_and_categories: Whether ignore terms and categories. Default value is None. @@ -24224,143 +20177,113 @@ def update( body = { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } # response body for status code(s): 200 response == { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -24391,7 +20314,7 @@ def update( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -24430,7 +20353,7 @@ def delete(self, glossary_id: str, **kwargs: Any) -> None: # pylint: disable=in :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -24449,7 +20372,7 @@ def delete(self, glossary_id: str, **kwargs: Any) -> None: # pylint: disable=in params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -24461,8 +20384,6 @@ def delete(self, glossary_id: str, **kwargs: Any) -> None: # pylint: disable=in response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -24480,7 +20401,6 @@ def get_categories( sort: Optional[str] = None, **kwargs: Any ) -> List[_models.AtlasGlossaryCategory]: - # pylint: disable=line-too-long """Get the categories belonging to a specific glossary. Recommend using limit/offset to get pagination result. @@ -24503,96 +20423,70 @@ def get_categories( response == [ { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID of the - category. - "description": "str", # Optional. The description of - the category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of - the parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the - entity. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The - end of the time boundary. - "startTime": "str", # Optional. The - start of the time boundary. - "timeZone": "str" # Optional. The - timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" }, - "qualifiedName": "str", # Optional. The qualified name of the - glossary object. - "shortDescription": "str", # Optional. The short version of - description. + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the record. + "updateTime": 0, + "updatedBy": "str" } ] """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -24614,7 +20508,7 @@ def get_categories( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -24673,17 +20567,15 @@ def get_categories_headers( # response body for status code(s): 200 response == [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the category - header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the parent - category. - "relationGuid": "str" # Optional. The GUID of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ] """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -24705,7 +20597,7 @@ def get_categories_headers( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -24735,7 +20627,6 @@ def get_categories_headers( @distributed_trace def get_detailed(self, glossary_id: str, **kwargs: Any) -> _models.AtlasGlossaryExtInfo: - # pylint: disable=line-too-long """Get a specific glossary with detailed information. This API is not recommend. @@ -24758,587 +20649,379 @@ def get_detailed(self, glossary_id: str, **kwargs: Any) -> _models.AtlasGlossary response == { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "categoryInfo": { "str": { "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the - glossary. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "childrenCategories": [ { - "categoryGuid": "str", # Optional. The GUID - of the category. - "description": "str", # Optional. The - description of the category header. - "displayText": "str", # Optional. The - display text. - "parentCategoryGuid": "str", # Optional. The - GUID of the parent category. - "relationGuid": "str" # Optional. The GUID - of the relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. - "guid": "str", # Optional. The GUID of the object. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "longDescription": "str", # Optional. The long version - description. - "name": "str", # Optional. The name of the glossary object. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", "parentCategory": { - "categoryGuid": "str", # Optional. The GUID of the - category. - "description": "str", # Optional. The description of - the category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of - the parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. - }, - "qualifiedName": "str", # Optional. The qualified name of - the glossary object. - "shortDescription": "str", # Optional. The short version of - description. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" + }, + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The - description of the related term. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - term relationship. Known values are: "DRAFT", "ACTIVE", - "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str" # Optional. The user who updated the - record. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str" } }, "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "termInfo": { "str": { - "abbreviation": "str", # Optional. The abbreviation of the - term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the - glossary. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The - description of the related term. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - term relationship. Known values are: "DRAFT", "ACTIVE", - "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The - display text. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the - object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The - attributes of the struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. - ETag for concurrency control. - "typeName": "str" # Optional. The - name of the type. + "lastModifiedTS": "str", + "typeName": "str" }, - "relationshipGuid": "str", # Optional. The - GUID of the relationship. - "relationshipStatus": "str", # Optional. The - enum of relationship status. Known values are: "ACTIVE" and - "DELETED". - "relationshipType": "str", # Optional. - Relationship type. - "typeName": "str", # Optional. The name of - the type. + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique - attributes of the object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes - of the term, which is map>. The key of - the first layer map is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID - of the category. - "description": "str", # Optional. The - description of the record. - "displayText": "str", # Optional. The - display text. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str" # Optional. The status of - term relationship. Known values are: "DRAFT", "ACTIVE", - "DEPRECATED", "OBSOLETE", and "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The - description of the related term. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - term relationship. Known values are: "DRAFT", "ACTIVE", - "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure - Active Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display - text. - "guid": "str", # Optional. The GUID of the - object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of - :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource - Id. - "typeName": "str", # Optional. The name of - the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique - attributes of the object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The - description of the related term. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - term relationship. Known values are: "DRAFT", "ACTIVE", - "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "longDescription": "str", # Optional. The long version - description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The - description of the related term. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - term relationship. Known values are: "DRAFT", "ACTIVE", - "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The - description of the related term. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - term relationship. Known values are: "DRAFT", "ACTIVE", - "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "qualifiedName": "str", # Optional. The qualified name of - the glossary object. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The - description of the related term. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - term relationship. Known values are: "DRAFT", "ACTIVE", - "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The - description of the related term. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - term relationship. Known values are: "DRAFT", "ACTIVE", - "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display - name for url. - "url": "str" # Optional. web url. http or - https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The - description of the related term. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - term relationship. Known values are: "DRAFT", "ACTIVE", - "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "shortDescription": "str", # Optional. The short version of - description. - "status": "str", # Optional. Status of the - AtlasGlossaryTerm. Known values are: "Draft", "Approved", "Alert", and - "Expired". + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The - description of the related term. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - term relationship. Known values are: "DRAFT", "ACTIVE", - "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The - description of the related term. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - term relationship. Known values are: "DRAFT", "ACTIVE", - "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The - description of the related term. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - term relationship. Known values are: "DRAFT", "ACTIVE", - "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "usage": "str", # Optional. The usage of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The - description of the related term. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - term relationship. Known values are: "DRAFT", "ACTIVE", - "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The - description of the related term. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - term relationship. Known values are: "DRAFT", "ACTIVE", - "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } }, "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -25358,7 +21041,7 @@ def get_detailed(self, glossary_id: str, **kwargs: Any) -> _models.AtlasGlossary params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -25396,7 +21079,6 @@ def partial_update( content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossary: - # pylint: disable=line-too-long """Update the glossary partially. Some properties such as qualifiedName are not allowed to be updated. @@ -25426,77 +21108,62 @@ def partial_update( # JSON input template you can fill out and use as your body input. body = { - "str": "str" # Optional. + "str": "str" } # response body for status code(s): 200 response == { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } """ @@ -25510,7 +21177,6 @@ def partial_update( content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasGlossary: - # pylint: disable=line-too-long """Update the glossary partially. Some properties such as qualifiedName are not allowed to be updated. @@ -25542,70 +21208,55 @@ def partial_update( response == { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } """ @@ -25618,7 +21269,6 @@ def partial_update( ignore_terms_and_categories: Optional[bool] = None, **kwargs: Any ) -> _models.AtlasGlossary: - # pylint: disable=line-too-long """Update the glossary partially. Some properties such as qualifiedName are not allowed to be updated. @@ -25647,73 +21297,58 @@ def partial_update( response == { "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the category. - "description": "str", # Optional. The description of the - category header. - "displayText": "str", # Optional. The display text. - "parentCategoryGuid": "str", # Optional. The GUID of the - parent category. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "parentCategoryGuid": "str", + "relationGuid": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the struct. - }, - "entityGuid": "str", # Optional. The GUID of the entity. - "entityStatus": "str", # Optional. Status of the entity - - can be active or deleted. Deleted entities are not removed. Known values - are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "removePropagationsOnEntityDelete": bool, # Optional. - Determines if propagations will be removed on entity deletion. - "typeName": "str", # Optional. The name of the type. + "str": {} + }, + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The end of the - time boundary. - "startTime": "str", # Optional. The start of - the time boundary. - "timeZone": "str" # Optional. The timezone - of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. - "guid": "str", # Optional. The GUID of the object. - "language": "str", # Optional. The language of the glossary. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "qualifiedName": "str", # Optional. The qualified name of the glossary - object. - "shortDescription": "str", # Optional. The short version of description. + "createTime": 0, + "createdBy": "str", + "guid": "str", + "language": "str", + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "qualifiedName": "str", + "shortDescription": "str", "terms": [ { - "description": "str", # Optional. The description of the - related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. - } - ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str" # Optional. The usage of the glossary. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "updateTime": 0, + "updatedBy": "str", + "usage": "str" } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -25744,7 +21379,7 @@ def partial_update( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -25782,7 +21417,6 @@ def get_terms( sort: Optional[str] = None, **kwargs: Any ) -> List[_models.AtlasGlossaryTerm]: - # pylint: disable=line-too-long """Get terms belonging to a specific glossary. Recommend using limit/offset to get pagination result. @@ -25804,375 +21438,262 @@ def get_terms( # response body for status code(s): 200 response == [ { - "abbreviation": "str", # Optional. The abbreviation of the term. + "abbreviation": "str", "anchor": { - "displayText": "str", # Optional. The display text. - "glossaryGuid": "str", # Optional. The GUID of the glossary. - "relationGuid": "str" # Optional. The GUID of the - relationship. + "displayText": "str", + "glossaryGuid": "str", + "relationGuid": "str" }, "antonyms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "assignedEntities": [ { - "displayText": "str", # Optional. The display text. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "guid": "str", # Optional. The GUID of the object. + "displayText": "str", + "entityStatus": "str", + "guid": "str", "relationshipAttributes": { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "typeName": "str" # Optional. The name of - the type. + "lastModifiedTS": "str", + "typeName": "str" }, - "relationshipGuid": "str", # Optional. The GUID of - the relationship. - "relationshipStatus": "str", # Optional. The enum of - relationship status. Known values are: "ACTIVE" and "DELETED". - "relationshipType": "str", # Optional. Relationship - type. - "typeName": "str", # Optional. The name of the type. + "relationshipGuid": "str", + "relationshipStatus": "str", + "relationshipType": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes - of the object. + "str": {} } } ], "attributes": { "str": { - "str": {} # Optional. The custom attributes of the - term, which is map>. The key of the first - layer map is term template name. + "str": {} } }, "categories": [ { - "categoryGuid": "str", # Optional. The GUID of the - category. - "description": "str", # Optional. The description of - the record. - "displayText": "str", # Optional. The display text. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str" # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". + "categoryGuid": "str", + "description": "str", + "displayText": "str", + "relationGuid": "str", + "status": "str" } ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes of the - struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of the - entity. - "entityStatus": "str", # Optional. Status of the - entity - can be active or deleted. Deleted entities are not removed. - Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag for - concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # Optional. The - end of the time boundary. - "startTime": "str", # Optional. The - start of the time boundary. - "timeZone": "str" # Optional. The - timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], "classifies": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "contacts": { "str": [ { - "id": "str", # Optional. Azure Active - Directory object Id. - "info": "str" # Optional. additional - information to describe this contact. + "id": "str", + "info": "str" } ] }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "examples": [ - "str" # Optional. An array of examples. + "str" ], - "guid": "str", # Optional. The GUID of the object. + "guid": "str", "hierarchyInfo": [ { - "displayText": "str", # Optional. Display text. - "guid": "str", # Optional. The GUID of the object. - "itemPath": "str", # Optional. Item path. - "name": "str", # Optional. Name. + "displayText": "str", + "guid": "str", + "itemPath": "str", + "name": "str", "properties": { - "str": {} # Optional. Dictionary of - :code:``. + "str": {} }, - "resourceId": "str", # Optional. Resource Id. - "typeName": "str", # Optional. The name of the type. + "resourceId": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes - of the object. + "str": {} } } ], "isA": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "longDescription": "str", # Optional. The long version description. - "name": "str", # Optional. The name of the glossary object. - "nickName": "str", # Optional. The nick name of the term. + "lastModifiedTS": "str", + "longDescription": "str", + "name": "str", + "nickName": "str", "preferredTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "preferredToTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "qualifiedName": "str", # Optional. The qualified name of the - glossary object. + "qualifiedName": "str", "replacedBy": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "replacementTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "resources": [ { - "displayName": "str", # Optional. Display name for - url. - "url": "str" # Optional. web url. http or https. + "displayName": "str", + "url": "str" } ], "seeAlso": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "shortDescription": "str", # Optional. The short version of - description. - "status": "str", # Optional. Status of the AtlasGlossaryTerm. Known - values are: "Draft", "Approved", "Alert", and "Expired". + "shortDescription": "str", + "status": "str", "synonyms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "templateName": [ - {} # Optional. The name of the template. + {} ], "translatedTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "translationTerms": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "usage": "str", # Optional. The usage of the term. + "updateTime": 0, + "updatedBy": "str", + "usage": "str", "validValues": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ], "validValuesFor": [ { - "description": "str", # Optional. The description of - the related term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of - the term. - "relationGuid": "str", # Optional. The GUID of the - relationship. - "status": "str", # Optional. The status of term - relationship. Known values are: "DRAFT", "ACTIVE", "DEPRECATED", - "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the - term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] } ] """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -26195,7 +21716,7 @@ def get_terms( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -26233,7 +21754,6 @@ def get_term_headers( sort: Optional[str] = None, **kwargs: Any ) -> List[_models.AtlasRelatedTermHeader]: - # pylint: disable=line-too-long """Get term headers belonging to a specific glossary. Recommend using limit/offset to get pagination result. @@ -26255,19 +21775,17 @@ def get_term_headers( # response body for status code(s): 200 response == [ { - "description": "str", # Optional. The description of the related - term. - "displayText": "str", # Optional. The display text. - "expression": "str", # Optional. The expression of the term. - "relationGuid": "str", # Optional. The GUID of the relationship. - "status": "str", # Optional. The status of term relationship. Known - values are: "DRAFT", "ACTIVE", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of the term. - "termGuid": "str" # Optional. The GUID of the term. + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" } ] """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -26289,7 +21807,7 @@ def get_term_headers( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -26339,10 +21857,9 @@ def __init__(self, *args, **kwargs): def query( self, body: _models.QueryOptions, *, content_type: str = "application/json", **kwargs: Any ) -> _models.QueryResult: - # pylint: disable=line-too-long """Get data using search. - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.QueryOptions :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -26356,43 +21873,33 @@ def query( # JSON input template you can fill out and use as your body input. body = { - "continuationToken": "str", # Optional. The token used to get next batch of - data. Default 'Null' to get the first batch, and will return new token in each - response unless there's no more data. + "continuationToken": "str", "facets": [ { - "count": 0, # Optional. The count of the facet item. - "facet": "str", # Optional. The name of the facet item. + "count": 0, + "facet": "str", "sort": { - "count": "str", # Optional. Order by count. Known - values are: "asc" and "desc". - "value": "str" # Optional. Order by value. Known - values are: "asc" and "desc". + "count": "str", + "value": "str" } } ], - "filter": {}, # Optional. The filter for the search. See examples for the - usage of supported filters. - "keywords": "str", # Optional. The keywords applied to all searchable - fields. - "limit": 0, # Optional. The limit of the number of the search result. - default value is 50; maximum value is 1000. + "filter": {}, + "keywords": "str", + "limit": 0, "orderby": [ - {} # Optional. The sort order of search results, can specify - multiple fields. + {} ], "taxonomySetting": { "assetTypes": [ - "str" # Optional. Asset types. + "str" ], "facet": { - "count": 0, # Optional. The count of the facet item. - "facet": "str", # Optional. The name of the facet item. + "count": 0, + "facet": "str", "sort": { - "count": "str", # Optional. Order by count. Known - values are: "asc" and "desc". - "value": "str" # Optional. Order by value. Known - values are: "asc" and "desc". + "count": "str", + "value": "str" } } } @@ -26400,164 +21907,131 @@ def query( # response body for status code(s): 200 response == { - "@search.count": 0, # Optional. The total number of search results (not the - number of documents in a single page). - "@search.count.approximate": bool, # Optional. 'True' if the '@search.count' - is an approximate value and vise versa. + "@search.count": 0, + "@search.count.approximate": bool, "@search.facets": { "assetType": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "classification": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "contactId": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "contactType": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "entityType": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "glossaryType": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "label": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "term": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "termStatus": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "termTemplate": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ] }, - "continuationToken": "str", # Optional. The token used to get next batch of - data. Absent if there's no more data. + "continuationToken": "str", "value": [ { "@search.highlights": { "description": [ - "str" # Optional. Description. + "str" ], "entityType": [ - "str" # Optional. Entity type. + "str" ], "id": [ - "str" # Optional. Id. + "str" ], "name": [ - "str" # Optional. Name. + "str" ], "qualifiedName": [ - "str" # Optional. Qualified name. + "str" ] }, - "@search.score": 0.0, # Optional. The search score - calculated by the search engine. The results are ordered by search score - by default. + "@search.score": 0.0, "assetType": [ - "str" # Optional. The asset types of the asset. + "str" ], "classification": [ - "str" # Optional. The classifications of the record. + "str" ], "contact": [ { - "contactType": "str", # Optional. The type - of the contact. It can be Expert or Owner for an entity. It can - be Expert or Steward for a glossary term. - "id": "str", # Optional. The GUID of the - contact. - "info": "str" # Optional. The description of - the contact. - } - ], - "createTime": 0, # Optional. The create time of the record. - The Unix epoch format. - "description": "str", # Optional. The description of the - asset. - "endorsement": "str", # Optional. The endorsement of the - asset. - "entityType": "str", # Optional. The type name of the asset. - "glossary": "str", # Optional. The glossary name of the - term. - "glossaryType": "str", # Optional. The type name of the - term. Could be AtlasGlossary, AtlasGlossaryTerm or AtlasGlossaryCategory. - "id": "str", # Optional. The GUID of the record. + "contactType": "str", + "id": "str", + "info": "str" + } + ], + "createTime": 0, + "description": "str", + "endorsement": "str", + "entityType": "str", + "glossary": "str", + "glossaryType": "str", + "id": "str", "label": [ - "str" # Optional. The labels of the asset. - ], - "longDescription": "str", # Optional. The definition of the - term. - "name": "str", # Optional. The name of the record. - "objectType": "str", # Optional. The object type of the - record. Object type is the top-level property to distinguish whether a - record is an asset or a term. - "owner": "str", # Optional. The owner of the record. - "qualifiedName": "str", # Optional. The qualified name of - the record. + "str" + ], + "longDescription": "str", + "name": "str", + "objectType": "str", + "owner": "str", + "qualifiedName": "str", "term": [ { - "glossaryName": "str", # Optional. The name - of the glossary which contains the term. - "guid": "str", # Optional. The GUID of the - term. - "name": "str" # Optional. The name of the - term. + "glossaryName": "str", + "guid": "str", + "name": "str" } ], - "termStatus": "str", # Optional. The status of the term. + "termStatus": "str", "termTemplate": [ - "str" # Optional. The term template names used by - the term. + "str" ], - "updateTime": 0 # Optional. The last update time of the - record. The Unix epoch format. + "updateTime": 0 } ] } @@ -26565,10 +22039,9 @@ def query( @overload def query(self, body: JSON, *, content_type: str = "application/json", **kwargs: Any) -> _models.QueryResult: - # pylint: disable=line-too-long """Get data using search. - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -26582,164 +22055,131 @@ def query(self, body: JSON, *, content_type: str = "application/json", **kwargs: # response body for status code(s): 200 response == { - "@search.count": 0, # Optional. The total number of search results (not the - number of documents in a single page). - "@search.count.approximate": bool, # Optional. 'True' if the '@search.count' - is an approximate value and vise versa. + "@search.count": 0, + "@search.count.approximate": bool, "@search.facets": { "assetType": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "classification": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "contactId": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "contactType": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "entityType": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "glossaryType": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "label": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "term": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "termStatus": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "termTemplate": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ] }, - "continuationToken": "str", # Optional. The token used to get next batch of - data. Absent if there's no more data. + "continuationToken": "str", "value": [ { "@search.highlights": { "description": [ - "str" # Optional. Description. + "str" ], "entityType": [ - "str" # Optional. Entity type. + "str" ], "id": [ - "str" # Optional. Id. + "str" ], "name": [ - "str" # Optional. Name. + "str" ], "qualifiedName": [ - "str" # Optional. Qualified name. + "str" ] }, - "@search.score": 0.0, # Optional. The search score - calculated by the search engine. The results are ordered by search score - by default. + "@search.score": 0.0, "assetType": [ - "str" # Optional. The asset types of the asset. + "str" ], "classification": [ - "str" # Optional. The classifications of the record. + "str" ], "contact": [ { - "contactType": "str", # Optional. The type - of the contact. It can be Expert or Owner for an entity. It can - be Expert or Steward for a glossary term. - "id": "str", # Optional. The GUID of the - contact. - "info": "str" # Optional. The description of - the contact. - } - ], - "createTime": 0, # Optional. The create time of the record. - The Unix epoch format. - "description": "str", # Optional. The description of the - asset. - "endorsement": "str", # Optional. The endorsement of the - asset. - "entityType": "str", # Optional. The type name of the asset. - "glossary": "str", # Optional. The glossary name of the - term. - "glossaryType": "str", # Optional. The type name of the - term. Could be AtlasGlossary, AtlasGlossaryTerm or AtlasGlossaryCategory. - "id": "str", # Optional. The GUID of the record. + "contactType": "str", + "id": "str", + "info": "str" + } + ], + "createTime": 0, + "description": "str", + "endorsement": "str", + "entityType": "str", + "glossary": "str", + "glossaryType": "str", + "id": "str", "label": [ - "str" # Optional. The labels of the asset. - ], - "longDescription": "str", # Optional. The definition of the - term. - "name": "str", # Optional. The name of the record. - "objectType": "str", # Optional. The object type of the - record. Object type is the top-level property to distinguish whether a - record is an asset or a term. - "owner": "str", # Optional. The owner of the record. - "qualifiedName": "str", # Optional. The qualified name of - the record. + "str" + ], + "longDescription": "str", + "name": "str", + "objectType": "str", + "owner": "str", + "qualifiedName": "str", "term": [ { - "glossaryName": "str", # Optional. The name - of the glossary which contains the term. - "guid": "str", # Optional. The GUID of the - term. - "name": "str" # Optional. The name of the - term. + "glossaryName": "str", + "guid": "str", + "name": "str" } ], - "termStatus": "str", # Optional. The status of the term. + "termStatus": "str", "termTemplate": [ - "str" # Optional. The term template names used by - the term. + "str" ], - "updateTime": 0 # Optional. The last update time of the - record. The Unix epoch format. + "updateTime": 0 } ] } @@ -26747,10 +22187,9 @@ def query(self, body: JSON, *, content_type: str = "application/json", **kwargs: @overload def query(self, body: IO[bytes], *, content_type: str = "application/json", **kwargs: Any) -> _models.QueryResult: - # pylint: disable=line-too-long """Get data using search. - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword content_type: Body Parameter content-type. Content type parameter for binary body. Default value is "application/json". @@ -26764,164 +22203,131 @@ def query(self, body: IO[bytes], *, content_type: str = "application/json", **kw # response body for status code(s): 200 response == { - "@search.count": 0, # Optional. The total number of search results (not the - number of documents in a single page). - "@search.count.approximate": bool, # Optional. 'True' if the '@search.count' - is an approximate value and vise versa. + "@search.count": 0, + "@search.count.approximate": bool, "@search.facets": { "assetType": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "classification": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "contactId": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "contactType": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "entityType": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "glossaryType": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "label": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "term": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "termStatus": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "termTemplate": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ] }, - "continuationToken": "str", # Optional. The token used to get next batch of - data. Absent if there's no more data. + "continuationToken": "str", "value": [ { "@search.highlights": { "description": [ - "str" # Optional. Description. + "str" ], "entityType": [ - "str" # Optional. Entity type. + "str" ], "id": [ - "str" # Optional. Id. + "str" ], "name": [ - "str" # Optional. Name. + "str" ], "qualifiedName": [ - "str" # Optional. Qualified name. + "str" ] }, - "@search.score": 0.0, # Optional. The search score - calculated by the search engine. The results are ordered by search score - by default. + "@search.score": 0.0, "assetType": [ - "str" # Optional. The asset types of the asset. + "str" ], "classification": [ - "str" # Optional. The classifications of the record. + "str" ], "contact": [ { - "contactType": "str", # Optional. The type - of the contact. It can be Expert or Owner for an entity. It can - be Expert or Steward for a glossary term. - "id": "str", # Optional. The GUID of the - contact. - "info": "str" # Optional. The description of - the contact. - } - ], - "createTime": 0, # Optional. The create time of the record. - The Unix epoch format. - "description": "str", # Optional. The description of the - asset. - "endorsement": "str", # Optional. The endorsement of the - asset. - "entityType": "str", # Optional. The type name of the asset. - "glossary": "str", # Optional. The glossary name of the - term. - "glossaryType": "str", # Optional. The type name of the - term. Could be AtlasGlossary, AtlasGlossaryTerm or AtlasGlossaryCategory. - "id": "str", # Optional. The GUID of the record. + "contactType": "str", + "id": "str", + "info": "str" + } + ], + "createTime": 0, + "description": "str", + "endorsement": "str", + "entityType": "str", + "glossary": "str", + "glossaryType": "str", + "id": "str", "label": [ - "str" # Optional. The labels of the asset. - ], - "longDescription": "str", # Optional. The definition of the - term. - "name": "str", # Optional. The name of the record. - "objectType": "str", # Optional. The object type of the - record. Object type is the top-level property to distinguish whether a - record is an asset or a term. - "owner": "str", # Optional. The owner of the record. - "qualifiedName": "str", # Optional. The qualified name of - the record. + "str" + ], + "longDescription": "str", + "name": "str", + "objectType": "str", + "owner": "str", + "qualifiedName": "str", "term": [ { - "glossaryName": "str", # Optional. The name - of the glossary which contains the term. - "guid": "str", # Optional. The GUID of the - term. - "name": "str" # Optional. The name of the - term. + "glossaryName": "str", + "guid": "str", + "name": "str" } ], - "termStatus": "str", # Optional. The status of the term. + "termStatus": "str", "termTemplate": [ - "str" # Optional. The term template names used by - the term. + "str" ], - "updateTime": 0 # Optional. The last update time of the - record. The Unix epoch format. + "updateTime": 0 } ] } @@ -26929,10 +22335,10 @@ def query(self, body: IO[bytes], *, content_type: str = "application/json", **kw @distributed_trace def query(self, body: Union[_models.QueryOptions, JSON, IO[bytes]], **kwargs: Any) -> _models.QueryResult: - # pylint: disable=line-too-long """Get data using search. - :param body: Is one of the following types: QueryOptions, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: QueryOptions, JSON, IO[bytes] + Required. :type body: ~azure.purview.datamap.models.QueryOptions or JSON or IO[bytes] :return: QueryResult. The QueryResult is compatible with MutableMapping :rtype: ~azure.purview.datamap.models.QueryResult @@ -26943,43 +22349,33 @@ def query(self, body: Union[_models.QueryOptions, JSON, IO[bytes]], **kwargs: An # JSON input template you can fill out and use as your body input. body = { - "continuationToken": "str", # Optional. The token used to get next batch of - data. Default 'Null' to get the first batch, and will return new token in each - response unless there's no more data. + "continuationToken": "str", "facets": [ { - "count": 0, # Optional. The count of the facet item. - "facet": "str", # Optional. The name of the facet item. + "count": 0, + "facet": "str", "sort": { - "count": "str", # Optional. Order by count. Known - values are: "asc" and "desc". - "value": "str" # Optional. Order by value. Known - values are: "asc" and "desc". + "count": "str", + "value": "str" } } ], - "filter": {}, # Optional. The filter for the search. See examples for the - usage of supported filters. - "keywords": "str", # Optional. The keywords applied to all searchable - fields. - "limit": 0, # Optional. The limit of the number of the search result. - default value is 50; maximum value is 1000. + "filter": {}, + "keywords": "str", + "limit": 0, "orderby": [ - {} # Optional. The sort order of search results, can specify - multiple fields. + {} ], "taxonomySetting": { "assetTypes": [ - "str" # Optional. Asset types. + "str" ], "facet": { - "count": 0, # Optional. The count of the facet item. - "facet": "str", # Optional. The name of the facet item. + "count": 0, + "facet": "str", "sort": { - "count": "str", # Optional. Order by count. Known - values are: "asc" and "desc". - "value": "str" # Optional. Order by value. Known - values are: "asc" and "desc". + "count": "str", + "value": "str" } } } @@ -26987,169 +22383,136 @@ def query(self, body: Union[_models.QueryOptions, JSON, IO[bytes]], **kwargs: An # response body for status code(s): 200 response == { - "@search.count": 0, # Optional. The total number of search results (not the - number of documents in a single page). - "@search.count.approximate": bool, # Optional. 'True' if the '@search.count' - is an approximate value and vise versa. + "@search.count": 0, + "@search.count.approximate": bool, "@search.facets": { "assetType": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "classification": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "contactId": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "contactType": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "entityType": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "glossaryType": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "label": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "term": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "termStatus": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ], "termTemplate": [ { - "count": 0, # Optional. The count of the facet item. - "value": "str" # Optional. The name of the facet - item. + "count": 0, + "value": "str" } ] }, - "continuationToken": "str", # Optional. The token used to get next batch of - data. Absent if there's no more data. + "continuationToken": "str", "value": [ { "@search.highlights": { "description": [ - "str" # Optional. Description. + "str" ], "entityType": [ - "str" # Optional. Entity type. + "str" ], "id": [ - "str" # Optional. Id. + "str" ], "name": [ - "str" # Optional. Name. + "str" ], "qualifiedName": [ - "str" # Optional. Qualified name. + "str" ] }, - "@search.score": 0.0, # Optional. The search score - calculated by the search engine. The results are ordered by search score - by default. + "@search.score": 0.0, "assetType": [ - "str" # Optional. The asset types of the asset. + "str" ], "classification": [ - "str" # Optional. The classifications of the record. + "str" ], "contact": [ { - "contactType": "str", # Optional. The type - of the contact. It can be Expert or Owner for an entity. It can - be Expert or Steward for a glossary term. - "id": "str", # Optional. The GUID of the - contact. - "info": "str" # Optional. The description of - the contact. - } - ], - "createTime": 0, # Optional. The create time of the record. - The Unix epoch format. - "description": "str", # Optional. The description of the - asset. - "endorsement": "str", # Optional. The endorsement of the - asset. - "entityType": "str", # Optional. The type name of the asset. - "glossary": "str", # Optional. The glossary name of the - term. - "glossaryType": "str", # Optional. The type name of the - term. Could be AtlasGlossary, AtlasGlossaryTerm or AtlasGlossaryCategory. - "id": "str", # Optional. The GUID of the record. + "contactType": "str", + "id": "str", + "info": "str" + } + ], + "createTime": 0, + "description": "str", + "endorsement": "str", + "entityType": "str", + "glossary": "str", + "glossaryType": "str", + "id": "str", "label": [ - "str" # Optional. The labels of the asset. - ], - "longDescription": "str", # Optional. The definition of the - term. - "name": "str", # Optional. The name of the record. - "objectType": "str", # Optional. The object type of the - record. Object type is the top-level property to distinguish whether a - record is an asset or a term. - "owner": "str", # Optional. The owner of the record. - "qualifiedName": "str", # Optional. The qualified name of - the record. + "str" + ], + "longDescription": "str", + "name": "str", + "objectType": "str", + "owner": "str", + "qualifiedName": "str", "term": [ { - "glossaryName": "str", # Optional. The name - of the glossary which contains the term. - "guid": "str", # Optional. The GUID of the - term. - "name": "str" # Optional. The name of the - term. + "glossaryName": "str", + "guid": "str", + "name": "str" } ], - "termStatus": "str", # Optional. The status of the term. + "termStatus": "str", "termTemplate": [ - "str" # Optional. The term template names used by - the term. + "str" ], - "updateTime": 0 # Optional. The last update time of the - record. The Unix epoch format. + "updateTime": 0 } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -27178,7 +22541,7 @@ def query(self, body: Union[_models.QueryOptions, JSON, IO[bytes]], **kwargs: An params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -27210,10 +22573,9 @@ def query(self, body: Union[_models.QueryOptions, JSON, IO[bytes]], **kwargs: An def suggest( self, body: _models.SuggestOptions, *, content_type: str = "application/json", **kwargs: Any ) -> _models.SuggestResult: - # pylint: disable=line-too-long """Get search suggestions by query criteria. - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.SuggestOptions :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -27227,83 +22589,57 @@ def suggest( # JSON input template you can fill out and use as your body input. body = { - "filter": {}, # Optional. The filter for the search. - "keywords": "str", # Optional. The keywords applied to all fields that - support suggest operation. It must be at least 1 character, and no more than 100 - characters. In the index schema we defined a default suggester which lists all - the supported fields and specifies a search mode. - "limit": 0 # Optional. The number of suggestions we hope to return. The - default value is 5. The value must be a number between 1 and 100. + "filter": {}, + "keywords": "str", + "limit": 0 } # response body for status code(s): 200 response == { "value": [ { - "@search.score": 0.0, # Optional. The search score - calculated by the search engine. The results are ordered by search score - by default. - "@search.text": "str", # Optional. The target text that - contains the keyword as prefix. The keyword is wrapped with emphasis - mark. + "@search.score": 0.0, + "@search.text": "str", "assetType": [ - "str" # Optional. The asset types of the asset. + "str" ], "classification": [ - "str" # Optional. The classifications of the record. + "str" ], "contact": [ { - "contactType": "str", # Optional. The type - of the contact. It can be Expert or Owner for an entity. It can - be Expert or Steward for a glossary term. - "id": "str", # Optional. The GUID of the - contact. - "info": "str" # Optional. The description of - the contact. - } - ], - "createTime": 0, # Optional. The create time of the record. - The Unix epoch format. - "description": "str", # Optional. The description of the - asset. - "endorsement": "str", # Optional. The endorsement of the - asset. - "entityType": "str", # Optional. The type name of the asset. - "glossary": "str", # Optional. The glossary name of the - term. - "glossaryType": "str", # Optional. The type name of the - term. Could be AtlasGlossary, AtlasGlossaryTerm or AtlasGlossaryCategory. - "id": "str", # Optional. The GUID of the record. + "contactType": "str", + "id": "str", + "info": "str" + } + ], + "createTime": 0, + "description": "str", + "endorsement": "str", + "entityType": "str", + "glossary": "str", + "glossaryType": "str", + "id": "str", "label": [ - "str" # Optional. The labels of the asset. - ], - "longDescription": "str", # Optional. The definition of the - term. - "name": "str", # Optional. The name of the record. - "objectType": "str", # Optional. The object type of the - record. Object type is the top-level property to distinguish whether a - record is an asset or a term. - "owner": "str", # Optional. The owner of the record. - "qualifiedName": "str", # Optional. The qualified name of - the record. + "str" + ], + "longDescription": "str", + "name": "str", + "objectType": "str", + "owner": "str", + "qualifiedName": "str", "term": [ { - "glossaryName": "str", # Optional. The name - of the glossary which contains the term. - "guid": "str", # Optional. The GUID of the - term. - "name": "str" # Optional. The name of the - term. + "glossaryName": "str", + "guid": "str", + "name": "str" } ], - "termStatus": "str", # Optional. The status of the term. + "termStatus": "str", "termTemplate": [ - "str" # Optional. The term template names used by - the term. + "str" ], - "updateTime": 0 # Optional. The last update time of the - record. The Unix epoch format. + "updateTime": 0 } ] } @@ -27311,10 +22647,9 @@ def suggest( @overload def suggest(self, body: JSON, *, content_type: str = "application/json", **kwargs: Any) -> _models.SuggestResult: - # pylint: disable=line-too-long """Get search suggestions by query criteria. - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -27330,70 +22665,48 @@ def suggest(self, body: JSON, *, content_type: str = "application/json", **kwarg response == { "value": [ { - "@search.score": 0.0, # Optional. The search score - calculated by the search engine. The results are ordered by search score - by default. - "@search.text": "str", # Optional. The target text that - contains the keyword as prefix. The keyword is wrapped with emphasis - mark. + "@search.score": 0.0, + "@search.text": "str", "assetType": [ - "str" # Optional. The asset types of the asset. + "str" ], "classification": [ - "str" # Optional. The classifications of the record. + "str" ], "contact": [ { - "contactType": "str", # Optional. The type - of the contact. It can be Expert or Owner for an entity. It can - be Expert or Steward for a glossary term. - "id": "str", # Optional. The GUID of the - contact. - "info": "str" # Optional. The description of - the contact. - } - ], - "createTime": 0, # Optional. The create time of the record. - The Unix epoch format. - "description": "str", # Optional. The description of the - asset. - "endorsement": "str", # Optional. The endorsement of the - asset. - "entityType": "str", # Optional. The type name of the asset. - "glossary": "str", # Optional. The glossary name of the - term. - "glossaryType": "str", # Optional. The type name of the - term. Could be AtlasGlossary, AtlasGlossaryTerm or AtlasGlossaryCategory. - "id": "str", # Optional. The GUID of the record. + "contactType": "str", + "id": "str", + "info": "str" + } + ], + "createTime": 0, + "description": "str", + "endorsement": "str", + "entityType": "str", + "glossary": "str", + "glossaryType": "str", + "id": "str", "label": [ - "str" # Optional. The labels of the asset. - ], - "longDescription": "str", # Optional. The definition of the - term. - "name": "str", # Optional. The name of the record. - "objectType": "str", # Optional. The object type of the - record. Object type is the top-level property to distinguish whether a - record is an asset or a term. - "owner": "str", # Optional. The owner of the record. - "qualifiedName": "str", # Optional. The qualified name of - the record. + "str" + ], + "longDescription": "str", + "name": "str", + "objectType": "str", + "owner": "str", + "qualifiedName": "str", "term": [ { - "glossaryName": "str", # Optional. The name - of the glossary which contains the term. - "guid": "str", # Optional. The GUID of the - term. - "name": "str" # Optional. The name of the - term. + "glossaryName": "str", + "guid": "str", + "name": "str" } ], - "termStatus": "str", # Optional. The status of the term. + "termStatus": "str", "termTemplate": [ - "str" # Optional. The term template names used by - the term. + "str" ], - "updateTime": 0 # Optional. The last update time of the - record. The Unix epoch format. + "updateTime": 0 } ] } @@ -27403,10 +22716,9 @@ def suggest(self, body: JSON, *, content_type: str = "application/json", **kwarg def suggest( self, body: IO[bytes], *, content_type: str = "application/json", **kwargs: Any ) -> _models.SuggestResult: - # pylint: disable=line-too-long """Get search suggestions by query criteria. - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword content_type: Body Parameter content-type. Content type parameter for binary body. Default value is "application/json". @@ -27422,70 +22734,48 @@ def suggest( response == { "value": [ { - "@search.score": 0.0, # Optional. The search score - calculated by the search engine. The results are ordered by search score - by default. - "@search.text": "str", # Optional. The target text that - contains the keyword as prefix. The keyword is wrapped with emphasis - mark. + "@search.score": 0.0, + "@search.text": "str", "assetType": [ - "str" # Optional. The asset types of the asset. + "str" ], "classification": [ - "str" # Optional. The classifications of the record. + "str" ], "contact": [ { - "contactType": "str", # Optional. The type - of the contact. It can be Expert or Owner for an entity. It can - be Expert or Steward for a glossary term. - "id": "str", # Optional. The GUID of the - contact. - "info": "str" # Optional. The description of - the contact. - } - ], - "createTime": 0, # Optional. The create time of the record. - The Unix epoch format. - "description": "str", # Optional. The description of the - asset. - "endorsement": "str", # Optional. The endorsement of the - asset. - "entityType": "str", # Optional. The type name of the asset. - "glossary": "str", # Optional. The glossary name of the - term. - "glossaryType": "str", # Optional. The type name of the - term. Could be AtlasGlossary, AtlasGlossaryTerm or AtlasGlossaryCategory. - "id": "str", # Optional. The GUID of the record. + "contactType": "str", + "id": "str", + "info": "str" + } + ], + "createTime": 0, + "description": "str", + "endorsement": "str", + "entityType": "str", + "glossary": "str", + "glossaryType": "str", + "id": "str", "label": [ - "str" # Optional. The labels of the asset. - ], - "longDescription": "str", # Optional. The definition of the - term. - "name": "str", # Optional. The name of the record. - "objectType": "str", # Optional. The object type of the - record. Object type is the top-level property to distinguish whether a - record is an asset or a term. - "owner": "str", # Optional. The owner of the record. - "qualifiedName": "str", # Optional. The qualified name of - the record. + "str" + ], + "longDescription": "str", + "name": "str", + "objectType": "str", + "owner": "str", + "qualifiedName": "str", "term": [ { - "glossaryName": "str", # Optional. The name - of the glossary which contains the term. - "guid": "str", # Optional. The GUID of the - term. - "name": "str" # Optional. The name of the - term. + "glossaryName": "str", + "guid": "str", + "name": "str" } ], - "termStatus": "str", # Optional. The status of the term. + "termStatus": "str", "termTemplate": [ - "str" # Optional. The term template names used by - the term. + "str" ], - "updateTime": 0 # Optional. The last update time of the - record. The Unix epoch format. + "updateTime": 0 } ] } @@ -27493,10 +22783,10 @@ def suggest( @distributed_trace def suggest(self, body: Union[_models.SuggestOptions, JSON, IO[bytes]], **kwargs: Any) -> _models.SuggestResult: - # pylint: disable=line-too-long """Get search suggestions by query criteria. - :param body: Is one of the following types: SuggestOptions, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: SuggestOptions, JSON, IO[bytes] + Required. :type body: ~azure.purview.datamap.models.SuggestOptions or JSON or IO[bytes] :return: SuggestResult. The SuggestResult is compatible with MutableMapping :rtype: ~azure.purview.datamap.models.SuggestResult @@ -27507,88 +22797,62 @@ def suggest(self, body: Union[_models.SuggestOptions, JSON, IO[bytes]], **kwargs # JSON input template you can fill out and use as your body input. body = { - "filter": {}, # Optional. The filter for the search. - "keywords": "str", # Optional. The keywords applied to all fields that - support suggest operation. It must be at least 1 character, and no more than 100 - characters. In the index schema we defined a default suggester which lists all - the supported fields and specifies a search mode. - "limit": 0 # Optional. The number of suggestions we hope to return. The - default value is 5. The value must be a number between 1 and 100. + "filter": {}, + "keywords": "str", + "limit": 0 } # response body for status code(s): 200 response == { "value": [ { - "@search.score": 0.0, # Optional. The search score - calculated by the search engine. The results are ordered by search score - by default. - "@search.text": "str", # Optional. The target text that - contains the keyword as prefix. The keyword is wrapped with emphasis - mark. + "@search.score": 0.0, + "@search.text": "str", "assetType": [ - "str" # Optional. The asset types of the asset. + "str" ], "classification": [ - "str" # Optional. The classifications of the record. + "str" ], "contact": [ { - "contactType": "str", # Optional. The type - of the contact. It can be Expert or Owner for an entity. It can - be Expert or Steward for a glossary term. - "id": "str", # Optional. The GUID of the - contact. - "info": "str" # Optional. The description of - the contact. - } - ], - "createTime": 0, # Optional. The create time of the record. - The Unix epoch format. - "description": "str", # Optional. The description of the - asset. - "endorsement": "str", # Optional. The endorsement of the - asset. - "entityType": "str", # Optional. The type name of the asset. - "glossary": "str", # Optional. The glossary name of the - term. - "glossaryType": "str", # Optional. The type name of the - term. Could be AtlasGlossary, AtlasGlossaryTerm or AtlasGlossaryCategory. - "id": "str", # Optional. The GUID of the record. + "contactType": "str", + "id": "str", + "info": "str" + } + ], + "createTime": 0, + "description": "str", + "endorsement": "str", + "entityType": "str", + "glossary": "str", + "glossaryType": "str", + "id": "str", "label": [ - "str" # Optional. The labels of the asset. - ], - "longDescription": "str", # Optional. The definition of the - term. - "name": "str", # Optional. The name of the record. - "objectType": "str", # Optional. The object type of the - record. Object type is the top-level property to distinguish whether a - record is an asset or a term. - "owner": "str", # Optional. The owner of the record. - "qualifiedName": "str", # Optional. The qualified name of - the record. + "str" + ], + "longDescription": "str", + "name": "str", + "objectType": "str", + "owner": "str", + "qualifiedName": "str", "term": [ { - "glossaryName": "str", # Optional. The name - of the glossary which contains the term. - "guid": "str", # Optional. The GUID of the - term. - "name": "str" # Optional. The name of the - term. + "glossaryName": "str", + "guid": "str", + "name": "str" } ], - "termStatus": "str", # Optional. The status of the term. + "termStatus": "str", "termTemplate": [ - "str" # Optional. The term template names used by - the term. + "str" ], - "updateTime": 0 # Optional. The last update time of the - record. The Unix epoch format. + "updateTime": 0 } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -27617,7 +22881,7 @@ def suggest(self, body: Union[_models.SuggestOptions, JSON, IO[bytes]], **kwargs params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -27649,10 +22913,9 @@ def suggest(self, body: Union[_models.SuggestOptions, JSON, IO[bytes]], **kwargs def auto_complete( self, body: _models.AutoCompleteOptions, *, content_type: str = "application/json", **kwargs: Any ) -> _models.AutoCompleteResult: - # pylint: disable=line-too-long """Get auto complete options. - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.AutoCompleteOptions :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -27666,21 +22929,17 @@ def auto_complete( # JSON input template you can fill out and use as your body input. body = { - "filter": {}, # Optional. The filter for the autocomplete request. - "keywords": "str", # Optional. The keywords applied to all fields that - support autocomplete operation. It must be at least 1 character, and no more than - 100 characters. - "limit": 0 # Optional. The number of autocomplete results we hope to return. - The default value is 50. The value must be a number between 1 and 100. + "filter": {}, + "keywords": "str", + "limit": 0 } # response body for status code(s): 200 response == { "value": [ { - "queryPlusText": "str", # Optional. The completed search - query text. - "text": "str" # Optional. The completed term or phrase. + "queryPlusText": "str", + "text": "str" } ] } @@ -27692,7 +22951,7 @@ def auto_complete( ) -> _models.AutoCompleteResult: """Get auto complete options. - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -27708,9 +22967,8 @@ def auto_complete( response == { "value": [ { - "queryPlusText": "str", # Optional. The completed search - query text. - "text": "str" # Optional. The completed term or phrase. + "queryPlusText": "str", + "text": "str" } ] } @@ -27722,7 +22980,7 @@ def auto_complete( ) -> _models.AutoCompleteResult: """Get auto complete options. - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword content_type: Body Parameter content-type. Content type parameter for binary body. Default value is "application/json". @@ -27738,9 +22996,8 @@ def auto_complete( response == { "value": [ { - "queryPlusText": "str", # Optional. The completed search - query text. - "text": "str" # Optional. The completed term or phrase. + "queryPlusText": "str", + "text": "str" } ] } @@ -27750,10 +23007,10 @@ def auto_complete( def auto_complete( self, body: Union[_models.AutoCompleteOptions, JSON, IO[bytes]], **kwargs: Any ) -> _models.AutoCompleteResult: - # pylint: disable=line-too-long """Get auto complete options. - :param body: Is one of the following types: AutoCompleteOptions, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: AutoCompleteOptions, JSON, + IO[bytes] Required. :type body: ~azure.purview.datamap.models.AutoCompleteOptions or JSON or IO[bytes] :return: AutoCompleteResult. The AutoCompleteResult is compatible with MutableMapping :rtype: ~azure.purview.datamap.models.AutoCompleteResult @@ -27764,26 +23021,22 @@ def auto_complete( # JSON input template you can fill out and use as your body input. body = { - "filter": {}, # Optional. The filter for the autocomplete request. - "keywords": "str", # Optional. The keywords applied to all fields that - support autocomplete operation. It must be at least 1 character, and no more than - 100 characters. - "limit": 0 # Optional. The number of autocomplete results we hope to return. - The default value is 50. The value must be a number between 1 and 100. + "filter": {}, + "keywords": "str", + "limit": 0 } # response body for status code(s): 200 response == { "value": [ { - "queryPlusText": "str", # Optional. The completed search - query text. - "text": "str" # Optional. The completed term or phrase. + "queryPlusText": "str", + "text": "str" } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -27812,7 +23065,7 @@ def auto_complete( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -27862,7 +23115,6 @@ def __init__(self, *args, **kwargs): def get( self, guid: str, *, direction: Union[str, _models.LineageDirection], depth: Optional[int] = None, **kwargs: Any ) -> _models.AtlasLineageInfo: - # pylint: disable=line-too-long """Get lineage info of the entity specified by GUID. :param guid: The globally unique identifier of the entity. Required. @@ -27881,118 +23133,87 @@ def get( # response body for status code(s): 200 response == { - "baseEntityGuid": "str", # Optional. The GUID of the base entity. - "childrenCount": 0, # Optional. The number of children node. + "baseEntityGuid": "str", + "childrenCount": 0, "guidEntityMap": { "str": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } }, - "lineageDepth": 0, # Optional. The depth of lineage. - "lineageDirection": "str", # Optional. The enum of lineage direction. Known - values are: "INPUT", "OUTPUT", and "BOTH". - "lineageWidth": 0, # Optional. The width of lineage. + "lineageDepth": 0, + "lineageDirection": "str", + "lineageWidth": 0, "parentRelations": [ { - "childEntityId": "str", # Optional. The GUID of child - entity. - "parentEntityId": "str", # Optional. The GUID of parent - entity. - "relationshipId": "str" # Optional. The GUID of - relationship. + "childEntityId": "str", + "parentEntityId": "str", + "relationshipId": "str" } ], "relations": [ { - "fromEntityId": "str", # Optional. The GUID of from-entity. - "relationshipId": "str", # Optional. The GUID of - relationship. - "toEntityId": "str" # Optional. The GUID of to-entity. + "fromEntityId": "str", + "relationshipId": "str", + "toEntityId": "str" } ], "widthCounts": { "str": { - "str": {} # Optional. The entity count in specific - direction. + "str": {} } } } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -28013,7 +23234,7 @@ def get( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -28051,7 +23272,6 @@ def get_next_page( limit: Optional[int] = None, **kwargs: Any ) -> _models.AtlasLineageInfo: - # pylint: disable=line-too-long """Return immediate next page lineage info about entity with pagination. :param guid: The globally unique identifier of the entity. Required. @@ -28072,118 +23292,87 @@ def get_next_page( # response body for status code(s): 200 response == { - "baseEntityGuid": "str", # Optional. The GUID of the base entity. - "childrenCount": 0, # Optional. The number of children node. + "baseEntityGuid": "str", + "childrenCount": 0, "guidEntityMap": { "str": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } }, - "lineageDepth": 0, # Optional. The depth of lineage. - "lineageDirection": "str", # Optional. The enum of lineage direction. Known - values are: "INPUT", "OUTPUT", and "BOTH". - "lineageWidth": 0, # Optional. The width of lineage. + "lineageDepth": 0, + "lineageDirection": "str", + "lineageWidth": 0, "parentRelations": [ { - "childEntityId": "str", # Optional. The GUID of child - entity. - "parentEntityId": "str", # Optional. The GUID of parent - entity. - "relationshipId": "str" # Optional. The GUID of - relationship. + "childEntityId": "str", + "parentEntityId": "str", + "relationshipId": "str" } ], "relations": [ { - "fromEntityId": "str", # Optional. The GUID of from-entity. - "relationshipId": "str", # Optional. The GUID of - relationship. - "toEntityId": "str" # Optional. The GUID of to-entity. + "fromEntityId": "str", + "relationshipId": "str", + "toEntityId": "str" } ], "widthCounts": { "str": { - "str": {} # Optional. The entity count in specific - direction. + "str": {} } } } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -28206,7 +23395,7 @@ def get_next_page( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -28244,7 +23433,6 @@ def get_by_unique_attribute( attribute: Optional[str] = None, **kwargs: Any ) -> _models.AtlasLineageInfo: - # pylint: disable=line-too-long """Return lineage info about entity. In addition to the typeName path parameter, @@ -28282,118 +23470,87 @@ def get_by_unique_attribute( # response body for status code(s): 200 response == { - "baseEntityGuid": "str", # Optional. The GUID of the base entity. - "childrenCount": 0, # Optional. The number of children node. + "baseEntityGuid": "str", + "childrenCount": 0, "guidEntityMap": { "str": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } }, - "lineageDepth": 0, # Optional. The depth of lineage. - "lineageDirection": "str", # Optional. The enum of lineage direction. Known - values are: "INPUT", "OUTPUT", and "BOTH". - "lineageWidth": 0, # Optional. The width of lineage. + "lineageDepth": 0, + "lineageDirection": "str", + "lineageWidth": 0, "parentRelations": [ { - "childEntityId": "str", # Optional. The GUID of child - entity. - "parentEntityId": "str", # Optional. The GUID of parent - entity. - "relationshipId": "str" # Optional. The GUID of - relationship. + "childEntityId": "str", + "parentEntityId": "str", + "relationshipId": "str" } ], "relations": [ { - "fromEntityId": "str", # Optional. The GUID of from-entity. - "relationshipId": "str", # Optional. The GUID of - relationship. - "toEntityId": "str" # Optional. The GUID of to-entity. + "fromEntityId": "str", + "relationshipId": "str", + "toEntityId": "str" } ], "widthCounts": { "str": { - "str": {} # Optional. The entity count in specific - direction. + "str": {} } } } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -28415,7 +23572,7 @@ def get_by_unique_attribute( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -28467,7 +23624,7 @@ def create( ) -> _models.AtlasRelationship: """Create a new relationship between entities. - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.AtlasRelationship :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -28482,71 +23639,67 @@ def create( # JSON input template you can fill out and use as your body input. body = { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "end1": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, "end2": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, - "guid": "str", # Optional. The GUID of the relationship. - "homeId": "str", # Optional. The home ID of the relationship. - "label": "str", # Optional. The label of the relationship. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "status": "str", # Optional. The enum of relationship status. Known values - are: "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the relationship. + "guid": "str", + "homeId": "str", + "label": "str", + "lastModifiedTS": "str", + "provenanceType": 0, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } # response body for status code(s): 200 response == { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "end1": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, "end2": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, - "guid": "str", # Optional. The GUID of the relationship. - "homeId": "str", # Optional. The home ID of the relationship. - "label": "str", # Optional. The label of the relationship. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "status": "str", # Optional. The enum of relationship status. Known values - are: "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the relationship. + "guid": "str", + "homeId": "str", + "label": "str", + "lastModifiedTS": "str", + "provenanceType": 0, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ @@ -28554,7 +23707,7 @@ def create( def create(self, body: JSON, *, content_type: str = "application/json", **kwargs: Any) -> _models.AtlasRelationship: """Create a new relationship between entities. - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -28569,36 +23722,34 @@ def create(self, body: JSON, *, content_type: str = "application/json", **kwargs # response body for status code(s): 200 response == { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "end1": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, "end2": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, - "guid": "str", # Optional. The GUID of the relationship. - "homeId": "str", # Optional. The home ID of the relationship. - "label": "str", # Optional. The label of the relationship. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "status": "str", # Optional. The enum of relationship status. Known values - are: "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the relationship. + "guid": "str", + "homeId": "str", + "label": "str", + "lastModifiedTS": "str", + "provenanceType": 0, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ @@ -28608,7 +23759,7 @@ def create( ) -> _models.AtlasRelationship: """Create a new relationship between entities. - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword content_type: Body Parameter content-type. Content type parameter for binary body. Default value is "application/json". @@ -28623,36 +23774,34 @@ def create( # response body for status code(s): 200 response == { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "end1": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, "end2": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, - "guid": "str", # Optional. The GUID of the relationship. - "homeId": "str", # Optional. The home ID of the relationship. - "label": "str", # Optional. The label of the relationship. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "status": "str", # Optional. The enum of relationship status. Known values - are: "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the relationship. + "guid": "str", + "homeId": "str", + "label": "str", + "lastModifiedTS": "str", + "provenanceType": 0, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ @@ -28662,7 +23811,8 @@ def create( ) -> _models.AtlasRelationship: """Create a new relationship between entities. - :param body: Is one of the following types: AtlasRelationship, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: AtlasRelationship, JSON, IO[bytes] + Required. :type body: ~azure.purview.datamap.models.AtlasRelationship or JSON or IO[bytes] :return: AtlasRelationship. The AtlasRelationship is compatible with MutableMapping :rtype: ~azure.purview.datamap.models.AtlasRelationship @@ -28674,74 +23824,70 @@ def create( # JSON input template you can fill out and use as your body input. body = { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "end1": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, "end2": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, - "guid": "str", # Optional. The GUID of the relationship. - "homeId": "str", # Optional. The home ID of the relationship. - "label": "str", # Optional. The label of the relationship. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "status": "str", # Optional. The enum of relationship status. Known values - are: "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the relationship. + "guid": "str", + "homeId": "str", + "label": "str", + "lastModifiedTS": "str", + "provenanceType": 0, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } # response body for status code(s): 200 response == { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "end1": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, "end2": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, - "guid": "str", # Optional. The GUID of the relationship. - "homeId": "str", # Optional. The home ID of the relationship. - "label": "str", # Optional. The label of the relationship. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "status": "str", # Optional. The enum of relationship status. Known values - are: "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the relationship. + "guid": "str", + "homeId": "str", + "label": "str", + "lastModifiedTS": "str", + "provenanceType": 0, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -28769,7 +23915,7 @@ def create( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -28803,7 +23949,7 @@ def update( ) -> _models.AtlasRelationship: """Update an existing relationship between entities. - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.AtlasRelationship :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -28818,71 +23964,67 @@ def update( # JSON input template you can fill out and use as your body input. body = { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "end1": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, "end2": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, - "guid": "str", # Optional. The GUID of the relationship. - "homeId": "str", # Optional. The home ID of the relationship. - "label": "str", # Optional. The label of the relationship. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "status": "str", # Optional. The enum of relationship status. Known values - are: "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the relationship. + "guid": "str", + "homeId": "str", + "label": "str", + "lastModifiedTS": "str", + "provenanceType": 0, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } # response body for status code(s): 200 response == { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "end1": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, "end2": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, - "guid": "str", # Optional. The GUID of the relationship. - "homeId": "str", # Optional. The home ID of the relationship. - "label": "str", # Optional. The label of the relationship. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "status": "str", # Optional. The enum of relationship status. Known values - are: "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the relationship. + "guid": "str", + "homeId": "str", + "label": "str", + "lastModifiedTS": "str", + "provenanceType": 0, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ @@ -28890,7 +24032,7 @@ def update( def update(self, body: JSON, *, content_type: str = "application/json", **kwargs: Any) -> _models.AtlasRelationship: """Update an existing relationship between entities. - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -28905,36 +24047,34 @@ def update(self, body: JSON, *, content_type: str = "application/json", **kwargs # response body for status code(s): 200 response == { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "end1": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, "end2": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, - "guid": "str", # Optional. The GUID of the relationship. - "homeId": "str", # Optional. The home ID of the relationship. - "label": "str", # Optional. The label of the relationship. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "status": "str", # Optional. The enum of relationship status. Known values - are: "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the relationship. + "guid": "str", + "homeId": "str", + "label": "str", + "lastModifiedTS": "str", + "provenanceType": 0, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ @@ -28944,7 +24084,7 @@ def update( ) -> _models.AtlasRelationship: """Update an existing relationship between entities. - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword content_type: Body Parameter content-type. Content type parameter for binary body. Default value is "application/json". @@ -28959,36 +24099,34 @@ def update( # response body for status code(s): 200 response == { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "end1": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, "end2": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, - "guid": "str", # Optional. The GUID of the relationship. - "homeId": "str", # Optional. The home ID of the relationship. - "label": "str", # Optional. The label of the relationship. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "status": "str", # Optional. The enum of relationship status. Known values - are: "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the relationship. + "guid": "str", + "homeId": "str", + "label": "str", + "lastModifiedTS": "str", + "provenanceType": 0, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ @@ -28998,7 +24136,8 @@ def update( ) -> _models.AtlasRelationship: """Update an existing relationship between entities. - :param body: Is one of the following types: AtlasRelationship, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: AtlasRelationship, JSON, IO[bytes] + Required. :type body: ~azure.purview.datamap.models.AtlasRelationship or JSON or IO[bytes] :return: AtlasRelationship. The AtlasRelationship is compatible with MutableMapping :rtype: ~azure.purview.datamap.models.AtlasRelationship @@ -29010,74 +24149,70 @@ def update( # JSON input template you can fill out and use as your body input. body = { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "end1": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, "end2": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, - "guid": "str", # Optional. The GUID of the relationship. - "homeId": "str", # Optional. The home ID of the relationship. - "label": "str", # Optional. The label of the relationship. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "status": "str", # Optional. The enum of relationship status. Known values - are: "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the relationship. + "guid": "str", + "homeId": "str", + "label": "str", + "lastModifiedTS": "str", + "provenanceType": 0, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } # response body for status code(s): 200 response == { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "end1": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, "end2": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the object. + "str": {} } }, - "guid": "str", # Optional. The GUID of the relationship. - "homeId": "str", # Optional. The home ID of the relationship. - "label": "str", # Optional. The label of the relationship. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "status": "str", # Optional. The enum of relationship status. Known values - are: "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the relationship. + "guid": "str", + "homeId": "str", + "label": "str", + "lastModifiedTS": "str", + "provenanceType": 0, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -29105,7 +24240,7 @@ def update( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -29137,7 +24272,6 @@ def update( def get( self, guid: str, *, extended_info: Optional[bool] = None, **kwargs: Any ) -> _models.AtlasRelationshipWithExtInfo: - # pylint: disable=line-too-long """Get relationship information between entities by its GUID. :param guid: The globally unique identifier of the relationship. Required. @@ -29157,120 +24291,91 @@ def get( "referredEntities": { "str": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, "classificationNames": [ - "str" # Optional. An array of classification names. + "str" ], "classifications": [ { "attributes": { - "str": {} # Optional. The attributes - of the struct. + "str": {} }, - "entityGuid": "str", # Optional. The GUID of - the entity. - "entityStatus": "str", # Optional. Status of - the entity - can be active or deleted. Deleted entities are not - removed. Known values are: "ACTIVE" and "DELETED". - "lastModifiedTS": "str", # Optional. ETag - for concurrency control. - "removePropagationsOnEntityDelete": bool, # - Optional. Determines if propagations will be removed on entity - deletion. - "typeName": "str", # Optional. The name of - the type. + "entityGuid": "str", + "entityStatus": "str", + "lastModifiedTS": "str", + "removePropagationsOnEntityDelete": bool, + "typeName": "str", "validityPeriods": [ { - "endTime": "str", # - Optional. The end of the time boundary. - "startTime": "str", # - Optional. The start of the time boundary. - "timeZone": "str" # - Optional. The timezone of the time boundary. + "endTime": "str", + "startTime": "str", + "timeZone": "str" } ] } ], - "displayText": "str", # Optional. The display text. - "guid": "str", # Optional. The GUID of the record. - "isIncomplete": bool, # Optional. Whether it is a shell - entity. + "displayText": "str", + "guid": "str", + "isIncomplete": bool, "labels": [ - "str" # Optional. labels. + "str" ], - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. + "lastModifiedTS": "str", "meaningNames": [ - "str" # Optional. An array of meanings. + "str" ], "meanings": [ { - "confidence": 0, # Optional. The confidence - of the term assignment. - "createdBy": "str", # Optional. The user who - created the record. - "description": "str", # Optional. The - description of the term assignment. - "displayText": "str", # Optional. The - display text. - "expression": "str", # Optional. The - expression of the term assignment. - "relationGuid": "str", # Optional. The GUID - of the relationship. - "status": "str", # Optional. The status of - terms assignment. Known values are: "DISCOVERED", "PROPOSED", - "IMPORTED", "VALIDATED", "DEPRECATED", "OBSOLETE", and "OTHER". - "steward": "str", # Optional. The steward of - the term. - "termGuid": "str" # Optional. The GUID of - the term. - } - ], - "status": "str", # Optional. Status of the entity - can be - active or deleted. Deleted entities are not removed. Known values are: - "ACTIVE" and "DELETED". - "typeName": "str" # Optional. The name of the type. + "confidence": 0, + "createdBy": "str", + "description": "str", + "displayText": "str", + "expression": "str", + "relationGuid": "str", + "status": "str", + "steward": "str", + "termGuid": "str" + } + ], + "status": "str", + "typeName": "str" } }, "relationship": { "attributes": { - "str": {} # Optional. The attributes of the struct. + "str": {} }, - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "createTime": 0, + "createdBy": "str", "end1": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } }, "end2": { - "guid": "str", # Optional. The GUID of the object. - "typeName": "str", # Optional. The name of the type. + "guid": "str", + "typeName": "str", "uniqueAttributes": { - "str": {} # Optional. The unique attributes of the - object. + "str": {} } }, - "guid": "str", # Optional. The GUID of the relationship. - "homeId": "str", # Optional. The home ID of the relationship. - "label": "str", # Optional. The label of the relationship. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "provenanceType": 0, # Optional. Used to record the provenance of an - instance of an entity or relationship. - "status": "str", # Optional. The enum of relationship status. Known - values are: "ACTIVE" and "DELETED". - "typeName": "str", # Optional. The name of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the relationship. + "guid": "str", + "homeId": "str", + "label": "str", + "lastModifiedTS": "str", + "provenanceType": 0, + "status": "str", + "typeName": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -29290,7 +24395,7 @@ def get( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -29328,7 +24433,7 @@ def delete(self, guid: str, **kwargs: Any) -> None: # pylint: disable=inconsist :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -29347,7 +24452,7 @@ def delete(self, guid: str, **kwargs: Any) -> None: # pylint: disable=inconsist params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -29359,8 +24464,6 @@ def delete(self, guid: str, **kwargs: Any) -> None: # pylint: disable=inconsist response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -29388,7 +24491,6 @@ def __init__(self, *args, **kwargs): @distributed_trace def get_business_metadata_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasBusinessMetadataDef: - # pylint: disable=line-too-long """Get the businessMetadata definition for the given guid. :param guid: businessMetadata guid. Required. @@ -29405,111 +24507,87 @@ def get_business_metadata_by_id(self, guid: str, **kwargs: Any) -> _models.Atlas response == { "attributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "category": "str", # Optional. The enum of type category. Known values are: - "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", - "ARRAY", "MAP", "RELATIONSHIP", and "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency of the date - format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines if grouping is - used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The maximum of - fraction digits. - "maximumIntegerDigits": 0, # Optional. The maximum of - integer digits. - "minimumFractionDigits": 0, # Optional. The minimum of - fraction digits. - "minimumIntegerDigits": 0, # Optional. The minimum of - integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. Determines if only - integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum of rounding mode. - Known values are: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", - "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The display name of the - timezone. - "dstSavings": 0, # Optional. The value of the daylight - saving time. - "id": "str", # Optional. The ID of the timezone. - "rawOffset": 0 # Optional. The raw offset of the timezone. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 } }, - "description": "str", # Optional. The description of the type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "name": "str", # Optional. The name of the type definition. + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -29528,7 +24606,7 @@ def get_business_metadata_by_id(self, guid: str, **kwargs: Any) -> _models.Atlas params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -29558,7 +24636,6 @@ def get_business_metadata_by_id(self, guid: str, **kwargs: Any) -> _models.Atlas @distributed_trace def get_business_metadata_by_name(self, name: str, **kwargs: Any) -> _models.AtlasBusinessMetadataDef: - # pylint: disable=line-too-long """Get the businessMetadata definition by it's name (unique). :param name: businessMetadata name. Required. @@ -29575,111 +24652,87 @@ def get_business_metadata_by_name(self, name: str, **kwargs: Any) -> _models.Atl response == { "attributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "category": "str", # Optional. The enum of type category. Known values are: - "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", - "ARRAY", "MAP", "RELATIONSHIP", and "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency of the date - format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines if grouping is - used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The maximum of - fraction digits. - "maximumIntegerDigits": 0, # Optional. The maximum of - integer digits. - "minimumFractionDigits": 0, # Optional. The minimum of - fraction digits. - "minimumIntegerDigits": 0, # Optional. The minimum of - integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. Determines if only - integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum of rounding mode. - Known values are: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", - "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The display name of the - timezone. - "dstSavings": 0, # Optional. The value of the daylight - saving time. - "id": "str", # Optional. The ID of the timezone. - "rawOffset": 0 # Optional. The raw offset of the timezone. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 } }, - "description": "str", # Optional. The description of the type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "name": "str", # Optional. The name of the type definition. + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -29698,7 +24751,7 @@ def get_business_metadata_by_name(self, name: str, **kwargs: Any) -> _models.Atl params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -29728,7 +24781,6 @@ def get_business_metadata_by_name(self, name: str, **kwargs: Any) -> _models.Atl @distributed_trace def get_classification_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasClassificationDef: - # pylint: disable=line-too-long """Get the classification definition for the given GUID. :param guid: The globally unique identifier of the classification. Required. @@ -29744,130 +24796,96 @@ def get_classification_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasCla response == { "attributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "category": "str", # Optional. The enum of type category. Known values are: - "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", - "ARRAY", "MAP", "RELATIONSHIP", and "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency of the date - format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines if grouping is - used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The maximum of - fraction digits. - "maximumIntegerDigits": 0, # Optional. The maximum of - integer digits. - "minimumFractionDigits": 0, # Optional. The minimum of - fraction digits. - "minimumIntegerDigits": 0, # Optional. The minimum of - integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. Determines if only - integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum of rounding mode. - Known values are: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", - "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The display name of the - timezone. - "dstSavings": 0, # Optional. The value of the daylight - saving time. - "id": "str", # Optional. The ID of the timezone. - "rawOffset": 0 # Optional. The raw offset of the timezone. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 } }, - "description": "str", # Optional. The description of the type definition. + "description": "str", "entityTypes": [ - "str" # Optional. Specifying a list of entityType names in the - classificationDef, ensures that classifications can only be applied to those - entityTypes. Any subtypes of the entity types inherit the restriction. Any - classificationDef subtypes inherit the parents entityTypes restrictions. Any - classificationDef subtypes can further restrict the parents entityTypes - restrictions by specifying a subset of the entityTypes. An empty entityTypes - list when there are no parent restrictions means there are no restrictions. - An empty entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes are - supplied, where one inherits from another, this will be rejected. This should - encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -29886,7 +24904,7 @@ def get_classification_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasCla params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -29916,7 +24934,6 @@ def get_classification_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasCla @distributed_trace def get_classification_by_name(self, name: str, **kwargs: Any) -> _models.AtlasClassificationDef: - # pylint: disable=line-too-long """Get the classification definition by its name (unique). :param name: The name of the classification. Required. @@ -29932,130 +24949,96 @@ def get_classification_by_name(self, name: str, **kwargs: Any) -> _models.AtlasC response == { "attributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "category": "str", # Optional. The enum of type category. Known values are: - "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", - "ARRAY", "MAP", "RELATIONSHIP", and "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency of the date - format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines if grouping is - used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The maximum of - fraction digits. - "maximumIntegerDigits": 0, # Optional. The maximum of - integer digits. - "minimumFractionDigits": 0, # Optional. The minimum of - fraction digits. - "minimumIntegerDigits": 0, # Optional. The minimum of - integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. Determines if only - integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum of rounding mode. - Known values are: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", - "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The display name of the - timezone. - "dstSavings": 0, # Optional. The value of the daylight - saving time. - "id": "str", # Optional. The ID of the timezone. - "rawOffset": 0 # Optional. The raw offset of the timezone. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 } }, - "description": "str", # Optional. The description of the type definition. + "description": "str", "entityTypes": [ - "str" # Optional. Specifying a list of entityType names in the - classificationDef, ensures that classifications can only be applied to those - entityTypes. Any subtypes of the entity types inherit the restriction. Any - classificationDef subtypes inherit the parents entityTypes restrictions. Any - classificationDef subtypes can further restrict the parents entityTypes - restrictions by specifying a subset of the entityTypes. An empty entityTypes - list when there are no parent restrictions means there are no restrictions. - An empty entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes are - supplied, where one inherits from another, this will be rejected. This should - encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -30074,7 +25057,7 @@ def get_classification_by_name(self, name: str, **kwargs: Any) -> _models.AtlasC params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -30104,7 +25087,6 @@ def get_classification_by_name(self, name: str, **kwargs: Any) -> _models.AtlasC @distributed_trace def get_entity_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasEntityDef: - # pylint: disable=line-too-long """Get the Entity definition for the given GUID. :param guid: The globally unique identifier of the entity. Required. @@ -30120,158 +25102,121 @@ def get_entity_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasEntityDef: response == { "attributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "category": "str", # Optional. The enum of type category. Known values are: - "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", - "ARRAY", "MAP", "RELATIONSHIP", and "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency of the date - format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines if grouping is - used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The maximum of - fraction digits. - "maximumIntegerDigits": 0, # Optional. The maximum of - integer digits. - "minimumFractionDigits": 0, # Optional. The minimum of - fraction digits. - "minimumIntegerDigits": 0, # Optional. The minimum of - integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. Determines if only - integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum of rounding mode. - Known values are: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", - "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The display name of the - timezone. - "dstSavings": 0, # Optional. The value of the daylight - saving time. - "id": "str", # Optional. The ID of the timezone. - "rawOffset": 0 # Optional. The raw offset of the timezone. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 } }, - "description": "str", # Optional. The description of the type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "name": "str", # Optional. The name of the type definition. + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isLegacyAttribute": bool, # Optional. Determines if it is a - legacy attribute. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. + "str": "str" }, - "relationshipTypeName": "str", # Optional. The name of the - relationship type. - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -30290,7 +25235,7 @@ def get_entity_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasEntityDef: params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -30320,7 +25265,6 @@ def get_entity_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasEntityDef: @distributed_trace def get_entity_by_name(self, name: str, **kwargs: Any) -> _models.AtlasEntityDef: - # pylint: disable=line-too-long """Get the entity definition by its name (unique). :param name: The name of the entity. Required. @@ -30336,158 +25280,121 @@ def get_entity_by_name(self, name: str, **kwargs: Any) -> _models.AtlasEntityDef response == { "attributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "category": "str", # Optional. The enum of type category. Known values are: - "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", - "ARRAY", "MAP", "RELATIONSHIP", and "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency of the date - format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines if grouping is - used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The maximum of - fraction digits. - "maximumIntegerDigits": 0, # Optional. The maximum of - integer digits. - "minimumFractionDigits": 0, # Optional. The minimum of - fraction digits. - "minimumIntegerDigits": 0, # Optional. The minimum of - integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. Determines if only - integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum of rounding mode. - Known values are: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", - "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The display name of the - timezone. - "dstSavings": 0, # Optional. The value of the daylight - saving time. - "id": "str", # Optional. The ID of the timezone. - "rawOffset": 0 # Optional. The raw offset of the timezone. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 } }, - "description": "str", # Optional. The description of the type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "name": "str", # Optional. The name of the type definition. + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isLegacyAttribute": bool, # Optional. Determines if it is a - legacy attribute. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. + "str": "str" }, - "relationshipTypeName": "str", # Optional. The name of the - relationship type. - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -30506,7 +25413,7 @@ def get_entity_by_name(self, name: str, **kwargs: Any) -> _models.AtlasEntityDef params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -30536,7 +25443,6 @@ def get_entity_by_name(self, name: str, **kwargs: Any) -> _models.AtlasEntityDef @distributed_trace def get_enum_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasEnumDef: - # pylint: disable=line-too-long """Get the enum definition for the given GUID. :param guid: The globally unique identifier of the enum. Required. @@ -30550,87 +25456,71 @@ def get_enum_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasEnumDef: # response body for status code(s): 200 response == { - "category": "str", # Optional. The enum of type category. Known values are: - "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", - "ARRAY", "MAP", "RELATIONSHIP", and "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency of the date - format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines if grouping is - used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The maximum of - fraction digits. - "maximumIntegerDigits": 0, # Optional. The maximum of - integer digits. - "minimumFractionDigits": 0, # Optional. The minimum of - fraction digits. - "minimumIntegerDigits": 0, # Optional. The minimum of - integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. Determines if only - integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum of rounding mode. - Known values are: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", - "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The display name of the - timezone. - "dstSavings": 0, # Optional. The value of the daylight - saving time. - "id": "str", # Optional. The ID of the timezone. - "rawOffset": 0 # Optional. The raw offset of the timezone. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 } }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the type definition. + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The description of the - enum element definition. - "ordinal": 0, # Optional. The ordinal of the enum element - definition. - "value": "str" # Optional. The value of the enum element - definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -30649,7 +25539,7 @@ def get_enum_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasEnumDef: params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -30679,7 +25569,6 @@ def get_enum_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasEnumDef: @distributed_trace def get_enum_by_name(self, name: str, **kwargs: Any) -> _models.AtlasEnumDef: - # pylint: disable=line-too-long """Get the enum definition by its name (unique). :param name: The name of the enum. Required. @@ -30693,87 +25582,71 @@ def get_enum_by_name(self, name: str, **kwargs: Any) -> _models.AtlasEnumDef: # response body for status code(s): 200 response == { - "category": "str", # Optional. The enum of type category. Known values are: - "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", - "ARRAY", "MAP", "RELATIONSHIP", and "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency of the date - format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines if grouping is - used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The maximum of - fraction digits. - "maximumIntegerDigits": 0, # Optional. The maximum of - integer digits. - "minimumFractionDigits": 0, # Optional. The minimum of - fraction digits. - "minimumIntegerDigits": 0, # Optional. The minimum of - integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. Determines if only - integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum of rounding mode. - Known values are: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", - "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The display name of the - timezone. - "dstSavings": 0, # Optional. The value of the daylight - saving time. - "id": "str", # Optional. The ID of the timezone. - "rawOffset": 0 # Optional. The raw offset of the timezone. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 } }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the type definition. + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The description of the - enum element definition. - "ordinal": 0, # Optional. The ordinal of the enum element - definition. - "value": "str" # Optional. The value of the enum element - definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -30792,7 +25665,7 @@ def get_enum_by_name(self, name: str, **kwargs: Any) -> _models.AtlasEnumDef: params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -30822,7 +25695,6 @@ def get_enum_by_name(self, name: str, **kwargs: Any) -> _models.AtlasEnumDef: @distributed_trace def get_relationship_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasRelationshipDef: - # pylint: disable=line-too-long """Get the relationship definition for the given GUID. :param guid: The globally unique identifier of the relationship. Required. @@ -30838,144 +25710,105 @@ def get_relationship_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasRelat response == { "attributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "category": "str", # Optional. The enum of type category. Known values are: - "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", - "ARRAY", "MAP", "RELATIONSHIP", and "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency of the date - format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines if grouping is - used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The maximum of - fraction digits. - "maximumIntegerDigits": 0, # Optional. The maximum of - integer digits. - "minimumFractionDigits": 0, # Optional. The minimum of - fraction digits. - "minimumIntegerDigits": 0, # Optional. The minimum of - integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. Determines if only - integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum of rounding mode. - Known values are: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", - "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The display name of the - timezone. - "dstSavings": 0, # Optional. The value of the daylight - saving time. - "id": "str", # Optional. The ID of the timezone. - "rawOffset": 0 # Optional. The raw offset of the timezone. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 } }, - "description": "str", # Optional. The description of the type definition. + "description": "str", "endDef1": { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". - "description": "str", # Optional. The description of the - relationship end definition. - "isContainer": bool, # Optional. Determines if it is container. - "isLegacyAttribute": bool, # Optional. Determines if it is a legacy - attribute. - "name": "str", # Optional. The name of the relationship end - definition. - "type": "str" # Optional. The type of the relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". - "description": "str", # Optional. The description of the - relationship end definition. - "isContainer": bool, # Optional. Determines if it is container. - "isLegacyAttribute": bool, # Optional. Determines if it is a legacy - attribute. - "name": "str", # Optional. The name of the relationship end - definition. - "type": "str" # Optional. The type of the relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type definition. + "str": "str" }, - "relationshipCategory": "str", # Optional. The Relationship category - determines the style of relationship around containment and lifecycle. UML - terminology is used for the values. ASSOCIATION is a relationship with no - containment. COMPOSITION and AGGREGATION are containment relationships. The - difference being in the lifecycles of the container and its children. In the - COMPOSITION case, the children cannot exist without the container. For - AGGREGATION, the life cycles of the container and children are totally - independent. Known values are: "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the relationship. - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the record. + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -30994,7 +25827,7 @@ def get_relationship_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasRelat params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -31024,7 +25857,6 @@ def get_relationship_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasRelat @distributed_trace def get_relationship_by_name(self, name: str, **kwargs: Any) -> _models.AtlasRelationshipDef: - # pylint: disable=line-too-long """Get the relationship definition by its name (unique). :param name: The name of the relationship. Required. @@ -31040,144 +25872,105 @@ def get_relationship_by_name(self, name: str, **kwargs: Any) -> _models.AtlasRel response == { "attributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "category": "str", # Optional. The enum of type category. Known values are: - "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", - "ARRAY", "MAP", "RELATIONSHIP", and "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency of the date - format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines if grouping is - used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The maximum of - fraction digits. - "maximumIntegerDigits": 0, # Optional. The maximum of - integer digits. - "minimumFractionDigits": 0, # Optional. The minimum of - fraction digits. - "minimumIntegerDigits": 0, # Optional. The minimum of - integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. Determines if only - integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum of rounding mode. - Known values are: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", - "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The display name of the - timezone. - "dstSavings": 0, # Optional. The value of the daylight - saving time. - "id": "str", # Optional. The ID of the timezone. - "rawOffset": 0 # Optional. The raw offset of the timezone. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 } }, - "description": "str", # Optional. The description of the type definition. + "description": "str", "endDef1": { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". - "description": "str", # Optional. The description of the - relationship end definition. - "isContainer": bool, # Optional. Determines if it is container. - "isLegacyAttribute": bool, # Optional. Determines if it is a legacy - attribute. - "name": "str", # Optional. The name of the relationship end - definition. - "type": "str" # Optional. The type of the relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". - "description": "str", # Optional. The description of the - relationship end definition. - "isContainer": bool, # Optional. Determines if it is container. - "isLegacyAttribute": bool, # Optional. Determines if it is a legacy - attribute. - "name": "str", # Optional. The name of the relationship end - definition. - "type": "str" # Optional. The type of the relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type definition. + "str": "str" }, - "relationshipCategory": "str", # Optional. The Relationship category - determines the style of relationship around containment and lifecycle. UML - terminology is used for the values. ASSOCIATION is a relationship with no - containment. COMPOSITION and AGGREGATION are containment relationships. The - difference being in the lifecycles of the container and its children. In the - COMPOSITION case, the children cannot exist without the container. For - AGGREGATION, the life cycles of the container and children are totally - independent. Known values are: "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the relationship. - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the record. + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -31196,7 +25989,7 @@ def get_relationship_by_name(self, name: str, **kwargs: Any) -> _models.AtlasRel params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -31226,7 +26019,6 @@ def get_relationship_by_name(self, name: str, **kwargs: Any) -> _models.AtlasRel @distributed_trace def get_struct_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasStructDef: - # pylint: disable=line-too-long """Get the struct definition for the given GUID. :param guid: The globally unique identifier of the struct. Required. @@ -31242,111 +26034,87 @@ def get_struct_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasStructDef: response == { "attributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "category": "str", # Optional. The enum of type category. Known values are: - "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", - "ARRAY", "MAP", "RELATIONSHIP", and "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency of the date - format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines if grouping is - used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The maximum of - fraction digits. - "maximumIntegerDigits": 0, # Optional. The maximum of - integer digits. - "minimumFractionDigits": 0, # Optional. The minimum of - fraction digits. - "minimumIntegerDigits": 0, # Optional. The minimum of - integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. Determines if only - integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum of rounding mode. - Known values are: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", - "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The display name of the - timezone. - "dstSavings": 0, # Optional. The value of the daylight - saving time. - "id": "str", # Optional. The ID of the timezone. - "rawOffset": 0 # Optional. The raw offset of the timezone. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 } }, - "description": "str", # Optional. The description of the type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "name": "str", # Optional. The name of the type definition. + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -31365,7 +26133,7 @@ def get_struct_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasStructDef: params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -31395,7 +26163,6 @@ def get_struct_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasStructDef: @distributed_trace def get_struct_by_name(self, name: str, **kwargs: Any) -> _models.AtlasStructDef: - # pylint: disable=line-too-long """Get the struct definition by its name (unique). :param name: The name of the struct. Required. @@ -31411,111 +26178,87 @@ def get_struct_by_name(self, name: str, **kwargs: Any) -> _models.AtlasStructDef response == { "attributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "category": "str", # Optional. The enum of type category. Known values are: - "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", - "ARRAY", "MAP", "RELATIONSHIP", and "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency of the date - format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines if grouping is - used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The maximum of - fraction digits. - "maximumIntegerDigits": 0, # Optional. The maximum of - integer digits. - "minimumFractionDigits": 0, # Optional. The minimum of - fraction digits. - "minimumIntegerDigits": 0, # Optional. The minimum of - integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. Determines if only - integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum of rounding mode. - Known values are: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", - "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The display name of the - timezone. - "dstSavings": 0, # Optional. The value of the daylight - saving time. - "id": "str", # Optional. The ID of the timezone. - "rawOffset": 0 # Optional. The raw offset of the timezone. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 } }, - "description": "str", # Optional. The description of the type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "name": "str", # Optional. The name of the type definition. + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -31534,7 +26277,7 @@ def get_struct_by_name(self, name: str, **kwargs: Any) -> _models.AtlasStructDef params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -31564,7 +26307,6 @@ def get_struct_by_name(self, name: str, **kwargs: Any) -> _models.AtlasStructDef @distributed_trace def get_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasTypeDef: - # pylint: disable=line-too-long """Get the type definition for the given GUID. :param guid: The globally unique identifier of the type. Required. @@ -31580,215 +26322,150 @@ def get_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasTypeDef: response == { "attributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "category": "str", # Optional. The enum of type category. Known values are: - "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", - "ARRAY", "MAP", "RELATIONSHIP", and "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency of the date - format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines if grouping is - used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The maximum of - fraction digits. - "maximumIntegerDigits": 0, # Optional. The maximum of - integer digits. - "minimumFractionDigits": 0, # Optional. The minimum of - fraction digits. - "minimumIntegerDigits": 0, # Optional. The minimum of - integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. Determines if only - integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum of rounding mode. - Known values are: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", - "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The display name of the - timezone. - "dstSavings": 0, # Optional. The value of the daylight - saving time. - "id": "str", # Optional. The ID of the timezone. - "rawOffset": 0 # Optional. The raw offset of the timezone. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 } }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the type definition. + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The description of the - enum element definition. - "ordinal": 0, # Optional. The ordinal of the enum element - definition. - "value": "str" # Optional. The value of the enum element - definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], "endDef1": { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". - "description": "str", # Optional. The description of the - relationship end definition. - "isContainer": bool, # Optional. Determines if it is container. - "isLegacyAttribute": bool, # Optional. Determines if it is a legacy - attribute. - "name": "str", # Optional. The name of the relationship end - definition. - "type": "str" # Optional. The type of the relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". - "description": "str", # Optional. The description of the - relationship end definition. - "isContainer": bool, # Optional. Determines if it is container. - "isLegacyAttribute": bool, # Optional. Determines if it is a legacy - attribute. - "name": "str", # Optional. The name of the relationship end - definition. - "type": "str" # Optional. The type of the relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "entityTypes": [ - "str" # Optional. Specifying a list of entityType names in the - classificationDef, ensures that classifications can only be applied to those - entityTypes. Any subtypes of the entity types inherit the restriction. Any - classificationDef subtypes inherit the parents entityTypes restrictions. Any - classificationDef subtypes can further restrict the parents entityTypes - restrictions by specifying a subset of the entityTypes. An empty entityTypes - list when there are no parent restrictions means there are no restrictions. - An empty entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes are - supplied, where one inherits from another, this will be rejected. This should - encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isLegacyAttribute": bool, # Optional. Determines if it is a - legacy attribute. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. - }, - "relationshipTypeName": "str", # Optional. The name of the - relationship type. - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. - } - ], - "relationshipCategory": "str", # Optional. The Relationship category - determines the style of relationship around containment and lifecycle. UML - terminology is used for the values. ASSOCIATION is a relationship with no - containment. COMPOSITION and AGGREGATION are containment relationships. The - difference being in the lifecycles of the container and its children. In the - COMPOSITION case, the children cannot exist without the container. For - AGGREGATION, the life cycles of the container and children are totally - independent. Known values are: "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the relationship. - "serviceType": "str", # Optional. The service type. + "str": "str" + }, + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -31807,7 +26484,7 @@ def get_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasTypeDef: params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -31837,7 +26514,6 @@ def get_by_id(self, guid: str, **kwargs: Any) -> _models.AtlasTypeDef: @distributed_trace def get_by_name(self, name: str, **kwargs: Any) -> _models.AtlasTypeDef: - # pylint: disable=line-too-long """Get the type definition by its name (unique). :param name: The name of the type. Required. @@ -31853,215 +26529,150 @@ def get_by_name(self, name: str, **kwargs: Any) -> _models.AtlasTypeDef: response == { "attributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "category": "str", # Optional. The enum of type category. Known values are: - "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", - "ARRAY", "MAP", "RELATIONSHIP", and "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency of the date - format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines if grouping is - used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The maximum of - fraction digits. - "maximumIntegerDigits": 0, # Optional. The maximum of - integer digits. - "minimumFractionDigits": 0, # Optional. The minimum of - fraction digits. - "minimumIntegerDigits": 0, # Optional. The minimum of - integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. Determines if only - integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum of rounding mode. - Known values are: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", - "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The display name of the - timezone. - "dstSavings": 0, # Optional. The value of the daylight - saving time. - "id": "str", # Optional. The ID of the timezone. - "rawOffset": 0 # Optional. The raw offset of the timezone. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 } }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the type definition. + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The description of the - enum element definition. - "ordinal": 0, # Optional. The ordinal of the enum element - definition. - "value": "str" # Optional. The value of the enum element - definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], "endDef1": { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". - "description": "str", # Optional. The description of the - relationship end definition. - "isContainer": bool, # Optional. Determines if it is container. - "isLegacyAttribute": bool, # Optional. Determines if it is a legacy - attribute. - "name": "str", # Optional. The name of the relationship end - definition. - "type": "str" # Optional. The type of the relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". - "description": "str", # Optional. The description of the - relationship end definition. - "isContainer": bool, # Optional. Determines if it is container. - "isLegacyAttribute": bool, # Optional. Determines if it is a legacy - attribute. - "name": "str", # Optional. The name of the relationship end - definition. - "type": "str" # Optional. The type of the relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "entityTypes": [ - "str" # Optional. Specifying a list of entityType names in the - classificationDef, ensures that classifications can only be applied to those - entityTypes. Any subtypes of the entity types inherit the restriction. Any - classificationDef subtypes inherit the parents entityTypes restrictions. Any - classificationDef subtypes can further restrict the parents entityTypes - restrictions by specifying a subset of the entityTypes. An empty entityTypes - list when there are no parent restrictions means there are no restrictions. - An empty entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes are - supplied, where one inherits from another, this will be rejected. This should - encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isLegacyAttribute": bool, # Optional. Determines if it is a - legacy attribute. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. - }, - "relationshipTypeName": "str", # Optional. The name of the - relationship type. - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. - } - ], - "relationshipCategory": "str", # Optional. The Relationship category - determines the style of relationship around containment and lifecycle. UML - terminology is used for the values. ASSOCIATION is a relationship with no - containment. COMPOSITION and AGGREGATION are containment relationships. The - difference being in the lifecycles of the container and its children. In the - COMPOSITION case, the children cannot exist without the container. For - AGGREGATION, the life cycles of the container and children are totally - independent. Known values are: "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the relationship. - "serviceType": "str", # Optional. The service type. + "str": "str" + }, + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -32080,7 +26691,7 @@ def get_by_name(self, name: str, **kwargs: Any) -> _models.AtlasTypeDef: params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -32118,7 +26729,7 @@ def delete(self, name: str, **kwargs: Any) -> None: # pylint: disable=inconsist :rtype: None :raises ~azure.core.exceptions.HttpResponseError: """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -32137,7 +26748,7 @@ def delete(self, name: str, **kwargs: Any) -> None: # pylint: disable=inconsist params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -32149,8 +26760,6 @@ def delete(self, name: str, **kwargs: Any) -> None: # pylint: disable=inconsist response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -32166,7 +26775,6 @@ def get( type: Optional[Union[str, _models.TypeCategory]] = None, **kwargs: Any ) -> _models.AtlasTypesDef: - # pylint: disable=line-too-long """List all type definitions in bulk. :keyword include_term_template: Whether include termtemplatedef when return all typedefs. @@ -32190,948 +26798,636 @@ def get( { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "classificationDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "entityTypes": [ - "str" # Optional. Specifying a list of entityType - names in the classificationDef, ensures that classifications can only - be applied to those entityTypes. Any subtypes of the entity types - inherit the restriction. Any classificationDef subtypes inherit the - parents entityTypes restrictions. Any classificationDef subtypes can - further restrict the parents entityTypes restrictions by specifying a - subset of the entityTypes. An empty entityTypes list when there are - no parent restrictions means there are no restrictions. An empty - entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes - are supplied, where one inherits from another, this will be rejected. - This should encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "entityDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isLegacyAttribute": bool, # Optional. - Determines if it is a legacy attribute. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "relationshipTypeName": "str", # Optional. - The name of the relationship type. - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "enumDefs": [ { - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The - description of the enum element definition. - "ordinal": 0, # Optional. The ordinal of the - enum element definition. - "value": "str" # Optional. The value of the - enum element definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "relationshipDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "endDef1": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. - }, - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" + }, + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. - }, - "relationshipCategory": "str", # Optional. The Relationship - category determines the style of relationship around containment and - lifecycle. UML terminology is used for the values. ASSOCIATION is a - relationship with no containment. COMPOSITION and AGGREGATION are - containment relationships. The difference being in the lifecycles of the - container and its children. In the COMPOSITION case, the children cannot - exist without the container. For AGGREGATION, the life cycles of the - container and children are totally independent. Known values are: - "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the - relationship. - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "str": "str" + }, + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "structDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "termTemplateDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -33152,7 +27448,7 @@ def get( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -33184,12 +27480,9 @@ def get( def batch_create( self, body: _models.AtlasTypesDef, *, content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasTypesDef: - # pylint: disable=line-too-long - """Create all atlas type definitions in bulk, only new definitions will be - created. - Any changes to the existing definitions will be discarded. + """Create all atlas type definitions in bulk. Please avoid recreating existing types. - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.AtlasTypesDef :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -33207,943 +27500,631 @@ def batch_create( { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "classificationDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "entityTypes": [ - "str" # Optional. Specifying a list of entityType - names in the classificationDef, ensures that classifications can only - be applied to those entityTypes. Any subtypes of the entity types - inherit the restriction. Any classificationDef subtypes inherit the - parents entityTypes restrictions. Any classificationDef subtypes can - further restrict the parents entityTypes restrictions by specifying a - subset of the entityTypes. An empty entityTypes list when there are - no parent restrictions means there are no restrictions. An empty - entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes - are supplied, where one inherits from another, this will be rejected. - This should encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "entityDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isLegacyAttribute": bool, # Optional. - Determines if it is a legacy attribute. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "relationshipTypeName": "str", # Optional. - The name of the relationship type. - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "enumDefs": [ { - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The - description of the enum element definition. - "ordinal": 0, # Optional. The ordinal of the - enum element definition. - "value": "str" # Optional. The value of the - enum element definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "relationshipDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "endDef1": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. - }, - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" + }, + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. - }, - "relationshipCategory": "str", # Optional. The Relationship - category determines the style of relationship around containment and - lifecycle. UML terminology is used for the values. ASSOCIATION is a - relationship with no containment. COMPOSITION and AGGREGATION are - containment relationships. The difference being in the lifecycles of the - container and its children. In the COMPOSITION case, the children cannot - exist without the container. For AGGREGATION, the life cycles of the - container and children are totally independent. Known values are: - "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the - relationship. - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "str": "str" + }, + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "structDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "termTemplateDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ] } @@ -34154,943 +28135,631 @@ def batch_create( { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "classificationDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "entityTypes": [ - "str" # Optional. Specifying a list of entityType - names in the classificationDef, ensures that classifications can only - be applied to those entityTypes. Any subtypes of the entity types - inherit the restriction. Any classificationDef subtypes inherit the - parents entityTypes restrictions. Any classificationDef subtypes can - further restrict the parents entityTypes restrictions by specifying a - subset of the entityTypes. An empty entityTypes list when there are - no parent restrictions means there are no restrictions. An empty - entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes - are supplied, where one inherits from another, this will be rejected. - This should encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "entityDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isLegacyAttribute": bool, # Optional. - Determines if it is a legacy attribute. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "relationshipTypeName": "str", # Optional. - The name of the relationship type. - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "enumDefs": [ { - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The - description of the enum element definition. - "ordinal": 0, # Optional. The ordinal of the - enum element definition. - "value": "str" # Optional. The value of the - enum element definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "relationshipDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "endDef1": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. - }, - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" + }, + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. - }, - "relationshipCategory": "str", # Optional. The Relationship - category determines the style of relationship around containment and - lifecycle. UML terminology is used for the values. ASSOCIATION is a - relationship with no containment. COMPOSITION and AGGREGATION are - containment relationships. The difference being in the lifecycles of the - container and its children. In the COMPOSITION case, the children cannot - exist without the container. For AGGREGATION, the life cycles of the - container and children are totally independent. Known values are: - "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the - relationship. - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "str": "str" + }, + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "structDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "termTemplateDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ] } @@ -35100,12 +28769,9 @@ def batch_create( def batch_create( self, body: JSON, *, content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasTypesDef: - # pylint: disable=line-too-long - """Create all atlas type definitions in bulk, only new definitions will be - created. - Any changes to the existing definitions will be discarded. + """Create all atlas type definitions in bulk. Please avoid recreating existing types. - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -35123,943 +28789,631 @@ def batch_create( { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "classificationDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "entityTypes": [ - "str" # Optional. Specifying a list of entityType - names in the classificationDef, ensures that classifications can only - be applied to those entityTypes. Any subtypes of the entity types - inherit the restriction. Any classificationDef subtypes inherit the - parents entityTypes restrictions. Any classificationDef subtypes can - further restrict the parents entityTypes restrictions by specifying a - subset of the entityTypes. An empty entityTypes list when there are - no parent restrictions means there are no restrictions. An empty - entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes - are supplied, where one inherits from another, this will be rejected. - This should encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "entityDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isLegacyAttribute": bool, # Optional. - Determines if it is a legacy attribute. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "relationshipTypeName": "str", # Optional. - The name of the relationship type. - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "enumDefs": [ { - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The - description of the enum element definition. - "ordinal": 0, # Optional. The ordinal of the - enum element definition. - "value": "str" # Optional. The value of the - enum element definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "relationshipDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "endDef1": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. - }, - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" + }, + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. - }, - "relationshipCategory": "str", # Optional. The Relationship - category determines the style of relationship around containment and - lifecycle. UML terminology is used for the values. ASSOCIATION is a - relationship with no containment. COMPOSITION and AGGREGATION are - containment relationships. The difference being in the lifecycles of the - container and its children. In the COMPOSITION case, the children cannot - exist without the container. For AGGREGATION, the life cycles of the - container and children are totally independent. Known values are: - "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the - relationship. - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "str": "str" + }, + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "structDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "termTemplateDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ] } @@ -36069,12 +29423,9 @@ def batch_create( def batch_create( self, body: IO[bytes], *, content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasTypesDef: - # pylint: disable=line-too-long - """Create all atlas type definitions in bulk, only new definitions will be - created. - Any changes to the existing definitions will be discarded. + """Create all atlas type definitions in bulk. Please avoid recreating existing types. - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword content_type: Body Parameter content-type. Content type parameter for binary body. Default value is "application/json". @@ -36092,943 +29443,631 @@ def batch_create( { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "classificationDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "entityTypes": [ - "str" # Optional. Specifying a list of entityType - names in the classificationDef, ensures that classifications can only - be applied to those entityTypes. Any subtypes of the entity types - inherit the restriction. Any classificationDef subtypes inherit the - parents entityTypes restrictions. Any classificationDef subtypes can - further restrict the parents entityTypes restrictions by specifying a - subset of the entityTypes. An empty entityTypes list when there are - no parent restrictions means there are no restrictions. An empty - entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes - are supplied, where one inherits from another, this will be rejected. - This should encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "entityDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isLegacyAttribute": bool, # Optional. - Determines if it is a legacy attribute. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "relationshipTypeName": "str", # Optional. - The name of the relationship type. - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "enumDefs": [ { - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The - description of the enum element definition. - "ordinal": 0, # Optional. The ordinal of the - enum element definition. - "value": "str" # Optional. The value of the - enum element definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "relationshipDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "endDef1": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. - }, - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" + }, + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. - }, - "relationshipCategory": "str", # Optional. The Relationship - category determines the style of relationship around containment and - lifecycle. UML terminology is used for the values. ASSOCIATION is a - relationship with no containment. COMPOSITION and AGGREGATION are - containment relationships. The difference being in the lifecycles of the - container and its children. In the COMPOSITION case, the children cannot - exist without the container. For AGGREGATION, the life cycles of the - container and children are totally independent. Known values are: - "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the - relationship. - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "str": "str" + }, + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "structDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "termTemplateDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ] } @@ -37036,12 +30075,10 @@ def batch_create( @distributed_trace def batch_create(self, body: Union[_models.AtlasTypesDef, JSON, IO[bytes]], **kwargs: Any) -> _models.AtlasTypesDef: - # pylint: disable=line-too-long - """Create all atlas type definitions in bulk, only new definitions will be - created. - Any changes to the existing definitions will be discarded. + """Create all atlas type definitions in bulk. Please avoid recreating existing types. - :param body: Is one of the following types: AtlasTypesDef, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: AtlasTypesDef, JSON, IO[bytes] + Required. :type body: ~azure.purview.datamap.models.AtlasTypesDef or JSON or IO[bytes] :return: AtlasTypesDef. The AtlasTypesDef is compatible with MutableMapping :rtype: ~azure.purview.datamap.models.AtlasTypesDef @@ -37056,943 +30093,631 @@ def batch_create(self, body: Union[_models.AtlasTypesDef, JSON, IO[bytes]], **kw { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "classificationDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "entityTypes": [ - "str" # Optional. Specifying a list of entityType - names in the classificationDef, ensures that classifications can only - be applied to those entityTypes. Any subtypes of the entity types - inherit the restriction. Any classificationDef subtypes inherit the - parents entityTypes restrictions. Any classificationDef subtypes can - further restrict the parents entityTypes restrictions by specifying a - subset of the entityTypes. An empty entityTypes list when there are - no parent restrictions means there are no restrictions. An empty - entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes - are supplied, where one inherits from another, this will be rejected. - This should encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "entityDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isLegacyAttribute": bool, # Optional. - Determines if it is a legacy attribute. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "relationshipTypeName": "str", # Optional. - The name of the relationship type. - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "enumDefs": [ { - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The - description of the enum element definition. - "ordinal": 0, # Optional. The ordinal of the - enum element definition. - "value": "str" # Optional. The value of the - enum element definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "relationshipDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "endDef1": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. - }, - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" + }, + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. - }, - "relationshipCategory": "str", # Optional. The Relationship - category determines the style of relationship around containment and - lifecycle. UML terminology is used for the values. ASSOCIATION is a - relationship with no containment. COMPOSITION and AGGREGATION are - containment relationships. The difference being in the lifecycles of the - container and its children. In the COMPOSITION case, the children cannot - exist without the container. For AGGREGATION, the life cycles of the - container and children are totally independent. Known values are: - "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the - relationship. - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "str": "str" + }, + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "structDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "termTemplateDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ] } @@ -38003,948 +30728,636 @@ def batch_create(self, body: Union[_models.AtlasTypesDef, JSON, IO[bytes]], **kw { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "classificationDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "entityTypes": [ - "str" # Optional. Specifying a list of entityType - names in the classificationDef, ensures that classifications can only - be applied to those entityTypes. Any subtypes of the entity types - inherit the restriction. Any classificationDef subtypes inherit the - parents entityTypes restrictions. Any classificationDef subtypes can - further restrict the parents entityTypes restrictions by specifying a - subset of the entityTypes. An empty entityTypes list when there are - no parent restrictions means there are no restrictions. An empty - entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes - are supplied, where one inherits from another, this will be rejected. - This should encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "entityDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isLegacyAttribute": bool, # Optional. - Determines if it is a legacy attribute. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "relationshipTypeName": "str", # Optional. - The name of the relationship type. - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "enumDefs": [ { - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The - description of the enum element definition. - "ordinal": 0, # Optional. The ordinal of the - enum element definition. - "value": "str" # Optional. The value of the - enum element definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "relationshipDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "endDef1": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. - }, - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" + }, + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. - }, - "relationshipCategory": "str", # Optional. The Relationship - category determines the style of relationship around containment and - lifecycle. UML terminology is used for the values. ASSOCIATION is a - relationship with no containment. COMPOSITION and AGGREGATION are - containment relationships. The difference being in the lifecycles of the - container and its children. In the COMPOSITION case, the children cannot - exist without the container. For AGGREGATION, the life cycles of the - container and children are totally independent. Known values are: - "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the - relationship. - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "str": "str" + }, + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "structDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "termTemplateDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -38972,7 +31385,7 @@ def batch_create(self, body: Union[_models.AtlasTypesDef, JSON, IO[bytes]], **kw params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -39004,11 +31417,10 @@ def batch_create(self, body: Union[_models.AtlasTypesDef, JSON, IO[bytes]], **kw def batch_update( self, body: _models.AtlasTypesDef, *, content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasTypesDef: - # pylint: disable=line-too-long """Update all types in bulk, changes detected in the type definitions would be persisted. - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.AtlasTypesDef :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -39026,943 +31438,631 @@ def batch_update( { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "classificationDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "entityTypes": [ - "str" # Optional. Specifying a list of entityType - names in the classificationDef, ensures that classifications can only - be applied to those entityTypes. Any subtypes of the entity types - inherit the restriction. Any classificationDef subtypes inherit the - parents entityTypes restrictions. Any classificationDef subtypes can - further restrict the parents entityTypes restrictions by specifying a - subset of the entityTypes. An empty entityTypes list when there are - no parent restrictions means there are no restrictions. An empty - entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes - are supplied, where one inherits from another, this will be rejected. - This should encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "entityDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isLegacyAttribute": bool, # Optional. - Determines if it is a legacy attribute. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "relationshipTypeName": "str", # Optional. - The name of the relationship type. - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "enumDefs": [ { - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The - description of the enum element definition. - "ordinal": 0, # Optional. The ordinal of the - enum element definition. - "value": "str" # Optional. The value of the - enum element definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "relationshipDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "endDef1": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. - }, - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" + }, + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. - }, - "relationshipCategory": "str", # Optional. The Relationship - category determines the style of relationship around containment and - lifecycle. UML terminology is used for the values. ASSOCIATION is a - relationship with no containment. COMPOSITION and AGGREGATION are - containment relationships. The difference being in the lifecycles of the - container and its children. In the COMPOSITION case, the children cannot - exist without the container. For AGGREGATION, the life cycles of the - container and children are totally independent. Known values are: - "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the - relationship. - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "str": "str" + }, + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "structDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "termTemplateDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ] } @@ -39973,943 +32073,631 @@ def batch_update( { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "classificationDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "entityTypes": [ - "str" # Optional. Specifying a list of entityType - names in the classificationDef, ensures that classifications can only - be applied to those entityTypes. Any subtypes of the entity types - inherit the restriction. Any classificationDef subtypes inherit the - parents entityTypes restrictions. Any classificationDef subtypes can - further restrict the parents entityTypes restrictions by specifying a - subset of the entityTypes. An empty entityTypes list when there are - no parent restrictions means there are no restrictions. An empty - entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes - are supplied, where one inherits from another, this will be rejected. - This should encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "entityDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isLegacyAttribute": bool, # Optional. - Determines if it is a legacy attribute. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "relationshipTypeName": "str", # Optional. - The name of the relationship type. - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "enumDefs": [ { - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The - description of the enum element definition. - "ordinal": 0, # Optional. The ordinal of the - enum element definition. - "value": "str" # Optional. The value of the - enum element definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "relationshipDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "endDef1": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. - }, - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" + }, + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. - }, - "relationshipCategory": "str", # Optional. The Relationship - category determines the style of relationship around containment and - lifecycle. UML terminology is used for the values. ASSOCIATION is a - relationship with no containment. COMPOSITION and AGGREGATION are - containment relationships. The difference being in the lifecycles of the - container and its children. In the COMPOSITION case, the children cannot - exist without the container. For AGGREGATION, the life cycles of the - container and children are totally independent. Known values are: - "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the - relationship. - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "str": "str" + }, + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "structDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "termTemplateDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ] } @@ -40919,11 +32707,10 @@ def batch_update( def batch_update( self, body: JSON, *, content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasTypesDef: - # pylint: disable=line-too-long """Update all types in bulk, changes detected in the type definitions would be persisted. - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -40941,943 +32728,631 @@ def batch_update( { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "classificationDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "entityTypes": [ - "str" # Optional. Specifying a list of entityType - names in the classificationDef, ensures that classifications can only - be applied to those entityTypes. Any subtypes of the entity types - inherit the restriction. Any classificationDef subtypes inherit the - parents entityTypes restrictions. Any classificationDef subtypes can - further restrict the parents entityTypes restrictions by specifying a - subset of the entityTypes. An empty entityTypes list when there are - no parent restrictions means there are no restrictions. An empty - entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes - are supplied, where one inherits from another, this will be rejected. - This should encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "entityDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isLegacyAttribute": bool, # Optional. - Determines if it is a legacy attribute. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "relationshipTypeName": "str", # Optional. - The name of the relationship type. - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "enumDefs": [ { - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The - description of the enum element definition. - "ordinal": 0, # Optional. The ordinal of the - enum element definition. - "value": "str" # Optional. The value of the - enum element definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "relationshipDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "endDef1": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. - }, - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" + }, + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. - }, - "relationshipCategory": "str", # Optional. The Relationship - category determines the style of relationship around containment and - lifecycle. UML terminology is used for the values. ASSOCIATION is a - relationship with no containment. COMPOSITION and AGGREGATION are - containment relationships. The difference being in the lifecycles of the - container and its children. In the COMPOSITION case, the children cannot - exist without the container. For AGGREGATION, the life cycles of the - container and children are totally independent. Known values are: - "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the - relationship. - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "str": "str" + }, + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "structDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "termTemplateDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ] } @@ -41887,11 +33362,10 @@ def batch_update( def batch_update( self, body: IO[bytes], *, content_type: str = "application/json", **kwargs: Any ) -> _models.AtlasTypesDef: - # pylint: disable=line-too-long """Update all types in bulk, changes detected in the type definitions would be persisted. - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword content_type: Body Parameter content-type. Content type parameter for binary body. Default value is "application/json". @@ -41909,943 +33383,631 @@ def batch_update( { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "classificationDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "entityTypes": [ - "str" # Optional. Specifying a list of entityType - names in the classificationDef, ensures that classifications can only - be applied to those entityTypes. Any subtypes of the entity types - inherit the restriction. Any classificationDef subtypes inherit the - parents entityTypes restrictions. Any classificationDef subtypes can - further restrict the parents entityTypes restrictions by specifying a - subset of the entityTypes. An empty entityTypes list when there are - no parent restrictions means there are no restrictions. An empty - entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes - are supplied, where one inherits from another, this will be rejected. - This should encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "entityDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isLegacyAttribute": bool, # Optional. - Determines if it is a legacy attribute. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "relationshipTypeName": "str", # Optional. - The name of the relationship type. - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "enumDefs": [ { - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The - description of the enum element definition. - "ordinal": 0, # Optional. The ordinal of the - enum element definition. - "value": "str" # Optional. The value of the - enum element definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "relationshipDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "endDef1": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. - }, - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" + }, + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. - }, - "relationshipCategory": "str", # Optional. The Relationship - category determines the style of relationship around containment and - lifecycle. UML terminology is used for the values. ASSOCIATION is a - relationship with no containment. COMPOSITION and AGGREGATION are - containment relationships. The difference being in the lifecycles of the - container and its children. In the COMPOSITION case, the children cannot - exist without the container. For AGGREGATION, the life cycles of the - container and children are totally independent. Known values are: - "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the - relationship. - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "str": "str" + }, + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "structDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "termTemplateDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ] } @@ -42853,11 +34015,11 @@ def batch_update( @distributed_trace def batch_update(self, body: Union[_models.AtlasTypesDef, JSON, IO[bytes]], **kwargs: Any) -> _models.AtlasTypesDef: - # pylint: disable=line-too-long """Update all types in bulk, changes detected in the type definitions would be persisted. - :param body: Is one of the following types: AtlasTypesDef, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: AtlasTypesDef, JSON, IO[bytes] + Required. :type body: ~azure.purview.datamap.models.AtlasTypesDef or JSON or IO[bytes] :return: AtlasTypesDef. The AtlasTypesDef is compatible with MutableMapping :rtype: ~azure.purview.datamap.models.AtlasTypesDef @@ -42872,943 +34034,631 @@ def batch_update(self, body: Union[_models.AtlasTypesDef, JSON, IO[bytes]], **kw { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "classificationDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "entityTypes": [ - "str" # Optional. Specifying a list of entityType - names in the classificationDef, ensures that classifications can only - be applied to those entityTypes. Any subtypes of the entity types - inherit the restriction. Any classificationDef subtypes inherit the - parents entityTypes restrictions. Any classificationDef subtypes can - further restrict the parents entityTypes restrictions by specifying a - subset of the entityTypes. An empty entityTypes list when there are - no parent restrictions means there are no restrictions. An empty - entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes - are supplied, where one inherits from another, this will be rejected. - This should encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "entityDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isLegacyAttribute": bool, # Optional. - Determines if it is a legacy attribute. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "relationshipTypeName": "str", # Optional. - The name of the relationship type. - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "enumDefs": [ { - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The - description of the enum element definition. - "ordinal": 0, # Optional. The ordinal of the - enum element definition. - "value": "str" # Optional. The value of the - enum element definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "relationshipDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "endDef1": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. - }, - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" + }, + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. - }, - "relationshipCategory": "str", # Optional. The Relationship - category determines the style of relationship around containment and - lifecycle. UML terminology is used for the values. ASSOCIATION is a - relationship with no containment. COMPOSITION and AGGREGATION are - containment relationships. The difference being in the lifecycles of the - container and its children. In the COMPOSITION case, the children cannot - exist without the container. For AGGREGATION, the life cycles of the - container and children are totally independent. Known values are: - "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the - relationship. - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "str": "str" + }, + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "structDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "termTemplateDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ] } @@ -43819,948 +34669,636 @@ def batch_update(self, body: Union[_models.AtlasTypesDef, JSON, IO[bytes]], **kw { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "classificationDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "entityTypes": [ - "str" # Optional. Specifying a list of entityType - names in the classificationDef, ensures that classifications can only - be applied to those entityTypes. Any subtypes of the entity types - inherit the restriction. Any classificationDef subtypes inherit the - parents entityTypes restrictions. Any classificationDef subtypes can - further restrict the parents entityTypes restrictions by specifying a - subset of the entityTypes. An empty entityTypes list when there are - no parent restrictions means there are no restrictions. An empty - entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes - are supplied, where one inherits from another, this will be rejected. - This should encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "entityDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isLegacyAttribute": bool, # Optional. - Determines if it is a legacy attribute. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "relationshipTypeName": "str", # Optional. - The name of the relationship type. - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "enumDefs": [ { - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The - description of the enum element definition. - "ordinal": 0, # Optional. The ordinal of the - enum element definition. - "value": "str" # Optional. The value of the - enum element definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "relationshipDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "endDef1": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. - }, - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" + }, + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. - }, - "relationshipCategory": "str", # Optional. The Relationship - category determines the style of relationship around containment and - lifecycle. UML terminology is used for the values. ASSOCIATION is a - relationship with no containment. COMPOSITION and AGGREGATION are - containment relationships. The difference being in the lifecycles of the - container and its children. In the COMPOSITION case, the children cannot - exist without the container. For AGGREGATION, the life cycles of the - container and children are totally independent. Known values are: - "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the - relationship. - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "str": "str" + }, + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "structDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "termTemplateDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -44788,7 +35326,7 @@ def batch_update(self, body: Union[_models.AtlasTypesDef, JSON, IO[bytes]], **kw params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -44820,10 +35358,9 @@ def batch_update(self, body: Union[_models.AtlasTypesDef, JSON, IO[bytes]], **kw def batch_delete( # pylint: disable=inconsistent-return-statements self, body: _models.AtlasTypesDef, *, content_type: str = "application/json", **kwargs: Any ) -> None: - # pylint: disable=line-too-long """Delete API for all types in bulk. - :param body: Required. + :param body: Body parameter. Required. :type body: ~azure.purview.datamap.models.AtlasTypesDef :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -44841,943 +35378,631 @@ def batch_delete( # pylint: disable=inconsistent-return-statements { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "classificationDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "entityTypes": [ - "str" # Optional. Specifying a list of entityType - names in the classificationDef, ensures that classifications can only - be applied to those entityTypes. Any subtypes of the entity types - inherit the restriction. Any classificationDef subtypes inherit the - parents entityTypes restrictions. Any classificationDef subtypes can - further restrict the parents entityTypes restrictions by specifying a - subset of the entityTypes. An empty entityTypes list when there are - no parent restrictions means there are no restrictions. An empty - entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes - are supplied, where one inherits from another, this will be rejected. - This should encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "entityDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isLegacyAttribute": bool, # Optional. - Determines if it is a legacy attribute. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "relationshipTypeName": "str", # Optional. - The name of the relationship type. - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "enumDefs": [ { - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The - description of the enum element definition. - "ordinal": 0, # Optional. The ordinal of the - enum element definition. - "value": "str" # Optional. The value of the - enum element definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "relationshipDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "endDef1": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. - }, - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" + }, + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. - }, - "relationshipCategory": "str", # Optional. The Relationship - category determines the style of relationship around containment and - lifecycle. UML terminology is used for the values. ASSOCIATION is a - relationship with no containment. COMPOSITION and AGGREGATION are - containment relationships. The difference being in the lifecycles of the - container and its children. In the COMPOSITION case, the children cannot - exist without the container. For AGGREGATION, the life cycles of the - container and children are totally independent. Known values are: - "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the - relationship. - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "str": "str" + }, + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "structDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "termTemplateDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ] } @@ -45789,7 +36014,7 @@ def batch_delete( # pylint: disable=inconsistent-return-statements ) -> None: """Delete API for all types in bulk. - :param body: Required. + :param body: Body parameter. Required. :type body: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -45805,7 +36030,7 @@ def batch_delete( # pylint: disable=inconsistent-return-statements ) -> None: """Delete API for all types in bulk. - :param body: Required. + :param body: Body parameter. Required. :type body: IO[bytes] :keyword content_type: Body Parameter content-type. Content type parameter for binary body. Default value is "application/json". @@ -45819,10 +36044,10 @@ def batch_delete( # pylint: disable=inconsistent-return-statements def batch_delete( # pylint: disable=inconsistent-return-statements self, body: Union[_models.AtlasTypesDef, JSON, IO[bytes]], **kwargs: Any ) -> None: - # pylint: disable=line-too-long """Delete API for all types in bulk. - :param body: Is one of the following types: AtlasTypesDef, JSON, IO[bytes] Required. + :param body: Body parameter. Is one of the following types: AtlasTypesDef, JSON, IO[bytes] + Required. :type body: ~azure.purview.datamap.models.AtlasTypesDef or JSON or IO[bytes] :return: None :rtype: None @@ -45837,948 +36062,636 @@ def batch_delete( # pylint: disable=inconsistent-return-statements { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "classificationDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "entityTypes": [ - "str" # Optional. Specifying a list of entityType - names in the classificationDef, ensures that classifications can only - be applied to those entityTypes. Any subtypes of the entity types - inherit the restriction. Any classificationDef subtypes inherit the - parents entityTypes restrictions. Any classificationDef subtypes can - further restrict the parents entityTypes restrictions by specifying a - subset of the entityTypes. An empty entityTypes list when there are - no parent restrictions means there are no restrictions. An empty - entityTypes list when there are parent restrictions means that the - subtype picks up the parents restrictions. If a list of entityTypes - are supplied, where one inherits from another, this will be rejected. - This should encourage cleaner classificationsDefs. - ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "str" + ], + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "entityDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, "relationshipAttributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isLegacyAttribute": bool, # Optional. - Determines if it is a legacy attribute. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isLegacyAttribute": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "relationshipTypeName": "str", # Optional. - The name of the relationship type. - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. + "relationshipTypeName": "str", + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "serviceType": "str", # Optional. The service type. + "serviceType": "str", "subTypes": [ - "str" # Optional. An array of sub types. + "str" ], "superTypes": [ - "str" # Optional. An array of super types. + "str" ], - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "enumDefs": [ { - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "defaultValue": "str", # Optional. The default value. - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "defaultValue": "str", + "description": "str", "elementDefs": [ { - "description": "str", # Optional. The - description of the enum element definition. - "ordinal": 0, # Optional. The ordinal of the - enum element definition. - "value": "str" # Optional. The value of the - enum element definition. + "description": "str", + "ordinal": 0, + "value": "str" } ], - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "relationshipDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", "endDef1": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" }, "endDef2": { - "cardinality": "str", # Optional. single-valued - attribute or multi-valued attribute. Known values are: "SINGLE", - "LIST", and "SET". - "description": "str", # Optional. The description of - the relationship end definition. - "isContainer": bool, # Optional. Determines if it is - container. - "isLegacyAttribute": bool, # Optional. Determines if - it is a legacy attribute. - "name": "str", # Optional. The name of the - relationship end definition. - "type": "str" # Optional. The type of the - relationship end. - }, - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "cardinality": "str", + "description": "str", + "isContainer": bool, + "isLegacyAttribute": bool, + "name": "str", + "type": "str" + }, + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. - }, - "relationshipCategory": "str", # Optional. The Relationship - category determines the style of relationship around containment and - lifecycle. UML terminology is used for the values. ASSOCIATION is a - relationship with no containment. COMPOSITION and AGGREGATION are - containment relationships. The difference being in the lifecycles of the - container and its children. In the COMPOSITION case, the children cannot - exist without the container. For AGGREGATION, the life cycles of the - container and children are totally independent. Known values are: - "ASSOCIATION", "AGGREGATION", and "COMPOSITION". - "relationshipLabel": "str", # Optional. The label of the - relationship. - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "str": "str" + }, + "relationshipCategory": "str", + "relationshipLabel": "str", + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "structDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ], "termTemplateDefs": [ { "attributeDefs": [ { - "cardinality": "str", # Optional. - single-valued attribute or multi-valued attribute. Known values - are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # - Optional. The parameters of the constraint - definition. + "str": {} }, - "type": "str" # Optional. - The type of the constraint. + "type": "str" } ], - "defaultValue": "str", # Optional. The - default value of the attribute. - "description": "str", # Optional. The - description of the attribute. - "includeInNotification": bool, # Optional. - Determines if it is included in notification. - "isIndexable": bool, # Optional. Determines - if it is indexable. - "isOptional": bool, # Optional. Determines - if it is optional. - "isUnique": bool, # Optional. Determines if - it unique. - "name": "str", # Optional. The name of the - attribute. + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options - for the attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of - the type. - "valuesMaxCount": 0, # Optional. The maximum - count of the values. - "valuesMinCount": 0 # Optional. The minimum - count of the values. - } - ], - "category": "str", # Optional. The enum of type category. - Known values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the - record. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 + } + ], + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available - locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency - of the date format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines - if grouping is used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The - maximum of fraction digits. - "maximumIntegerDigits": 0, # Optional. The - maximum of integer digits. - "minimumFractionDigits": 0, # Optional. The - minimum of fraction digits. - "minimumIntegerDigits": 0, # Optional. The - minimum of integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. - Determines if only integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum - of rounding mode. Known values are: "UP", "DOWN", "CEILING", - "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of - available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The - display name of the timezone. - "dstSavings": 0, # Optional. The value of - the daylight saving time. - "id": "str", # Optional. The ID of the - timezone. - "rawOffset": 0 # Optional. The raw offset of - the timezone. - } - }, - "description": "str", # Optional. The description of the - type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency - control. - "name": "str", # Optional. The name of the type definition. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 + } + }, + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type - definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the - record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } ] } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -46806,7 +36719,7 @@ def batch_delete( # pylint: disable=inconsistent-return-statements params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -46818,8 +36731,6 @@ def batch_delete( # pylint: disable=inconsistent-return-statements response = pipeline_response.http_response if response.status_code not in [204]: - if _stream: - response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) error = _deserialize(_models.AtlasErrorResponse, response.json()) raise HttpResponseError(response=response, model=error) @@ -46835,7 +36746,6 @@ def get_headers( type: Optional[Union[str, _models.TypeCategory]] = None, **kwargs: Any ) -> List[_models.AtlasTypeDefHeader]: - # pylint: disable=line-too-long """List all type definitions returned as a list of minimal information header. :keyword include_term_template: Whether include termtemplatedef when return all typedefs. @@ -46856,16 +36766,13 @@ def get_headers( # response body for status code(s): 200 response == [ { - "category": "str", # Optional. The enum of type category. Known - values are: "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", - "CLASSIFICATION", "ENTITY", "ARRAY", "MAP", "RELATIONSHIP", and - "TERM_TEMPLATE". - "guid": "str", # Optional. The GUID of the type definition. - "name": "str" # Optional. The name of the type definition. + "category": "str", + "guid": "str", + "name": "str" } ] """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -46886,7 +36793,7 @@ def get_headers( params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -46916,7 +36823,6 @@ def get_headers( @distributed_trace def get_term_template_by_id(self, guid: str, **kwargs: Any) -> _models.TermTemplateDef: - # pylint: disable=line-too-long """Get the term template definition for the given GUID. :param guid: The globally unique identifier of the term template. Required. @@ -46932,111 +36838,87 @@ def get_term_template_by_id(self, guid: str, **kwargs: Any) -> _models.TermTempl response == { "attributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "category": "str", # Optional. The enum of type category. Known values are: - "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", - "ARRAY", "MAP", "RELATIONSHIP", and "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency of the date - format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines if grouping is - used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The maximum of - fraction digits. - "maximumIntegerDigits": 0, # Optional. The maximum of - integer digits. - "minimumFractionDigits": 0, # Optional. The minimum of - fraction digits. - "minimumIntegerDigits": 0, # Optional. The minimum of - integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. Determines if only - integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum of rounding mode. - Known values are: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", - "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The display name of the - timezone. - "dstSavings": 0, # Optional. The value of the daylight - saving time. - "id": "str", # Optional. The ID of the timezone. - "rawOffset": 0 # Optional. The raw offset of the timezone. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 } }, - "description": "str", # Optional. The description of the type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "name": "str", # Optional. The name of the type definition. + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -47056,7 +36938,7 @@ def get_term_template_by_id(self, guid: str, **kwargs: Any) -> _models.TermTempl params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) @@ -47086,7 +36968,6 @@ def get_term_template_by_id(self, guid: str, **kwargs: Any) -> _models.TermTempl @distributed_trace def get_term_template_by_name(self, name: str, **kwargs: Any) -> _models.TermTemplateDef: - # pylint: disable=line-too-long """Get the term template definition by its name (unique). :param name: The unique name of the term template. Required. @@ -47102,111 +36983,87 @@ def get_term_template_by_name(self, name: str, **kwargs: Any) -> _models.TermTem response == { "attributeDefs": [ { - "cardinality": "str", # Optional. single-valued attribute or - multi-valued attribute. Known values are: "SINGLE", "LIST", and "SET". + "cardinality": "str", "constraints": [ { "params": { - "str": {} # Optional. The parameters - of the constraint definition. + "str": {} }, - "type": "str" # Optional. The type of the - constraint. - } - ], - "defaultValue": "str", # Optional. The default value of the - attribute. - "description": "str", # Optional. The description of the - attribute. - "includeInNotification": bool, # Optional. Determines if it - is included in notification. - "isIndexable": bool, # Optional. Determines if it is - indexable. - "isOptional": bool, # Optional. Determines if it is - optional. - "isUnique": bool, # Optional. Determines if it unique. - "name": "str", # Optional. The name of the attribute. + "type": "str" + } + ], + "defaultValue": "str", + "description": "str", + "includeInNotification": bool, + "isIndexable": bool, + "isOptional": bool, + "isUnique": bool, + "name": "str", "options": { - "str": "str" # Optional. The options for the - attribute. + "str": "str" }, - "typeName": "str", # Optional. The name of the type. - "valuesMaxCount": 0, # Optional. The maximum count of the - values. - "valuesMinCount": 0 # Optional. The minimum count of the - values. + "typeName": "str", + "valuesMaxCount": 0, + "valuesMinCount": 0 } ], - "category": "str", # Optional. The enum of type category. Known values are: - "PRIMITIVE", "OBJECT_ID_TYPE", "ENUM", "STRUCT", "CLASSIFICATION", "ENTITY", - "ARRAY", "MAP", "RELATIONSHIP", and "TERM_TEMPLATE". - "createTime": 0, # Optional. The created time of the record. - "createdBy": "str", # Optional. The user who created the record. + "category": "str", + "createTime": 0, + "createdBy": "str", "dateFormatter": { "availableLocales": [ - "str" # Optional. An array of available locales. + "str" ], - "calendar": 0.0, # Optional. Calendar. + "calendar": 0.0, "dateInstance": ..., "dateTimeInstance": ..., "instance": ..., - "lenient": bool, # Optional. Determines the leniency of the date - format. + "lenient": bool, "numberFormat": { "availableLocales": [ - "str" # Optional. The number format. + "str" ], - "currency": "str", # Optional. The currency. + "currency": "str", "currencyInstance": ..., - "groupingUsed": bool, # Optional. Determines if grouping is - used. + "groupingUsed": bool, "instance": ..., "integerInstance": ..., - "maximumFractionDigits": 0, # Optional. The maximum of - fraction digits. - "maximumIntegerDigits": 0, # Optional. The maximum of - integer digits. - "minimumFractionDigits": 0, # Optional. The minimum of - fraction digits. - "minimumIntegerDigits": 0, # Optional. The minimum of - integer digits. + "maximumFractionDigits": 0, + "maximumIntegerDigits": 0, + "minimumFractionDigits": 0, + "minimumIntegerDigits": 0, "numberInstance": ..., - "parseIntegerOnly": bool, # Optional. Determines if only - integer is parsed. + "parseIntegerOnly": bool, "percentInstance": ..., - "roundingMode": "str" # Optional. The enum of rounding mode. - Known values are: "UP", "DOWN", "CEILING", "FLOOR", "HALF_UP", - "HALF_DOWN", "HALF_EVEN", and "UNNECESSARY". + "roundingMode": "str" }, "timeInstance": ..., "timeZone": { "availableIds": [ - "str" # Optional. An array of available IDs. + "str" ], "default": ..., - "displayName": "str", # Optional. The display name of the - timezone. - "dstSavings": 0, # Optional. The value of the daylight - saving time. - "id": "str", # Optional. The ID of the timezone. - "rawOffset": 0 # Optional. The raw offset of the timezone. + "displayName": "str", + "dstSavings": 0, + "id": "str", + "rawOffset": 0 } }, - "description": "str", # Optional. The description of the type definition. - "guid": "str", # Optional. The GUID of the type definition. - "lastModifiedTS": "str", # Optional. ETag for concurrency control. - "name": "str", # Optional. The name of the type definition. + "description": "str", + "guid": "str", + "lastModifiedTS": "str", + "name": "str", "options": { - "str": "str" # Optional. The options for the type definition. + "str": "str" }, - "serviceType": "str", # Optional. The service type. - "typeVersion": "str", # Optional. The version of the type. - "updateTime": 0, # Optional. The update time of the record. - "updatedBy": "str", # Optional. The user who updated the record. - "version": 0 # Optional. The version of the record. + "serviceType": "str", + "typeVersion": "str", + "updateTime": 0, + "updatedBy": "str", + "version": 0 } """ - error_map = { + error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError, @@ -47226,7 +37083,7 @@ def get_term_template_by_name(self, name: str, **kwargs: Any) -> _models.TermTem params=_params, ) path_format_arguments = { - "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True), + "endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str"), } _request.url = self._client.format_url(_request.url, **path_format_arguments) diff --git a/sdk/purview/azure-purview-datamap/samples/get_types.py b/sdk/purview/azure-purview-datamap/samples/get_types.py index 61d41f716315..b5718163c8e8 100644 --- a/sdk/purview/azure-purview-datamap/samples/get_types.py +++ b/sdk/purview/azure-purview-datamap/samples/get_types.py @@ -13,14 +13,11 @@ tenantId = os.environ["PURVIEW_TENANT_ID"] clientId = os.environ["PURVIEW_CLIENT_ID"] clientSecret = os.environ["PURVIEW_CLIENT_SECRET"] - authority = os.environ["AUTHORITY_HOST"] #e.g"https://login.microsoftonline.com/" + authority = os.environ["AUTHORITY_HOST"] # e.g"https://login.microsoftonline.com/" except KeyError: LOG.error("Missing environment variable - please set if before running the example") exit() -credential = ClientSecretCredential(tenantId, clientId, clientSecret,authority = authority) +credential = ClientSecretCredential(tenantId, clientId, clientSecret, authority=authority) client = DataMapClient(endpoint=endpoint, credential=credential) response = client.type_definition.get() - - - diff --git a/sdk/purview/azure-purview-datamap/sdk_packaging.toml b/sdk/purview/azure-purview-datamap/sdk_packaging.toml new file mode 100644 index 000000000000..e7687fdae93b --- /dev/null +++ b/sdk/purview/azure-purview-datamap/sdk_packaging.toml @@ -0,0 +1,2 @@ +[packaging] +auto_update = false \ No newline at end of file diff --git a/sdk/purview/azure-purview-datamap/setup.py b/sdk/purview/azure-purview-datamap/setup.py index 2f897189a3b7..c4b15c7a9e18 100644 --- a/sdk/purview/azure-purview-datamap/setup.py +++ b/sdk/purview/azure-purview-datamap/setup.py @@ -63,8 +63,8 @@ "azure.purview.datamap": ["py.typed"], }, install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-core<2.0.0,>=1.30.0", + "isodate>=0.6.1", + "azure-core>=1.30.0", "typing-extensions>=4.6.0", ], python_requires=">=3.8", diff --git a/sdk/purview/azure-purview-datamap/tests/conftest.py b/sdk/purview/azure-purview-datamap/tests/conftest.py index d7bbeda5fc54..b75ef5fcdb00 100644 --- a/sdk/purview/azure-purview-datamap/tests/conftest.py +++ b/sdk/purview/azure-purview-datamap/tests/conftest.py @@ -30,10 +30,16 @@ from dotenv import load_dotenv -from devtools_testutils import test_proxy, add_general_regex_sanitizer, add_body_key_sanitizer, add_header_regex_sanitizer +from devtools_testutils import ( + test_proxy, + add_general_regex_sanitizer, + add_body_key_sanitizer, + add_header_regex_sanitizer, +) load_dotenv() + @pytest.fixture(scope="session", autouse=True) def add_sanitizers(test_proxy): subscription_id = os.environ.get("PURVIEWDATAMAP_SUBSCRIPTION_ID", "00000000-0000-0000-0000-000000000000") diff --git a/sdk/purview/azure-purview-datamap/tests/test_smoke.py b/sdk/purview/azure-purview-datamap/tests/test_smoke.py index fa19f82bdf1b..1dccd63b04ba 100644 --- a/sdk/purview/azure-purview-datamap/tests/test_smoke.py +++ b/sdk/purview/azure-purview-datamap/tests/test_smoke.py @@ -8,6 +8,7 @@ from urllib.parse import urlparse from devtools_testutils import recorded_by_proxy + class TestDataMapSmoke(DataMapTest): @DataMapPowerShellPreparer() @recorded_by_proxy @@ -16,6 +17,14 @@ def test_basic_smoke_test(self, purviewdatamap_endpoint): assert client is not None response = client.type_definition.get() # cspell: disable-next-line - assert set(response.keys()) == set(['enumDefs', 'structDefs', 'classificationDefs', 'entityDefs', 'relationshipDefs','businessMetadataDefs','termTemplateDefs']) - - + assert set(response.keys()) == set( + [ + "enumDefs", + "structDefs", + "classificationDefs", + "entityDefs", + "relationshipDefs", + "businessMetadataDefs", + "termTemplateDefs", + ] + ) diff --git a/sdk/purview/azure-purview-datamap/tests/testcase.py b/sdk/purview/azure-purview-datamap/tests/testcase.py index dcbc1f89069a..84e025c91110 100644 --- a/sdk/purview/azure-purview-datamap/tests/testcase.py +++ b/sdk/purview/azure-purview-datamap/tests/testcase.py @@ -21,7 +21,5 @@ def create_client(self, endpoint): DataMapPowerShellPreparer = functools.partial( - PowerShellPreparer, - "purviewdatamap", - purviewdatamap_endpoint="https://fakeaccount.purview.azure.com" + PowerShellPreparer, "purviewdatamap", purviewdatamap_endpoint="https://fakeaccount.purview.azure.com" ) diff --git a/sdk/purview/azure-purview-datamap/tsp-location.yaml b/sdk/purview/azure-purview-datamap/tsp-location.yaml index 6a76c87decef..4265d3de583c 100644 --- a/sdk/purview/azure-purview-datamap/tsp-location.yaml +++ b/sdk/purview/azure-purview-datamap/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/purview/Azure.Analytics.Purview.DataMap -commit: e4dd3e7e4d0402a81b2bef7dd754d3e46e8a8ab5 +commit: 62f2c8a9ff7d25a917c7b9dd95326db9c3a8d620 repo: Azure/azure-rest-api-specs additionalDirectories: diff --git a/sdk/translation/azure-ai-translation-document/_meta.json b/sdk/translation/azure-ai-translation-document/_meta.json new file mode 100644 index 000000000000..7388d69028bf --- /dev/null +++ b/sdk/translation/azure-ai-translation-document/_meta.json @@ -0,0 +1,6 @@ +{ + "commit": "62f2c8a9ff7d25a917c7b9dd95326db9c3a8d620", + "repository_url": "https://github.com/Azure/azure-rest-api-specs", + "typespec_src": "specification/translation/Azure.AI.DocumentTranslation", + "@azure-tools/typespec-python": "0.25.0" +} \ No newline at end of file diff --git a/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/__init__.py b/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/__init__.py index d4b4d4d35fa9..0896c5bf86a5 100644 --- a/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/__init__.py +++ b/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/__init__.py @@ -6,39 +6,23 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._patch import DocumentTranslationClient +from ._client import DocumentTranslationClient from ._client import SingleDocumentTranslationClient from ._version import VERSION __version__ = VERSION - -from ._patch import DocumentTranslationApiVersion -from ._patch import DocumentTranslationLROPoller -from ._patch import TranslationGlossary -from ._patch import TranslationTarget -from ._patch import DocumentTranslationInput -from ._patch import TranslationStatus -from ._patch import DocumentStatus -from ._patch import DocumentTranslationError -from ._patch import DocumentTranslationFileFormat -from ._patch import StorageInputType +try: + from ._patch import __all__ as _patch_all + from ._patch import * # pylint: disable=unused-wildcard-import +except ImportError: + _patch_all = [] from ._patch import patch_sdk as _patch_sdk __all__ = [ - "DocumentTranslationApiVersion", - "DocumentTranslationLROPoller", - "TranslationGlossary", - "TranslationTarget", - "DocumentTranslationInput", - "TranslationStatus", - "DocumentStatus", - "DocumentTranslationError", - "DocumentTranslationFileFormat", - "StorageInputType", "DocumentTranslationClient", "SingleDocumentTranslationClient", ] - +__all__.extend([p for p in _patch_all if p not in __all__]) _patch_sdk() diff --git a/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/_client.py b/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/_client.py index 89f2320bf460..5c958182adba 100644 --- a/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/_client.py +++ b/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/_client.py @@ -8,6 +8,7 @@ from copy import deepcopy from typing import Any, TYPE_CHECKING, Union +from typing_extensions import Self from azure.core import PipelineClient from azure.core.credentials import AzureKeyCredential @@ -97,7 +98,7 @@ def send_request(self, request: HttpRequest, *, stream: bool = False, **kwargs: def close(self) -> None: self._client.close() - def __enter__(self) -> "DocumentTranslationClient": + def __enter__(self) -> Self: self._client.__enter__() return self @@ -177,7 +178,7 @@ def send_request(self, request: HttpRequest, *, stream: bool = False, **kwargs: def close(self) -> None: self._client.close() - def __enter__(self) -> "SingleDocumentTranslationClient": + def __enter__(self) -> Self: self._client.__enter__() return self diff --git a/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/_model_base.py b/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/_model_base.py index 5cf70733404d..43fd8c7e9b1b 100644 --- a/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/_model_base.py +++ b/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/_model_base.py @@ -883,5 +883,6 @@ def rest_discriminator( *, name: typing.Optional[str] = None, type: typing.Optional[typing.Callable] = None, # pylint: disable=redefined-builtin + visibility: typing.Optional[typing.List[str]] = None, ) -> typing.Any: - return _RestField(name=name, type=type, is_discriminator=True) + return _RestField(name=name, type=type, is_discriminator=True, visibility=visibility) diff --git a/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/_operations/__init__.py b/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/_operations/__init__.py index 9e327bba3bf1..5f45db60645f 100644 --- a/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/_operations/__init__.py +++ b/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/_operations/__init__.py @@ -6,15 +6,16 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._patch import DocumentTranslationClientOperationsMixin -from ._patch import SingleDocumentTranslationClientOperationsMixin - +from ._operations import DocumentTranslationClientOperationsMixin +from ._operations import SingleDocumentTranslationClientOperationsMixin +from ._patch import __all__ as _patch_all +from ._patch import * # pylint: disable=unused-wildcard-import from ._patch import patch_sdk as _patch_sdk __all__ = [ "DocumentTranslationClientOperationsMixin", "SingleDocumentTranslationClientOperationsMixin", ] - +__all__.extend([p for p in _patch_all if p not in __all__]) _patch_sdk() diff --git a/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/_operations/_operations.py b/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/_operations/_operations.py index d6a4fe454945..275bdf87a7f0 100644 --- a/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/_operations/_operations.py +++ b/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/_operations/_operations.py @@ -29,9 +29,7 @@ from azure.core.tracing.decorator import distributed_trace from azure.core.utils import case_insensitive_dict -from ..models import _models -from ..models import _enums -from .. import _model_base +from .. import _model_base, models as _models from .._model_base import SdkJSONEncoder, _deserialize from .._serialization import Serializer from .._vendor import ( @@ -260,7 +258,7 @@ def build_document_translation_get_documents_status_request( # pylint: disable= def build_document_translation_get_supported_formats_request( # pylint: disable=name-too-long - *, type: Optional[Union[str, _enums.FileFormatType]] = None, **kwargs: Any + *, type: Optional[Union[str, _models._enums.FileFormatType]] = None, **kwargs: Any ) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) @@ -317,9 +315,9 @@ def build_single_document_translation_document_translate_request( # pylint: dis class DocumentTranslationClientOperationsMixin(DocumentTranslationClientMixinABC): - def _start_translation_initial( # pylint: disable=inconsistent-return-statements - self, body: Union[_models.StartTranslationDetails, JSON, IO[bytes]], **kwargs: Any - ) -> None: + def _start_translation_initial( + self, body: Union[_models._models.StartTranslationDetails, JSON, IO[bytes]], **kwargs: Any + ) -> Iterator[bytes]: error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, @@ -332,7 +330,7 @@ def _start_translation_initial( # pylint: disable=inconsistent-return-statement _params = kwargs.pop("params", {}) or {} content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - cls: ClsType[None] = kwargs.pop("cls", None) + cls: ClsType[Iterator[bytes]] = kwargs.pop("cls", None) content_type = content_type or "application/json" _content = None @@ -353,7 +351,7 @@ def _start_translation_initial( # pylint: disable=inconsistent-return-statement } _request.url = self._client.format_url(_request.url, **path_format_arguments) - _stream = False + _stream = True pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access _request, stream=_stream, **kwargs ) @@ -361,22 +359,24 @@ def _start_translation_initial( # pylint: disable=inconsistent-return-statement response = pipeline_response.http_response if response.status_code not in [202]: - if _stream: - response.read() # Load the body in memory and close the socket + response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response) response_headers = {} response_headers["Operation-Location"] = self._deserialize("str", response.headers.get("Operation-Location")) + deserialized = response.iter_bytes() + if cls: - return cls(pipeline_response, None, response_headers) # type: ignore + return cls(pipeline_response, deserialized, response_headers) # type: ignore + + return deserialized # type: ignore @overload def begin_start_translation( # pylint: disable=protected-access - self, body: _models.StartTranslationDetails, *, content_type: str = "application/json", **kwargs: Any + self, body: _models._models.StartTranslationDetails, *, content_type: str = "application/json", **kwargs: Any ) -> LROPoller[None]: - # pylint: disable=line-too-long """Submit a document translation request to the Document Translation service. Use this API to submit a bulk (batch) translation request to the Document @@ -399,7 +399,7 @@ def begin_start_translation( # pylint: disable=protected-access destination, it will be overwritten. The targetUrl for each target language must be unique. - :param body: Required. + :param body: Translation job submission batch request. Required. :type body: ~azure.ai.translation.document.models._models.StartTranslationDetails :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -416,52 +416,31 @@ def begin_start_translation( # pylint: disable=protected-access "inputs": [ { "source": { - "sourceUrl": "str", # Location of the folder / - container or single file with your documents. Required. + "sourceUrl": "str", "filter": { - "prefix": "str", # Optional. A - case-sensitive prefix string to filter documents in the source - path for translation. For example, when using a Azure storage - blob Uri, use the prefix to restrict sub folders for translation. - "suffix": "str" # Optional. A case-sensitive - suffix string to filter documents in the source path for - translation. This is most often use for file extensions. + "prefix": "str", + "suffix": "str" }, - "language": "str", # Optional. Language code If none - is specified, we will perform auto detect on the document. - "storageSource": "str" # Optional. Storage Source. - "AzureBlob" + "language": "str", + "storageSource": "str" }, "targets": [ { - "language": "str", # Target Language. - Required. - "targetUrl": "str", # Location of the folder - / container with your documents. Required. - "category": "str", # Optional. Category / - custom system for translation request. + "language": "str", + "targetUrl": "str", + "category": "str", "glossaries": [ { - "format": "str", # Format. - Required. - "glossaryUrl": "str", # - Location of the glossary. We will use the file extension - to extract the formatting if the format parameter is not - supplied. If the translation language pair is not - present in the glossary, it will not be applied. - Required. - "storageSource": "str", # - Optional. Storage Source. "AzureBlob" - "version": "str" # Optional. - Optional Version. If not specified, default is used. + "format": "str", + "glossaryUrl": "str", + "storageSource": "str", + "version": "str" } ], - "storageSource": "str" # Optional. Storage - Source. "AzureBlob" + "storageSource": "str" } ], - "storageType": "str" # Optional. Storage type of the input - documents source string. Known values are: "Folder" and "File". + "storageType": "str" } ] } @@ -493,7 +472,7 @@ def begin_start_translation( destination, it will be overwritten. The targetUrl for each target language must be unique. - :param body: Required. + :param body: Translation job submission batch request. Required. :type body: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -529,7 +508,7 @@ def begin_start_translation( destination, it will be overwritten. The targetUrl for each target language must be unique. - :param body: Required. + :param body: Translation job submission batch request. Required. :type body: IO[bytes] :keyword content_type: Body Parameter content-type. Content type parameter for binary body. Default value is "application/json". @@ -541,9 +520,8 @@ def begin_start_translation( @distributed_trace def begin_start_translation( - self, body: Union[_models.StartTranslationDetails, JSON, IO[bytes]], **kwargs: Any + self, body: Union[_models._models.StartTranslationDetails, JSON, IO[bytes]], **kwargs: Any ) -> LROPoller[None]: - # pylint: disable=line-too-long """Submit a document translation request to the Document Translation service. Use this API to submit a bulk (batch) translation request to the Document @@ -566,7 +544,8 @@ def begin_start_translation( destination, it will be overwritten. The targetUrl for each target language must be unique. - :param body: Is one of the following types: StartTranslationDetails, JSON, IO[bytes] Required. + :param body: Translation job submission batch request. Is one of the following types: + StartTranslationDetails, JSON, IO[bytes] Required. :type body: ~azure.ai.translation.document.models._models.StartTranslationDetails or JSON or IO[bytes] :return: An instance of LROPoller that returns None @@ -581,52 +560,31 @@ def begin_start_translation( "inputs": [ { "source": { - "sourceUrl": "str", # Location of the folder / - container or single file with your documents. Required. + "sourceUrl": "str", "filter": { - "prefix": "str", # Optional. A - case-sensitive prefix string to filter documents in the source - path for translation. For example, when using a Azure storage - blob Uri, use the prefix to restrict sub folders for translation. - "suffix": "str" # Optional. A case-sensitive - suffix string to filter documents in the source path for - translation. This is most often use for file extensions. + "prefix": "str", + "suffix": "str" }, - "language": "str", # Optional. Language code If none - is specified, we will perform auto detect on the document. - "storageSource": "str" # Optional. Storage Source. - "AzureBlob" + "language": "str", + "storageSource": "str" }, "targets": [ { - "language": "str", # Target Language. - Required. - "targetUrl": "str", # Location of the folder - / container with your documents. Required. - "category": "str", # Optional. Category / - custom system for translation request. + "language": "str", + "targetUrl": "str", + "category": "str", "glossaries": [ { - "format": "str", # Format. - Required. - "glossaryUrl": "str", # - Location of the glossary. We will use the file extension - to extract the formatting if the format parameter is not - supplied. If the translation language pair is not - present in the glossary, it will not be applied. - Required. - "storageSource": "str", # - Optional. Storage Source. "AzureBlob" - "version": "str" # Optional. - Optional Version. If not specified, default is used. + "format": "str", + "glossaryUrl": "str", + "storageSource": "str", + "version": "str" } ], - "storageSource": "str" # Optional. Storage - Source. "AzureBlob" + "storageSource": "str" } ], - "storageType": "str" # Optional. Storage type of the input - documents source string. Known values are: "Folder" and "File". + "storageType": "str" } ] } @@ -640,9 +598,10 @@ def begin_start_translation( lro_delay = kwargs.pop("polling_interval", self._config.polling_interval) cont_token: Optional[str] = kwargs.pop("continuation_token", None) if cont_token is None: - raw_result = self._start_translation_initial( # type: ignore + raw_result = self._start_translation_initial( body=body, content_type=content_type, cls=lambda x, y, z: x, headers=_headers, params=_params, **kwargs ) + raw_result.http_response.read() # type: ignore kwargs.pop("error_map", None) def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements @@ -682,8 +641,7 @@ def get_translations_status( created_date_time_utc_end: Optional[datetime.datetime] = None, orderby: Optional[List[str]] = None, **kwargs: Any - ) -> Iterable["_models.TranslationStatus"]: - # pylint: disable=line-too-long + ) -> Iterable["_models._models.TranslationStatus"]: """Returns a list of batch requests submitted and the status for each request. Returns a list of batch requests submitted and the status for each @@ -787,40 +745,29 @@ def get_translations_status( # response body for status code(s): 200 response == { - "createdDateTimeUtc": "2020-02-20 00:00:00", # Operation created date time. - Required. - "id": "str", # Id of the operation. Required. - "lastActionDateTimeUtc": "2020-02-20 00:00:00", # Date time in which the - operation's status has been updated. Required. - "status": "str", # List of possible statuses for job or document. Required. - Known values are: "NotStarted", "Running", "Succeeded", "Failed", "Cancelled", - "Cancelling", and "ValidationFailed". + "createdDateTimeUtc": "2020-02-20 00:00:00", + "id": "str", + "lastActionDateTimeUtc": "2020-02-20 00:00:00", + "status": "str", "summary": { - "cancelled": 0, # Number of cancelled. Required. - "failed": 0, # Failed count. Required. - "inProgress": 0, # Number of in progress. Required. - "notYetStarted": 0, # Count of not yet started. Required. - "success": 0, # Number of Success. Required. - "total": 0, # Total count. Required. - "totalCharacterCharged": 0 # Total characters charged by the API. - Required. + "cancelled": 0, + "failed": 0, + "inProgress": 0, + "notYetStarted": 0, + "success": 0, + "total": 0, + "totalCharacterCharged": 0 }, "error": { - "code": "str", # Enums containing high level error codes. Required. - Known values are: "InvalidRequest", "InvalidArgument", "InternalServerError", - "ServiceUnavailable", "ResourceNotFound", "Unauthorized", and - "RequestRateTooHigh". - "message": "str", # Gets high level error message. Required. + "code": "str", + "message": "str", "innerError": { - "code": "str", # Gets code error string. Required. - "message": "str", # Gets high level error message. Required. + "code": "str", + "message": "str", "innerError": ..., - "target": "str" # Optional. Gets the source of the error. - For example it would be "documents" or "document id" in case of invalid - document. + "target": "str" }, - "target": "str" # Optional. Gets the source of the error. For - example it would be "documents" or "document id" in case of invalid document. + "target": "str" } } """ @@ -828,7 +775,7 @@ def get_translations_status( _params = kwargs.pop("params", {}) or {} maxpagesize = kwargs.pop("maxpagesize", None) - cls: ClsType[List[_models.TranslationStatus]] = kwargs.pop( # pylint: disable=protected-access + cls: ClsType[List[_models._models.TranslationStatus]] = kwargs.pop( # pylint: disable=protected-access "cls", None ) @@ -887,7 +834,7 @@ def prepare_request(next_link=None): def extract_data(pipeline_response): deserialized = pipeline_response.http_response.json() - list_of_elem = _deserialize(List[_models.TranslationStatus], deserialized["value"]) + list_of_elem = _deserialize(List[_models._models.TranslationStatus], deserialized["value"]) if cls: list_of_elem = cls(list_of_elem) # type: ignore return deserialized.get("nextLink") or None, iter(list_of_elem) @@ -896,14 +843,12 @@ def get_next(next_link=None): _request = prepare_request(next_link) _stream = False - pipeline_response: PipelineResponse = self._client._pipeline.run( # type: ignore[annotation-unchecked] # pylint: disable=protected-access + pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access _request, stream=_stream, **kwargs ) response = pipeline_response.http_response if response.status_code not in [200]: - if _stream: - response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response) @@ -914,8 +859,7 @@ def get_next(next_link=None): @distributed_trace def get_document_status( # pylint: disable=protected-access self, id: str, document_id: str, **kwargs: Any - ) -> _models.DocumentStatus: - # pylint: disable=line-too-long + ) -> _models._models.DocumentStatus: """Returns the status for a specific document. Returns the translation status for a specific document based on the request Id @@ -934,36 +878,26 @@ def get_document_status( # pylint: disable=protected-access # response body for status code(s): 200 response == { - "createdDateTimeUtc": "2020-02-20 00:00:00", # Operation created date time. - Required. - "id": "str", # Document Id. Required. - "lastActionDateTimeUtc": "2020-02-20 00:00:00", # Date time in which the - operation's status has been updated. Required. - "progress": 0.0, # Progress of the translation if available. Required. - "sourcePath": "str", # Location of the source document. Required. - "status": "str", # List of possible statuses for job or document. Required. - Known values are: "NotStarted", "Running", "Succeeded", "Failed", "Cancelled", - "Cancelling", and "ValidationFailed". - "to": "str", # To language. Required. - "characterCharged": 0, # Optional. Character charged by the API. + "createdDateTimeUtc": "2020-02-20 00:00:00", + "id": "str", + "lastActionDateTimeUtc": "2020-02-20 00:00:00", + "progress": 0.0, + "sourcePath": "str", + "status": "str", + "to": "str", + "characterCharged": 0, "error": { - "code": "str", # Enums containing high level error codes. Required. - Known values are: "InvalidRequest", "InvalidArgument", "InternalServerError", - "ServiceUnavailable", "ResourceNotFound", "Unauthorized", and - "RequestRateTooHigh". - "message": "str", # Gets high level error message. Required. + "code": "str", + "message": "str", "innerError": { - "code": "str", # Gets code error string. Required. - "message": "str", # Gets high level error message. Required. + "code": "str", + "message": "str", "innerError": ..., - "target": "str" # Optional. Gets the source of the error. - For example it would be "documents" or "document id" in case of invalid - document. + "target": "str" }, - "target": "str" # Optional. Gets the source of the error. For - example it would be "documents" or "document id" in case of invalid document. + "target": "str" }, - "path": "str" # Optional. Location of the document or folder. + "path": "str" } """ error_map: MutableMapping[int, Type[HttpResponseError]] = { @@ -977,7 +911,7 @@ def get_document_status( # pylint: disable=protected-access _headers = kwargs.pop("headers", {}) or {} _params = kwargs.pop("params", {}) or {} - cls: ClsType[_models.DocumentStatus] = kwargs.pop("cls", None) # pylint: disable=protected-access + cls: ClsType[_models._models.DocumentStatus] = kwargs.pop("cls", None) # pylint: disable=protected-access _request = build_document_translation_get_document_status_request( id=id, @@ -1008,7 +942,7 @@ def get_document_status( # pylint: disable=protected-access deserialized = response.iter_bytes() else: deserialized = _deserialize( - _models.DocumentStatus, response.json() # pylint: disable=protected-access + _models._models.DocumentStatus, response.json() # pylint: disable=protected-access ) if cls: @@ -1019,8 +953,7 @@ def get_document_status( # pylint: disable=protected-access @distributed_trace def get_translation_status( # pylint: disable=protected-access self, id: str, **kwargs: Any - ) -> _models.TranslationStatus: - # pylint: disable=line-too-long + ) -> _models._models.TranslationStatus: """Returns the status for a document translation request. Returns the status for a document translation request. @@ -1039,40 +972,29 @@ def get_translation_status( # pylint: disable=protected-access # response body for status code(s): 200 response == { - "createdDateTimeUtc": "2020-02-20 00:00:00", # Operation created date time. - Required. - "id": "str", # Id of the operation. Required. - "lastActionDateTimeUtc": "2020-02-20 00:00:00", # Date time in which the - operation's status has been updated. Required. - "status": "str", # List of possible statuses for job or document. Required. - Known values are: "NotStarted", "Running", "Succeeded", "Failed", "Cancelled", - "Cancelling", and "ValidationFailed". + "createdDateTimeUtc": "2020-02-20 00:00:00", + "id": "str", + "lastActionDateTimeUtc": "2020-02-20 00:00:00", + "status": "str", "summary": { - "cancelled": 0, # Number of cancelled. Required. - "failed": 0, # Failed count. Required. - "inProgress": 0, # Number of in progress. Required. - "notYetStarted": 0, # Count of not yet started. Required. - "success": 0, # Number of Success. Required. - "total": 0, # Total count. Required. - "totalCharacterCharged": 0 # Total characters charged by the API. - Required. + "cancelled": 0, + "failed": 0, + "inProgress": 0, + "notYetStarted": 0, + "success": 0, + "total": 0, + "totalCharacterCharged": 0 }, "error": { - "code": "str", # Enums containing high level error codes. Required. - Known values are: "InvalidRequest", "InvalidArgument", "InternalServerError", - "ServiceUnavailable", "ResourceNotFound", "Unauthorized", and - "RequestRateTooHigh". - "message": "str", # Gets high level error message. Required. + "code": "str", + "message": "str", "innerError": { - "code": "str", # Gets code error string. Required. - "message": "str", # Gets high level error message. Required. + "code": "str", + "message": "str", "innerError": ..., - "target": "str" # Optional. Gets the source of the error. - For example it would be "documents" or "document id" in case of invalid - document. + "target": "str" }, - "target": "str" # Optional. Gets the source of the error. For - example it would be "documents" or "document id" in case of invalid document. + "target": "str" } } """ @@ -1087,7 +1009,7 @@ def get_translation_status( # pylint: disable=protected-access _headers = kwargs.pop("headers", {}) or {} _params = kwargs.pop("params", {}) or {} - cls: ClsType[_models.TranslationStatus] = kwargs.pop("cls", None) # pylint: disable=protected-access + cls: ClsType[_models._models.TranslationStatus] = kwargs.pop("cls", None) # pylint: disable=protected-access _request = build_document_translation_get_translation_status_request( id=id, @@ -1117,7 +1039,7 @@ def get_translation_status( # pylint: disable=protected-access deserialized = response.iter_bytes() else: deserialized = _deserialize( - _models.TranslationStatus, response.json() # pylint: disable=protected-access + _models._models.TranslationStatus, response.json() # pylint: disable=protected-access ) if cls: @@ -1128,8 +1050,7 @@ def get_translation_status( # pylint: disable=protected-access @distributed_trace def cancel_translation( # pylint: disable=protected-access self, id: str, **kwargs: Any - ) -> _models.TranslationStatus: - # pylint: disable=line-too-long + ) -> _models._models.TranslationStatus: """Cancel a currently processing or queued translation. Cancel a currently processing or queued translation. @@ -1152,40 +1073,29 @@ def cancel_translation( # pylint: disable=protected-access # response body for status code(s): 200 response == { - "createdDateTimeUtc": "2020-02-20 00:00:00", # Operation created date time. - Required. - "id": "str", # Id of the operation. Required. - "lastActionDateTimeUtc": "2020-02-20 00:00:00", # Date time in which the - operation's status has been updated. Required. - "status": "str", # List of possible statuses for job or document. Required. - Known values are: "NotStarted", "Running", "Succeeded", "Failed", "Cancelled", - "Cancelling", and "ValidationFailed". + "createdDateTimeUtc": "2020-02-20 00:00:00", + "id": "str", + "lastActionDateTimeUtc": "2020-02-20 00:00:00", + "status": "str", "summary": { - "cancelled": 0, # Number of cancelled. Required. - "failed": 0, # Failed count. Required. - "inProgress": 0, # Number of in progress. Required. - "notYetStarted": 0, # Count of not yet started. Required. - "success": 0, # Number of Success. Required. - "total": 0, # Total count. Required. - "totalCharacterCharged": 0 # Total characters charged by the API. - Required. + "cancelled": 0, + "failed": 0, + "inProgress": 0, + "notYetStarted": 0, + "success": 0, + "total": 0, + "totalCharacterCharged": 0 }, "error": { - "code": "str", # Enums containing high level error codes. Required. - Known values are: "InvalidRequest", "InvalidArgument", "InternalServerError", - "ServiceUnavailable", "ResourceNotFound", "Unauthorized", and - "RequestRateTooHigh". - "message": "str", # Gets high level error message. Required. + "code": "str", + "message": "str", "innerError": { - "code": "str", # Gets code error string. Required. - "message": "str", # Gets high level error message. Required. + "code": "str", + "message": "str", "innerError": ..., - "target": "str" # Optional. Gets the source of the error. - For example it would be "documents" or "document id" in case of invalid - document. + "target": "str" }, - "target": "str" # Optional. Gets the source of the error. For - example it would be "documents" or "document id" in case of invalid document. + "target": "str" } } """ @@ -1200,7 +1110,7 @@ def cancel_translation( # pylint: disable=protected-access _headers = kwargs.pop("headers", {}) or {} _params = kwargs.pop("params", {}) or {} - cls: ClsType[_models.TranslationStatus] = kwargs.pop("cls", None) # pylint: disable=protected-access + cls: ClsType[_models._models.TranslationStatus] = kwargs.pop("cls", None) # pylint: disable=protected-access _request = build_document_translation_cancel_translation_request( id=id, @@ -1230,7 +1140,7 @@ def cancel_translation( # pylint: disable=protected-access deserialized = response.iter_bytes() else: deserialized = _deserialize( - _models.TranslationStatus, response.json() # pylint: disable=protected-access + _models._models.TranslationStatus, response.json() # pylint: disable=protected-access ) if cls: @@ -1251,8 +1161,7 @@ def get_documents_status( created_date_time_utc_end: Optional[datetime.datetime] = None, orderby: Optional[List[str]] = None, **kwargs: Any - ) -> Iterable["_models.DocumentStatus"]: - # pylint: disable=line-too-long + ) -> Iterable["_models._models.DocumentStatus"]: """Returns the status for all documents in a batch document translation request. Returns the status for all documents in a batch document translation request. @@ -1352,43 +1261,33 @@ def get_documents_status( # response body for status code(s): 200 response == { - "createdDateTimeUtc": "2020-02-20 00:00:00", # Operation created date time. - Required. - "id": "str", # Document Id. Required. - "lastActionDateTimeUtc": "2020-02-20 00:00:00", # Date time in which the - operation's status has been updated. Required. - "progress": 0.0, # Progress of the translation if available. Required. - "sourcePath": "str", # Location of the source document. Required. - "status": "str", # List of possible statuses for job or document. Required. - Known values are: "NotStarted", "Running", "Succeeded", "Failed", "Cancelled", - "Cancelling", and "ValidationFailed". - "to": "str", # To language. Required. - "characterCharged": 0, # Optional. Character charged by the API. + "createdDateTimeUtc": "2020-02-20 00:00:00", + "id": "str", + "lastActionDateTimeUtc": "2020-02-20 00:00:00", + "progress": 0.0, + "sourcePath": "str", + "status": "str", + "to": "str", + "characterCharged": 0, "error": { - "code": "str", # Enums containing high level error codes. Required. - Known values are: "InvalidRequest", "InvalidArgument", "InternalServerError", - "ServiceUnavailable", "ResourceNotFound", "Unauthorized", and - "RequestRateTooHigh". - "message": "str", # Gets high level error message. Required. + "code": "str", + "message": "str", "innerError": { - "code": "str", # Gets code error string. Required. - "message": "str", # Gets high level error message. Required. + "code": "str", + "message": "str", "innerError": ..., - "target": "str" # Optional. Gets the source of the error. - For example it would be "documents" or "document id" in case of invalid - document. + "target": "str" }, - "target": "str" # Optional. Gets the source of the error. For - example it would be "documents" or "document id" in case of invalid document. + "target": "str" }, - "path": "str" # Optional. Location of the document or folder. + "path": "str" } """ _headers = kwargs.pop("headers", {}) or {} _params = kwargs.pop("params", {}) or {} maxpagesize = kwargs.pop("maxpagesize", None) - cls: ClsType[List[_models.DocumentStatus]] = kwargs.pop("cls", None) # pylint: disable=protected-access + cls: ClsType[List[_models._models.DocumentStatus]] = kwargs.pop("cls", None) # pylint: disable=protected-access error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, @@ -1446,7 +1345,7 @@ def prepare_request(next_link=None): def extract_data(pipeline_response): deserialized = pipeline_response.http_response.json() - list_of_elem = _deserialize(List[_models.DocumentStatus], deserialized["value"]) + list_of_elem = _deserialize(List[_models._models.DocumentStatus], deserialized["value"]) if cls: list_of_elem = cls(list_of_elem) # type: ignore return deserialized.get("nextLink") or None, iter(list_of_elem) @@ -1455,14 +1354,12 @@ def get_next(next_link=None): _request = prepare_request(next_link) _stream = False - pipeline_response: PipelineResponse = self._client._pipeline.run( # type: ignore[annotation-unchecked] # pylint: disable=protected-access + pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access _request, stream=_stream, **kwargs ) response = pipeline_response.http_response if response.status_code not in [200]: - if _stream: - response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response) @@ -1472,8 +1369,8 @@ def get_next(next_link=None): @distributed_trace def get_supported_formats( # pylint: disable=protected-access - self, *, type: Optional[Union[str, _enums.FileFormatType]] = None, **kwargs: Any - ) -> _models.SupportedFileFormats: + self, *, type: Optional[Union[str, _models._enums.FileFormatType]] = None, **kwargs: Any + ) -> _models._models.SupportedFileFormats: """Returns a list of supported document formats. The list of supported formats supported by the Document Translation @@ -1496,19 +1393,16 @@ def get_supported_formats( # pylint: disable=protected-access "value": [ { "contentTypes": [ - "str" # Supported Content-Types for this format. - Required. + "str" ], "fileExtensions": [ - "str" # Supported file extension for this format. - Required. + "str" ], - "format": "str", # Name of the format. Required. - "defaultVersion": "str", # Optional. Default version if none - is specified. - "type": "str", # Optional. Supported Type for this format. + "format": "str", + "defaultVersion": "str", + "type": "str", "versions": [ - "str" # Optional. Supported Version. + "str" ] } ] @@ -1525,7 +1419,7 @@ def get_supported_formats( # pylint: disable=protected-access _headers = kwargs.pop("headers", {}) or {} _params = kwargs.pop("params", {}) or {} - cls: ClsType[_models.SupportedFileFormats] = kwargs.pop("cls", None) # pylint: disable=protected-access + cls: ClsType[_models._models.SupportedFileFormats] = kwargs.pop("cls", None) # pylint: disable=protected-access _request = build_document_translation_get_supported_formats_request( type=type, @@ -1555,7 +1449,7 @@ def get_supported_formats( # pylint: disable=protected-access deserialized = response.iter_bytes() else: deserialized = _deserialize( - _models.SupportedFileFormats, response.json() # pylint: disable=protected-access + _models._models.SupportedFileFormats, response.json() # pylint: disable=protected-access ) if cls: @@ -1583,7 +1477,7 @@ def document_translate( Use this API to submit a single translation request to the Document Translation Service. - :param body: Required. + :param body: Document Translate Request Content. Required. :type body: ~azure.ai.translation.document.models.DocumentTranslateContent :keyword target_language: Specifies the language of the output document. The target language must be one of the supported languages included in the translation scope. @@ -1636,7 +1530,7 @@ def document_translate( Use this API to submit a single translation request to the Document Translation Service. - :param body: Required. + :param body: Document Translate Request Content. Required. :type body: JSON :keyword target_language: Specifies the language of the output document. The target language must be one of the supported languages included in the translation scope. @@ -1680,7 +1574,8 @@ def document_translate( Use this API to submit a single translation request to the Document Translation Service. - :param body: Is either a DocumentTranslateContent type or a JSON type. Required. + :param body: Document Translate Request Content. Is either a DocumentTranslateContent type or a + JSON type. Required. :type body: ~azure.ai.translation.document.models.DocumentTranslateContent or JSON :keyword target_language: Specifies the language of the output document. The target language must be one of the supported languages included in the translation scope. diff --git a/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/_serialization.py b/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/_serialization.py index 2f781d740827..8139854b97bb 100644 --- a/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/_serialization.py +++ b/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/_serialization.py @@ -144,6 +144,8 @@ def _json_attemp(data): # context otherwise. _LOGGER.critical("Wasn't XML not JSON, failing") raise DeserializationError("XML is invalid") from err + elif content_type.startswith("text/"): + return data_as_str raise DeserializationError("Cannot deserialize content-type: {}".format(content_type)) @classmethod @@ -1441,7 +1443,7 @@ def _deserialize(self, target_obj, data): elif isinstance(response, type) and issubclass(response, Enum): return self.deserialize_enum(data, response) - if data is None: + if data is None or data is CoreNull: return data try: attributes = response._attribute_map # type: ignore diff --git a/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/_version.py b/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/_version.py index f6cd39818b76..a1f432eddc4e 100644 --- a/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/_version.py +++ b/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "1.1.0b2" +VERSION = "1.1.0b1" diff --git a/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/aio/__init__.py b/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/aio/__init__.py index ddf8855b2d9b..0093a4eb585f 100644 --- a/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/aio/__init__.py +++ b/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/aio/__init__.py @@ -6,18 +6,20 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._patch import DocumentTranslationClient +from ._client import DocumentTranslationClient from ._client import SingleDocumentTranslationClient - -from ._patch import AsyncDocumentTranslationLROPoller +try: + from ._patch import __all__ as _patch_all + from ._patch import * # pylint: disable=unused-wildcard-import +except ImportError: + _patch_all = [] from ._patch import patch_sdk as _patch_sdk __all__ = [ - "AsyncDocumentTranslationLROPoller", "DocumentTranslationClient", "SingleDocumentTranslationClient", ] - +__all__.extend([p for p in _patch_all if p not in __all__]) _patch_sdk() diff --git a/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/aio/_client.py b/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/aio/_client.py index 88ebaf968d96..ad390f62d8ea 100644 --- a/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/aio/_client.py +++ b/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/aio/_client.py @@ -8,6 +8,7 @@ from copy import deepcopy from typing import Any, Awaitable, TYPE_CHECKING, Union +from typing_extensions import Self from azure.core import AsyncPipelineClient from azure.core.credentials import AzureKeyCredential @@ -101,7 +102,7 @@ def send_request( async def close(self) -> None: await self._client.close() - async def __aenter__(self) -> "DocumentTranslationClient": + async def __aenter__(self) -> Self: await self._client.__aenter__() return self @@ -185,7 +186,7 @@ def send_request( async def close(self) -> None: await self._client.close() - async def __aenter__(self) -> "SingleDocumentTranslationClient": + async def __aenter__(self) -> Self: await self._client.__aenter__() return self diff --git a/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/aio/_operations/__init__.py b/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/aio/_operations/__init__.py index 9e327bba3bf1..5f45db60645f 100644 --- a/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/aio/_operations/__init__.py +++ b/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/aio/_operations/__init__.py @@ -6,15 +6,16 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._patch import DocumentTranslationClientOperationsMixin -from ._patch import SingleDocumentTranslationClientOperationsMixin - +from ._operations import DocumentTranslationClientOperationsMixin +from ._operations import SingleDocumentTranslationClientOperationsMixin +from ._patch import __all__ as _patch_all +from ._patch import * # pylint: disable=unused-wildcard-import from ._patch import patch_sdk as _patch_sdk __all__ = [ "DocumentTranslationClientOperationsMixin", "SingleDocumentTranslationClientOperationsMixin", ] - +__all__.extend([p for p in _patch_all if p not in __all__]) _patch_sdk() diff --git a/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/aio/_operations/_operations.py b/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/aio/_operations/_operations.py index f801bc673f37..0b81f657813a 100644 --- a/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/aio/_operations/_operations.py +++ b/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/aio/_operations/_operations.py @@ -44,9 +44,7 @@ from azure.core.tracing.decorator_async import distributed_trace_async from azure.core.utils import case_insensitive_dict -from ...models import _models -from ...models import _enums -from ... import _model_base +from ... import _model_base, models as _models from ..._model_base import SdkJSONEncoder, _deserialize from ..._operations._operations import ( build_document_translation_cancel_translation_request, @@ -72,9 +70,9 @@ class DocumentTranslationClientOperationsMixin(DocumentTranslationClientMixinABC): - async def _start_translation_initial( # pylint: disable=inconsistent-return-statements - self, body: Union[_models.StartTranslationDetails, JSON, IO[bytes]], **kwargs: Any - ) -> None: + async def _start_translation_initial( + self, body: Union[_models._models.StartTranslationDetails, JSON, IO[bytes]], **kwargs: Any + ) -> AsyncIterator[bytes]: error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, @@ -87,7 +85,7 @@ async def _start_translation_initial( # pylint: disable=inconsistent-return-sta _params = kwargs.pop("params", {}) or {} content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) - cls: ClsType[None] = kwargs.pop("cls", None) + cls: ClsType[AsyncIterator[bytes]] = kwargs.pop("cls", None) content_type = content_type or "application/json" _content = None @@ -108,7 +106,7 @@ async def _start_translation_initial( # pylint: disable=inconsistent-return-sta } _request.url = self._client.format_url(_request.url, **path_format_arguments) - _stream = False + _stream = True pipeline_response: PipelineResponse = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access _request, stream=_stream, **kwargs ) @@ -116,22 +114,24 @@ async def _start_translation_initial( # pylint: disable=inconsistent-return-sta response = pipeline_response.http_response if response.status_code not in [202]: - if _stream: - await response.read() # Load the body in memory and close the socket + await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response) response_headers = {} response_headers["Operation-Location"] = self._deserialize("str", response.headers.get("Operation-Location")) + deserialized = response.iter_bytes() + if cls: - return cls(pipeline_response, None, response_headers) # type: ignore + return cls(pipeline_response, deserialized, response_headers) # type: ignore + + return deserialized # type: ignore @overload async def begin_start_translation( # pylint: disable=protected-access - self, body: _models.StartTranslationDetails, *, content_type: str = "application/json", **kwargs: Any + self, body: _models._models.StartTranslationDetails, *, content_type: str = "application/json", **kwargs: Any ) -> AsyncLROPoller[None]: - # pylint: disable=line-too-long """Submit a document translation request to the Document Translation service. Use this API to submit a bulk (batch) translation request to the Document @@ -154,7 +154,7 @@ async def begin_start_translation( # pylint: disable=protected-access destination, it will be overwritten. The targetUrl for each target language must be unique. - :param body: Required. + :param body: Translation job submission batch request. Required. :type body: ~azure.ai.translation.document.models._models.StartTranslationDetails :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -171,52 +171,31 @@ async def begin_start_translation( # pylint: disable=protected-access "inputs": [ { "source": { - "sourceUrl": "str", # Location of the folder / - container or single file with your documents. Required. + "sourceUrl": "str", "filter": { - "prefix": "str", # Optional. A - case-sensitive prefix string to filter documents in the source - path for translation. For example, when using a Azure storage - blob Uri, use the prefix to restrict sub folders for translation. - "suffix": "str" # Optional. A case-sensitive - suffix string to filter documents in the source path for - translation. This is most often use for file extensions. + "prefix": "str", + "suffix": "str" }, - "language": "str", # Optional. Language code If none - is specified, we will perform auto detect on the document. - "storageSource": "str" # Optional. Storage Source. - "AzureBlob" + "language": "str", + "storageSource": "str" }, "targets": [ { - "language": "str", # Target Language. - Required. - "targetUrl": "str", # Location of the folder - / container with your documents. Required. - "category": "str", # Optional. Category / - custom system for translation request. + "language": "str", + "targetUrl": "str", + "category": "str", "glossaries": [ { - "format": "str", # Format. - Required. - "glossaryUrl": "str", # - Location of the glossary. We will use the file extension - to extract the formatting if the format parameter is not - supplied. If the translation language pair is not - present in the glossary, it will not be applied. - Required. - "storageSource": "str", # - Optional. Storage Source. "AzureBlob" - "version": "str" # Optional. - Optional Version. If not specified, default is used. + "format": "str", + "glossaryUrl": "str", + "storageSource": "str", + "version": "str" } ], - "storageSource": "str" # Optional. Storage - Source. "AzureBlob" + "storageSource": "str" } ], - "storageType": "str" # Optional. Storage type of the input - documents source string. Known values are: "Folder" and "File". + "storageType": "str" } ] } @@ -248,7 +227,7 @@ async def begin_start_translation( destination, it will be overwritten. The targetUrl for each target language must be unique. - :param body: Required. + :param body: Translation job submission batch request. Required. :type body: JSON :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". @@ -284,7 +263,7 @@ async def begin_start_translation( destination, it will be overwritten. The targetUrl for each target language must be unique. - :param body: Required. + :param body: Translation job submission batch request. Required. :type body: IO[bytes] :keyword content_type: Body Parameter content-type. Content type parameter for binary body. Default value is "application/json". @@ -296,9 +275,8 @@ async def begin_start_translation( @distributed_trace_async async def begin_start_translation( - self, body: Union[_models.StartTranslationDetails, JSON, IO[bytes]], **kwargs: Any + self, body: Union[_models._models.StartTranslationDetails, JSON, IO[bytes]], **kwargs: Any ) -> AsyncLROPoller[None]: - # pylint: disable=line-too-long """Submit a document translation request to the Document Translation service. Use this API to submit a bulk (batch) translation request to the Document @@ -321,7 +299,8 @@ async def begin_start_translation( destination, it will be overwritten. The targetUrl for each target language must be unique. - :param body: Is one of the following types: StartTranslationDetails, JSON, IO[bytes] Required. + :param body: Translation job submission batch request. Is one of the following types: + StartTranslationDetails, JSON, IO[bytes] Required. :type body: ~azure.ai.translation.document.models._models.StartTranslationDetails or JSON or IO[bytes] :return: An instance of AsyncLROPoller that returns None @@ -336,52 +315,31 @@ async def begin_start_translation( "inputs": [ { "source": { - "sourceUrl": "str", # Location of the folder / - container or single file with your documents. Required. + "sourceUrl": "str", "filter": { - "prefix": "str", # Optional. A - case-sensitive prefix string to filter documents in the source - path for translation. For example, when using a Azure storage - blob Uri, use the prefix to restrict sub folders for translation. - "suffix": "str" # Optional. A case-sensitive - suffix string to filter documents in the source path for - translation. This is most often use for file extensions. + "prefix": "str", + "suffix": "str" }, - "language": "str", # Optional. Language code If none - is specified, we will perform auto detect on the document. - "storageSource": "str" # Optional. Storage Source. - "AzureBlob" + "language": "str", + "storageSource": "str" }, "targets": [ { - "language": "str", # Target Language. - Required. - "targetUrl": "str", # Location of the folder - / container with your documents. Required. - "category": "str", # Optional. Category / - custom system for translation request. + "language": "str", + "targetUrl": "str", + "category": "str", "glossaries": [ { - "format": "str", # Format. - Required. - "glossaryUrl": "str", # - Location of the glossary. We will use the file extension - to extract the formatting if the format parameter is not - supplied. If the translation language pair is not - present in the glossary, it will not be applied. - Required. - "storageSource": "str", # - Optional. Storage Source. "AzureBlob" - "version": "str" # Optional. - Optional Version. If not specified, default is used. + "format": "str", + "glossaryUrl": "str", + "storageSource": "str", + "version": "str" } ], - "storageSource": "str" # Optional. Storage - Source. "AzureBlob" + "storageSource": "str" } ], - "storageType": "str" # Optional. Storage type of the input - documents source string. Known values are: "Folder" and "File". + "storageType": "str" } ] } @@ -395,9 +353,10 @@ async def begin_start_translation( lro_delay = kwargs.pop("polling_interval", self._config.polling_interval) cont_token: Optional[str] = kwargs.pop("continuation_token", None) if cont_token is None: - raw_result = await self._start_translation_initial( # type: ignore + raw_result = await self._start_translation_initial( body=body, content_type=content_type, cls=lambda x, y, z: x, headers=_headers, params=_params, **kwargs ) + await raw_result.http_response.read() # type: ignore kwargs.pop("error_map", None) def get_long_running_output(pipeline_response): # pylint: disable=inconsistent-return-statements @@ -438,8 +397,7 @@ def get_translations_status( created_date_time_utc_end: Optional[datetime.datetime] = None, orderby: Optional[List[str]] = None, **kwargs: Any - ) -> AsyncIterable["_models.TranslationStatus"]: - # pylint: disable=line-too-long + ) -> AsyncIterable["_models._models.TranslationStatus"]: """Returns a list of batch requests submitted and the status for each request. Returns a list of batch requests submitted and the status for each @@ -543,40 +501,29 @@ def get_translations_status( # response body for status code(s): 200 response == { - "createdDateTimeUtc": "2020-02-20 00:00:00", # Operation created date time. - Required. - "id": "str", # Id of the operation. Required. - "lastActionDateTimeUtc": "2020-02-20 00:00:00", # Date time in which the - operation's status has been updated. Required. - "status": "str", # List of possible statuses for job or document. Required. - Known values are: "NotStarted", "Running", "Succeeded", "Failed", "Cancelled", - "Cancelling", and "ValidationFailed". + "createdDateTimeUtc": "2020-02-20 00:00:00", + "id": "str", + "lastActionDateTimeUtc": "2020-02-20 00:00:00", + "status": "str", "summary": { - "cancelled": 0, # Number of cancelled. Required. - "failed": 0, # Failed count. Required. - "inProgress": 0, # Number of in progress. Required. - "notYetStarted": 0, # Count of not yet started. Required. - "success": 0, # Number of Success. Required. - "total": 0, # Total count. Required. - "totalCharacterCharged": 0 # Total characters charged by the API. - Required. + "cancelled": 0, + "failed": 0, + "inProgress": 0, + "notYetStarted": 0, + "success": 0, + "total": 0, + "totalCharacterCharged": 0 }, "error": { - "code": "str", # Enums containing high level error codes. Required. - Known values are: "InvalidRequest", "InvalidArgument", "InternalServerError", - "ServiceUnavailable", "ResourceNotFound", "Unauthorized", and - "RequestRateTooHigh". - "message": "str", # Gets high level error message. Required. + "code": "str", + "message": "str", "innerError": { - "code": "str", # Gets code error string. Required. - "message": "str", # Gets high level error message. Required. + "code": "str", + "message": "str", "innerError": ..., - "target": "str" # Optional. Gets the source of the error. - For example it would be "documents" or "document id" in case of invalid - document. + "target": "str" }, - "target": "str" # Optional. Gets the source of the error. For - example it would be "documents" or "document id" in case of invalid document. + "target": "str" } } """ @@ -584,7 +531,7 @@ def get_translations_status( _params = kwargs.pop("params", {}) or {} maxpagesize = kwargs.pop("maxpagesize", None) - cls: ClsType[List[_models.TranslationStatus]] = kwargs.pop( # pylint: disable=protected-access + cls: ClsType[List[_models._models.TranslationStatus]] = kwargs.pop( # pylint: disable=protected-access "cls", None ) @@ -643,7 +590,7 @@ def prepare_request(next_link=None): async def extract_data(pipeline_response): deserialized = pipeline_response.http_response.json() - list_of_elem = _deserialize(List[_models.TranslationStatus], deserialized["value"]) + list_of_elem = _deserialize(List[_models._models.TranslationStatus], deserialized["value"]) if cls: list_of_elem = cls(list_of_elem) # type: ignore return deserialized.get("nextLink") or None, AsyncList(list_of_elem) @@ -658,8 +605,6 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - if _stream: - await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response) @@ -670,8 +615,7 @@ async def get_next(next_link=None): @distributed_trace_async async def get_document_status( # pylint: disable=protected-access self, id: str, document_id: str, **kwargs: Any - ) -> _models.DocumentStatus: - # pylint: disable=line-too-long + ) -> _models._models.DocumentStatus: """Returns the status for a specific document. Returns the translation status for a specific document based on the request Id @@ -690,36 +634,26 @@ async def get_document_status( # pylint: disable=protected-access # response body for status code(s): 200 response == { - "createdDateTimeUtc": "2020-02-20 00:00:00", # Operation created date time. - Required. - "id": "str", # Document Id. Required. - "lastActionDateTimeUtc": "2020-02-20 00:00:00", # Date time in which the - operation's status has been updated. Required. - "progress": 0.0, # Progress of the translation if available. Required. - "sourcePath": "str", # Location of the source document. Required. - "status": "str", # List of possible statuses for job or document. Required. - Known values are: "NotStarted", "Running", "Succeeded", "Failed", "Cancelled", - "Cancelling", and "ValidationFailed". - "to": "str", # To language. Required. - "characterCharged": 0, # Optional. Character charged by the API. + "createdDateTimeUtc": "2020-02-20 00:00:00", + "id": "str", + "lastActionDateTimeUtc": "2020-02-20 00:00:00", + "progress": 0.0, + "sourcePath": "str", + "status": "str", + "to": "str", + "characterCharged": 0, "error": { - "code": "str", # Enums containing high level error codes. Required. - Known values are: "InvalidRequest", "InvalidArgument", "InternalServerError", - "ServiceUnavailable", "ResourceNotFound", "Unauthorized", and - "RequestRateTooHigh". - "message": "str", # Gets high level error message. Required. + "code": "str", + "message": "str", "innerError": { - "code": "str", # Gets code error string. Required. - "message": "str", # Gets high level error message. Required. + "code": "str", + "message": "str", "innerError": ..., - "target": "str" # Optional. Gets the source of the error. - For example it would be "documents" or "document id" in case of invalid - document. + "target": "str" }, - "target": "str" # Optional. Gets the source of the error. For - example it would be "documents" or "document id" in case of invalid document. + "target": "str" }, - "path": "str" # Optional. Location of the document or folder. + "path": "str" } """ error_map: MutableMapping[int, Type[HttpResponseError]] = { @@ -733,7 +667,7 @@ async def get_document_status( # pylint: disable=protected-access _headers = kwargs.pop("headers", {}) or {} _params = kwargs.pop("params", {}) or {} - cls: ClsType[_models.DocumentStatus] = kwargs.pop("cls", None) # pylint: disable=protected-access + cls: ClsType[_models._models.DocumentStatus] = kwargs.pop("cls", None) # pylint: disable=protected-access _request = build_document_translation_get_document_status_request( id=id, @@ -764,7 +698,7 @@ async def get_document_status( # pylint: disable=protected-access deserialized = response.iter_bytes() else: deserialized = _deserialize( - _models.DocumentStatus, response.json() # pylint: disable=protected-access + _models._models.DocumentStatus, response.json() # pylint: disable=protected-access ) if cls: @@ -775,8 +709,7 @@ async def get_document_status( # pylint: disable=protected-access @distributed_trace_async async def get_translation_status( # pylint: disable=protected-access self, id: str, **kwargs: Any - ) -> _models.TranslationStatus: - # pylint: disable=line-too-long + ) -> _models._models.TranslationStatus: """Returns the status for a document translation request. Returns the status for a document translation request. @@ -795,40 +728,29 @@ async def get_translation_status( # pylint: disable=protected-access # response body for status code(s): 200 response == { - "createdDateTimeUtc": "2020-02-20 00:00:00", # Operation created date time. - Required. - "id": "str", # Id of the operation. Required. - "lastActionDateTimeUtc": "2020-02-20 00:00:00", # Date time in which the - operation's status has been updated. Required. - "status": "str", # List of possible statuses for job or document. Required. - Known values are: "NotStarted", "Running", "Succeeded", "Failed", "Cancelled", - "Cancelling", and "ValidationFailed". + "createdDateTimeUtc": "2020-02-20 00:00:00", + "id": "str", + "lastActionDateTimeUtc": "2020-02-20 00:00:00", + "status": "str", "summary": { - "cancelled": 0, # Number of cancelled. Required. - "failed": 0, # Failed count. Required. - "inProgress": 0, # Number of in progress. Required. - "notYetStarted": 0, # Count of not yet started. Required. - "success": 0, # Number of Success. Required. - "total": 0, # Total count. Required. - "totalCharacterCharged": 0 # Total characters charged by the API. - Required. + "cancelled": 0, + "failed": 0, + "inProgress": 0, + "notYetStarted": 0, + "success": 0, + "total": 0, + "totalCharacterCharged": 0 }, "error": { - "code": "str", # Enums containing high level error codes. Required. - Known values are: "InvalidRequest", "InvalidArgument", "InternalServerError", - "ServiceUnavailable", "ResourceNotFound", "Unauthorized", and - "RequestRateTooHigh". - "message": "str", # Gets high level error message. Required. + "code": "str", + "message": "str", "innerError": { - "code": "str", # Gets code error string. Required. - "message": "str", # Gets high level error message. Required. + "code": "str", + "message": "str", "innerError": ..., - "target": "str" # Optional. Gets the source of the error. - For example it would be "documents" or "document id" in case of invalid - document. + "target": "str" }, - "target": "str" # Optional. Gets the source of the error. For - example it would be "documents" or "document id" in case of invalid document. + "target": "str" } } """ @@ -843,7 +765,7 @@ async def get_translation_status( # pylint: disable=protected-access _headers = kwargs.pop("headers", {}) or {} _params = kwargs.pop("params", {}) or {} - cls: ClsType[_models.TranslationStatus] = kwargs.pop("cls", None) # pylint: disable=protected-access + cls: ClsType[_models._models.TranslationStatus] = kwargs.pop("cls", None) # pylint: disable=protected-access _request = build_document_translation_get_translation_status_request( id=id, @@ -873,7 +795,7 @@ async def get_translation_status( # pylint: disable=protected-access deserialized = response.iter_bytes() else: deserialized = _deserialize( - _models.TranslationStatus, response.json() # pylint: disable=protected-access + _models._models.TranslationStatus, response.json() # pylint: disable=protected-access ) if cls: @@ -884,8 +806,7 @@ async def get_translation_status( # pylint: disable=protected-access @distributed_trace_async async def cancel_translation( # pylint: disable=protected-access self, id: str, **kwargs: Any - ) -> _models.TranslationStatus: - # pylint: disable=line-too-long + ) -> _models._models.TranslationStatus: """Cancel a currently processing or queued translation. Cancel a currently processing or queued translation. @@ -908,40 +829,29 @@ async def cancel_translation( # pylint: disable=protected-access # response body for status code(s): 200 response == { - "createdDateTimeUtc": "2020-02-20 00:00:00", # Operation created date time. - Required. - "id": "str", # Id of the operation. Required. - "lastActionDateTimeUtc": "2020-02-20 00:00:00", # Date time in which the - operation's status has been updated. Required. - "status": "str", # List of possible statuses for job or document. Required. - Known values are: "NotStarted", "Running", "Succeeded", "Failed", "Cancelled", - "Cancelling", and "ValidationFailed". + "createdDateTimeUtc": "2020-02-20 00:00:00", + "id": "str", + "lastActionDateTimeUtc": "2020-02-20 00:00:00", + "status": "str", "summary": { - "cancelled": 0, # Number of cancelled. Required. - "failed": 0, # Failed count. Required. - "inProgress": 0, # Number of in progress. Required. - "notYetStarted": 0, # Count of not yet started. Required. - "success": 0, # Number of Success. Required. - "total": 0, # Total count. Required. - "totalCharacterCharged": 0 # Total characters charged by the API. - Required. + "cancelled": 0, + "failed": 0, + "inProgress": 0, + "notYetStarted": 0, + "success": 0, + "total": 0, + "totalCharacterCharged": 0 }, "error": { - "code": "str", # Enums containing high level error codes. Required. - Known values are: "InvalidRequest", "InvalidArgument", "InternalServerError", - "ServiceUnavailable", "ResourceNotFound", "Unauthorized", and - "RequestRateTooHigh". - "message": "str", # Gets high level error message. Required. + "code": "str", + "message": "str", "innerError": { - "code": "str", # Gets code error string. Required. - "message": "str", # Gets high level error message. Required. + "code": "str", + "message": "str", "innerError": ..., - "target": "str" # Optional. Gets the source of the error. - For example it would be "documents" or "document id" in case of invalid - document. + "target": "str" }, - "target": "str" # Optional. Gets the source of the error. For - example it would be "documents" or "document id" in case of invalid document. + "target": "str" } } """ @@ -956,7 +866,7 @@ async def cancel_translation( # pylint: disable=protected-access _headers = kwargs.pop("headers", {}) or {} _params = kwargs.pop("params", {}) or {} - cls: ClsType[_models.TranslationStatus] = kwargs.pop("cls", None) # pylint: disable=protected-access + cls: ClsType[_models._models.TranslationStatus] = kwargs.pop("cls", None) # pylint: disable=protected-access _request = build_document_translation_cancel_translation_request( id=id, @@ -986,7 +896,7 @@ async def cancel_translation( # pylint: disable=protected-access deserialized = response.iter_bytes() else: deserialized = _deserialize( - _models.TranslationStatus, response.json() # pylint: disable=protected-access + _models._models.TranslationStatus, response.json() # pylint: disable=protected-access ) if cls: @@ -1007,8 +917,7 @@ def get_documents_status( created_date_time_utc_end: Optional[datetime.datetime] = None, orderby: Optional[List[str]] = None, **kwargs: Any - ) -> AsyncIterable["_models.DocumentStatus"]: - # pylint: disable=line-too-long + ) -> AsyncIterable["_models._models.DocumentStatus"]: """Returns the status for all documents in a batch document translation request. Returns the status for all documents in a batch document translation request. @@ -1108,43 +1017,33 @@ def get_documents_status( # response body for status code(s): 200 response == { - "createdDateTimeUtc": "2020-02-20 00:00:00", # Operation created date time. - Required. - "id": "str", # Document Id. Required. - "lastActionDateTimeUtc": "2020-02-20 00:00:00", # Date time in which the - operation's status has been updated. Required. - "progress": 0.0, # Progress of the translation if available. Required. - "sourcePath": "str", # Location of the source document. Required. - "status": "str", # List of possible statuses for job or document. Required. - Known values are: "NotStarted", "Running", "Succeeded", "Failed", "Cancelled", - "Cancelling", and "ValidationFailed". - "to": "str", # To language. Required. - "characterCharged": 0, # Optional. Character charged by the API. + "createdDateTimeUtc": "2020-02-20 00:00:00", + "id": "str", + "lastActionDateTimeUtc": "2020-02-20 00:00:00", + "progress": 0.0, + "sourcePath": "str", + "status": "str", + "to": "str", + "characterCharged": 0, "error": { - "code": "str", # Enums containing high level error codes. Required. - Known values are: "InvalidRequest", "InvalidArgument", "InternalServerError", - "ServiceUnavailable", "ResourceNotFound", "Unauthorized", and - "RequestRateTooHigh". - "message": "str", # Gets high level error message. Required. + "code": "str", + "message": "str", "innerError": { - "code": "str", # Gets code error string. Required. - "message": "str", # Gets high level error message. Required. + "code": "str", + "message": "str", "innerError": ..., - "target": "str" # Optional. Gets the source of the error. - For example it would be "documents" or "document id" in case of invalid - document. + "target": "str" }, - "target": "str" # Optional. Gets the source of the error. For - example it would be "documents" or "document id" in case of invalid document. + "target": "str" }, - "path": "str" # Optional. Location of the document or folder. + "path": "str" } """ _headers = kwargs.pop("headers", {}) or {} _params = kwargs.pop("params", {}) or {} maxpagesize = kwargs.pop("maxpagesize", None) - cls: ClsType[List[_models.DocumentStatus]] = kwargs.pop("cls", None) # pylint: disable=protected-access + cls: ClsType[List[_models._models.DocumentStatus]] = kwargs.pop("cls", None) # pylint: disable=protected-access error_map: MutableMapping[int, Type[HttpResponseError]] = { 401: ClientAuthenticationError, @@ -1202,7 +1101,7 @@ def prepare_request(next_link=None): async def extract_data(pipeline_response): deserialized = pipeline_response.http_response.json() - list_of_elem = _deserialize(List[_models.DocumentStatus], deserialized["value"]) + list_of_elem = _deserialize(List[_models._models.DocumentStatus], deserialized["value"]) if cls: list_of_elem = cls(list_of_elem) # type: ignore return deserialized.get("nextLink") or None, AsyncList(list_of_elem) @@ -1217,8 +1116,6 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - if _stream: - await response.read() # Load the body in memory and close the socket map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response) @@ -1228,8 +1125,8 @@ async def get_next(next_link=None): @distributed_trace_async async def get_supported_formats( # pylint: disable=protected-access - self, *, type: Optional[Union[str, _enums.FileFormatType]] = None, **kwargs: Any - ) -> _models.SupportedFileFormats: + self, *, type: Optional[Union[str, _models._enums.FileFormatType]] = None, **kwargs: Any + ) -> _models._models.SupportedFileFormats: """Returns a list of supported document formats. The list of supported formats supported by the Document Translation @@ -1252,19 +1149,16 @@ async def get_supported_formats( # pylint: disable=protected-access "value": [ { "contentTypes": [ - "str" # Supported Content-Types for this format. - Required. + "str" ], "fileExtensions": [ - "str" # Supported file extension for this format. - Required. + "str" ], - "format": "str", # Name of the format. Required. - "defaultVersion": "str", # Optional. Default version if none - is specified. - "type": "str", # Optional. Supported Type for this format. + "format": "str", + "defaultVersion": "str", + "type": "str", "versions": [ - "str" # Optional. Supported Version. + "str" ] } ] @@ -1281,7 +1175,7 @@ async def get_supported_formats( # pylint: disable=protected-access _headers = kwargs.pop("headers", {}) or {} _params = kwargs.pop("params", {}) or {} - cls: ClsType[_models.SupportedFileFormats] = kwargs.pop("cls", None) # pylint: disable=protected-access + cls: ClsType[_models._models.SupportedFileFormats] = kwargs.pop("cls", None) # pylint: disable=protected-access _request = build_document_translation_get_supported_formats_request( type=type, @@ -1311,7 +1205,7 @@ async def get_supported_formats( # pylint: disable=protected-access deserialized = response.iter_bytes() else: deserialized = _deserialize( - _models.SupportedFileFormats, response.json() # pylint: disable=protected-access + _models._models.SupportedFileFormats, response.json() # pylint: disable=protected-access ) if cls: @@ -1339,7 +1233,7 @@ async def document_translate( Use this API to submit a single translation request to the Document Translation Service. - :param body: Required. + :param body: Document Translate Request Content. Required. :type body: ~azure.ai.translation.document.models.DocumentTranslateContent :keyword target_language: Specifies the language of the output document. The target language must be one of the supported languages included in the translation scope. @@ -1392,7 +1286,7 @@ async def document_translate( Use this API to submit a single translation request to the Document Translation Service. - :param body: Required. + :param body: Document Translate Request Content. Required. :type body: JSON :keyword target_language: Specifies the language of the output document. The target language must be one of the supported languages included in the translation scope. @@ -1436,7 +1330,8 @@ async def document_translate( Use this API to submit a single translation request to the Document Translation Service. - :param body: Is either a DocumentTranslateContent type or a JSON type. Required. + :param body: Document Translate Request Content. Is either a DocumentTranslateContent type or a + JSON type. Required. :type body: ~azure.ai.translation.document.models.DocumentTranslateContent or JSON :keyword target_language: Specifies the language of the output document. The target language must be one of the supported languages included in the translation scope. diff --git a/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/models/_models.py b/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/models/_models.py index cfc432b062bc..f4169a82304f 100644 --- a/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/models/_models.py +++ b/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/models/_models.py @@ -66,27 +66,9 @@ class DocumentFilter(_model_base.Model): This is most often use for file extensions.""" -class DocumentsStatus(_model_base.Model): - """Documents Status Response. - - All required parameters must be populated in order to send to server. - - :ivar value: The detail status of individual documents. Required. - :vartype value: list[~azure.ai.translation.document.models._models.DocumentStatus] - :ivar next_link: Url for the next page. Null if no more pages available. - :vartype next_link: str - """ - - value: List["_models._models.DocumentStatus"] = rest_field() - """The detail status of individual documents. Required.""" - next_link: Optional[str] = rest_field(name="nextLink") - """Url for the next page. Null if no more pages available.""" - - class DocumentStatus(_model_base.Model): """Document Status Response. - All required parameters must be populated in order to send to server. :ivar path: Location of the document or folder. :vartype path: str @@ -177,7 +159,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: # pylint: disable=useles class FileFormat(_model_base.Model): """File Format. - All required parameters must be populated in order to send to server. :ivar format: Name of the format. Required. :vartype format: str @@ -252,7 +233,6 @@ class InnerTranslationError(_model_base.Model): Readonly variables are only populated by the server, and will be ignored when sending a request. - All required parameters must be populated in order to send to server. :ivar code: Gets code error string. Required. :vartype code: str @@ -332,7 +312,6 @@ class StartTranslationDetails(_model_base.Model): class StatusSummary(_model_base.Model): """Status Summary. - All required parameters must be populated in order to send to server. :ivar total: Total count. Required. :vartype total: int @@ -369,7 +348,6 @@ class StatusSummary(_model_base.Model): class SupportedFileFormats(_model_base.Model): """List of supported file formats. - All required parameters must be populated in order to send to server. :ivar value: list of objects. Required. :vartype value: list[~azure.ai.translation.document.models._models.FileFormat] @@ -414,7 +392,6 @@ class TranslationError(_model_base.Model): Readonly variables are only populated by the server, and will be ignored when sending a request. - All required parameters must be populated in order to send to server. :ivar code: Enums containing high level error codes. Required. Known values are: "InvalidRequest", "InvalidArgument", "InternalServerError", "ServiceUnavailable", @@ -454,27 +431,9 @@ class TranslationError(_model_base.Model): details(key value pair), inner error(this can be nested).""" -class TranslationsStatus(_model_base.Model): - """Translation job Status Response. - - All required parameters must be populated in order to send to server. - - :ivar value: The summary status of individual operation. Required. - :vartype value: list[~azure.ai.translation.document.models._models.TranslationStatus] - :ivar next_link: Url for the next page. Null if no more pages available. - :vartype next_link: str - """ - - value: List["_models._models.TranslationStatus"] = rest_field() - """The summary status of individual operation. Required.""" - next_link: Optional[str] = rest_field(name="nextLink") - """Url for the next page. Null if no more pages available.""" - - class TranslationStatus(_model_base.Model): """Translation job status response. - All required parameters must be populated in order to send to server. :ivar id: Id of the operation. Required. :vartype id: str diff --git a/sdk/translation/azure-ai-translation-document/tsp-location.yaml b/sdk/translation/azure-ai-translation-document/tsp-location.yaml index cd0188ee842d..91eb2d699ba2 100644 --- a/sdk/translation/azure-ai-translation-document/tsp-location.yaml +++ b/sdk/translation/azure-ai-translation-document/tsp-location.yaml @@ -1,4 +1,4 @@ -commit: c70d880019bbd107ca2423fb734a681cd1a75332 -repo: Azure/azure-rest-api-specs directory: specification/translation/Azure.AI.DocumentTranslation - +commit: 62f2c8a9ff7d25a917c7b9dd95326db9c3a8d620 +repo: Azure/azure-rest-api-specs +additionalDirectories: