Class IAMStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<IAMStubSettings,IAMStubSettings.Builder>
-
- com.google.cloud.iam.admin.v1.stub.IAMStubSettings.Builder
-
- Enclosing class:
- IAMStubSettings
public static class IAMStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<IAMStubSettings,IAMStubSettings.Builder>
Builder for IAMStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(IAMStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description IAMStubSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.IAMStubSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateRoleRequest,Role>
createRoleSettings()
Returns the builder for the settings used for calls to createRole.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateServiceAccountKeyRequest,ServiceAccountKey>
createServiceAccountKeySettings()
Returns the builder for the settings used for calls to createServiceAccountKey.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateServiceAccountRequest,ServiceAccount>
createServiceAccountSettings()
Returns the builder for the settings used for calls to createServiceAccount.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteRoleRequest,Role>
deleteRoleSettings()
Returns the builder for the settings used for calls to deleteRole.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteServiceAccountKeyRequest,com.google.protobuf.Empty>
deleteServiceAccountKeySettings()
Returns the builder for the settings used for calls to deleteServiceAccountKey.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteServiceAccountRequest,com.google.protobuf.Empty>
deleteServiceAccountSettings()
Returns the builder for the settings used for calls to deleteServiceAccount.com.google.api.gax.rpc.UnaryCallSettings.Builder<DisableServiceAccountKeyRequest,com.google.protobuf.Empty>
disableServiceAccountKeySettings()
Returns the builder for the settings used for calls to disableServiceAccountKey.com.google.api.gax.rpc.UnaryCallSettings.Builder<DisableServiceAccountRequest,com.google.protobuf.Empty>
disableServiceAccountSettings()
Returns the builder for the settings used for calls to disableServiceAccount.com.google.api.gax.rpc.UnaryCallSettings.Builder<EnableServiceAccountKeyRequest,com.google.protobuf.Empty>
enableServiceAccountKeySettings()
Returns the builder for the settings used for calls to enableServiceAccountKey.com.google.api.gax.rpc.UnaryCallSettings.Builder<EnableServiceAccountRequest,com.google.protobuf.Empty>
enableServiceAccountSettings()
Returns the builder for the settings used for calls to enableServiceAccount.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetRoleRequest,Role>
getRoleSettings()
Returns the builder for the settings used for calls to getRole.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetServiceAccountKeyRequest,ServiceAccountKey>
getServiceAccountKeySettings()
Returns the builder for the settings used for calls to getServiceAccountKey.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetServiceAccountRequest,ServiceAccount>
getServiceAccountSettings()
Returns the builder for the settings used for calls to getServiceAccount.com.google.api.gax.rpc.UnaryCallSettings.Builder<LintPolicyRequest,LintPolicyResponse>
lintPolicySettings()
Returns the builder for the settings used for calls to lintPolicy.com.google.api.gax.rpc.PagedCallSettings.Builder<ListRolesRequest,ListRolesResponse,IAMClient.ListRolesPagedResponse>
listRolesSettings()
Returns the builder for the settings used for calls to listRoles.com.google.api.gax.rpc.UnaryCallSettings.Builder<ListServiceAccountKeysRequest,ListServiceAccountKeysResponse>
listServiceAccountKeysSettings()
Returns the builder for the settings used for calls to listServiceAccountKeys.com.google.api.gax.rpc.PagedCallSettings.Builder<ListServiceAccountsRequest,ListServiceAccountsResponse,IAMClient.ListServiceAccountsPagedResponse>
listServiceAccountsSettings()
Returns the builder for the settings used for calls to listServiceAccounts.com.google.api.gax.rpc.UnaryCallSettings.Builder<PatchServiceAccountRequest,ServiceAccount>
patchServiceAccountSettings()
Returns the builder for the settings used for calls to patchServiceAccount.com.google.api.gax.rpc.UnaryCallSettings.Builder<QueryAuditableServicesRequest,QueryAuditableServicesResponse>
queryAuditableServicesSettings()
Returns the builder for the settings used for calls to queryAuditableServices.com.google.api.gax.rpc.PagedCallSettings.Builder<QueryGrantableRolesRequest,QueryGrantableRolesResponse,IAMClient.QueryGrantableRolesPagedResponse>
queryGrantableRolesSettings()
Returns the builder for the settings used for calls to queryGrantableRoles.com.google.api.gax.rpc.PagedCallSettings.Builder<QueryTestablePermissionsRequest,QueryTestablePermissionsResponse,IAMClient.QueryTestablePermissionsPagedResponse>
queryTestablePermissionsSettings()
Returns the builder for the settings used for calls to queryTestablePermissions.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<SignBlobRequest,SignBlobResponse>
signBlobSettings()
Deprecated.This method is deprecated and will be removed in the next major version update.com.google.api.gax.rpc.UnaryCallSettings.Builder<SignJwtRequest,SignJwtResponse>
signJwtSettings()
Deprecated.This method is deprecated and will be removed in the next major version update.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
com.google.api.gax.rpc.UnaryCallSettings.Builder<UndeleteRoleRequest,Role>
undeleteRoleSettings()
Returns the builder for the settings used for calls to undeleteRole.com.google.api.gax.rpc.UnaryCallSettings.Builder<UndeleteServiceAccountRequest,UndeleteServiceAccountResponse>
undeleteServiceAccountSettings()
Returns the builder for the settings used for calls to undeleteServiceAccount.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateRoleRequest,Role>
updateRoleSettings()
Returns the builder for the settings used for calls to updateRole.com.google.api.gax.rpc.UnaryCallSettings.Builder<ServiceAccount,ServiceAccount>
updateServiceAccountSettings()
Returns the builder for the settings used for calls to updateServiceAccount.com.google.api.gax.rpc.UnaryCallSettings.Builder<UploadServiceAccountKeyRequest,ServiceAccountKey>
uploadServiceAccountKeySettings()
Returns the builder for the settings used for calls to uploadServiceAccountKey.-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(IAMStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public IAMStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
listServiceAccountsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListServiceAccountsRequest,ListServiceAccountsResponse,IAMClient.ListServiceAccountsPagedResponse> listServiceAccountsSettings()
Returns the builder for the settings used for calls to listServiceAccounts.
-
getServiceAccountSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetServiceAccountRequest,ServiceAccount> getServiceAccountSettings()
Returns the builder for the settings used for calls to getServiceAccount.
-
createServiceAccountSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateServiceAccountRequest,ServiceAccount> createServiceAccountSettings()
Returns the builder for the settings used for calls to createServiceAccount.
-
updateServiceAccountSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ServiceAccount,ServiceAccount> updateServiceAccountSettings()
Returns the builder for the settings used for calls to updateServiceAccount.
-
patchServiceAccountSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<PatchServiceAccountRequest,ServiceAccount> patchServiceAccountSettings()
Returns the builder for the settings used for calls to patchServiceAccount.
-
deleteServiceAccountSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteServiceAccountRequest,com.google.protobuf.Empty> deleteServiceAccountSettings()
Returns the builder for the settings used for calls to deleteServiceAccount.
-
undeleteServiceAccountSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UndeleteServiceAccountRequest,UndeleteServiceAccountResponse> undeleteServiceAccountSettings()
Returns the builder for the settings used for calls to undeleteServiceAccount.
-
enableServiceAccountSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<EnableServiceAccountRequest,com.google.protobuf.Empty> enableServiceAccountSettings()
Returns the builder for the settings used for calls to enableServiceAccount.
-
disableServiceAccountSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DisableServiceAccountRequest,com.google.protobuf.Empty> disableServiceAccountSettings()
Returns the builder for the settings used for calls to disableServiceAccount.
-
listServiceAccountKeysSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ListServiceAccountKeysRequest,ListServiceAccountKeysResponse> listServiceAccountKeysSettings()
Returns the builder for the settings used for calls to listServiceAccountKeys.
-
getServiceAccountKeySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetServiceAccountKeyRequest,ServiceAccountKey> getServiceAccountKeySettings()
Returns the builder for the settings used for calls to getServiceAccountKey.
-
createServiceAccountKeySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateServiceAccountKeyRequest,ServiceAccountKey> createServiceAccountKeySettings()
Returns the builder for the settings used for calls to createServiceAccountKey.
-
uploadServiceAccountKeySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UploadServiceAccountKeyRequest,ServiceAccountKey> uploadServiceAccountKeySettings()
Returns the builder for the settings used for calls to uploadServiceAccountKey.
-
deleteServiceAccountKeySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteServiceAccountKeyRequest,com.google.protobuf.Empty> deleteServiceAccountKeySettings()
Returns the builder for the settings used for calls to deleteServiceAccountKey.
-
disableServiceAccountKeySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DisableServiceAccountKeyRequest,com.google.protobuf.Empty> disableServiceAccountKeySettings()
Returns the builder for the settings used for calls to disableServiceAccountKey.
-
enableServiceAccountKeySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<EnableServiceAccountKeyRequest,com.google.protobuf.Empty> enableServiceAccountKeySettings()
Returns the builder for the settings used for calls to enableServiceAccountKey.
-
signBlobSettings
@Deprecated public com.google.api.gax.rpc.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 com.google.api.gax.rpc.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.
-
getIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
-
setIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
-
testIamPermissionsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
-
queryGrantableRolesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<QueryGrantableRolesRequest,QueryGrantableRolesResponse,IAMClient.QueryGrantableRolesPagedResponse> queryGrantableRolesSettings()
Returns the builder for the settings used for calls to queryGrantableRoles.
-
listRolesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListRolesRequest,ListRolesResponse,IAMClient.ListRolesPagedResponse> listRolesSettings()
Returns the builder for the settings used for calls to listRoles.
-
getRoleSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetRoleRequest,Role> getRoleSettings()
Returns the builder for the settings used for calls to getRole.
-
createRoleSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateRoleRequest,Role> createRoleSettings()
Returns the builder for the settings used for calls to createRole.
-
updateRoleSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateRoleRequest,Role> updateRoleSettings()
Returns the builder for the settings used for calls to updateRole.
-
deleteRoleSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteRoleRequest,Role> deleteRoleSettings()
Returns the builder for the settings used for calls to deleteRole.
-
undeleteRoleSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UndeleteRoleRequest,Role> undeleteRoleSettings()
Returns the builder for the settings used for calls to undeleteRole.
-
queryTestablePermissionsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<QueryTestablePermissionsRequest,QueryTestablePermissionsResponse,IAMClient.QueryTestablePermissionsPagedResponse> queryTestablePermissionsSettings()
Returns the builder for the settings used for calls to queryTestablePermissions.
-
queryAuditableServicesSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<QueryAuditableServicesRequest,QueryAuditableServicesResponse> queryAuditableServicesSettings()
Returns the builder for the settings used for calls to queryAuditableServices.
-
lintPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<LintPolicyRequest,LintPolicyResponse> lintPolicySettings()
Returns the builder for the settings used for calls to lintPolicy.
-
build
public IAMStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<IAMStubSettings,IAMStubSettings.Builder>
- Throws:
IOException
-
-