Class SecurityCenterManagementSettings
java.lang.Object
com.google.api.gax.rpc.ClientSettings<SecurityCenterManagementSettings>
com.google.cloud.securitycentermanagement.v1.SecurityCenterManagementSettings
@Generated("by gapic-generator-java")
public class SecurityCenterManagementSettings
extends ClientSettings<SecurityCenterManagementSettings>
Settings class to configure an instance of
SecurityCenterManagementClient.
The default instance has everything set to sensible defaults:
- The default service address (securitycentermanagement.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.
For example, to set the [RetrySettings](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.retrying.RetrySettings) of getEffectiveSecurityHealthAnalyticsCustomModule:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
SecurityCenterManagementSettings.Builder securityCenterManagementSettingsBuilder =
SecurityCenterManagementSettings.newBuilder();
securityCenterManagementSettingsBuilder
.getEffectiveSecurityHealthAnalyticsCustomModuleSettings()
.setRetrySettings(
securityCenterManagementSettingsBuilder
.getEffectiveSecurityHealthAnalyticsCustomModuleSettings()
.getRetrySettings()
.toBuilder()
.setInitialRetryDelayDuration(Duration.ofSeconds(1))
.setInitialRpcTimeoutDuration(Duration.ofSeconds(5))
.setMaxAttempts(5)
.setMaxRetryDelayDuration(Duration.ofSeconds(30))
.setMaxRpcTimeoutDuration(Duration.ofSeconds(60))
.setRetryDelayMultiplier(1.3)
.setRpcTimeoutMultiplier(1.5)
.setTotalTimeoutDuration(Duration.ofSeconds(300))
.build());
SecurityCenterManagementSettings securityCenterManagementSettings =
securityCenterManagementSettingsBuilder.build();
Please refer to the [Client Side Retry
Guide](https://docs.cloud.google.com/java/docs/client-retries) for additional support in setting
retries.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for SecurityCenterManagementSettings. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSecurityCenterManagementSettings(SecurityCenterManagementSettings.Builder settingsBuilder) -
Method Summary
Modifier and TypeMethodDescriptionstatic final SecurityCenterManagementSettingsReturns the object with the settings used for calls to createEventThreatDetectionCustomModule.UnaryCallSettings<CreateSecurityHealthAnalyticsCustomModuleRequest,SecurityHealthAnalyticsCustomModule> Returns the object with the settings used for calls to createSecurityHealthAnalyticsCustomModule.Returns a builder for the default credentials for this service.Returns a builder for the default ExecutorProvider for this service.Returns a builder for the default gRPC ChannelProvider for this service.Returns a builder for the default REST ChannelProvider for this service.static TransportChannelProviderUnaryCallSettings<DeleteEventThreatDetectionCustomModuleRequest,com.google.protobuf.Empty> Returns the object with the settings used for calls to deleteEventThreatDetectionCustomModule.UnaryCallSettings<DeleteSecurityHealthAnalyticsCustomModuleRequest,com.google.protobuf.Empty> Returns the object with the settings used for calls to deleteSecurityHealthAnalyticsCustomModule.static StringReturns the default service endpoint.Returns the default service scopes.UnaryCallSettings<GetEffectiveEventThreatDetectionCustomModuleRequest,EffectiveEventThreatDetectionCustomModule> Returns the object with the settings used for calls to getEffectiveEventThreatDetectionCustomModule.UnaryCallSettings<GetEffectiveSecurityHealthAnalyticsCustomModuleRequest,EffectiveSecurityHealthAnalyticsCustomModule> Returns the object with the settings used for calls to getEffectiveSecurityHealthAnalyticsCustomModule.Returns the object with the settings used for calls to getEventThreatDetectionCustomModule.Returns the object with the settings used for calls to getLocation.Returns the object with the settings used for calls to getSecurityCenterService.UnaryCallSettings<GetSecurityHealthAnalyticsCustomModuleRequest,SecurityHealthAnalyticsCustomModule> Returns the object with the settings used for calls to getSecurityHealthAnalyticsCustomModule.PagedCallSettings<ListDescendantEventThreatDetectionCustomModulesRequest,ListDescendantEventThreatDetectionCustomModulesResponse, SecurityCenterManagementClient.ListDescendantEventThreatDetectionCustomModulesPagedResponse> Returns the object with the settings used for calls to listDescendantEventThreatDetectionCustomModules.PagedCallSettings<ListDescendantSecurityHealthAnalyticsCustomModulesRequest,ListDescendantSecurityHealthAnalyticsCustomModulesResponse, SecurityCenterManagementClient.ListDescendantSecurityHealthAnalyticsCustomModulesPagedResponse> Returns the object with the settings used for calls to listDescendantSecurityHealthAnalyticsCustomModules.PagedCallSettings<ListEffectiveEventThreatDetectionCustomModulesRequest,ListEffectiveEventThreatDetectionCustomModulesResponse, SecurityCenterManagementClient.ListEffectiveEventThreatDetectionCustomModulesPagedResponse> Returns the object with the settings used for calls to listEffectiveEventThreatDetectionCustomModules.PagedCallSettings<ListEffectiveSecurityHealthAnalyticsCustomModulesRequest,ListEffectiveSecurityHealthAnalyticsCustomModulesResponse, SecurityCenterManagementClient.ListEffectiveSecurityHealthAnalyticsCustomModulesPagedResponse> Returns the object with the settings used for calls to listEffectiveSecurityHealthAnalyticsCustomModules.PagedCallSettings<ListEventThreatDetectionCustomModulesRequest,ListEventThreatDetectionCustomModulesResponse, SecurityCenterManagementClient.ListEventThreatDetectionCustomModulesPagedResponse> Returns the object with the settings used for calls to listEventThreatDetectionCustomModules.PagedCallSettings<ListLocationsRequest,ListLocationsResponse, SecurityCenterManagementClient.ListLocationsPagedResponse> Returns the object with the settings used for calls to listLocations.PagedCallSettings<ListSecurityCenterServicesRequest,ListSecurityCenterServicesResponse, SecurityCenterManagementClient.ListSecurityCenterServicesPagedResponse> Returns the object with the settings used for calls to listSecurityCenterServices.PagedCallSettings<ListSecurityHealthAnalyticsCustomModulesRequest,ListSecurityHealthAnalyticsCustomModulesResponse, SecurityCenterManagementClient.ListSecurityHealthAnalyticsCustomModulesPagedResponse> Returns the object with the settings used for calls to listSecurityHealthAnalyticsCustomModules.Returns a new gRPC builder for this class.newBuilder(ClientContext clientContext) Returns a new builder for this class.Returns a new REST builder for this class.UnaryCallSettings<SimulateSecurityHealthAnalyticsCustomModuleRequest,SimulateSecurityHealthAnalyticsCustomModuleResponse> Returns the object with the settings used for calls to simulateSecurityHealthAnalyticsCustomModule.Returns a builder containing all the values of this settings class.Returns the object with the settings used for calls to updateEventThreatDetectionCustomModule.Returns the object with the settings used for calls to updateSecurityCenterService.UnaryCallSettings<UpdateSecurityHealthAnalyticsCustomModuleRequest,SecurityHealthAnalyticsCustomModule> Returns the object with the settings used for calls to updateSecurityHealthAnalyticsCustomModule.UnaryCallSettings<ValidateEventThreatDetectionCustomModuleRequest,ValidateEventThreatDetectionCustomModuleResponse> Returns the object with the settings used for calls to validateEventThreatDetectionCustomModule.Methods inherited from class com.google.api.gax.rpc.ClientSettings
getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getUniverseDomain, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, toString
-
Constructor Details
-
SecurityCenterManagementSettings
protected SecurityCenterManagementSettings(SecurityCenterManagementSettings.Builder settingsBuilder) throws IOException - Throws:
IOException
-
-
Method Details
-
listEffectiveSecurityHealthAnalyticsCustomModulesSettings
public PagedCallSettings<ListEffectiveSecurityHealthAnalyticsCustomModulesRequest,ListEffectiveSecurityHealthAnalyticsCustomModulesResponse, listEffectiveSecurityHealthAnalyticsCustomModulesSettings()SecurityCenterManagementClient.ListEffectiveSecurityHealthAnalyticsCustomModulesPagedResponse> Returns the object with the settings used for calls to listEffectiveSecurityHealthAnalyticsCustomModules. -
getEffectiveSecurityHealthAnalyticsCustomModuleSettings
public UnaryCallSettings<GetEffectiveSecurityHealthAnalyticsCustomModuleRequest,EffectiveSecurityHealthAnalyticsCustomModule> getEffectiveSecurityHealthAnalyticsCustomModuleSettings()Returns the object with the settings used for calls to getEffectiveSecurityHealthAnalyticsCustomModule. -
listSecurityHealthAnalyticsCustomModulesSettings
public PagedCallSettings<ListSecurityHealthAnalyticsCustomModulesRequest,ListSecurityHealthAnalyticsCustomModulesResponse, listSecurityHealthAnalyticsCustomModulesSettings()SecurityCenterManagementClient.ListSecurityHealthAnalyticsCustomModulesPagedResponse> Returns the object with the settings used for calls to listSecurityHealthAnalyticsCustomModules. -
listDescendantSecurityHealthAnalyticsCustomModulesSettings
public PagedCallSettings<ListDescendantSecurityHealthAnalyticsCustomModulesRequest,ListDescendantSecurityHealthAnalyticsCustomModulesResponse, listDescendantSecurityHealthAnalyticsCustomModulesSettings()SecurityCenterManagementClient.ListDescendantSecurityHealthAnalyticsCustomModulesPagedResponse> Returns the object with the settings used for calls to listDescendantSecurityHealthAnalyticsCustomModules. -
getSecurityHealthAnalyticsCustomModuleSettings
public UnaryCallSettings<GetSecurityHealthAnalyticsCustomModuleRequest,SecurityHealthAnalyticsCustomModule> getSecurityHealthAnalyticsCustomModuleSettings()Returns the object with the settings used for calls to getSecurityHealthAnalyticsCustomModule. -
createSecurityHealthAnalyticsCustomModuleSettings
public UnaryCallSettings<CreateSecurityHealthAnalyticsCustomModuleRequest,SecurityHealthAnalyticsCustomModule> createSecurityHealthAnalyticsCustomModuleSettings()Returns the object with the settings used for calls to createSecurityHealthAnalyticsCustomModule. -
updateSecurityHealthAnalyticsCustomModuleSettings
public UnaryCallSettings<UpdateSecurityHealthAnalyticsCustomModuleRequest,SecurityHealthAnalyticsCustomModule> updateSecurityHealthAnalyticsCustomModuleSettings()Returns the object with the settings used for calls to updateSecurityHealthAnalyticsCustomModule. -
deleteSecurityHealthAnalyticsCustomModuleSettings
public UnaryCallSettings<DeleteSecurityHealthAnalyticsCustomModuleRequest,com.google.protobuf.Empty> deleteSecurityHealthAnalyticsCustomModuleSettings()Returns the object with the settings used for calls to deleteSecurityHealthAnalyticsCustomModule. -
simulateSecurityHealthAnalyticsCustomModuleSettings
public UnaryCallSettings<SimulateSecurityHealthAnalyticsCustomModuleRequest,SimulateSecurityHealthAnalyticsCustomModuleResponse> simulateSecurityHealthAnalyticsCustomModuleSettings()Returns the object with the settings used for calls to simulateSecurityHealthAnalyticsCustomModule. -
listEffectiveEventThreatDetectionCustomModulesSettings
public PagedCallSettings<ListEffectiveEventThreatDetectionCustomModulesRequest,ListEffectiveEventThreatDetectionCustomModulesResponse, listEffectiveEventThreatDetectionCustomModulesSettings()SecurityCenterManagementClient.ListEffectiveEventThreatDetectionCustomModulesPagedResponse> Returns the object with the settings used for calls to listEffectiveEventThreatDetectionCustomModules. -
getEffectiveEventThreatDetectionCustomModuleSettings
public UnaryCallSettings<GetEffectiveEventThreatDetectionCustomModuleRequest,EffectiveEventThreatDetectionCustomModule> getEffectiveEventThreatDetectionCustomModuleSettings()Returns the object with the settings used for calls to getEffectiveEventThreatDetectionCustomModule. -
listEventThreatDetectionCustomModulesSettings
public PagedCallSettings<ListEventThreatDetectionCustomModulesRequest,ListEventThreatDetectionCustomModulesResponse, listEventThreatDetectionCustomModulesSettings()SecurityCenterManagementClient.ListEventThreatDetectionCustomModulesPagedResponse> Returns the object with the settings used for calls to listEventThreatDetectionCustomModules. -
listDescendantEventThreatDetectionCustomModulesSettings
public PagedCallSettings<ListDescendantEventThreatDetectionCustomModulesRequest,ListDescendantEventThreatDetectionCustomModulesResponse, listDescendantEventThreatDetectionCustomModulesSettings()SecurityCenterManagementClient.ListDescendantEventThreatDetectionCustomModulesPagedResponse> Returns the object with the settings used for calls to listDescendantEventThreatDetectionCustomModules. -
getEventThreatDetectionCustomModuleSettings
public UnaryCallSettings<GetEventThreatDetectionCustomModuleRequest,EventThreatDetectionCustomModule> getEventThreatDetectionCustomModuleSettings()Returns the object with the settings used for calls to getEventThreatDetectionCustomModule. -
createEventThreatDetectionCustomModuleSettings
public UnaryCallSettings<CreateEventThreatDetectionCustomModuleRequest,EventThreatDetectionCustomModule> createEventThreatDetectionCustomModuleSettings()Returns the object with the settings used for calls to createEventThreatDetectionCustomModule. -
updateEventThreatDetectionCustomModuleSettings
public UnaryCallSettings<UpdateEventThreatDetectionCustomModuleRequest,EventThreatDetectionCustomModule> updateEventThreatDetectionCustomModuleSettings()Returns the object with the settings used for calls to updateEventThreatDetectionCustomModule. -
deleteEventThreatDetectionCustomModuleSettings
public UnaryCallSettings<DeleteEventThreatDetectionCustomModuleRequest,com.google.protobuf.Empty> deleteEventThreatDetectionCustomModuleSettings()Returns the object with the settings used for calls to deleteEventThreatDetectionCustomModule. -
validateEventThreatDetectionCustomModuleSettings
public UnaryCallSettings<ValidateEventThreatDetectionCustomModuleRequest,ValidateEventThreatDetectionCustomModuleResponse> validateEventThreatDetectionCustomModuleSettings()Returns the object with the settings used for calls to validateEventThreatDetectionCustomModule. -
getSecurityCenterServiceSettings
public UnaryCallSettings<GetSecurityCenterServiceRequest,SecurityCenterService> getSecurityCenterServiceSettings()Returns the object with the settings used for calls to getSecurityCenterService. -
listSecurityCenterServicesSettings
public PagedCallSettings<ListSecurityCenterServicesRequest,ListSecurityCenterServicesResponse, listSecurityCenterServicesSettings()SecurityCenterManagementClient.ListSecurityCenterServicesPagedResponse> Returns the object with the settings used for calls to listSecurityCenterServices. -
updateSecurityCenterServiceSettings
public UnaryCallSettings<UpdateSecurityCenterServiceRequest,SecurityCenterService> updateSecurityCenterServiceSettings()Returns the object with the settings used for calls to updateSecurityCenterService. -
listLocationsSettings
public PagedCallSettings<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()SecurityCenterManagementClient.ListLocationsPagedResponse> Returns the object with the settings used for calls to listLocations. -
getLocationSettings
Returns the object with the settings used for calls to getLocation. -
create
public static final SecurityCenterManagementSettings create(SecurityCenterManagementStubSettings stub) throws IOException - Throws:
IOException
-
defaultExecutorProviderBuilder
Returns a builder for the default ExecutorProvider for this service. -
getDefaultEndpoint
Returns the default service endpoint. -
getDefaultServiceScopes
Returns the default service scopes. -
defaultCredentialsProviderBuilder
Returns a builder for the default credentials for this service. -
defaultGrpcTransportProviderBuilder
Returns a builder for the default gRPC ChannelProvider for this service. -
defaultHttpJsonTransportProviderBuilder
@BetaApi public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()Returns a builder for the default REST ChannelProvider for this service. -
defaultTransportChannelProvider
-
defaultApiClientHeaderProviderBuilder
-
newBuilder
Returns a new gRPC builder for this class. -
newHttpJsonBuilder
Returns a new REST builder for this class. -
newBuilder
Returns a new builder for this class. -
toBuilder
Returns a builder containing all the values of this settings class.- Specified by:
toBuilderin classClientSettings<SecurityCenterManagementSettings>
-