Class SecurityCenterSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<SecurityCenterSettings,SecurityCenterSettings.Builder>
-
- com.google.cloud.securitycenter.v1p1beta1.SecurityCenterSettings.Builder
-
- Enclosing class:
- SecurityCenterSettings
public static class SecurityCenterSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<SecurityCenterSettings,SecurityCenterSettings.Builder>
Builder for SecurityCenterSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(SecurityCenterSettings settings)
protected
Builder(SecurityCenterStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityCenterSettings.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.SecurityCenterSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateFindingRequest,Finding>
createFindingSettings()
Returns the builder for the settings used for calls to createFinding.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateNotificationConfigRequest,NotificationConfig>
createNotificationConfigSettings()
Returns the builder for the settings used for calls to createNotificationConfig.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateSourceRequest,Source>
createSourceSettings()
Returns the builder for the settings used for calls to createSource.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteNotificationConfigRequest,com.google.protobuf.Empty>
deleteNotificationConfigSettings()
Returns the builder for the settings used for calls to deleteNotificationConfig.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<GetNotificationConfigRequest,NotificationConfig>
getNotificationConfigSettings()
Returns the builder for the settings used for calls to getNotificationConfig.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetOrganizationSettingsRequest,OrganizationSettings>
getOrganizationSettingsSettings()
Returns the builder for the settings used for calls to getOrganizationSettings.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSourceRequest,Source>
getSourceSettings()
Returns the builder for the settings used for calls to getSource.SecurityCenterStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<GroupAssetsRequest,GroupAssetsResponse,SecurityCenterClient.GroupAssetsPagedResponse>
groupAssetsSettings()
Returns the builder for the settings used for calls to groupAssets.com.google.api.gax.rpc.PagedCallSettings.Builder<GroupFindingsRequest,GroupFindingsResponse,SecurityCenterClient.GroupFindingsPagedResponse>
groupFindingsSettings()
Returns the builder for the settings used for calls to groupFindings.com.google.api.gax.rpc.PagedCallSettings.Builder<ListAssetsRequest,ListAssetsResponse,SecurityCenterClient.ListAssetsPagedResponse>
listAssetsSettings()
Returns the builder for the settings used for calls to listAssets.com.google.api.gax.rpc.PagedCallSettings.Builder<ListFindingsRequest,ListFindingsResponse,SecurityCenterClient.ListFindingsPagedResponse>
listFindingsSettings()
Returns the builder for the settings used for calls to listFindings.com.google.api.gax.rpc.PagedCallSettings.Builder<ListNotificationConfigsRequest,ListNotificationConfigsResponse,SecurityCenterClient.ListNotificationConfigsPagedResponse>
listNotificationConfigsSettings()
Returns the builder for the settings used for calls to listNotificationConfigs.com.google.api.gax.rpc.PagedCallSettings.Builder<ListSourcesRequest,ListSourcesResponse,SecurityCenterClient.ListSourcesPagedResponse>
listSourcesSettings()
Returns the builder for the settings used for calls to listSources.com.google.api.gax.rpc.OperationCallSettings.Builder<RunAssetDiscoveryRequest,RunAssetDiscoveryResponse,com.google.protobuf.Empty>
runAssetDiscoveryOperationSettings()
Returns the builder for the settings used for calls to runAssetDiscovery.com.google.api.gax.rpc.UnaryCallSettings.Builder<RunAssetDiscoveryRequest,com.google.longrunning.Operation>
runAssetDiscoverySettings()
Returns the builder for the settings used for calls to runAssetDiscovery.com.google.api.gax.rpc.UnaryCallSettings.Builder<SetFindingStateRequest,Finding>
setFindingStateSettings()
Returns the builder for the settings used for calls to setFindingState.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<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateFindingRequest,Finding>
updateFindingSettings()
Returns the builder for the settings used for calls to updateFinding.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateNotificationConfigRequest,NotificationConfig>
updateNotificationConfigSettings()
Returns the builder for the settings used for calls to updateNotificationConfig.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateOrganizationSettingsRequest,OrganizationSettings>
updateOrganizationSettingsSettings()
Returns the builder for the settings used for calls to updateOrganizationSettings.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateSecurityMarksRequest,SecurityMarks>
updateSecurityMarksSettings()
Returns the builder for the settings used for calls to updateSecurityMarks.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateSourceRequest,Source>
updateSourceSettings()
Returns the builder for the settings used for calls to updateSource.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(SecurityCenterSettings settings)
-
Builder
protected Builder(SecurityCenterStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public SecurityCenterStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public SecurityCenterSettings.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.
-
createSourceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateSourceRequest,Source> createSourceSettings()
Returns the builder for the settings used for calls to createSource.
-
createFindingSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateFindingRequest,Finding> createFindingSettings()
Returns the builder for the settings used for calls to createFinding.
-
createNotificationConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateNotificationConfigRequest,NotificationConfig> createNotificationConfigSettings()
Returns the builder for the settings used for calls to createNotificationConfig.
-
deleteNotificationConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteNotificationConfigRequest,com.google.protobuf.Empty> deleteNotificationConfigSettings()
Returns the builder for the settings used for calls to deleteNotificationConfig.
-
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.
-
getNotificationConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetNotificationConfigRequest,NotificationConfig> getNotificationConfigSettings()
Returns the builder for the settings used for calls to getNotificationConfig.
-
getOrganizationSettingsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetOrganizationSettingsRequest,OrganizationSettings> getOrganizationSettingsSettings()
Returns the builder for the settings used for calls to getOrganizationSettings.
-
getSourceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSourceRequest,Source> getSourceSettings()
Returns the builder for the settings used for calls to getSource.
-
groupAssetsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<GroupAssetsRequest,GroupAssetsResponse,SecurityCenterClient.GroupAssetsPagedResponse> groupAssetsSettings()
Returns the builder for the settings used for calls to groupAssets.
-
groupFindingsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<GroupFindingsRequest,GroupFindingsResponse,SecurityCenterClient.GroupFindingsPagedResponse> groupFindingsSettings()
Returns the builder for the settings used for calls to groupFindings.
-
listAssetsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListAssetsRequest,ListAssetsResponse,SecurityCenterClient.ListAssetsPagedResponse> listAssetsSettings()
Returns the builder for the settings used for calls to listAssets.
-
listFindingsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListFindingsRequest,ListFindingsResponse,SecurityCenterClient.ListFindingsPagedResponse> listFindingsSettings()
Returns the builder for the settings used for calls to listFindings.
-
listNotificationConfigsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListNotificationConfigsRequest,ListNotificationConfigsResponse,SecurityCenterClient.ListNotificationConfigsPagedResponse> listNotificationConfigsSettings()
Returns the builder for the settings used for calls to listNotificationConfigs.
-
listSourcesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListSourcesRequest,ListSourcesResponse,SecurityCenterClient.ListSourcesPagedResponse> listSourcesSettings()
Returns the builder for the settings used for calls to listSources.
-
runAssetDiscoverySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RunAssetDiscoveryRequest,com.google.longrunning.Operation> runAssetDiscoverySettings()
Returns the builder for the settings used for calls to runAssetDiscovery.
-
runAssetDiscoveryOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<RunAssetDiscoveryRequest,RunAssetDiscoveryResponse,com.google.protobuf.Empty> runAssetDiscoveryOperationSettings()
Returns the builder for the settings used for calls to runAssetDiscovery.
-
setFindingStateSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetFindingStateRequest,Finding> setFindingStateSettings()
Returns the builder for the settings used for calls to setFindingState.
-
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.
-
updateFindingSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateFindingRequest,Finding> updateFindingSettings()
Returns the builder for the settings used for calls to updateFinding.
-
updateNotificationConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateNotificationConfigRequest,NotificationConfig> updateNotificationConfigSettings()
Returns the builder for the settings used for calls to updateNotificationConfig.
-
updateOrganizationSettingsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateOrganizationSettingsRequest,OrganizationSettings> updateOrganizationSettingsSettings()
Returns the builder for the settings used for calls to updateOrganizationSettings.
-
updateSourceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateSourceRequest,Source> updateSourceSettings()
Returns the builder for the settings used for calls to updateSource.
-
updateSecurityMarksSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateSecurityMarksRequest,SecurityMarks> updateSecurityMarksSettings()
Returns the builder for the settings used for calls to updateSecurityMarks.
-
build
public SecurityCenterSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<SecurityCenterSettings,SecurityCenterSettings.Builder>
- Throws:
IOException
-
-