@Generated public class CleanRoomAssetsAPI extends Object
| Constructor and Description |
|---|
CleanRoomAssetsAPI(ApiClient apiClient)
Regular-use constructor
|
CleanRoomAssetsAPI(CleanRoomAssetsService mock)
Constructor for mocks
|
| Modifier and Type | Method and Description |
|---|---|
CleanRoomAsset |
create(CreateCleanRoomAssetRequest request)
Create an asset.
|
CleanRoomAsset |
create(String cleanRoomName,
CleanRoomAsset asset) |
void |
delete(DeleteCleanRoomAssetRequest request)
Delete an asset.
|
void |
delete(String cleanRoomName,
CleanRoomAssetAssetType assetType,
String assetFullName) |
CleanRoomAsset |
get(GetCleanRoomAssetRequest request)
Get an asset.
|
CleanRoomAsset |
get(String cleanRoomName,
CleanRoomAssetAssetType assetType,
String assetFullName) |
CleanRoomAssetsService |
impl() |
Iterable<CleanRoomAsset> |
list(ListCleanRoomAssetsRequest request)
List assets.
|
Iterable<CleanRoomAsset> |
list(String cleanRoomName) |
CleanRoomAsset |
update(String cleanRoomName,
CleanRoomAssetAssetType assetType,
String name,
CleanRoomAsset asset) |
CleanRoomAsset |
update(UpdateCleanRoomAssetRequest request)
Update an asset.
|
public CleanRoomAssetsAPI(ApiClient apiClient)
public CleanRoomAssetsAPI(CleanRoomAssetsService mock)
public CleanRoomAsset create(String cleanRoomName, CleanRoomAsset asset)
public CleanRoomAsset create(CreateCleanRoomAssetRequest request)
Create a clean room asset —share an asset like a notebook or table into the clean room. For each UC asset that is added through this method, the clean room owner must also have enough privilege on the asset to consume it. The privilege must be maintained indefinitely for the clean room to be able to access the asset. Typically, you should use a group as the clean room owner.
public void delete(String cleanRoomName, CleanRoomAssetAssetType assetType, String assetFullName)
public void delete(DeleteCleanRoomAssetRequest request)
Delete a clean room asset - unshare/remove the asset from the clean room
public CleanRoomAsset get(String cleanRoomName, CleanRoomAssetAssetType assetType, String assetFullName)
public CleanRoomAsset get(GetCleanRoomAssetRequest request)
Get the details of a clean room asset by its type and full name.
public Iterable<CleanRoomAsset> list(String cleanRoomName)
public Iterable<CleanRoomAsset> list(ListCleanRoomAssetsRequest request)
public CleanRoomAsset update(String cleanRoomName, CleanRoomAssetAssetType assetType, String name, CleanRoomAsset asset)
public CleanRoomAsset update(UpdateCleanRoomAssetRequest request)
Update a clean room asset. For example, updating the content of a notebook; changing the shared partitions of a table; etc.
public CleanRoomAssetsService impl()
Copyright © 2025. All rights reserved.