databricks-sdk 0.55.0__py3-none-any.whl → 0.57.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of databricks-sdk might be problematic. Click here for more details.
- databricks/sdk/__init__.py +41 -24
- databricks/sdk/service/aibuilder.py +505 -0
- databricks/sdk/service/apps.py +14 -42
- databricks/sdk/service/billing.py +167 -220
- databricks/sdk/service/catalog.py +462 -1235
- databricks/sdk/service/cleanrooms.py +26 -43
- databricks/sdk/service/compute.py +75 -211
- databricks/sdk/service/dashboards.py +77 -511
- databricks/sdk/service/database.py +1271 -0
- databricks/sdk/service/files.py +20 -54
- databricks/sdk/service/iam.py +61 -171
- databricks/sdk/service/jobs.py +453 -68
- databricks/sdk/service/marketplace.py +46 -146
- databricks/sdk/service/ml.py +453 -477
- databricks/sdk/service/oauth2.py +17 -45
- databricks/sdk/service/pipelines.py +125 -40
- databricks/sdk/service/provisioning.py +30 -93
- databricks/sdk/service/qualitymonitorv2.py +265 -0
- databricks/sdk/service/serving.py +106 -46
- databricks/sdk/service/settings.py +1062 -390
- databricks/sdk/service/sharing.py +33 -88
- databricks/sdk/service/sql.py +292 -185
- databricks/sdk/service/vectorsearch.py +13 -43
- databricks/sdk/service/workspace.py +35 -105
- databricks/sdk/version.py +1 -1
- {databricks_sdk-0.55.0.dist-info → databricks_sdk-0.57.0.dist-info}/METADATA +1 -1
- {databricks_sdk-0.55.0.dist-info → databricks_sdk-0.57.0.dist-info}/RECORD +31 -28
- {databricks_sdk-0.55.0.dist-info → databricks_sdk-0.57.0.dist-info}/WHEEL +0 -0
- {databricks_sdk-0.55.0.dist-info → databricks_sdk-0.57.0.dist-info}/licenses/LICENSE +0 -0
- {databricks_sdk-0.55.0.dist-info → databricks_sdk-0.57.0.dist-info}/licenses/NOTICE +0 -0
- {databricks_sdk-0.55.0.dist-info → databricks_sdk-0.57.0.dist-info}/top_level.txt +0 -0
|
@@ -3512,9 +3512,7 @@ class ConsumerFulfillmentsAPI:
|
|
|
3512
3512
|
def get(
|
|
3513
3513
|
self, listing_id: str, *, page_size: Optional[int] = None, page_token: Optional[str] = None
|
|
3514
3514
|
) -> Iterator[SharedDataObject]:
|
|
3515
|
-
"""Get listing content
|
|
3516
|
-
|
|
3517
|
-
Get a high level preview of the metadata of listing installable content.
|
|
3515
|
+
"""Get a high level preview of the metadata of listing installable content.
|
|
3518
3516
|
|
|
3519
3517
|
:param listing_id: str
|
|
3520
3518
|
:param page_size: int (optional)
|
|
@@ -3546,9 +3544,7 @@ class ConsumerFulfillmentsAPI:
|
|
|
3546
3544
|
def list(
|
|
3547
3545
|
self, listing_id: str, *, page_size: Optional[int] = None, page_token: Optional[str] = None
|
|
3548
3546
|
) -> Iterator[ListingFulfillment]:
|
|
3549
|
-
"""
|
|
3550
|
-
|
|
3551
|
-
Get all listings fulfillments associated with a listing. A _fulfillment_ is a potential installation.
|
|
3547
|
+
"""Get all listings fulfillments associated with a listing. A _fulfillment_ is a potential installation.
|
|
3552
3548
|
Standard installations contain metadata about the attached share or git repo. Only one of these fields
|
|
3553
3549
|
will be present. Personalized installations contain metadata about the attached share or git repo, as
|
|
3554
3550
|
well as the Delta Sharing recipient type.
|
|
@@ -3597,9 +3593,7 @@ class ConsumerInstallationsAPI:
|
|
|
3597
3593
|
repo_detail: Optional[RepoInstallation] = None,
|
|
3598
3594
|
share_name: Optional[str] = None,
|
|
3599
3595
|
) -> Installation:
|
|
3600
|
-
"""Install
|
|
3601
|
-
|
|
3602
|
-
Install payload associated with a Databricks Marketplace listing.
|
|
3596
|
+
"""Install payload associated with a Databricks Marketplace listing.
|
|
3603
3597
|
|
|
3604
3598
|
:param listing_id: str
|
|
3605
3599
|
:param accepted_consumer_terms: :class:`ConsumerTerms` (optional)
|
|
@@ -3633,9 +3627,7 @@ class ConsumerInstallationsAPI:
|
|
|
3633
3627
|
return Installation.from_dict(res)
|
|
3634
3628
|
|
|
3635
3629
|
def delete(self, listing_id: str, installation_id: str):
|
|
3636
|
-
"""Uninstall
|
|
3637
|
-
|
|
3638
|
-
Uninstall an installation associated with a Databricks Marketplace listing.
|
|
3630
|
+
"""Uninstall an installation associated with a Databricks Marketplace listing.
|
|
3639
3631
|
|
|
3640
3632
|
:param listing_id: str
|
|
3641
3633
|
:param installation_id: str
|
|
@@ -3656,9 +3648,7 @@ class ConsumerInstallationsAPI:
|
|
|
3656
3648
|
def list(
|
|
3657
3649
|
self, *, page_size: Optional[int] = None, page_token: Optional[str] = None
|
|
3658
3650
|
) -> Iterator[InstallationDetail]:
|
|
3659
|
-
"""List all installations.
|
|
3660
|
-
|
|
3661
|
-
List all installations across all listings.
|
|
3651
|
+
"""List all installations across all listings.
|
|
3662
3652
|
|
|
3663
3653
|
:param page_size: int (optional)
|
|
3664
3654
|
:param page_token: str (optional)
|
|
@@ -3687,9 +3677,7 @@ class ConsumerInstallationsAPI:
|
|
|
3687
3677
|
def list_listing_installations(
|
|
3688
3678
|
self, listing_id: str, *, page_size: Optional[int] = None, page_token: Optional[str] = None
|
|
3689
3679
|
) -> Iterator[InstallationDetail]:
|
|
3690
|
-
"""List installations for a listing.
|
|
3691
|
-
|
|
3692
|
-
List all installations for a particular listing.
|
|
3680
|
+
"""List all installations for a particular listing.
|
|
3693
3681
|
|
|
3694
3682
|
:param listing_id: str
|
|
3695
3683
|
:param page_size: int (optional)
|
|
@@ -3729,9 +3717,7 @@ class ConsumerInstallationsAPI:
|
|
|
3729
3717
|
*,
|
|
3730
3718
|
rotate_token: Optional[bool] = None,
|
|
3731
3719
|
) -> UpdateInstallationResponse:
|
|
3732
|
-
"""
|
|
3733
|
-
|
|
3734
|
-
This is a update API that will update the part of the fields defined in the installation table as well
|
|
3720
|
+
"""This is a update API that will update the part of the fields defined in the installation table as well
|
|
3735
3721
|
as interact with external services according to the fields not included in the installation table 1.
|
|
3736
3722
|
the token will be rotate if the rotateToken flag is true 2. the token will be forcibly rotate if the
|
|
3737
3723
|
rotateToken flag is true and the tokenInfo field is empty
|
|
@@ -3770,9 +3756,7 @@ class ConsumerListingsAPI:
|
|
|
3770
3756
|
self._api = api_client
|
|
3771
3757
|
|
|
3772
3758
|
def batch_get(self, *, ids: Optional[List[str]] = None) -> BatchGetListingsResponse:
|
|
3773
|
-
"""
|
|
3774
|
-
|
|
3775
|
-
Batch get a published listing in the Databricks Marketplace that the consumer has access to.
|
|
3759
|
+
"""Batch get a published listing in the Databricks Marketplace that the consumer has access to.
|
|
3776
3760
|
|
|
3777
3761
|
:param ids: List[str] (optional)
|
|
3778
3762
|
|
|
@@ -3790,9 +3774,7 @@ class ConsumerListingsAPI:
|
|
|
3790
3774
|
return BatchGetListingsResponse.from_dict(res)
|
|
3791
3775
|
|
|
3792
3776
|
def get(self, id: str) -> GetListingResponse:
|
|
3793
|
-
"""Get listing.
|
|
3794
|
-
|
|
3795
|
-
Get a published listing in the Databricks Marketplace that the consumer has access to.
|
|
3777
|
+
"""Get a published listing in the Databricks Marketplace that the consumer has access to.
|
|
3796
3778
|
|
|
3797
3779
|
:param id: str
|
|
3798
3780
|
|
|
@@ -3819,9 +3801,7 @@ class ConsumerListingsAPI:
|
|
|
3819
3801
|
provider_ids: Optional[List[str]] = None,
|
|
3820
3802
|
tags: Optional[List[ListingTag]] = None,
|
|
3821
3803
|
) -> Iterator[Listing]:
|
|
3822
|
-
"""List listings.
|
|
3823
|
-
|
|
3824
|
-
List all published listings in the Databricks Marketplace that the consumer has access to.
|
|
3804
|
+
"""List all published listings in the Databricks Marketplace that the consumer has access to.
|
|
3825
3805
|
|
|
3826
3806
|
:param assets: List[:class:`AssetType`] (optional)
|
|
3827
3807
|
Matches any of the following asset types
|
|
@@ -3887,9 +3867,7 @@ class ConsumerListingsAPI:
|
|
|
3887
3867
|
page_token: Optional[str] = None,
|
|
3888
3868
|
provider_ids: Optional[List[str]] = None,
|
|
3889
3869
|
) -> Iterator[Listing]:
|
|
3890
|
-
"""Search listings.
|
|
3891
|
-
|
|
3892
|
-
Search published listings in the Databricks Marketplace that the consumer has access to. This query
|
|
3870
|
+
"""Search published listings in the Databricks Marketplace that the consumer has access to. This query
|
|
3893
3871
|
supports a variety of different search parameters and performs fuzzy matching.
|
|
3894
3872
|
|
|
3895
3873
|
:param query: str
|
|
@@ -3958,9 +3936,7 @@ class ConsumerPersonalizationRequestsAPI:
|
|
|
3958
3936
|
last_name: Optional[str] = None,
|
|
3959
3937
|
recipient_type: Optional[DeltaSharingRecipientType] = None,
|
|
3960
3938
|
) -> CreatePersonalizationRequestResponse:
|
|
3961
|
-
"""Create a personalization request.
|
|
3962
|
-
|
|
3963
|
-
Create a personalization request for a listing.
|
|
3939
|
+
"""Create a personalization request for a listing.
|
|
3964
3940
|
|
|
3965
3941
|
:param listing_id: str
|
|
3966
3942
|
:param intended_use: str
|
|
@@ -4005,9 +3981,7 @@ class ConsumerPersonalizationRequestsAPI:
|
|
|
4005
3981
|
return CreatePersonalizationRequestResponse.from_dict(res)
|
|
4006
3982
|
|
|
4007
3983
|
def get(self, listing_id: str) -> GetPersonalizationRequestResponse:
|
|
4008
|
-
"""Get the personalization request for a listing.
|
|
4009
|
-
|
|
4010
|
-
Get the personalization request for a listing. Each consumer can make at *most* one personalization
|
|
3984
|
+
"""Get the personalization request for a listing. Each consumer can make at *most* one personalization
|
|
4011
3985
|
request for a listing.
|
|
4012
3986
|
|
|
4013
3987
|
:param listing_id: str
|
|
@@ -4027,9 +4001,7 @@ class ConsumerPersonalizationRequestsAPI:
|
|
|
4027
4001
|
def list(
|
|
4028
4002
|
self, *, page_size: Optional[int] = None, page_token: Optional[str] = None
|
|
4029
4003
|
) -> Iterator[PersonalizationRequest]:
|
|
4030
|
-
"""List
|
|
4031
|
-
|
|
4032
|
-
List personalization requests for a consumer across all listings.
|
|
4004
|
+
"""List personalization requests for a consumer across all listings.
|
|
4033
4005
|
|
|
4034
4006
|
:param page_size: int (optional)
|
|
4035
4007
|
:param page_token: str (optional)
|
|
@@ -4065,9 +4037,7 @@ class ConsumerProvidersAPI:
|
|
|
4065
4037
|
self._api = api_client
|
|
4066
4038
|
|
|
4067
4039
|
def batch_get(self, *, ids: Optional[List[str]] = None) -> BatchGetProvidersResponse:
|
|
4068
|
-
"""
|
|
4069
|
-
|
|
4070
|
-
Batch get a provider in the Databricks Marketplace with at least one visible listing.
|
|
4040
|
+
"""Batch get a provider in the Databricks Marketplace with at least one visible listing.
|
|
4071
4041
|
|
|
4072
4042
|
:param ids: List[str] (optional)
|
|
4073
4043
|
|
|
@@ -4085,9 +4055,7 @@ class ConsumerProvidersAPI:
|
|
|
4085
4055
|
return BatchGetProvidersResponse.from_dict(res)
|
|
4086
4056
|
|
|
4087
4057
|
def get(self, id: str) -> GetProviderResponse:
|
|
4088
|
-
"""Get a provider.
|
|
4089
|
-
|
|
4090
|
-
Get a provider in the Databricks Marketplace with at least one visible listing.
|
|
4058
|
+
"""Get a provider in the Databricks Marketplace with at least one visible listing.
|
|
4091
4059
|
|
|
4092
4060
|
:param id: str
|
|
4093
4061
|
|
|
@@ -4104,9 +4072,7 @@ class ConsumerProvidersAPI:
|
|
|
4104
4072
|
def list(
|
|
4105
4073
|
self, *, is_featured: Optional[bool] = None, page_size: Optional[int] = None, page_token: Optional[str] = None
|
|
4106
4074
|
) -> Iterator[ProviderInfo]:
|
|
4107
|
-
"""List providers.
|
|
4108
|
-
|
|
4109
|
-
List all providers in the Databricks Marketplace with at least one visible listing.
|
|
4075
|
+
"""List all providers in the Databricks Marketplace with at least one visible listing.
|
|
4110
4076
|
|
|
4111
4077
|
:param is_featured: bool (optional)
|
|
4112
4078
|
:param page_size: int (optional)
|
|
@@ -4143,9 +4109,7 @@ class ProviderExchangeFiltersAPI:
|
|
|
4143
4109
|
self._api = api_client
|
|
4144
4110
|
|
|
4145
4111
|
def create(self, filter: ExchangeFilter) -> CreateExchangeFilterResponse:
|
|
4146
|
-
"""
|
|
4147
|
-
|
|
4148
|
-
Add an exchange filter.
|
|
4112
|
+
"""Add an exchange filter.
|
|
4149
4113
|
|
|
4150
4114
|
:param filter: :class:`ExchangeFilter`
|
|
4151
4115
|
|
|
@@ -4163,9 +4127,7 @@ class ProviderExchangeFiltersAPI:
|
|
|
4163
4127
|
return CreateExchangeFilterResponse.from_dict(res)
|
|
4164
4128
|
|
|
4165
4129
|
def delete(self, id: str):
|
|
4166
|
-
"""Delete an exchange filter
|
|
4167
|
-
|
|
4168
|
-
Delete an exchange filter
|
|
4130
|
+
"""Delete an exchange filter
|
|
4169
4131
|
|
|
4170
4132
|
:param id: str
|
|
4171
4133
|
|
|
@@ -4181,9 +4143,7 @@ class ProviderExchangeFiltersAPI:
|
|
|
4181
4143
|
def list(
|
|
4182
4144
|
self, exchange_id: str, *, page_size: Optional[int] = None, page_token: Optional[str] = None
|
|
4183
4145
|
) -> Iterator[ExchangeFilter]:
|
|
4184
|
-
"""List exchange
|
|
4185
|
-
|
|
4186
|
-
List exchange filter
|
|
4146
|
+
"""List exchange filter
|
|
4187
4147
|
|
|
4188
4148
|
:param exchange_id: str
|
|
4189
4149
|
:param page_size: int (optional)
|
|
@@ -4213,9 +4173,7 @@ class ProviderExchangeFiltersAPI:
|
|
|
4213
4173
|
query["page_token"] = json["next_page_token"]
|
|
4214
4174
|
|
|
4215
4175
|
def update(self, id: str, filter: ExchangeFilter) -> UpdateExchangeFilterResponse:
|
|
4216
|
-
"""Update exchange filter.
|
|
4217
|
-
|
|
4218
|
-
Update an exchange filter.
|
|
4176
|
+
"""Update an exchange filter.
|
|
4219
4177
|
|
|
4220
4178
|
:param id: str
|
|
4221
4179
|
:param filter: :class:`ExchangeFilter`
|
|
@@ -4241,9 +4199,7 @@ class ProviderExchangesAPI:
|
|
|
4241
4199
|
self._api = api_client
|
|
4242
4200
|
|
|
4243
4201
|
def add_listing_to_exchange(self, listing_id: str, exchange_id: str) -> AddExchangeForListingResponse:
|
|
4244
|
-
"""
|
|
4245
|
-
|
|
4246
|
-
Associate an exchange with a listing
|
|
4202
|
+
"""Associate an exchange with a listing
|
|
4247
4203
|
|
|
4248
4204
|
:param listing_id: str
|
|
4249
4205
|
:param exchange_id: str
|
|
@@ -4264,9 +4220,7 @@ class ProviderExchangesAPI:
|
|
|
4264
4220
|
return AddExchangeForListingResponse.from_dict(res)
|
|
4265
4221
|
|
|
4266
4222
|
def create(self, exchange: Exchange) -> CreateExchangeResponse:
|
|
4267
|
-
"""Create an exchange
|
|
4268
|
-
|
|
4269
|
-
Create an exchange
|
|
4223
|
+
"""Create an exchange
|
|
4270
4224
|
|
|
4271
4225
|
:param exchange: :class:`Exchange`
|
|
4272
4226
|
|
|
@@ -4284,9 +4238,7 @@ class ProviderExchangesAPI:
|
|
|
4284
4238
|
return CreateExchangeResponse.from_dict(res)
|
|
4285
4239
|
|
|
4286
4240
|
def delete(self, id: str):
|
|
4287
|
-
"""
|
|
4288
|
-
|
|
4289
|
-
This removes a listing from marketplace.
|
|
4241
|
+
"""This removes a listing from marketplace.
|
|
4290
4242
|
|
|
4291
4243
|
:param id: str
|
|
4292
4244
|
|
|
@@ -4300,9 +4252,7 @@ class ProviderExchangesAPI:
|
|
|
4300
4252
|
self._api.do("DELETE", f"/api/2.0/marketplace-exchange/exchanges/{id}", headers=headers)
|
|
4301
4253
|
|
|
4302
4254
|
def delete_listing_from_exchange(self, id: str):
|
|
4303
|
-
"""
|
|
4304
|
-
|
|
4305
|
-
Disassociate an exchange with a listing
|
|
4255
|
+
"""Disassociate an exchange with a listing
|
|
4306
4256
|
|
|
4307
4257
|
:param id: str
|
|
4308
4258
|
|
|
@@ -4318,8 +4268,6 @@ class ProviderExchangesAPI:
|
|
|
4318
4268
|
def get(self, id: str) -> GetExchangeResponse:
|
|
4319
4269
|
"""Get an exchange.
|
|
4320
4270
|
|
|
4321
|
-
Get an exchange.
|
|
4322
|
-
|
|
4323
4271
|
:param id: str
|
|
4324
4272
|
|
|
4325
4273
|
:returns: :class:`GetExchangeResponse`
|
|
@@ -4333,9 +4281,7 @@ class ProviderExchangesAPI:
|
|
|
4333
4281
|
return GetExchangeResponse.from_dict(res)
|
|
4334
4282
|
|
|
4335
4283
|
def list(self, *, page_size: Optional[int] = None, page_token: Optional[str] = None) -> Iterator[Exchange]:
|
|
4336
|
-
"""List exchanges
|
|
4337
|
-
|
|
4338
|
-
List exchanges visible to provider
|
|
4284
|
+
"""List exchanges visible to provider
|
|
4339
4285
|
|
|
4340
4286
|
:param page_size: int (optional)
|
|
4341
4287
|
:param page_token: str (optional)
|
|
@@ -4364,9 +4310,7 @@ class ProviderExchangesAPI:
|
|
|
4364
4310
|
def list_exchanges_for_listing(
|
|
4365
4311
|
self, listing_id: str, *, page_size: Optional[int] = None, page_token: Optional[str] = None
|
|
4366
4312
|
) -> Iterator[ExchangeListing]:
|
|
4367
|
-
"""List exchanges
|
|
4368
|
-
|
|
4369
|
-
List exchanges associated with a listing
|
|
4313
|
+
"""List exchanges associated with a listing
|
|
4370
4314
|
|
|
4371
4315
|
:param listing_id: str
|
|
4372
4316
|
:param page_size: int (optional)
|
|
@@ -4400,9 +4344,7 @@ class ProviderExchangesAPI:
|
|
|
4400
4344
|
def list_listings_for_exchange(
|
|
4401
4345
|
self, exchange_id: str, *, page_size: Optional[int] = None, page_token: Optional[str] = None
|
|
4402
4346
|
) -> Iterator[ExchangeListing]:
|
|
4403
|
-
"""List listings
|
|
4404
|
-
|
|
4405
|
-
List listings associated with an exchange
|
|
4347
|
+
"""List listings associated with an exchange
|
|
4406
4348
|
|
|
4407
4349
|
:param exchange_id: str
|
|
4408
4350
|
:param page_size: int (optional)
|
|
@@ -4434,9 +4376,7 @@ class ProviderExchangesAPI:
|
|
|
4434
4376
|
query["page_token"] = json["next_page_token"]
|
|
4435
4377
|
|
|
4436
4378
|
def update(self, id: str, exchange: Exchange) -> UpdateExchangeResponse:
|
|
4437
|
-
"""Update exchange
|
|
4438
|
-
|
|
4439
|
-
Update an exchange
|
|
4379
|
+
"""Update an exchange
|
|
4440
4380
|
|
|
4441
4381
|
:param id: str
|
|
4442
4382
|
:param exchange: :class:`Exchange`
|
|
@@ -4469,9 +4409,7 @@ class ProviderFilesAPI:
|
|
|
4469
4409
|
*,
|
|
4470
4410
|
display_name: Optional[str] = None,
|
|
4471
4411
|
) -> CreateFileResponse:
|
|
4472
|
-
"""Create a file.
|
|
4473
|
-
|
|
4474
|
-
Create a file. Currently, only provider icons and attached notebooks are supported.
|
|
4412
|
+
"""Create a file. Currently, only provider icons and attached notebooks are supported.
|
|
4475
4413
|
|
|
4476
4414
|
:param file_parent: :class:`FileParent`
|
|
4477
4415
|
:param marketplace_file_type: :class:`MarketplaceFileType`
|
|
@@ -4498,9 +4436,7 @@ class ProviderFilesAPI:
|
|
|
4498
4436
|
return CreateFileResponse.from_dict(res)
|
|
4499
4437
|
|
|
4500
4438
|
def delete(self, file_id: str):
|
|
4501
|
-
"""Delete a file
|
|
4502
|
-
|
|
4503
|
-
Delete a file
|
|
4439
|
+
"""Delete a file
|
|
4504
4440
|
|
|
4505
4441
|
:param file_id: str
|
|
4506
4442
|
|
|
@@ -4514,9 +4450,7 @@ class ProviderFilesAPI:
|
|
|
4514
4450
|
self._api.do("DELETE", f"/api/2.0/marketplace-provider/files/{file_id}", headers=headers)
|
|
4515
4451
|
|
|
4516
4452
|
def get(self, file_id: str) -> GetFileResponse:
|
|
4517
|
-
"""Get a file
|
|
4518
|
-
|
|
4519
|
-
Get a file
|
|
4453
|
+
"""Get a file
|
|
4520
4454
|
|
|
4521
4455
|
:param file_id: str
|
|
4522
4456
|
|
|
@@ -4533,9 +4467,7 @@ class ProviderFilesAPI:
|
|
|
4533
4467
|
def list(
|
|
4534
4468
|
self, file_parent: FileParent, *, page_size: Optional[int] = None, page_token: Optional[str] = None
|
|
4535
4469
|
) -> Iterator[FileInfo]:
|
|
4536
|
-
"""List files.
|
|
4537
|
-
|
|
4538
|
-
List files attached to a parent entity.
|
|
4470
|
+
"""List files attached to a parent entity.
|
|
4539
4471
|
|
|
4540
4472
|
:param file_parent: :class:`FileParent`
|
|
4541
4473
|
:param page_size: int (optional)
|
|
@@ -4573,9 +4505,7 @@ class ProviderListingsAPI:
|
|
|
4573
4505
|
self._api = api_client
|
|
4574
4506
|
|
|
4575
4507
|
def create(self, listing: Listing) -> CreateListingResponse:
|
|
4576
|
-
"""Create a listing
|
|
4577
|
-
|
|
4578
|
-
Create a new listing
|
|
4508
|
+
"""Create a new listing
|
|
4579
4509
|
|
|
4580
4510
|
:param listing: :class:`Listing`
|
|
4581
4511
|
|
|
@@ -4593,9 +4523,7 @@ class ProviderListingsAPI:
|
|
|
4593
4523
|
return CreateListingResponse.from_dict(res)
|
|
4594
4524
|
|
|
4595
4525
|
def delete(self, id: str):
|
|
4596
|
-
"""Delete a listing
|
|
4597
|
-
|
|
4598
|
-
Delete a listing
|
|
4526
|
+
"""Delete a listing
|
|
4599
4527
|
|
|
4600
4528
|
:param id: str
|
|
4601
4529
|
|
|
@@ -4609,9 +4537,7 @@ class ProviderListingsAPI:
|
|
|
4609
4537
|
self._api.do("DELETE", f"/api/2.0/marketplace-provider/listings/{id}", headers=headers)
|
|
4610
4538
|
|
|
4611
4539
|
def get(self, id: str) -> GetListingResponse:
|
|
4612
|
-
"""Get a listing
|
|
4613
|
-
|
|
4614
|
-
Get a listing
|
|
4540
|
+
"""Get a listing
|
|
4615
4541
|
|
|
4616
4542
|
:param id: str
|
|
4617
4543
|
|
|
@@ -4626,9 +4552,7 @@ class ProviderListingsAPI:
|
|
|
4626
4552
|
return GetListingResponse.from_dict(res)
|
|
4627
4553
|
|
|
4628
4554
|
def list(self, *, page_size: Optional[int] = None, page_token: Optional[str] = None) -> Iterator[Listing]:
|
|
4629
|
-
"""List listings
|
|
4630
|
-
|
|
4631
|
-
List listings owned by this provider
|
|
4555
|
+
"""List listings owned by this provider
|
|
4632
4556
|
|
|
4633
4557
|
:param page_size: int (optional)
|
|
4634
4558
|
:param page_token: str (optional)
|
|
@@ -4655,9 +4579,7 @@ class ProviderListingsAPI:
|
|
|
4655
4579
|
query["page_token"] = json["next_page_token"]
|
|
4656
4580
|
|
|
4657
4581
|
def update(self, id: str, listing: Listing) -> UpdateListingResponse:
|
|
4658
|
-
"""Update listing
|
|
4659
|
-
|
|
4660
|
-
Update a listing
|
|
4582
|
+
"""Update a listing
|
|
4661
4583
|
|
|
4662
4584
|
:param id: str
|
|
4663
4585
|
:param listing: :class:`Listing`
|
|
@@ -4686,9 +4608,7 @@ class ProviderPersonalizationRequestsAPI:
|
|
|
4686
4608
|
def list(
|
|
4687
4609
|
self, *, page_size: Optional[int] = None, page_token: Optional[str] = None
|
|
4688
4610
|
) -> Iterator[PersonalizationRequest]:
|
|
4689
|
-
"""
|
|
4690
|
-
|
|
4691
|
-
List personalization requests to this provider. This will return all personalization requests,
|
|
4611
|
+
"""List personalization requests to this provider. This will return all personalization requests,
|
|
4692
4612
|
regardless of which listing they are for.
|
|
4693
4613
|
|
|
4694
4614
|
:param page_size: int (optional)
|
|
@@ -4726,9 +4646,7 @@ class ProviderPersonalizationRequestsAPI:
|
|
|
4726
4646
|
reason: Optional[str] = None,
|
|
4727
4647
|
share: Optional[ShareInfo] = None,
|
|
4728
4648
|
) -> UpdatePersonalizationRequestResponse:
|
|
4729
|
-
"""Update personalization request status.
|
|
4730
|
-
|
|
4731
|
-
Update personalization request. This method only permits updating the status of the request.
|
|
4649
|
+
"""Update personalization request. This method only permits updating the status of the request.
|
|
4732
4650
|
|
|
4733
4651
|
:param listing_id: str
|
|
4734
4652
|
:param request_id: str
|
|
@@ -4766,9 +4684,7 @@ class ProviderProviderAnalyticsDashboardsAPI:
|
|
|
4766
4684
|
self._api = api_client
|
|
4767
4685
|
|
|
4768
4686
|
def create(self) -> ProviderAnalyticsDashboard:
|
|
4769
|
-
"""Create provider analytics dashboard.
|
|
4770
|
-
|
|
4771
|
-
Create provider analytics dashboard. Returns Marketplace specific `id`. Not to be confused with the
|
|
4687
|
+
"""Create provider analytics dashboard. Returns Marketplace specific `id`. Not to be confused with the
|
|
4772
4688
|
Lakeview dashboard id.
|
|
4773
4689
|
|
|
4774
4690
|
:returns: :class:`ProviderAnalyticsDashboard`
|
|
@@ -4784,8 +4700,6 @@ class ProviderProviderAnalyticsDashboardsAPI:
|
|
|
4784
4700
|
def get(self) -> ListProviderAnalyticsDashboardResponse:
|
|
4785
4701
|
"""Get provider analytics dashboard.
|
|
4786
4702
|
|
|
4787
|
-
Get provider analytics dashboard.
|
|
4788
|
-
|
|
4789
4703
|
:returns: :class:`ListProviderAnalyticsDashboardResponse`
|
|
4790
4704
|
"""
|
|
4791
4705
|
|
|
@@ -4799,8 +4713,6 @@ class ProviderProviderAnalyticsDashboardsAPI:
|
|
|
4799
4713
|
def get_latest_version(self) -> GetLatestVersionProviderAnalyticsDashboardResponse:
|
|
4800
4714
|
"""Get latest version of provider analytics dashboard.
|
|
4801
4715
|
|
|
4802
|
-
Get latest version of provider analytics dashboard.
|
|
4803
|
-
|
|
4804
4716
|
:returns: :class:`GetLatestVersionProviderAnalyticsDashboardResponse`
|
|
4805
4717
|
"""
|
|
4806
4718
|
|
|
@@ -4814,8 +4726,6 @@ class ProviderProviderAnalyticsDashboardsAPI:
|
|
|
4814
4726
|
def update(self, id: str, *, version: Optional[int] = None) -> UpdateProviderAnalyticsDashboardResponse:
|
|
4815
4727
|
"""Update provider analytics dashboard.
|
|
4816
4728
|
|
|
4817
|
-
Update provider analytics dashboard.
|
|
4818
|
-
|
|
4819
4729
|
:param id: str
|
|
4820
4730
|
id is immutable property and can't be updated.
|
|
4821
4731
|
:param version: int (optional)
|
|
@@ -4843,9 +4753,7 @@ class ProviderProvidersAPI:
|
|
|
4843
4753
|
self._api = api_client
|
|
4844
4754
|
|
|
4845
4755
|
def create(self, provider: ProviderInfo) -> CreateProviderResponse:
|
|
4846
|
-
"""Create a provider
|
|
4847
|
-
|
|
4848
|
-
Create a provider
|
|
4756
|
+
"""Create a provider
|
|
4849
4757
|
|
|
4850
4758
|
:param provider: :class:`ProviderInfo`
|
|
4851
4759
|
|
|
@@ -4863,9 +4771,7 @@ class ProviderProvidersAPI:
|
|
|
4863
4771
|
return CreateProviderResponse.from_dict(res)
|
|
4864
4772
|
|
|
4865
4773
|
def delete(self, id: str):
|
|
4866
|
-
"""Delete provider
|
|
4867
|
-
|
|
4868
|
-
Delete provider
|
|
4774
|
+
"""Delete provider
|
|
4869
4775
|
|
|
4870
4776
|
:param id: str
|
|
4871
4777
|
|
|
@@ -4879,9 +4785,7 @@ class ProviderProvidersAPI:
|
|
|
4879
4785
|
self._api.do("DELETE", f"/api/2.0/marketplace-provider/providers/{id}", headers=headers)
|
|
4880
4786
|
|
|
4881
4787
|
def get(self, id: str) -> GetProviderResponse:
|
|
4882
|
-
"""Get provider
|
|
4883
|
-
|
|
4884
|
-
Get provider profile
|
|
4788
|
+
"""Get provider profile
|
|
4885
4789
|
|
|
4886
4790
|
:param id: str
|
|
4887
4791
|
|
|
@@ -4896,9 +4800,7 @@ class ProviderProvidersAPI:
|
|
|
4896
4800
|
return GetProviderResponse.from_dict(res)
|
|
4897
4801
|
|
|
4898
4802
|
def list(self, *, page_size: Optional[int] = None, page_token: Optional[str] = None) -> Iterator[ProviderInfo]:
|
|
4899
|
-
"""List
|
|
4900
|
-
|
|
4901
|
-
List provider profiles for account.
|
|
4803
|
+
"""List provider profiles for account.
|
|
4902
4804
|
|
|
4903
4805
|
:param page_size: int (optional)
|
|
4904
4806
|
:param page_token: str (optional)
|
|
@@ -4925,9 +4827,7 @@ class ProviderProvidersAPI:
|
|
|
4925
4827
|
query["page_token"] = json["next_page_token"]
|
|
4926
4828
|
|
|
4927
4829
|
def update(self, id: str, provider: ProviderInfo) -> UpdateProviderResponse:
|
|
4928
|
-
"""Update provider
|
|
4929
|
-
|
|
4930
|
-
Update provider profile
|
|
4830
|
+
"""Update provider profile
|
|
4931
4831
|
|
|
4932
4832
|
:param id: str
|
|
4933
4833
|
:param provider: :class:`ProviderInfo`
|