Interface ProjectServiceAsync
-
- All Implemented Interfaces:
public interface ProjectServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceProjectServiceAsync.WithRawResponseA view of ProjectServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract ProjectServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract ProjectServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
users
abstract UserServiceAsync users()
-
serviceAccounts
abstract ServiceAccountServiceAsync serviceAccounts()
-
apiKeys
abstract ApiKeyServiceAsync apiKeys()
-
rateLimits
abstract RateLimitServiceAsync rateLimits()
-
modelPermissions
abstract ModelPermissionServiceAsync modelPermissions()
-
hostedToolPermissions
abstract HostedToolPermissionServiceAsync hostedToolPermissions()
-
groups
abstract GroupServiceAsync groups()
-
roles
abstract RoleServiceAsync roles()
-
dataRetention
abstract DataRetentionServiceAsync dataRetention()
-
spendAlerts
abstract SpendAlertServiceAsync spendAlerts()
-
certificates
abstract CertificateServiceAsync certificates()
-
create
CompletableFuture<Project> create(ProjectCreateParams params)
Create a new project in the organization. Projects can be created and archived, but cannot be deleted.
-
create
abstract CompletableFuture<Project> create(ProjectCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<Project> retrieve(String projectId)
Retrieves a project.
-
retrieve
CompletableFuture<Project> retrieve(String projectId, ProjectRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<Project> retrieve(String projectId, ProjectRetrieveParams params)
-
retrieve
abstract CompletableFuture<Project> retrieve(ProjectRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<Project> retrieve(ProjectRetrieveParams params)
-
retrieve
CompletableFuture<Project> retrieve(String projectId, RequestOptions requestOptions)
-
update
CompletableFuture<Project> update(String projectId)
Modifies a project in the organization.
-
update
CompletableFuture<Project> update(String projectId, ProjectUpdateParams params, RequestOptions requestOptions)
-
update
CompletableFuture<Project> update(String projectId, ProjectUpdateParams params)
-
update
abstract CompletableFuture<Project> update(ProjectUpdateParams params, RequestOptions requestOptions)
-
update
CompletableFuture<Project> update(ProjectUpdateParams params)
-
update
CompletableFuture<Project> update(String projectId, RequestOptions requestOptions)
-
list
CompletableFuture<ProjectListPageAsync> list()
Returns a list of projects.
-
list
abstract CompletableFuture<ProjectListPageAsync> list(ProjectListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<ProjectListPageAsync> list(ProjectListParams params)
-
list
CompletableFuture<ProjectListPageAsync> list(RequestOptions requestOptions)
-
archive
CompletableFuture<Project> archive(String projectId)
Archives a project in the organization. Archived projects cannot be used or updated.
-
archive
CompletableFuture<Project> archive(String projectId, ProjectArchiveParams params, RequestOptions requestOptions)
-
archive
CompletableFuture<Project> archive(String projectId, ProjectArchiveParams params)
-
archive
abstract CompletableFuture<Project> archive(ProjectArchiveParams params, RequestOptions requestOptions)
-
archive
CompletableFuture<Project> archive(ProjectArchiveParams params)
-
archive
CompletableFuture<Project> archive(String projectId, RequestOptions requestOptions)
-
-
-
-