Iam_v1Functions

Functions

Link copied to clipboard
suspend fun getKey(argument: GetKeyPlainArgs): GetKeyResult

Gets a ServiceAccountKey.

suspend fun getKey(argument: suspend GetKeyPlainArgsBuilder.() -> Unit): GetKeyResult
suspend fun getKey(keyId: String, project: String? = null, publicKeyType: String? = null, serviceAccountId: String): GetKeyResult
Link copied to clipboard
Link copied to clipboard

Gets an individual WorkloadIdentityPoolProvider.

suspend fun getProvider(argument: suspend GetProviderPlainArgsBuilder.() -> Unit): GetProviderResult
suspend fun getProvider(location: String, project: String? = null, providerId: String, workloadIdentityPoolId: String): GetProviderResult
Link copied to clipboard
suspend fun getRole(argument: GetRolePlainArgs): GetRoleResult

Gets the definition of a Role.

suspend fun getRole(argument: suspend GetRolePlainArgsBuilder.() -> Unit): GetRoleResult
suspend fun getRole(project: String? = null, roleId: String): GetRoleResult
Link copied to clipboard

Gets a ServiceAccount.

suspend fun getServiceAccount(project: String? = null, serviceAccountId: String): GetServiceAccountResult
Link copied to clipboard

Gets the IAM policy that is attached to a ServiceAccount. This IAM policy specifies which principals have access to the service account. This method does not tell you whether the service account has been granted any roles on other resources. To check whether a service account has role grants on a resource, use the getIamPolicy method for that resource. For example, to view the role grants for a project, call the Resource Manager API's projects.getIamPolicy method.

suspend fun getServiceAccountIamPolicy(optionsRequestedPolicyVersion: Int? = null, project: String? = null, serviceAccountId: String): GetServiceAccountIamPolicyResult
Link copied to clipboard

Gets an individual WorkforcePool.

suspend fun getWorkforcePool(location: String, workforcePoolId: String): GetWorkforcePoolResult
Link copied to clipboard

Gets a WorkforcePoolProviderKey.

suspend fun getWorkforcePoolKey(keyId: String, location: String, providerId: String, workforcePoolId: String): GetWorkforcePoolKeyResult
Link copied to clipboard
Link copied to clipboard

Gets an individual WorkloadIdentityPool.

suspend fun getWorkloadIdentityPool(location: String, project: String? = null, workloadIdentityPoolId: String): GetWorkloadIdentityPoolResult
Link copied to clipboard

Gets an individual WorkloadIdentityPoolProviderKey.

suspend fun getWorkloadIdentityPoolKey(keyId: String, location: String, project: String? = null, providerId: String, workloadIdentityPoolId: String): GetWorkloadIdentityPoolKeyResult