Skip to content

Commit ce9b293

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 7503300 of spec repo
1 parent 5d69285 commit ce9b293

3 files changed

Lines changed: 24 additions & 24 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49436,9 +49436,9 @@ components:
4943649436
description: The unique identifier for this component.
4943749437
example: databricks-zerobus-destination
4943849438
type: string
49439-
ingestion_endpoint:
49440-
description: Your Databricks Zerobus ingestion endpoint. This is the endpoint used to stream data directly into your Databricks Lakehouse.
49441-
example: https://my-workspace-id.zerobus.us-east-1.cloud.databricks.com
49439+
ingestion_endpoint_key:
49440+
description: Name of the environment variable or the secret identifier that references the Databricks Zerobus ingestion endpoint, which is used to stream data directly into your Databricks Lakehouse.
49441+
example: DD_OP_DESTINATION_DATABRICKS_ZEROBUS_INGESTION_ENDPOINT
4944249442
type: string
4944349443
inputs:
4944449444
description: A list of component IDs whose output is used as the `input` for this component.
@@ -49453,17 +49453,15 @@ components:
4945349453
type: string
4945449454
type:
4945549455
$ref: "#/components/schemas/ObservabilityPipelineDatabricksZerobusDestinationType"
49456-
unity_catalog_endpoint:
49457-
description: Your Databricks workspace URL. This is used to communicate with the Unity Catalog API.
49458-
example: https://my-workspace.cloud.databricks.com
49456+
unity_catalog_endpoint_key:
49457+
description: Name of the environment variable or the secret identifier that references your Databricks workspace URL, which is used to communicate with the Unity Catalog API.
49458+
example: DD_OP_DESTINATION_DATABRICKS_ZEROBUS_UNITY_CATALOG_ENDPOINT
4945949459
type: string
4946049460
required:
4946149461
- id
4946249462
- type
4946349463
- inputs
49464-
- ingestion_endpoint
4946549464
- table_name
49466-
- unity_catalog_endpoint
4946749465
- auth
4946849466
type: object
4946949467
x-pipeline-types: [logs, rehydration]

src/datadog_api_client/v2/model/observability_pipeline_config_destination_item.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -218,14 +218,14 @@ def __init__(self, **kwargs):
218218
:param header_source_name: Optional override for the source name header.
219219
:type header_source_name: str, optional
220220
221-
:param ingestion_endpoint: Your Databricks Zerobus ingestion endpoint. This is the endpoint used to stream data directly into your Databricks Lakehouse.
222-
:type ingestion_endpoint: str
221+
:param ingestion_endpoint_key: Name of the environment variable or the secret identifier that references the Databricks Zerobus ingestion endpoint, which is used to stream data directly into your Databricks Lakehouse.
222+
:type ingestion_endpoint_key: str, optional
223223
224224
:param table_name: The fully qualified name of your target Databricks table. Make sure this table already exists in your Databricks workspace before deploying.
225225
:type table_name: str
226226
227-
:param unity_catalog_endpoint: Your Databricks workspace URL. This is used to communicate with the Unity Catalog API.
228-
:type unity_catalog_endpoint: str
227+
:param unity_catalog_endpoint_key: Name of the environment variable or the secret identifier that references your Databricks workspace URL, which is used to communicate with the Unity Catalog API.
228+
:type unity_catalog_endpoint_key: str, optional
229229
"""
230230
super().__init__(kwargs)
231231

src/datadog_api_client/v2/model/observability_pipeline_databricks_zerobus_destination.py

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -47,40 +47,40 @@ def openapi_types(_):
4747
"auth": (ObservabilityPipelineDatabricksZerobusDestinationAuth,),
4848
"buffer": (ObservabilityPipelineBufferOptions,),
4949
"id": (str,),
50-
"ingestion_endpoint": (str,),
50+
"ingestion_endpoint_key": (str,),
5151
"inputs": ([str],),
5252
"table_name": (str,),
5353
"type": (ObservabilityPipelineDatabricksZerobusDestinationType,),
54-
"unity_catalog_endpoint": (str,),
54+
"unity_catalog_endpoint_key": (str,),
5555
}
5656

5757
attribute_map = {
5858
"auth": "auth",
5959
"buffer": "buffer",
6060
"id": "id",
61-
"ingestion_endpoint": "ingestion_endpoint",
61+
"ingestion_endpoint_key": "ingestion_endpoint_key",
6262
"inputs": "inputs",
6363
"table_name": "table_name",
6464
"type": "type",
65-
"unity_catalog_endpoint": "unity_catalog_endpoint",
65+
"unity_catalog_endpoint_key": "unity_catalog_endpoint_key",
6666
}
6767

6868
def __init__(
6969
self_,
7070
auth: ObservabilityPipelineDatabricksZerobusDestinationAuth,
7171
id: str,
72-
ingestion_endpoint: str,
7372
inputs: List[str],
7473
table_name: str,
7574
type: ObservabilityPipelineDatabricksZerobusDestinationType,
76-
unity_catalog_endpoint: str,
7775
buffer: Union[
7876
ObservabilityPipelineBufferOptions,
7977
ObservabilityPipelineDiskBufferOptions,
8078
ObservabilityPipelineMemoryBufferOptions,
8179
ObservabilityPipelineMemoryBufferSizeOptions,
8280
UnsetType,
8381
] = unset,
82+
ingestion_endpoint_key: Union[str, UnsetType] = unset,
83+
unity_catalog_endpoint_key: Union[str, UnsetType] = unset,
8484
**kwargs,
8585
):
8686
"""
@@ -97,8 +97,8 @@ def __init__(
9797
:param id: The unique identifier for this component.
9898
:type id: str
9999
100-
:param ingestion_endpoint: Your Databricks Zerobus ingestion endpoint. This is the endpoint used to stream data directly into your Databricks Lakehouse.
101-
:type ingestion_endpoint: str
100+
:param ingestion_endpoint_key: Name of the environment variable or the secret identifier that references the Databricks Zerobus ingestion endpoint, which is used to stream data directly into your Databricks Lakehouse.
101+
:type ingestion_endpoint_key: str, optional
102102
103103
:param inputs: A list of component IDs whose output is used as the ``input`` for this component.
104104
:type inputs: [str]
@@ -109,17 +109,19 @@ def __init__(
109109
:param type: The destination type. The value must be ``databricks_zerobus``.
110110
:type type: ObservabilityPipelineDatabricksZerobusDestinationType
111111
112-
:param unity_catalog_endpoint: Your Databricks workspace URL. This is used to communicate with the Unity Catalog API.
113-
:type unity_catalog_endpoint: str
112+
:param unity_catalog_endpoint_key: Name of the environment variable or the secret identifier that references your Databricks workspace URL, which is used to communicate with the Unity Catalog API.
113+
:type unity_catalog_endpoint_key: str, optional
114114
"""
115115
if buffer is not unset:
116116
kwargs["buffer"] = buffer
117+
if ingestion_endpoint_key is not unset:
118+
kwargs["ingestion_endpoint_key"] = ingestion_endpoint_key
119+
if unity_catalog_endpoint_key is not unset:
120+
kwargs["unity_catalog_endpoint_key"] = unity_catalog_endpoint_key
117121
super().__init__(kwargs)
118122

119123
self_.auth = auth
120124
self_.id = id
121-
self_.ingestion_endpoint = ingestion_endpoint
122125
self_.inputs = inputs
123126
self_.table_name = table_name
124127
self_.type = type
125-
self_.unity_catalog_endpoint = unity_catalog_endpoint

0 commit comments

Comments
 (0)