@Generated public class ArtifactAllowlistsAPI extends Object
Constructor and Description |
---|
ArtifactAllowlistsAPI(ApiClient apiClient)
Regular-use constructor
|
ArtifactAllowlistsAPI(ArtifactAllowlistsService mock)
Constructor for mocks
|
Modifier and Type | Method and Description |
---|---|
ArtifactAllowlistInfo |
get(ArtifactType artifactType) |
ArtifactAllowlistInfo |
get(GetArtifactAllowlistRequest request)
Get an artifact allowlist.
|
ArtifactAllowlistsService |
impl() |
ArtifactAllowlistInfo |
update(ArtifactType artifactType,
Collection<ArtifactMatcher> artifactMatchers) |
ArtifactAllowlistInfo |
update(SetArtifactAllowlist request)
Set an artifact allowlist.
|
public ArtifactAllowlistsAPI(ApiClient apiClient)
public ArtifactAllowlistsAPI(ArtifactAllowlistsService mock)
public ArtifactAllowlistInfo get(ArtifactType artifactType)
public ArtifactAllowlistInfo get(GetArtifactAllowlistRequest request)
Get the artifact allowlist of a certain artifact type. The caller must be a metastore admin or have the **MANAGE ALLOWLIST** privilege on the metastore.
public ArtifactAllowlistInfo update(ArtifactType artifactType, Collection<ArtifactMatcher> artifactMatchers)
public ArtifactAllowlistInfo update(SetArtifactAllowlist request)
Set the artifact allowlist of a certain artifact type. The whole artifact allowlist is replaced with the new allowlist. The caller must be a metastore admin or have the **MANAGE ALLOWLIST** privilege on the metastore.
public ArtifactAllowlistsService impl()
Copyright © 2024. All rights reserved.