Interface ServiceAccountService
-
- All Implemented Interfaces:
public interface ServiceAccountService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceServiceAccountService.WithRawResponseA view of ServiceAccountService that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract ServiceAccountService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract ServiceAccountService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
create
ServiceAccountCreateResponse create(String projectId, ServiceAccountCreateParams params)
Creates a new service account in the project. This also returns an unredacted API key for the service account.
-
create
ServiceAccountCreateResponse create(String projectId, ServiceAccountCreateParams params, RequestOptions requestOptions)
-
create
ServiceAccountCreateResponse create(ServiceAccountCreateParams params)
-
create
abstract ServiceAccountCreateResponse create(ServiceAccountCreateParams params, RequestOptions requestOptions)
-
retrieve
ProjectServiceAccount retrieve(String serviceAccountId, ServiceAccountRetrieveParams params)
Retrieves a service account in the project.
-
retrieve
ProjectServiceAccount retrieve(String serviceAccountId, ServiceAccountRetrieveParams params, RequestOptions requestOptions)
-
retrieve
ProjectServiceAccount retrieve(ServiceAccountRetrieveParams params)
-
retrieve
abstract ProjectServiceAccount retrieve(ServiceAccountRetrieveParams params, RequestOptions requestOptions)
-
update
ProjectServiceAccount update(String serviceAccountId, ServiceAccountUpdateParams params)
Updates a service account in the project.
-
update
ProjectServiceAccount update(String serviceAccountId, ServiceAccountUpdateParams params, RequestOptions requestOptions)
-
update
ProjectServiceAccount update(ServiceAccountUpdateParams params)
-
update
abstract ProjectServiceAccount update(ServiceAccountUpdateParams params, RequestOptions requestOptions)
-
list
ServiceAccountListPage list(String projectId)
Returns a list of service accounts in the project.
-
list
ServiceAccountListPage list(String projectId, ServiceAccountListParams params, RequestOptions requestOptions)
-
list
ServiceAccountListPage list(String projectId, ServiceAccountListParams params)
-
list
abstract ServiceAccountListPage list(ServiceAccountListParams params, RequestOptions requestOptions)
-
list
ServiceAccountListPage list(ServiceAccountListParams params)
-
list
ServiceAccountListPage list(String projectId, RequestOptions requestOptions)
-
delete
ServiceAccountDeleteResponse delete(String serviceAccountId, ServiceAccountDeleteParams params)
Deletes a service account from the project.
Returns confirmation of service account deletion, or an error if the project is archived (archived projects have no service accounts).
-
delete
ServiceAccountDeleteResponse delete(String serviceAccountId, ServiceAccountDeleteParams params, RequestOptions requestOptions)
-
delete
ServiceAccountDeleteResponse delete(ServiceAccountDeleteParams params)
-
delete
abstract ServiceAccountDeleteResponse delete(ServiceAccountDeleteParams params, RequestOptions requestOptions)
-
-
-
-