Class SecurityCenterManagementStubSettings (0.14.0)

public class SecurityCenterManagementStubSettings extends StubSettings<SecurityCenterManagementStubSettings>

Settings class to configure an instance of SecurityCenterManagementStub.

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 total timeout of getEffectiveSecurityHealthAnalyticsCustomModule to 30 seconds:


 // 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
 SecurityCenterManagementStubSettings.Builder securityCenterManagementSettingsBuilder =
     SecurityCenterManagementStubSettings.newBuilder();
 securityCenterManagementSettingsBuilder
     .getEffectiveSecurityHealthAnalyticsCustomModuleSettings()
     .setRetrySettings(
         securityCenterManagementSettingsBuilder
             .getEffectiveSecurityHealthAnalyticsCustomModuleSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 SecurityCenterManagementStubSettings securityCenterManagementSettings =
     securityCenterManagementSettingsBuilder.build();
 

Inheritance

java.lang.Object > StubSettings > SecurityCenterManagementStubSettings

Static Methods

defaultApiClientHeaderProviderBuilder()

public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
Returns
Type Description
Builder

defaultCredentialsProviderBuilder()

public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()

Returns a builder for the default credentials for this service.

Returns
Type Description
Builder

defaultExecutorProviderBuilder()

public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()

Returns a builder for the default ExecutorProvider for this service.

Returns
Type Description
Builder

defaultGrpcApiClientHeaderProviderBuilder()

public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder()
Returns
Type Description
Builder

defaultGrpcTransportProviderBuilder()

public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()

Returns a builder for the default gRPC ChannelProvider for this service.

Returns
Type Description
Builder

defaultHttpJsonApiClientHeaderProviderBuilder()

public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder()
Returns
Type Description
Builder

defaultHttpJsonTransportProviderBuilder()

public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()

Returns a builder for the default REST ChannelProvider for this service.

Returns
Type Description
Builder

defaultTransportChannelProvider()

public static TransportChannelProvider defaultTransportChannelProvider()
Returns
Type Description
TransportChannelProvider

getDefaultEndpoint()

public static String getDefaultEndpoint()

Returns the default service endpoint.

Returns
Type Description
String

getDefaultMtlsEndpoint()

public static String getDefaultMtlsEndpoint()

Returns the default mTLS service endpoint.

Returns
Type Description
String

getDefaultServiceScopes()

public static List<String> getDefaultServiceScopes()

Returns the default service scopes.

Returns
Type Description
List<String>

newBuilder()

public static SecurityCenterManagementStubSettings.Builder newBuilder()

Returns a new gRPC builder for this class.

Returns
Type Description
SecurityCenterManagementStubSettings.Builder

newBuilder(ClientContext clientContext)

public static SecurityCenterManagementStubSettings.Builder newBuilder(ClientContext clientContext)

Returns a new builder for this class.

Parameter
Name Description
clientContext ClientContext
Returns
Type Description
SecurityCenterManagementStubSettings.Builder

newHttpJsonBuilder()

public static SecurityCenterManagementStubSettings.Builder newHttpJsonBuilder()

Returns a new REST builder for this class.

Returns
Type Description
SecurityCenterManagementStubSettings.Builder

Constructors

SecurityCenterManagementStubSettings(SecurityCenterManagementStubSettings.Builder settingsBuilder)

protected SecurityCenterManagementStubSettings(SecurityCenterManagementStubSettings.Builder settingsBuilder)
Parameter
Name Description
settingsBuilder SecurityCenterManagementStubSettings.Builder

Methods

createEventThreatDetectionCustomModuleSettings()

public UnaryCallSettings<CreateEventThreatDetectionCustomModuleRequest,EventThreatDetectionCustomModule> createEventThreatDetectionCustomModuleSettings()

Returns the object with the settings used for calls to createEventThreatDetectionCustomModule.

Returns
Type Description
UnaryCallSettings<CreateEventThreatDetectionCustomModuleRequest,EventThreatDetectionCustomModule>

createSecurityHealthAnalyticsCustomModuleSettings()

public UnaryCallSettings<CreateSecurityHealthAnalyticsCustomModuleRequest,SecurityHealthAnalyticsCustomModule> createSecurityHealthAnalyticsCustomModuleSettings()

Returns the object with the settings used for calls to createSecurityHealthAnalyticsCustomModule.

Returns
Type Description
UnaryCallSettings<CreateSecurityHealthAnalyticsCustomModuleRequest,SecurityHealthAnalyticsCustomModule>

createStub()

public SecurityCenterManagementStub createStub()
Returns
Type Description
SecurityCenterManagementStub
Exceptions
Type Description
IOException

deleteEventThreatDetectionCustomModuleSettings()

public UnaryCallSettings<DeleteEventThreatDetectionCustomModuleRequest,Empty> deleteEventThreatDetectionCustomModuleSettings()

Returns the object with the settings used for calls to deleteEventThreatDetectionCustomModule.

Returns
Type Description
UnaryCallSettings<DeleteEventThreatDetectionCustomModuleRequest,Empty>

deleteSecurityHealthAnalyticsCustomModuleSettings()

public UnaryCallSettings<DeleteSecurityHealthAnalyticsCustomModuleRequest,Empty> deleteSecurityHealthAnalyticsCustomModuleSettings()

Returns the object with the settings used for calls to deleteSecurityHealthAnalyticsCustomModule.

Returns
Type Description
UnaryCallSettings<DeleteSecurityHealthAnalyticsCustomModuleRequest,Empty>

getEffectiveEventThreatDetectionCustomModuleSettings()

public UnaryCallSettings<GetEffectiveEventThreatDetectionCustomModuleRequest,EffectiveEventThreatDetectionCustomModule> getEffectiveEventThreatDetectionCustomModuleSettings()

Returns the object with the settings used for calls to getEffectiveEventThreatDetectionCustomModule.

Returns
Type Description
UnaryCallSettings<GetEffectiveEventThreatDetectionCustomModuleRequest,EffectiveEventThreatDetectionCustomModule>

getEffectiveSecurityHealthAnalyticsCustomModuleSettings()

public UnaryCallSettings<GetEffectiveSecurityHealthAnalyticsCustomModuleRequest,EffectiveSecurityHealthAnalyticsCustomModule> getEffectiveSecurityHealthAnalyticsCustomModuleSettings()

Returns the object with the settings used for calls to getEffectiveSecurityHealthAnalyticsCustomModule.

Returns
Type Description
UnaryCallSettings<GetEffectiveSecurityHealthAnalyticsCustomModuleRequest,EffectiveSecurityHealthAnalyticsCustomModule>

getEventThreatDetectionCustomModuleSettings()

public UnaryCallSettings<GetEventThreatDetectionCustomModuleRequest,EventThreatDetectionCustomModule> getEventThreatDetectionCustomModuleSettings()

Returns the object with the settings used for calls to getEventThreatDetectionCustomModule.

Returns
Type Description
UnaryCallSettings<GetEventThreatDetectionCustomModuleRequest,EventThreatDetectionCustomModule>

getLocationSettings()

public UnaryCallSettings<GetLocationRequest,Location> getLocationSettings()

Returns the object with the settings used for calls to getLocation.

Returns
Type Description
UnaryCallSettings<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getSecurityCenterServiceSettings()

public UnaryCallSettings<GetSecurityCenterServiceRequest,SecurityCenterService> getSecurityCenterServiceSettings()

Returns the object with the settings used for calls to getSecurityCenterService.

Returns
Type Description
UnaryCallSettings<GetSecurityCenterServiceRequest,SecurityCenterService>

getSecurityHealthAnalyticsCustomModuleSettings()

public UnaryCallSettings<GetSecurityHealthAnalyticsCustomModuleRequest,SecurityHealthAnalyticsCustomModule> getSecurityHealthAnalyticsCustomModuleSettings()

Returns the object with the settings used for calls to getSecurityHealthAnalyticsCustomModule.

Returns
Type Description
UnaryCallSettings<GetSecurityHealthAnalyticsCustomModuleRequest,SecurityHealthAnalyticsCustomModule>

getServiceName()

public String getServiceName()

Returns the default service name.

Returns
Type Description
String
Overrides

listDescendantEventThreatDetectionCustomModulesSettings()

public PagedCallSettings<ListDescendantEventThreatDetectionCustomModulesRequest,ListDescendantEventThreatDetectionCustomModulesResponse,SecurityCenterManagementClient.ListDescendantEventThreatDetectionCustomModulesPagedResponse> listDescendantEventThreatDetectionCustomModulesSettings()

Returns the object with the settings used for calls to listDescendantEventThreatDetectionCustomModules.

Returns
Type Description
PagedCallSettings<ListDescendantEventThreatDetectionCustomModulesRequest,ListDescendantEventThreatDetectionCustomModulesResponse,ListDescendantEventThreatDetectionCustomModulesPagedResponse>

listDescendantSecurityHealthAnalyticsCustomModulesSettings()

public PagedCallSettings<ListDescendantSecurityHealthAnalyticsCustomModulesRequest,ListDescendantSecurityHealthAnalyticsCustomModulesResponse,SecurityCenterManagementClient.ListDescendantSecurityHealthAnalyticsCustomModulesPagedResponse> listDescendantSecurityHealthAnalyticsCustomModulesSettings()

Returns the object with the settings used for calls to listDescendantSecurityHealthAnalyticsCustomModules.

Returns
Type Description
PagedCallSettings<ListDescendantSecurityHealthAnalyticsCustomModulesRequest,ListDescendantSecurityHealthAnalyticsCustomModulesResponse,ListDescendantSecurityHealthAnalyticsCustomModulesPagedResponse>

listEffectiveEventThreatDetectionCustomModulesSettings()

public PagedCallSettings<ListEffectiveEventThreatDetectionCustomModulesRequest,ListEffectiveEventThreatDetectionCustomModulesResponse,SecurityCenterManagementClient.ListEffectiveEventThreatDetectionCustomModulesPagedResponse> listEffectiveEventThreatDetectionCustomModulesSettings()

Returns the object with the settings used for calls to listEffectiveEventThreatDetectionCustomModules.

Returns
Type Description
PagedCallSettings<ListEffectiveEventThreatDetectionCustomModulesRequest,ListEffectiveEventThreatDetectionCustomModulesResponse,ListEffectiveEventThreatDetectionCustomModulesPagedResponse>

listEffectiveSecurityHealthAnalyticsCustomModulesSettings()

public PagedCallSettings<ListEffectiveSecurityHealthAnalyticsCustomModulesRequest,ListEffectiveSecurityHealthAnalyticsCustomModulesResponse,SecurityCenterManagementClient.ListEffectiveSecurityHealthAnalyticsCustomModulesPagedResponse> listEffectiveSecurityHealthAnalyticsCustomModulesSettings()

Returns the object with the settings used for calls to listEffectiveSecurityHealthAnalyticsCustomModules.

Returns
Type Description
PagedCallSettings<ListEffectiveSecurityHealthAnalyticsCustomModulesRequest,ListEffectiveSecurityHealthAnalyticsCustomModulesResponse,ListEffectiveSecurityHealthAnalyticsCustomModulesPagedResponse>

listEventThreatDetectionCustomModulesSettings()

public PagedCallSettings<ListEventThreatDetectionCustomModulesRequest,ListEventThreatDetectionCustomModulesResponse,SecurityCenterManagementClient.ListEventThreatDetectionCustomModulesPagedResponse> listEventThreatDetectionCustomModulesSettings()

Returns the object with the settings used for calls to listEventThreatDetectionCustomModules.

Returns
Type Description
PagedCallSettings<ListEventThreatDetectionCustomModulesRequest,ListEventThreatDetectionCustomModulesResponse,ListEventThreatDetectionCustomModulesPagedResponse>

listLocationsSettings()

public PagedCallSettings<ListLocationsRequest,ListLocationsResponse,SecurityCenterManagementClient.ListLocationsPagedResponse> listLocationsSettings()

Returns the object with the settings used for calls to listLocations.

Returns
Type Description
PagedCallSettings<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listSecurityCenterServicesSettings()

public PagedCallSettings<ListSecurityCenterServicesRequest,ListSecurityCenterServicesResponse,SecurityCenterManagementClient.ListSecurityCenterServicesPagedResponse> listSecurityCenterServicesSettings()

Returns the object with the settings used for calls to listSecurityCenterServices.

Returns
Type Description
PagedCallSettings<ListSecurityCenterServicesRequest,ListSecurityCenterServicesResponse,ListSecurityCenterServicesPagedResponse>

listSecurityHealthAnalyticsCustomModulesSettings()

public PagedCallSettings<ListSecurityHealthAnalyticsCustomModulesRequest,ListSecurityHealthAnalyticsCustomModulesResponse,SecurityCenterManagementClient.ListSecurityHealthAnalyticsCustomModulesPagedResponse> listSecurityHealthAnalyticsCustomModulesSettings()

Returns the object with the settings used for calls to listSecurityHealthAnalyticsCustomModules.

Returns
Type Description
PagedCallSettings<ListSecurityHealthAnalyticsCustomModulesRequest,ListSecurityHealthAnalyticsCustomModulesResponse,ListSecurityHealthAnalyticsCustomModulesPagedResponse>

simulateSecurityHealthAnalyticsCustomModuleSettings()

public UnaryCallSettings<SimulateSecurityHealthAnalyticsCustomModuleRequest,SimulateSecurityHealthAnalyticsCustomModuleResponse> simulateSecurityHealthAnalyticsCustomModuleSettings()

Returns the object with the settings used for calls to simulateSecurityHealthAnalyticsCustomModule.

Returns
Type Description
UnaryCallSettings<SimulateSecurityHealthAnalyticsCustomModuleRequest,SimulateSecurityHealthAnalyticsCustomModuleResponse>

toBuilder()

public SecurityCenterManagementStubSettings.Builder toBuilder()

Returns a builder containing all the values of this settings class.

Returns
Type Description
SecurityCenterManagementStubSettings.Builder
Overrides

updateEventThreatDetectionCustomModuleSettings()

public UnaryCallSettings<UpdateEventThreatDetectionCustomModuleRequest,EventThreatDetectionCustomModule> updateEventThreatDetectionCustomModuleSettings()

Returns the object with the settings used for calls to updateEventThreatDetectionCustomModule.

Returns
Type Description
UnaryCallSettings<UpdateEventThreatDetectionCustomModuleRequest,EventThreatDetectionCustomModule>

updateSecurityCenterServiceSettings()

public UnaryCallSettings<UpdateSecurityCenterServiceRequest,SecurityCenterService> updateSecurityCenterServiceSettings()

Returns the object with the settings used for calls to updateSecurityCenterService.

Returns
Type Description
UnaryCallSettings<UpdateSecurityCenterServiceRequest,SecurityCenterService>

updateSecurityHealthAnalyticsCustomModuleSettings()

public UnaryCallSettings<UpdateSecurityHealthAnalyticsCustomModuleRequest,SecurityHealthAnalyticsCustomModule> updateSecurityHealthAnalyticsCustomModuleSettings()

Returns the object with the settings used for calls to updateSecurityHealthAnalyticsCustomModule.

Returns
Type Description
UnaryCallSettings<UpdateSecurityHealthAnalyticsCustomModuleRequest,SecurityHealthAnalyticsCustomModule>

validateEventThreatDetectionCustomModuleSettings()

public UnaryCallSettings<ValidateEventThreatDetectionCustomModuleRequest,ValidateEventThreatDetectionCustomModuleResponse> validateEventThreatDetectionCustomModuleSettings()

Returns the object with the settings used for calls to validateEventThreatDetectionCustomModule.

Returns
Type Description
UnaryCallSettings<ValidateEventThreatDetectionCustomModuleRequest,ValidateEventThreatDetectionCustomModuleResponse>