ProjectsServiceAccountsResource class

Constructors

ProjectsServiceAccountsResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
keys ProjectsServiceAccountsKeysResource
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

create(CreateServiceAccountRequest request, String name, {String? $fields}) Future<ServiceAccount>
Creates a ServiceAccount.
delete(String name, {String? $fields}) Future<Empty>
Deletes a ServiceAccount.
disable(DisableServiceAccountRequest request, String name, {String? $fields}) Future<Empty>
Disables a ServiceAccount immediately.
enable(EnableServiceAccountRequest request, String name, {String? $fields}) Future<Empty>
Enables a ServiceAccount that was disabled by DisableServiceAccount.
get(String name, {String? $fields}) Future<ServiceAccount>
Gets a ServiceAccount.
getIamPolicy(String resource, {int? options_requestedPolicyVersion, String? $fields}) Future<Policy>
Gets the IAM policy that is attached to a ServiceAccount.
list(String name, {int? pageSize, String? pageToken, String? $fields}) Future<ListServiceAccountsResponse>
Lists every ServiceAccount that belongs to a specific project.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(PatchServiceAccountRequest request, String name, {String? $fields}) Future<ServiceAccount>
Patches a ServiceAccount.
setIamPolicy(SetIamPolicyRequest request, String resource, {String? $fields}) Future<Policy>
Sets the IAM policy that is attached to a ServiceAccount.
signBlob(SignBlobRequest request, String name, {String? $fields}) Future<SignBlobResponse>
Note: This method is deprecated.
signJwt(SignJwtRequest request, String name, {String? $fields}) Future<SignJwtResponse>
Note: This method is deprecated.
testIamPermissions(TestIamPermissionsRequest request, String resource, {String? $fields}) Future<TestIamPermissionsResponse>
Tests whether the caller has the specified permissions on a ServiceAccount.
toString() String
A string representation of this object.
inherited
undelete(UndeleteServiceAccountRequest request, String name, {String? $fields}) Future<UndeleteServiceAccountResponse>
Restores a deleted ServiceAccount.
update(ServiceAccount request, String name, {String? $fields}) Future<ServiceAccount>
Note: We are in the process of deprecating this method.

Operators

operator ==(Object other) bool
The equality operator.
inherited