Class IAMSettings.Builder (1.1.8)

public static class IAMSettings.Builder extends ClientSettings.Builder<IAMSettings,IAMSettings.Builder>

Builder for IAMSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > IAMSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(IAMSettings settings)

protected Builder(IAMSettings settings)
Parameter
NameDescription
settingsIAMSettings

Builder(IAMStubSettings.Builder stubSettings)

protected Builder(IAMStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsIAMStubSettings.Builder

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.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
IAMSettings.Builder

build()

public IAMSettings build()
Returns
TypeDescription
IAMSettings
Overrides Exceptions
TypeDescription
IOException

createRoleSettings()

public UnaryCallSettings.Builder<CreateRoleRequest,Role> createRoleSettings()

Returns the builder for the settings used for calls to createRole.

Returns
TypeDescription
Builder<CreateRoleRequest,Role>

createServiceAccountKeySettings()

public UnaryCallSettings.Builder<CreateServiceAccountKeyRequest,ServiceAccountKey> createServiceAccountKeySettings()

Returns the builder for the settings used for calls to createServiceAccountKey.

Returns
TypeDescription
Builder<CreateServiceAccountKeyRequest,ServiceAccountKey>

createServiceAccountSettings()

public UnaryCallSettings.Builder<CreateServiceAccountRequest,ServiceAccount> createServiceAccountSettings()

Returns the builder for the settings used for calls to createServiceAccount.

Returns
TypeDescription
Builder<CreateServiceAccountRequest,ServiceAccount>

deleteRoleSettings()

public UnaryCallSettings.Builder<DeleteRoleRequest,Role> deleteRoleSettings()

Returns the builder for the settings used for calls to deleteRole.

Returns
TypeDescription
Builder<DeleteRoleRequest,Role>

deleteServiceAccountKeySettings()

public UnaryCallSettings.Builder<DeleteServiceAccountKeyRequest,Empty> deleteServiceAccountKeySettings()

Returns the builder for the settings used for calls to deleteServiceAccountKey.

Returns
TypeDescription
Builder<DeleteServiceAccountKeyRequest,Empty>

deleteServiceAccountSettings()

public UnaryCallSettings.Builder<DeleteServiceAccountRequest,Empty> deleteServiceAccountSettings()

Returns the builder for the settings used for calls to deleteServiceAccount.

Returns
TypeDescription
Builder<DeleteServiceAccountRequest,Empty>

disableServiceAccountSettings()

public UnaryCallSettings.Builder<DisableServiceAccountRequest,Empty> disableServiceAccountSettings()

Returns the builder for the settings used for calls to disableServiceAccount.

Returns
TypeDescription
Builder<DisableServiceAccountRequest,Empty>

enableServiceAccountSettings()

public UnaryCallSettings.Builder<EnableServiceAccountRequest,Empty> enableServiceAccountSettings()

Returns the builder for the settings used for calls to enableServiceAccount.

Returns
TypeDescription
Builder<EnableServiceAccountRequest,Empty>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

Returns the builder for the settings used for calls to getIamPolicy.

Returns
TypeDescription
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.

Returns
TypeDescription
Builder<GetRoleRequest,Role>

getServiceAccountKeySettings()

public UnaryCallSettings.Builder<GetServiceAccountKeyRequest,ServiceAccountKey> getServiceAccountKeySettings()

Returns the builder for the settings used for calls to getServiceAccountKey.

Returns
TypeDescription
Builder<GetServiceAccountKeyRequest,ServiceAccountKey>

getServiceAccountSettings()

public UnaryCallSettings.Builder<GetServiceAccountRequest,ServiceAccount> getServiceAccountSettings()

Returns the builder for the settings used for calls to getServiceAccount.

Returns
TypeDescription
Builder<GetServiceAccountRequest,ServiceAccount>

getStubSettingsBuilder()

public IAMStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
IAMStubSettings.Builder

lintPolicySettings()

public UnaryCallSettings.Builder<LintPolicyRequest,LintPolicyResponse> lintPolicySettings()

Returns the builder for the settings used for calls to lintPolicy.

Returns
TypeDescription
Builder<LintPolicyRequest,LintPolicyResponse>

listRolesSettings()

public PagedCallSettings.Builder<ListRolesRequest,ListRolesResponse,IAMClient.ListRolesPagedResponse> listRolesSettings()

Returns the builder for the settings used for calls to listRoles.

Returns
TypeDescription
Builder<ListRolesRequest,ListRolesResponse,ListRolesPagedResponse>

listServiceAccountKeysSettings()

public UnaryCallSettings.Builder<ListServiceAccountKeysRequest,ListServiceAccountKeysResponse> listServiceAccountKeysSettings()

Returns the builder for the settings used for calls to listServiceAccountKeys.

Returns
TypeDescription
Builder<ListServiceAccountKeysRequest,ListServiceAccountKeysResponse>

listServiceAccountsSettings()

public PagedCallSettings.Builder<ListServiceAccountsRequest,ListServiceAccountsResponse,IAMClient.ListServiceAccountsPagedResponse> listServiceAccountsSettings()

Returns the builder for the settings used for calls to listServiceAccounts.

Returns
TypeDescription
Builder<ListServiceAccountsRequest,ListServiceAccountsResponse,ListServiceAccountsPagedResponse>

patchServiceAccountSettings()

public UnaryCallSettings.Builder<PatchServiceAccountRequest,ServiceAccount> patchServiceAccountSettings()

Returns the builder for the settings used for calls to patchServiceAccount.

Returns
TypeDescription
Builder<PatchServiceAccountRequest,ServiceAccount>

queryAuditableServicesSettings()

public UnaryCallSettings.Builder<QueryAuditableServicesRequest,QueryAuditableServicesResponse> queryAuditableServicesSettings()

Returns the builder for the settings used for calls to queryAuditableServices.

Returns
TypeDescription
Builder<QueryAuditableServicesRequest,QueryAuditableServicesResponse>

queryGrantableRolesSettings()

public PagedCallSettings.Builder<QueryGrantableRolesRequest,QueryGrantableRolesResponse,IAMClient.QueryGrantableRolesPagedResponse> queryGrantableRolesSettings()

Returns the builder for the settings used for calls to queryGrantableRoles.

Returns
TypeDescription
Builder<QueryGrantableRolesRequest,QueryGrantableRolesResponse,QueryGrantableRolesPagedResponse>

queryTestablePermissionsSettings()

public PagedCallSettings.Builder<QueryTestablePermissionsRequest,QueryTestablePermissionsResponse,IAMClient.QueryTestablePermissionsPagedResponse> queryTestablePermissionsSettings()

Returns the builder for the settings used for calls to queryTestablePermissions.

Returns
TypeDescription
Builder<QueryTestablePermissionsRequest,QueryTestablePermissionsResponse,QueryTestablePermissionsPagedResponse>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

Returns the builder for the settings used for calls to setIamPolicy.

Returns
TypeDescription
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.

Returns
TypeDescription
Builder<SignBlobRequest,SignBlobResponse>

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.

Returns
TypeDescription
Builder<SignJwtRequest,SignJwtResponse>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()

Returns the builder for the settings used for calls to testIamPermissions.

Returns
TypeDescription
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.

Returns
TypeDescription
Builder<UndeleteRoleRequest,Role>

undeleteServiceAccountSettings()

public UnaryCallSettings.Builder<UndeleteServiceAccountRequest,UndeleteServiceAccountResponse> undeleteServiceAccountSettings()

Returns the builder for the settings used for calls to undeleteServiceAccount.

Returns
TypeDescription
Builder<UndeleteServiceAccountRequest,UndeleteServiceAccountResponse>

updateRoleSettings()

public UnaryCallSettings.Builder<UpdateRoleRequest,Role> updateRoleSettings()

Returns the builder for the settings used for calls to updateRole.

Returns
TypeDescription
Builder<UpdateRoleRequest,Role>

updateServiceAccountSettings()

public UnaryCallSettings.Builder<ServiceAccount,ServiceAccount> updateServiceAccountSettings()

Returns the builder for the settings used for calls to updateServiceAccount.

Returns
TypeDescription
Builder<ServiceAccount,ServiceAccount>

uploadServiceAccountKeySettings()

public UnaryCallSettings.Builder<UploadServiceAccountKeyRequest,ServiceAccountKey> uploadServiceAccountKeySettings()

Returns the builder for the settings used for calls to uploadServiceAccountKey.

Returns
TypeDescription
Builder<UploadServiceAccountKeyRequest,ServiceAccountKey>