databricks-sdk 0.56.0__py3-none-any.whl → 0.58.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 +38 -11
- databricks/sdk/service/aibuilder.py +122 -17
- databricks/sdk/service/apps.py +15 -45
- databricks/sdk/service/billing.py +70 -74
- databricks/sdk/service/catalog.py +1898 -557
- databricks/sdk/service/cleanrooms.py +14 -55
- databricks/sdk/service/compute.py +305 -508
- databricks/sdk/service/dashboards.py +148 -223
- databricks/sdk/service/database.py +657 -127
- databricks/sdk/service/files.py +18 -54
- databricks/sdk/service/iam.py +55 -165
- databricks/sdk/service/jobs.py +238 -214
- databricks/sdk/service/marketplace.py +47 -146
- databricks/sdk/service/ml.py +1137 -447
- databricks/sdk/service/oauth2.py +17 -46
- databricks/sdk/service/pipelines.py +93 -69
- databricks/sdk/service/provisioning.py +34 -212
- databricks/sdk/service/qualitymonitorv2.py +5 -33
- databricks/sdk/service/serving.py +69 -55
- databricks/sdk/service/settings.py +106 -434
- databricks/sdk/service/sharing.py +33 -95
- databricks/sdk/service/sql.py +164 -254
- databricks/sdk/service/vectorsearch.py +13 -62
- databricks/sdk/service/workspace.py +36 -110
- databricks/sdk/version.py +1 -1
- {databricks_sdk-0.56.0.dist-info → databricks_sdk-0.58.0.dist-info}/METADATA +1 -1
- {databricks_sdk-0.56.0.dist-info → databricks_sdk-0.58.0.dist-info}/RECORD +31 -31
- {databricks_sdk-0.56.0.dist-info → databricks_sdk-0.58.0.dist-info}/WHEEL +0 -0
- {databricks_sdk-0.56.0.dist-info → databricks_sdk-0.58.0.dist-info}/licenses/LICENSE +0 -0
- {databricks_sdk-0.56.0.dist-info → databricks_sdk-0.58.0.dist-info}/licenses/NOTICE +0 -0
- {databricks_sdk-0.56.0.dist-info → databricks_sdk-0.58.0.dist-info}/top_level.txt +0 -0
|
@@ -2282,7 +2282,6 @@ class ListingSummary:
|
|
|
2282
2282
|
share: Optional[ShareInfo] = None
|
|
2283
2283
|
|
|
2284
2284
|
status: Optional[ListingStatus] = None
|
|
2285
|
-
"""Enums"""
|
|
2286
2285
|
|
|
2287
2286
|
subtitle: Optional[str] = None
|
|
2288
2287
|
|
|
@@ -2462,7 +2461,6 @@ class PersonalizationRequest:
|
|
|
2462
2461
|
comment: Optional[str] = None
|
|
2463
2462
|
|
|
2464
2463
|
contact_info: Optional[ContactInfo] = None
|
|
2465
|
-
"""contact info for the consumer requesting data or performing a listing installation"""
|
|
2466
2464
|
|
|
2467
2465
|
created_at: Optional[int] = None
|
|
2468
2466
|
|
|
@@ -3512,9 +3510,7 @@ class ConsumerFulfillmentsAPI:
|
|
|
3512
3510
|
def get(
|
|
3513
3511
|
self, listing_id: str, *, page_size: Optional[int] = None, page_token: Optional[str] = None
|
|
3514
3512
|
) -> Iterator[SharedDataObject]:
|
|
3515
|
-
"""Get listing content
|
|
3516
|
-
|
|
3517
|
-
Get a high level preview of the metadata of listing installable content.
|
|
3513
|
+
"""Get a high level preview of the metadata of listing installable content.
|
|
3518
3514
|
|
|
3519
3515
|
:param listing_id: str
|
|
3520
3516
|
:param page_size: int (optional)
|
|
@@ -3546,9 +3542,7 @@ class ConsumerFulfillmentsAPI:
|
|
|
3546
3542
|
def list(
|
|
3547
3543
|
self, listing_id: str, *, page_size: Optional[int] = None, page_token: Optional[str] = None
|
|
3548
3544
|
) -> Iterator[ListingFulfillment]:
|
|
3549
|
-
"""
|
|
3550
|
-
|
|
3551
|
-
Get all listings fulfillments associated with a listing. A _fulfillment_ is a potential installation.
|
|
3545
|
+
"""Get all listings fulfillments associated with a listing. A _fulfillment_ is a potential installation.
|
|
3552
3546
|
Standard installations contain metadata about the attached share or git repo. Only one of these fields
|
|
3553
3547
|
will be present. Personalized installations contain metadata about the attached share or git repo, as
|
|
3554
3548
|
well as the Delta Sharing recipient type.
|
|
@@ -3597,9 +3591,7 @@ class ConsumerInstallationsAPI:
|
|
|
3597
3591
|
repo_detail: Optional[RepoInstallation] = None,
|
|
3598
3592
|
share_name: Optional[str] = None,
|
|
3599
3593
|
) -> Installation:
|
|
3600
|
-
"""Install
|
|
3601
|
-
|
|
3602
|
-
Install payload associated with a Databricks Marketplace listing.
|
|
3594
|
+
"""Install payload associated with a Databricks Marketplace listing.
|
|
3603
3595
|
|
|
3604
3596
|
:param listing_id: str
|
|
3605
3597
|
:param accepted_consumer_terms: :class:`ConsumerTerms` (optional)
|
|
@@ -3633,9 +3625,7 @@ class ConsumerInstallationsAPI:
|
|
|
3633
3625
|
return Installation.from_dict(res)
|
|
3634
3626
|
|
|
3635
3627
|
def delete(self, listing_id: str, installation_id: str):
|
|
3636
|
-
"""Uninstall
|
|
3637
|
-
|
|
3638
|
-
Uninstall an installation associated with a Databricks Marketplace listing.
|
|
3628
|
+
"""Uninstall an installation associated with a Databricks Marketplace listing.
|
|
3639
3629
|
|
|
3640
3630
|
:param listing_id: str
|
|
3641
3631
|
:param installation_id: str
|
|
@@ -3656,9 +3646,7 @@ class ConsumerInstallationsAPI:
|
|
|
3656
3646
|
def list(
|
|
3657
3647
|
self, *, page_size: Optional[int] = None, page_token: Optional[str] = None
|
|
3658
3648
|
) -> Iterator[InstallationDetail]:
|
|
3659
|
-
"""List all installations.
|
|
3660
|
-
|
|
3661
|
-
List all installations across all listings.
|
|
3649
|
+
"""List all installations across all listings.
|
|
3662
3650
|
|
|
3663
3651
|
:param page_size: int (optional)
|
|
3664
3652
|
:param page_token: str (optional)
|
|
@@ -3687,9 +3675,7 @@ class ConsumerInstallationsAPI:
|
|
|
3687
3675
|
def list_listing_installations(
|
|
3688
3676
|
self, listing_id: str, *, page_size: Optional[int] = None, page_token: Optional[str] = None
|
|
3689
3677
|
) -> Iterator[InstallationDetail]:
|
|
3690
|
-
"""List installations for a listing.
|
|
3691
|
-
|
|
3692
|
-
List all installations for a particular listing.
|
|
3678
|
+
"""List all installations for a particular listing.
|
|
3693
3679
|
|
|
3694
3680
|
:param listing_id: str
|
|
3695
3681
|
:param page_size: int (optional)
|
|
@@ -3729,9 +3715,7 @@ class ConsumerInstallationsAPI:
|
|
|
3729
3715
|
*,
|
|
3730
3716
|
rotate_token: Optional[bool] = None,
|
|
3731
3717
|
) -> UpdateInstallationResponse:
|
|
3732
|
-
"""
|
|
3733
|
-
|
|
3734
|
-
This is a update API that will update the part of the fields defined in the installation table as well
|
|
3718
|
+
"""This is a update API that will update the part of the fields defined in the installation table as well
|
|
3735
3719
|
as interact with external services according to the fields not included in the installation table 1.
|
|
3736
3720
|
the token will be rotate if the rotateToken flag is true 2. the token will be forcibly rotate if the
|
|
3737
3721
|
rotateToken flag is true and the tokenInfo field is empty
|
|
@@ -3770,9 +3754,7 @@ class ConsumerListingsAPI:
|
|
|
3770
3754
|
self._api = api_client
|
|
3771
3755
|
|
|
3772
3756
|
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.
|
|
3757
|
+
"""Batch get a published listing in the Databricks Marketplace that the consumer has access to.
|
|
3776
3758
|
|
|
3777
3759
|
:param ids: List[str] (optional)
|
|
3778
3760
|
|
|
@@ -3790,9 +3772,7 @@ class ConsumerListingsAPI:
|
|
|
3790
3772
|
return BatchGetListingsResponse.from_dict(res)
|
|
3791
3773
|
|
|
3792
3774
|
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.
|
|
3775
|
+
"""Get a published listing in the Databricks Marketplace that the consumer has access to.
|
|
3796
3776
|
|
|
3797
3777
|
:param id: str
|
|
3798
3778
|
|
|
@@ -3819,9 +3799,7 @@ class ConsumerListingsAPI:
|
|
|
3819
3799
|
provider_ids: Optional[List[str]] = None,
|
|
3820
3800
|
tags: Optional[List[ListingTag]] = None,
|
|
3821
3801
|
) -> Iterator[Listing]:
|
|
3822
|
-
"""List listings.
|
|
3823
|
-
|
|
3824
|
-
List all published listings in the Databricks Marketplace that the consumer has access to.
|
|
3802
|
+
"""List all published listings in the Databricks Marketplace that the consumer has access to.
|
|
3825
3803
|
|
|
3826
3804
|
:param assets: List[:class:`AssetType`] (optional)
|
|
3827
3805
|
Matches any of the following asset types
|
|
@@ -3887,9 +3865,7 @@ class ConsumerListingsAPI:
|
|
|
3887
3865
|
page_token: Optional[str] = None,
|
|
3888
3866
|
provider_ids: Optional[List[str]] = None,
|
|
3889
3867
|
) -> Iterator[Listing]:
|
|
3890
|
-
"""Search listings.
|
|
3891
|
-
|
|
3892
|
-
Search published listings in the Databricks Marketplace that the consumer has access to. This query
|
|
3868
|
+
"""Search published listings in the Databricks Marketplace that the consumer has access to. This query
|
|
3893
3869
|
supports a variety of different search parameters and performs fuzzy matching.
|
|
3894
3870
|
|
|
3895
3871
|
:param query: str
|
|
@@ -3958,9 +3934,7 @@ class ConsumerPersonalizationRequestsAPI:
|
|
|
3958
3934
|
last_name: Optional[str] = None,
|
|
3959
3935
|
recipient_type: Optional[DeltaSharingRecipientType] = None,
|
|
3960
3936
|
) -> CreatePersonalizationRequestResponse:
|
|
3961
|
-
"""Create a personalization request.
|
|
3962
|
-
|
|
3963
|
-
Create a personalization request for a listing.
|
|
3937
|
+
"""Create a personalization request for a listing.
|
|
3964
3938
|
|
|
3965
3939
|
:param listing_id: str
|
|
3966
3940
|
:param intended_use: str
|
|
@@ -4005,9 +3979,7 @@ class ConsumerPersonalizationRequestsAPI:
|
|
|
4005
3979
|
return CreatePersonalizationRequestResponse.from_dict(res)
|
|
4006
3980
|
|
|
4007
3981
|
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
|
|
3982
|
+
"""Get the personalization request for a listing. Each consumer can make at *most* one personalization
|
|
4011
3983
|
request for a listing.
|
|
4012
3984
|
|
|
4013
3985
|
:param listing_id: str
|
|
@@ -4027,9 +3999,7 @@ class ConsumerPersonalizationRequestsAPI:
|
|
|
4027
3999
|
def list(
|
|
4028
4000
|
self, *, page_size: Optional[int] = None, page_token: Optional[str] = None
|
|
4029
4001
|
) -> Iterator[PersonalizationRequest]:
|
|
4030
|
-
"""List
|
|
4031
|
-
|
|
4032
|
-
List personalization requests for a consumer across all listings.
|
|
4002
|
+
"""List personalization requests for a consumer across all listings.
|
|
4033
4003
|
|
|
4034
4004
|
:param page_size: int (optional)
|
|
4035
4005
|
:param page_token: str (optional)
|
|
@@ -4065,9 +4035,7 @@ class ConsumerProvidersAPI:
|
|
|
4065
4035
|
self._api = api_client
|
|
4066
4036
|
|
|
4067
4037
|
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.
|
|
4038
|
+
"""Batch get a provider in the Databricks Marketplace with at least one visible listing.
|
|
4071
4039
|
|
|
4072
4040
|
:param ids: List[str] (optional)
|
|
4073
4041
|
|
|
@@ -4085,9 +4053,7 @@ class ConsumerProvidersAPI:
|
|
|
4085
4053
|
return BatchGetProvidersResponse.from_dict(res)
|
|
4086
4054
|
|
|
4087
4055
|
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.
|
|
4056
|
+
"""Get a provider in the Databricks Marketplace with at least one visible listing.
|
|
4091
4057
|
|
|
4092
4058
|
:param id: str
|
|
4093
4059
|
|
|
@@ -4104,9 +4070,7 @@ class ConsumerProvidersAPI:
|
|
|
4104
4070
|
def list(
|
|
4105
4071
|
self, *, is_featured: Optional[bool] = None, page_size: Optional[int] = None, page_token: Optional[str] = None
|
|
4106
4072
|
) -> Iterator[ProviderInfo]:
|
|
4107
|
-
"""List providers.
|
|
4108
|
-
|
|
4109
|
-
List all providers in the Databricks Marketplace with at least one visible listing.
|
|
4073
|
+
"""List all providers in the Databricks Marketplace with at least one visible listing.
|
|
4110
4074
|
|
|
4111
4075
|
:param is_featured: bool (optional)
|
|
4112
4076
|
:param page_size: int (optional)
|
|
@@ -4143,9 +4107,7 @@ class ProviderExchangeFiltersAPI:
|
|
|
4143
4107
|
self._api = api_client
|
|
4144
4108
|
|
|
4145
4109
|
def create(self, filter: ExchangeFilter) -> CreateExchangeFilterResponse:
|
|
4146
|
-
"""
|
|
4147
|
-
|
|
4148
|
-
Add an exchange filter.
|
|
4110
|
+
"""Add an exchange filter.
|
|
4149
4111
|
|
|
4150
4112
|
:param filter: :class:`ExchangeFilter`
|
|
4151
4113
|
|
|
@@ -4163,9 +4125,7 @@ class ProviderExchangeFiltersAPI:
|
|
|
4163
4125
|
return CreateExchangeFilterResponse.from_dict(res)
|
|
4164
4126
|
|
|
4165
4127
|
def delete(self, id: str):
|
|
4166
|
-
"""Delete an exchange filter
|
|
4167
|
-
|
|
4168
|
-
Delete an exchange filter
|
|
4128
|
+
"""Delete an exchange filter
|
|
4169
4129
|
|
|
4170
4130
|
:param id: str
|
|
4171
4131
|
|
|
@@ -4181,9 +4141,7 @@ class ProviderExchangeFiltersAPI:
|
|
|
4181
4141
|
def list(
|
|
4182
4142
|
self, exchange_id: str, *, page_size: Optional[int] = None, page_token: Optional[str] = None
|
|
4183
4143
|
) -> Iterator[ExchangeFilter]:
|
|
4184
|
-
"""List exchange
|
|
4185
|
-
|
|
4186
|
-
List exchange filter
|
|
4144
|
+
"""List exchange filter
|
|
4187
4145
|
|
|
4188
4146
|
:param exchange_id: str
|
|
4189
4147
|
:param page_size: int (optional)
|
|
@@ -4213,9 +4171,7 @@ class ProviderExchangeFiltersAPI:
|
|
|
4213
4171
|
query["page_token"] = json["next_page_token"]
|
|
4214
4172
|
|
|
4215
4173
|
def update(self, id: str, filter: ExchangeFilter) -> UpdateExchangeFilterResponse:
|
|
4216
|
-
"""Update exchange filter.
|
|
4217
|
-
|
|
4218
|
-
Update an exchange filter.
|
|
4174
|
+
"""Update an exchange filter.
|
|
4219
4175
|
|
|
4220
4176
|
:param id: str
|
|
4221
4177
|
:param filter: :class:`ExchangeFilter`
|
|
@@ -4241,9 +4197,7 @@ class ProviderExchangesAPI:
|
|
|
4241
4197
|
self._api = api_client
|
|
4242
4198
|
|
|
4243
4199
|
def add_listing_to_exchange(self, listing_id: str, exchange_id: str) -> AddExchangeForListingResponse:
|
|
4244
|
-
"""
|
|
4245
|
-
|
|
4246
|
-
Associate an exchange with a listing
|
|
4200
|
+
"""Associate an exchange with a listing
|
|
4247
4201
|
|
|
4248
4202
|
:param listing_id: str
|
|
4249
4203
|
:param exchange_id: str
|
|
@@ -4264,9 +4218,7 @@ class ProviderExchangesAPI:
|
|
|
4264
4218
|
return AddExchangeForListingResponse.from_dict(res)
|
|
4265
4219
|
|
|
4266
4220
|
def create(self, exchange: Exchange) -> CreateExchangeResponse:
|
|
4267
|
-
"""Create an exchange
|
|
4268
|
-
|
|
4269
|
-
Create an exchange
|
|
4221
|
+
"""Create an exchange
|
|
4270
4222
|
|
|
4271
4223
|
:param exchange: :class:`Exchange`
|
|
4272
4224
|
|
|
@@ -4284,9 +4236,7 @@ class ProviderExchangesAPI:
|
|
|
4284
4236
|
return CreateExchangeResponse.from_dict(res)
|
|
4285
4237
|
|
|
4286
4238
|
def delete(self, id: str):
|
|
4287
|
-
"""
|
|
4288
|
-
|
|
4289
|
-
This removes a listing from marketplace.
|
|
4239
|
+
"""This removes a listing from marketplace.
|
|
4290
4240
|
|
|
4291
4241
|
:param id: str
|
|
4292
4242
|
|
|
@@ -4300,9 +4250,7 @@ class ProviderExchangesAPI:
|
|
|
4300
4250
|
self._api.do("DELETE", f"/api/2.0/marketplace-exchange/exchanges/{id}", headers=headers)
|
|
4301
4251
|
|
|
4302
4252
|
def delete_listing_from_exchange(self, id: str):
|
|
4303
|
-
"""
|
|
4304
|
-
|
|
4305
|
-
Disassociate an exchange with a listing
|
|
4253
|
+
"""Disassociate an exchange with a listing
|
|
4306
4254
|
|
|
4307
4255
|
:param id: str
|
|
4308
4256
|
|
|
@@ -4318,8 +4266,6 @@ class ProviderExchangesAPI:
|
|
|
4318
4266
|
def get(self, id: str) -> GetExchangeResponse:
|
|
4319
4267
|
"""Get an exchange.
|
|
4320
4268
|
|
|
4321
|
-
Get an exchange.
|
|
4322
|
-
|
|
4323
4269
|
:param id: str
|
|
4324
4270
|
|
|
4325
4271
|
:returns: :class:`GetExchangeResponse`
|
|
@@ -4333,9 +4279,7 @@ class ProviderExchangesAPI:
|
|
|
4333
4279
|
return GetExchangeResponse.from_dict(res)
|
|
4334
4280
|
|
|
4335
4281
|
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
|
|
4282
|
+
"""List exchanges visible to provider
|
|
4339
4283
|
|
|
4340
4284
|
:param page_size: int (optional)
|
|
4341
4285
|
:param page_token: str (optional)
|
|
@@ -4364,9 +4308,7 @@ class ProviderExchangesAPI:
|
|
|
4364
4308
|
def list_exchanges_for_listing(
|
|
4365
4309
|
self, listing_id: str, *, page_size: Optional[int] = None, page_token: Optional[str] = None
|
|
4366
4310
|
) -> Iterator[ExchangeListing]:
|
|
4367
|
-
"""List exchanges
|
|
4368
|
-
|
|
4369
|
-
List exchanges associated with a listing
|
|
4311
|
+
"""List exchanges associated with a listing
|
|
4370
4312
|
|
|
4371
4313
|
:param listing_id: str
|
|
4372
4314
|
:param page_size: int (optional)
|
|
@@ -4400,9 +4342,7 @@ class ProviderExchangesAPI:
|
|
|
4400
4342
|
def list_listings_for_exchange(
|
|
4401
4343
|
self, exchange_id: str, *, page_size: Optional[int] = None, page_token: Optional[str] = None
|
|
4402
4344
|
) -> Iterator[ExchangeListing]:
|
|
4403
|
-
"""List listings
|
|
4404
|
-
|
|
4405
|
-
List listings associated with an exchange
|
|
4345
|
+
"""List listings associated with an exchange
|
|
4406
4346
|
|
|
4407
4347
|
:param exchange_id: str
|
|
4408
4348
|
:param page_size: int (optional)
|
|
@@ -4434,9 +4374,7 @@ class ProviderExchangesAPI:
|
|
|
4434
4374
|
query["page_token"] = json["next_page_token"]
|
|
4435
4375
|
|
|
4436
4376
|
def update(self, id: str, exchange: Exchange) -> UpdateExchangeResponse:
|
|
4437
|
-
"""Update exchange
|
|
4438
|
-
|
|
4439
|
-
Update an exchange
|
|
4377
|
+
"""Update an exchange
|
|
4440
4378
|
|
|
4441
4379
|
:param id: str
|
|
4442
4380
|
:param exchange: :class:`Exchange`
|
|
@@ -4469,9 +4407,7 @@ class ProviderFilesAPI:
|
|
|
4469
4407
|
*,
|
|
4470
4408
|
display_name: Optional[str] = None,
|
|
4471
4409
|
) -> CreateFileResponse:
|
|
4472
|
-
"""Create a file.
|
|
4473
|
-
|
|
4474
|
-
Create a file. Currently, only provider icons and attached notebooks are supported.
|
|
4410
|
+
"""Create a file. Currently, only provider icons and attached notebooks are supported.
|
|
4475
4411
|
|
|
4476
4412
|
:param file_parent: :class:`FileParent`
|
|
4477
4413
|
:param marketplace_file_type: :class:`MarketplaceFileType`
|
|
@@ -4498,9 +4434,7 @@ class ProviderFilesAPI:
|
|
|
4498
4434
|
return CreateFileResponse.from_dict(res)
|
|
4499
4435
|
|
|
4500
4436
|
def delete(self, file_id: str):
|
|
4501
|
-
"""Delete a file
|
|
4502
|
-
|
|
4503
|
-
Delete a file
|
|
4437
|
+
"""Delete a file
|
|
4504
4438
|
|
|
4505
4439
|
:param file_id: str
|
|
4506
4440
|
|
|
@@ -4514,9 +4448,7 @@ class ProviderFilesAPI:
|
|
|
4514
4448
|
self._api.do("DELETE", f"/api/2.0/marketplace-provider/files/{file_id}", headers=headers)
|
|
4515
4449
|
|
|
4516
4450
|
def get(self, file_id: str) -> GetFileResponse:
|
|
4517
|
-
"""Get a file
|
|
4518
|
-
|
|
4519
|
-
Get a file
|
|
4451
|
+
"""Get a file
|
|
4520
4452
|
|
|
4521
4453
|
:param file_id: str
|
|
4522
4454
|
|
|
@@ -4533,9 +4465,7 @@ class ProviderFilesAPI:
|
|
|
4533
4465
|
def list(
|
|
4534
4466
|
self, file_parent: FileParent, *, page_size: Optional[int] = None, page_token: Optional[str] = None
|
|
4535
4467
|
) -> Iterator[FileInfo]:
|
|
4536
|
-
"""List files.
|
|
4537
|
-
|
|
4538
|
-
List files attached to a parent entity.
|
|
4468
|
+
"""List files attached to a parent entity.
|
|
4539
4469
|
|
|
4540
4470
|
:param file_parent: :class:`FileParent`
|
|
4541
4471
|
:param page_size: int (optional)
|
|
@@ -4573,9 +4503,7 @@ class ProviderListingsAPI:
|
|
|
4573
4503
|
self._api = api_client
|
|
4574
4504
|
|
|
4575
4505
|
def create(self, listing: Listing) -> CreateListingResponse:
|
|
4576
|
-
"""Create a listing
|
|
4577
|
-
|
|
4578
|
-
Create a new listing
|
|
4506
|
+
"""Create a new listing
|
|
4579
4507
|
|
|
4580
4508
|
:param listing: :class:`Listing`
|
|
4581
4509
|
|
|
@@ -4593,9 +4521,7 @@ class ProviderListingsAPI:
|
|
|
4593
4521
|
return CreateListingResponse.from_dict(res)
|
|
4594
4522
|
|
|
4595
4523
|
def delete(self, id: str):
|
|
4596
|
-
"""Delete a listing
|
|
4597
|
-
|
|
4598
|
-
Delete a listing
|
|
4524
|
+
"""Delete a listing
|
|
4599
4525
|
|
|
4600
4526
|
:param id: str
|
|
4601
4527
|
|
|
@@ -4609,9 +4535,7 @@ class ProviderListingsAPI:
|
|
|
4609
4535
|
self._api.do("DELETE", f"/api/2.0/marketplace-provider/listings/{id}", headers=headers)
|
|
4610
4536
|
|
|
4611
4537
|
def get(self, id: str) -> GetListingResponse:
|
|
4612
|
-
"""Get a listing
|
|
4613
|
-
|
|
4614
|
-
Get a listing
|
|
4538
|
+
"""Get a listing
|
|
4615
4539
|
|
|
4616
4540
|
:param id: str
|
|
4617
4541
|
|
|
@@ -4626,9 +4550,7 @@ class ProviderListingsAPI:
|
|
|
4626
4550
|
return GetListingResponse.from_dict(res)
|
|
4627
4551
|
|
|
4628
4552
|
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
|
|
4553
|
+
"""List listings owned by this provider
|
|
4632
4554
|
|
|
4633
4555
|
:param page_size: int (optional)
|
|
4634
4556
|
:param page_token: str (optional)
|
|
@@ -4655,9 +4577,7 @@ class ProviderListingsAPI:
|
|
|
4655
4577
|
query["page_token"] = json["next_page_token"]
|
|
4656
4578
|
|
|
4657
4579
|
def update(self, id: str, listing: Listing) -> UpdateListingResponse:
|
|
4658
|
-
"""Update listing
|
|
4659
|
-
|
|
4660
|
-
Update a listing
|
|
4580
|
+
"""Update a listing
|
|
4661
4581
|
|
|
4662
4582
|
:param id: str
|
|
4663
4583
|
:param listing: :class:`Listing`
|
|
@@ -4686,9 +4606,7 @@ class ProviderPersonalizationRequestsAPI:
|
|
|
4686
4606
|
def list(
|
|
4687
4607
|
self, *, page_size: Optional[int] = None, page_token: Optional[str] = None
|
|
4688
4608
|
) -> Iterator[PersonalizationRequest]:
|
|
4689
|
-
"""
|
|
4690
|
-
|
|
4691
|
-
List personalization requests to this provider. This will return all personalization requests,
|
|
4609
|
+
"""List personalization requests to this provider. This will return all personalization requests,
|
|
4692
4610
|
regardless of which listing they are for.
|
|
4693
4611
|
|
|
4694
4612
|
:param page_size: int (optional)
|
|
@@ -4726,9 +4644,7 @@ class ProviderPersonalizationRequestsAPI:
|
|
|
4726
4644
|
reason: Optional[str] = None,
|
|
4727
4645
|
share: Optional[ShareInfo] = None,
|
|
4728
4646
|
) -> UpdatePersonalizationRequestResponse:
|
|
4729
|
-
"""Update personalization request status.
|
|
4730
|
-
|
|
4731
|
-
Update personalization request. This method only permits updating the status of the request.
|
|
4647
|
+
"""Update personalization request. This method only permits updating the status of the request.
|
|
4732
4648
|
|
|
4733
4649
|
:param listing_id: str
|
|
4734
4650
|
:param request_id: str
|
|
@@ -4766,11 +4682,10 @@ class ProviderProviderAnalyticsDashboardsAPI:
|
|
|
4766
4682
|
self._api = api_client
|
|
4767
4683
|
|
|
4768
4684
|
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
|
|
4685
|
+
"""Create provider analytics dashboard. Returns Marketplace specific `id`. Not to be confused with the
|
|
4772
4686
|
Lakeview dashboard id.
|
|
4773
4687
|
|
|
4688
|
+
|
|
4774
4689
|
:returns: :class:`ProviderAnalyticsDashboard`
|
|
4775
4690
|
"""
|
|
4776
4691
|
|
|
@@ -4784,7 +4699,6 @@ class ProviderProviderAnalyticsDashboardsAPI:
|
|
|
4784
4699
|
def get(self) -> ListProviderAnalyticsDashboardResponse:
|
|
4785
4700
|
"""Get provider analytics dashboard.
|
|
4786
4701
|
|
|
4787
|
-
Get provider analytics dashboard.
|
|
4788
4702
|
|
|
4789
4703
|
:returns: :class:`ListProviderAnalyticsDashboardResponse`
|
|
4790
4704
|
"""
|
|
@@ -4799,7 +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
4716
|
|
|
4804
4717
|
:returns: :class:`GetLatestVersionProviderAnalyticsDashboardResponse`
|
|
4805
4718
|
"""
|
|
@@ -4814,8 +4727,6 @@ class ProviderProviderAnalyticsDashboardsAPI:
|
|
|
4814
4727
|
def update(self, id: str, *, version: Optional[int] = None) -> UpdateProviderAnalyticsDashboardResponse:
|
|
4815
4728
|
"""Update provider analytics dashboard.
|
|
4816
4729
|
|
|
4817
|
-
Update provider analytics dashboard.
|
|
4818
|
-
|
|
4819
4730
|
:param id: str
|
|
4820
4731
|
id is immutable property and can't be updated.
|
|
4821
4732
|
:param version: int (optional)
|
|
@@ -4843,9 +4754,7 @@ class ProviderProvidersAPI:
|
|
|
4843
4754
|
self._api = api_client
|
|
4844
4755
|
|
|
4845
4756
|
def create(self, provider: ProviderInfo) -> CreateProviderResponse:
|
|
4846
|
-
"""Create a provider
|
|
4847
|
-
|
|
4848
|
-
Create a provider
|
|
4757
|
+
"""Create a provider
|
|
4849
4758
|
|
|
4850
4759
|
:param provider: :class:`ProviderInfo`
|
|
4851
4760
|
|
|
@@ -4863,9 +4772,7 @@ class ProviderProvidersAPI:
|
|
|
4863
4772
|
return CreateProviderResponse.from_dict(res)
|
|
4864
4773
|
|
|
4865
4774
|
def delete(self, id: str):
|
|
4866
|
-
"""Delete provider
|
|
4867
|
-
|
|
4868
|
-
Delete provider
|
|
4775
|
+
"""Delete provider
|
|
4869
4776
|
|
|
4870
4777
|
:param id: str
|
|
4871
4778
|
|
|
@@ -4879,9 +4786,7 @@ class ProviderProvidersAPI:
|
|
|
4879
4786
|
self._api.do("DELETE", f"/api/2.0/marketplace-provider/providers/{id}", headers=headers)
|
|
4880
4787
|
|
|
4881
4788
|
def get(self, id: str) -> GetProviderResponse:
|
|
4882
|
-
"""Get provider
|
|
4883
|
-
|
|
4884
|
-
Get provider profile
|
|
4789
|
+
"""Get provider profile
|
|
4885
4790
|
|
|
4886
4791
|
:param id: str
|
|
4887
4792
|
|
|
@@ -4896,9 +4801,7 @@ class ProviderProvidersAPI:
|
|
|
4896
4801
|
return GetProviderResponse.from_dict(res)
|
|
4897
4802
|
|
|
4898
4803
|
def list(self, *, page_size: Optional[int] = None, page_token: Optional[str] = None) -> Iterator[ProviderInfo]:
|
|
4899
|
-
"""List
|
|
4900
|
-
|
|
4901
|
-
List provider profiles for account.
|
|
4804
|
+
"""List provider profiles for account.
|
|
4902
4805
|
|
|
4903
4806
|
:param page_size: int (optional)
|
|
4904
4807
|
:param page_token: str (optional)
|
|
@@ -4925,9 +4828,7 @@ class ProviderProvidersAPI:
|
|
|
4925
4828
|
query["page_token"] = json["next_page_token"]
|
|
4926
4829
|
|
|
4927
4830
|
def update(self, id: str, provider: ProviderInfo) -> UpdateProviderResponse:
|
|
4928
|
-
"""Update provider
|
|
4929
|
-
|
|
4930
|
-
Update provider profile
|
|
4831
|
+
"""Update provider profile
|
|
4931
4832
|
|
|
4932
4833
|
:param id: str
|
|
4933
4834
|
:param provider: :class:`ProviderInfo`
|