public static class AccessApprovalAdminSettings.Builder extends ClientSettings.Builder<AccessApprovalAdminSettings,AccessApprovalAdminSettings.Builder>
Builder for AccessApprovalAdminSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(AccessApprovalAdminSettings settings)
protected Builder(AccessApprovalAdminSettings settings)
Builder(AccessApprovalStubSettings.Builder stubSettings)
protected Builder(AccessApprovalStubSettings.Builder stubSettings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public AccessApprovalAdminSettings.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.
approveApprovalRequestSettings()
public UnaryCallSettings.Builder<ApproveApprovalRequestMessage,ApprovalRequest> approveApprovalRequestSettings()
Returns the builder for the settings used for calls to approveApprovalRequest.
build()
public AccessApprovalAdminSettings build()
Overrides
deleteAccessApprovalSettingsSettings()
public UnaryCallSettings.Builder<DeleteAccessApprovalSettingsMessage,Empty> deleteAccessApprovalSettingsSettings()
Returns the builder for the settings used for calls to deleteAccessApprovalSettings.
dismissApprovalRequestSettings()
public UnaryCallSettings.Builder<DismissApprovalRequestMessage,ApprovalRequest> dismissApprovalRequestSettings()
Returns the builder for the settings used for calls to dismissApprovalRequest.
getAccessApprovalServiceAccountSettings()
public UnaryCallSettings.Builder<GetAccessApprovalServiceAccountMessage,AccessApprovalServiceAccount> getAccessApprovalServiceAccountSettings()
Returns the builder for the settings used for calls to getAccessApprovalServiceAccount.
getAccessApprovalSettingsSettings()
public UnaryCallSettings.Builder<GetAccessApprovalSettingsMessage,AccessApprovalSettings> getAccessApprovalSettingsSettings()
Returns the builder for the settings used for calls to getAccessApprovalSettings.
getApprovalRequestSettings()
public UnaryCallSettings.Builder<GetApprovalRequestMessage,ApprovalRequest> getApprovalRequestSettings()
Returns the builder for the settings used for calls to getApprovalRequest.
getStubSettingsBuilder()
public AccessApprovalStubSettings.Builder getStubSettingsBuilder()
invalidateApprovalRequestSettings()
public UnaryCallSettings.Builder<InvalidateApprovalRequestMessage,ApprovalRequest> invalidateApprovalRequestSettings()
Returns the builder for the settings used for calls to invalidateApprovalRequest.
listApprovalRequestsSettings()
public PagedCallSettings.Builder<ListApprovalRequestsMessage,ListApprovalRequestsResponse,AccessApprovalAdminClient.ListApprovalRequestsPagedResponse> listApprovalRequestsSettings()
Returns the builder for the settings used for calls to listApprovalRequests.
updateAccessApprovalSettingsSettings()
public UnaryCallSettings.Builder<UpdateAccessApprovalSettingsMessage,AccessApprovalSettings> updateAccessApprovalSettingsSettings()
Returns the builder for the settings used for calls to updateAccessApprovalSettings.