Class SecurityCenterSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<SecurityCenterSettings,SecurityCenterSettings.Builder>
com.google.cloud.securitycenter.v1beta1.SecurityCenterSettings.Builder
- Enclosing class:
- SecurityCenterSettings
public static class SecurityCenterSettings.Builder
extends ClientSettings.Builder<SecurityCenterSettings,SecurityCenterSettings.Builder>
Builder for SecurityCenterSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(SecurityCenterSettings settings) protectedBuilder(SecurityCenterStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createFinding.Returns the builder for the settings used for calls to createSource.Returns the builder for the settings used for calls to getIamPolicy.Returns the builder for the settings used for calls to getOrganizationSettings.Returns the builder for the settings used for calls to getSource.PagedCallSettings.Builder<GroupAssetsRequest,GroupAssetsResponse, SecurityCenterClient.GroupAssetsPagedResponse> Returns the builder for the settings used for calls to groupAssets.PagedCallSettings.Builder<GroupFindingsRequest,GroupFindingsResponse, SecurityCenterClient.GroupFindingsPagedResponse> Returns the builder for the settings used for calls to groupFindings.PagedCallSettings.Builder<ListAssetsRequest,ListAssetsResponse, SecurityCenterClient.ListAssetsPagedResponse> Returns the builder for the settings used for calls to listAssets.PagedCallSettings.Builder<ListFindingsRequest,ListFindingsResponse, SecurityCenterClient.ListFindingsPagedResponse> Returns the builder for the settings used for calls to listFindings.PagedCallSettings.Builder<ListSourcesRequest,ListSourcesResponse, SecurityCenterClient.ListSourcesPagedResponse> Returns the builder for the settings used for calls to listSources.OperationCallSettings.Builder<RunAssetDiscoveryRequest,com.google.protobuf.Empty, com.google.protobuf.Empty> Returns the builder for the settings used for calls to runAssetDiscovery.Returns the builder for the settings used for calls to runAssetDiscovery.Returns the builder for the settings used for calls to setFindingState.Returns the builder for the settings used for calls to setIamPolicy.Returns the builder for the settings used for calls to testIamPermissions.Returns the builder for the settings used for calls to updateFinding.Returns the builder for the settings used for calls to updateOrganizationSettings.Returns the builder for the settings used for calls to updateSecurityMarks.Returns the builder for the settings used for calls to updateSource.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public SecurityCenterSettings.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.
-
createSourceSettings
Returns the builder for the settings used for calls to createSource. -
createFindingSettings
Returns the builder for the settings used for calls to createFinding. -
getIamPolicySettings
Returns the builder for the settings used for calls to getIamPolicy. -
getOrganizationSettingsSettings
public UnaryCallSettings.Builder<GetOrganizationSettingsRequest,OrganizationSettings> getOrganizationSettingsSettings()Returns the builder for the settings used for calls to getOrganizationSettings. -
getSourceSettings
Returns the builder for the settings used for calls to getSource. -
groupAssetsSettings
public PagedCallSettings.Builder<GroupAssetsRequest,GroupAssetsResponse, groupAssetsSettings()SecurityCenterClient.GroupAssetsPagedResponse> Returns the builder for the settings used for calls to groupAssets. -
groupFindingsSettings
public PagedCallSettings.Builder<GroupFindingsRequest,GroupFindingsResponse, groupFindingsSettings()SecurityCenterClient.GroupFindingsPagedResponse> Returns the builder for the settings used for calls to groupFindings. -
listAssetsSettings
public PagedCallSettings.Builder<ListAssetsRequest,ListAssetsResponse, listAssetsSettings()SecurityCenterClient.ListAssetsPagedResponse> Returns the builder for the settings used for calls to listAssets. -
listFindingsSettings
public PagedCallSettings.Builder<ListFindingsRequest,ListFindingsResponse, listFindingsSettings()SecurityCenterClient.ListFindingsPagedResponse> Returns the builder for the settings used for calls to listFindings. -
listSourcesSettings
public PagedCallSettings.Builder<ListSourcesRequest,ListSourcesResponse, listSourcesSettings()SecurityCenterClient.ListSourcesPagedResponse> Returns the builder for the settings used for calls to listSources. -
runAssetDiscoverySettings
Returns the builder for the settings used for calls to runAssetDiscovery. -
runAssetDiscoveryOperationSettings
public OperationCallSettings.Builder<RunAssetDiscoveryRequest,com.google.protobuf.Empty, runAssetDiscoveryOperationSettings()com.google.protobuf.Empty> Returns the builder for the settings used for calls to runAssetDiscovery. -
setFindingStateSettings
Returns the builder for the settings used for calls to setFindingState. -
setIamPolicySettings
Returns the builder for the settings used for calls to setIamPolicy. -
testIamPermissionsSettings
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()Returns the builder for the settings used for calls to testIamPermissions. -
updateFindingSettings
Returns the builder for the settings used for calls to updateFinding. -
updateOrganizationSettingsSettings
public UnaryCallSettings.Builder<UpdateOrganizationSettingsRequest,OrganizationSettings> updateOrganizationSettingsSettings()Returns the builder for the settings used for calls to updateOrganizationSettings. -
updateSourceSettings
Returns the builder for the settings used for calls to updateSource. -
updateSecurityMarksSettings
public UnaryCallSettings.Builder<UpdateSecurityMarksRequest,SecurityMarks> updateSecurityMarksSettings()Returns the builder for the settings used for calls to updateSecurityMarks. -
build
- Specified by:
buildin classClientSettings.Builder<SecurityCenterSettings,SecurityCenterSettings.Builder> - Throws:
IOException
-