Class TunedModelPermissionService
Inheritance
object
TunedModelPermissionService
Assembly: .dll
Syntax
public class TunedModelPermissionService : CRUDServiceBase<GenerativeAI>
Constructors
TunedModelPermissionService(GenerativeAI)
Declaration
public TunedModelPermissionService(GenerativeAI client)
Parameters
Methods
CreateAsync(Permission, string, string)
Declaration
public UniTask<Permission> CreateAsync(Permission req, string corpusId, string tunedModelId)
Parameters
Type |
Name |
Description |
Permission |
req |
|
string |
corpusId |
|
string |
tunedModelId |
|
Returns
DeleteAsync(string, string, string, RequestOptions)
Declaration
public UniTask<bool> DeleteAsync(string corpusId, string tunedModelId, string permissionId, RequestOptions options = null)
Parameters
Type |
Name |
Description |
string |
corpusId |
|
string |
tunedModelId |
|
string |
permissionId |
|
RequestOptions |
options |
|
Returns
Type |
Description |
UniTask<bool> |
|
ListAsync(string, string, TokenQuery, RequestOptions)
Declaration
public UniTask<QueryResponse<Permission>> ListAsync(string corpusId, string tunedModelId, TokenQuery query = null, RequestOptions options = null)
Parameters
Type |
Name |
Description |
string |
corpusId |
|
string |
tunedModelId |
|
TokenQuery |
query |
|
RequestOptions |
options |
|
Returns
Type |
Description |
UniTask<QueryResponse<Permission>> |
|
RetrieveAsync(string, string, string, RequestOptions)
Declaration
public UniTask<Permission> RetrieveAsync(string corpusId, string tunedModelId, string permissionId, RequestOptions options = null)
Parameters
Type |
Name |
Description |
string |
corpusId |
|
string |
tunedModelId |
|
string |
permissionId |
|
RequestOptions |
options |
|
Returns
UpdateAsync(string, string, string, IEnumerable<UpdateMask>, RequestOptions)
Declaration
public UniTask<Permission> UpdateAsync(string corpusId, string tunedModelId, string permissionId, IEnumerable<UpdateMask> updateMasks, RequestOptions options = null)
Parameters
Type |
Name |
Description |
string |
corpusId |
|
string |
tunedModelId |
|
string |
permissionId |
|
IEnumerable<UpdateMask> |
updateMasks |
|
RequestOptions |
options |
|
Returns