Send feedback
Class IAMSettings.Builder (3.42.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.42.0 keyboard_arrow_down
public static class IAMSettings . Builder extends ClientSettings . Builder<IAMSettings , IAMSettings . Builder >
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder ( ClientContext clientContext )
Builder(IAMSettings settings)
protected Builder ( IAMSettings settings )
Builder(IAMStubSettings.Builder stubSettings)
protected Builder ( IAMStubSettings . Builder stubSettings )
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public IAMSettings . Builder applyToAllUnaryMethods ( ApiFunction<UnaryCallSettings . Builder <? , ? >, Void > settingsUpdater )
Applies the given settings updater function to all of the unary API methods in this service.
Note: This method does not support applying settings to streaming methods.
build()
public IAMSettings build ()
Overrides
createRoleSettings()
public UnaryCallSettings . Builder<CreateRoleRequest , Role > createRoleSettings ()
Returns the builder for the settings used for calls to createRole.
createServiceAccountKeySettings()
public UnaryCallSettings . Builder<CreateServiceAccountKeyRequest , ServiceAccountKey > createServiceAccountKeySettings ()
Returns the builder for the settings used for calls to createServiceAccountKey.
createServiceAccountSettings()
public UnaryCallSettings . Builder<CreateServiceAccountRequest , ServiceAccount > createServiceAccountSettings ()
Returns the builder for the settings used for calls to createServiceAccount.
deleteRoleSettings()
public UnaryCallSettings . Builder<DeleteRoleRequest , Role > deleteRoleSettings ()
Returns the builder for the settings used for calls to deleteRole.
deleteServiceAccountKeySettings()
public UnaryCallSettings . Builder<DeleteServiceAccountKeyRequest , Empty > deleteServiceAccountKeySettings ()
Returns the builder for the settings used for calls to deleteServiceAccountKey.
deleteServiceAccountSettings()
public UnaryCallSettings . Builder<DeleteServiceAccountRequest , Empty > deleteServiceAccountSettings ()
Returns the builder for the settings used for calls to deleteServiceAccount.
disableServiceAccountKeySettings()
public UnaryCallSettings . Builder<DisableServiceAccountKeyRequest , Empty > disableServiceAccountKeySettings ()
Returns the builder for the settings used for calls to disableServiceAccountKey.
disableServiceAccountSettings()
public UnaryCallSettings . Builder<DisableServiceAccountRequest , Empty > disableServiceAccountSettings ()
Returns the builder for the settings used for calls to disableServiceAccount.
enableServiceAccountKeySettings()
public UnaryCallSettings . Builder<EnableServiceAccountKeyRequest , Empty > enableServiceAccountKeySettings ()
Returns the builder for the settings used for calls to enableServiceAccountKey.
enableServiceAccountSettings()
public UnaryCallSettings . Builder<EnableServiceAccountRequest , Empty > enableServiceAccountSettings ()
Returns the builder for the settings used for calls to enableServiceAccount.
getIamPolicySettings()
public UnaryCallSettings . Builder<GetIamPolicyRequest , Policy > getIamPolicySettings ()
Returns the builder for the settings used for calls to getIamPolicy.
Returns
Type
Description
Builder <com.google.iam.v1.GetIamPolicyRequest ,com.google.iam.v1.Policy >
getRoleSettings()
public UnaryCallSettings . Builder<GetRoleRequest , Role > getRoleSettings ()
Returns the builder for the settings used for calls to getRole.
getServiceAccountKeySettings()
public UnaryCallSettings . Builder<GetServiceAccountKeyRequest , ServiceAccountKey > getServiceAccountKeySettings ()
Returns the builder for the settings used for calls to getServiceAccountKey.
getServiceAccountSettings()
public UnaryCallSettings . Builder<GetServiceAccountRequest , ServiceAccount > getServiceAccountSettings ()
Returns the builder for the settings used for calls to getServiceAccount.
getStubSettingsBuilder()
public IAMStubSettings . Builder getStubSettingsBuilder ()
lintPolicySettings()
public UnaryCallSettings . Builder<LintPolicyRequest , LintPolicyResponse > lintPolicySettings ()
Returns the builder for the settings used for calls to lintPolicy.
listRolesSettings()
public PagedCallSettings . Builder<ListRolesRequest , ListRolesResponse , IAMClient . ListRolesPagedResponse > listRolesSettings ()
Returns the builder for the settings used for calls to listRoles.
listServiceAccountKeysSettings()
public UnaryCallSettings . Builder<ListServiceAccountKeysRequest , ListServiceAccountKeysResponse > listServiceAccountKeysSettings ()
Returns the builder for the settings used for calls to listServiceAccountKeys.
listServiceAccountsSettings()
public PagedCallSettings . Builder<ListServiceAccountsRequest , ListServiceAccountsResponse , IAMClient . ListServiceAccountsPagedResponse > listServiceAccountsSettings ()
Returns the builder for the settings used for calls to listServiceAccounts.
patchServiceAccountSettings()
public UnaryCallSettings . Builder<PatchServiceAccountRequest , ServiceAccount > patchServiceAccountSettings ()
Returns the builder for the settings used for calls to patchServiceAccount.
queryAuditableServicesSettings()
public UnaryCallSettings . Builder<QueryAuditableServicesRequest , QueryAuditableServicesResponse > queryAuditableServicesSettings ()
Returns the builder for the settings used for calls to queryAuditableServices.
queryGrantableRolesSettings()
public PagedCallSettings . Builder<QueryGrantableRolesRequest , QueryGrantableRolesResponse , IAMClient . QueryGrantableRolesPagedResponse > queryGrantableRolesSettings ()
Returns the builder for the settings used for calls to queryGrantableRoles.
queryTestablePermissionsSettings()
public PagedCallSettings . Builder<QueryTestablePermissionsRequest , QueryTestablePermissionsResponse , IAMClient . QueryTestablePermissionsPagedResponse > queryTestablePermissionsSettings ()
Returns the builder for the settings used for calls to queryTestablePermissions.
setIamPolicySettings()
public UnaryCallSettings . Builder<SetIamPolicyRequest , Policy > setIamPolicySettings ()
Returns the builder for the settings used for calls to setIamPolicy.
Returns
Type
Description
Builder <com.google.iam.v1.SetIamPolicyRequest ,com.google.iam.v1.Policy >
signBlobSettings() (deprecated)
public UnaryCallSettings . Builder<SignBlobRequest , SignBlobResponse > signBlobSettings ()
Deprecated. This method is deprecated and will be removed in the next major version update.
Returns the builder for the settings used for calls to signBlob.
signJwtSettings() (deprecated)
public UnaryCallSettings . Builder<SignJwtRequest , SignJwtResponse > signJwtSettings ()
Deprecated. This method is deprecated and will be removed in the next major version update.
Returns the builder for the settings used for calls to signJwt.
testIamPermissionsSettings()
public UnaryCallSettings . Builder<TestIamPermissionsRequest , TestIamPermissionsResponse > testIamPermissionsSettings ()
Returns the builder for the settings used for calls to testIamPermissions.
Returns
Type
Description
Builder <com.google.iam.v1.TestIamPermissionsRequest ,com.google.iam.v1.TestIamPermissionsResponse >
undeleteRoleSettings()
public UnaryCallSettings . Builder<UndeleteRoleRequest , Role > undeleteRoleSettings ()
Returns the builder for the settings used for calls to undeleteRole.
undeleteServiceAccountSettings()
public UnaryCallSettings . Builder<UndeleteServiceAccountRequest , UndeleteServiceAccountResponse > undeleteServiceAccountSettings ()
Returns the builder for the settings used for calls to undeleteServiceAccount.
updateRoleSettings()
public UnaryCallSettings . Builder<UpdateRoleRequest , Role > updateRoleSettings ()
Returns the builder for the settings used for calls to updateRole.
updateServiceAccountSettings()
public UnaryCallSettings . Builder<ServiceAccount , ServiceAccount > updateServiceAccountSettings ()
Returns the builder for the settings used for calls to updateServiceAccount.
uploadServiceAccountKeySettings()
public UnaryCallSettings . Builder<UploadServiceAccountKeyRequest , ServiceAccountKey > uploadServiceAccountKeySettings ()
Returns the builder for the settings used for calls to uploadServiceAccountKey.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]