Class SecurityCenterManagementStubSettings (0.5.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
TypeDescription
Builder

defaultCredentialsProviderBuilder()

public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()

Returns a builder for the default credentials for this service.

Returns
TypeDescription
Builder

defaultExecutorProviderBuilder()

public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()

Returns a builder for the default ExecutorProvider for this service.

Returns
TypeDescription
Builder

defaultGrpcApiClientHeaderProviderBuilder()

public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder()
Returns
TypeDescription
Builder

defaultGrpcTransportProviderBuilder()

public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()

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

Returns
TypeDescription
Builder

defaultHttpJsonApiClientHeaderProviderBuilder()

public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder()
Returns
TypeDescription
Builder

defaultHttpJsonTransportProviderBuilder()

public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()

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

Returns
TypeDescription
Builder

defaultTransportChannelProvider()

public static TransportChannelProvider defaultTransportChannelProvider()
Returns
TypeDescription
TransportChannelProvider

getDefaultEndpoint()

public static String getDefaultEndpoint()

Returns the default service endpoint.

Returns
TypeDescription
String

getDefaultMtlsEndpoint()

public static String getDefaultMtlsEndpoint()

Returns the default mTLS service endpoint.

Returns
TypeDescription
String

getDefaultServiceScopes()

public static List<String> getDefaultServiceScopes()

Returns the default service scopes.

Returns
TypeDescription
List<String>

newBuilder()

public static SecurityCenterManagementStubSettings.Builder newBuilder()

Returns a new gRPC builder for this class.

Returns
TypeDescription
SecurityCenterManagementStubSettings.Builder

newBuilder(ClientContext clientContext)

public static SecurityCenterManagementStubSettings.Builder newBuilder(ClientContext clientContext)

Returns a new builder for this class.

Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
SecurityCenterManagementStubSettings.Builder

newHttpJsonBuilder()

public static SecurityCenterManagementStubSettings.Builder newHttpJsonBuilder()

Returns a new REST builder for this class.

Returns
TypeDescription
SecurityCenterManagementStubSettings.Builder

Constructors

SecurityCenterManagementStubSettings(SecurityCenterManagementStubSettings.Builder settingsBuilder)

protected SecurityCenterManagementStubSettings(SecurityCenterManagementStubSettings.Builder settingsBuilder)
Parameter
NameDescription
settingsBuilderSecurityCenterManagementStubSettings.Builder

Methods

createEventThreatDetectionCustomModuleSettings()

public UnaryCallSettings<CreateEventThreatDetectionCustomModuleRequest,EventThreatDetectionCustomModule> createEventThreatDetectionCustomModuleSettings()

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

Returns
TypeDescription
UnaryCallSettings<CreateEventThreatDetectionCustomModuleRequest,EventThreatDetectionCustomModule>

createSecurityHealthAnalyticsCustomModuleSettings()

public UnaryCallSettings<CreateSecurityHealthAnalyticsCustomModuleRequest,SecurityHealthAnalyticsCustomModule> createSecurityHealthAnalyticsCustomModuleSettings()

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

Returns
TypeDescription
UnaryCallSettings<CreateSecurityHealthAnalyticsCustomModuleRequest,SecurityHealthAnalyticsCustomModule>

createStub()

public SecurityCenterManagementStub createStub()
Returns
TypeDescription
SecurityCenterManagementStub
Exceptions
TypeDescription
IOException

deleteEventThreatDetectionCustomModuleSettings()

public UnaryCallSettings<DeleteEventThreatDetectionCustomModuleRequest,Empty> deleteEventThreatDetectionCustomModuleSettings()

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

Returns
TypeDescription
UnaryCallSettings<DeleteEventThreatDetectionCustomModuleRequest,Empty>

deleteSecurityHealthAnalyticsCustomModuleSettings()

public UnaryCallSettings<DeleteSecurityHealthAnalyticsCustomModuleRequest,Empty> deleteSecurityHealthAnalyticsCustomModuleSettings()

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

Returns
TypeDescription
UnaryCallSettings<DeleteSecurityHealthAnalyticsCustomModuleRequest,Empty>

getEffectiveEventThreatDetectionCustomModuleSettings()

public UnaryCallSettings<GetEffectiveEventThreatDetectionCustomModuleRequest,EffectiveEventThreatDetectionCustomModule> getEffectiveEventThreatDetectionCustomModuleSettings()

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

Returns
TypeDescription
UnaryCallSettings<GetEffectiveEventThreatDetectionCustomModuleRequest,EffectiveEventThreatDetectionCustomModule>

getEffectiveSecurityHealthAnalyticsCustomModuleSettings()

public UnaryCallSettings<GetEffectiveSecurityHealthAnalyticsCustomModuleRequest,EffectiveSecurityHealthAnalyticsCustomModule> getEffectiveSecurityHealthAnalyticsCustomModuleSettings()

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

Returns
TypeDescription
UnaryCallSettings<GetEffectiveSecurityHealthAnalyticsCustomModuleRequest,EffectiveSecurityHealthAnalyticsCustomModule>

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getEventThreatDetectionCustomModuleSettings()

public UnaryCallSettings<GetEventThreatDetectionCustomModuleRequest,EventThreatDetectionCustomModule> getEventThreatDetectionCustomModuleSettings()

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

Returns
TypeDescription
UnaryCallSettings<GetEventThreatDetectionCustomModuleRequest,EventThreatDetectionCustomModule>

getLocationSettings()

public UnaryCallSettings<GetLocationRequest,Location> getLocationSettings()

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

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

getSecurityHealthAnalyticsCustomModuleSettings()

public UnaryCallSettings<GetSecurityHealthAnalyticsCustomModuleRequest,SecurityHealthAnalyticsCustomModule> getSecurityHealthAnalyticsCustomModuleSettings()

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

Returns
TypeDescription
UnaryCallSettings<GetSecurityHealthAnalyticsCustomModuleRequest,SecurityHealthAnalyticsCustomModule>

getServiceName()

public String getServiceName()

Returns the default service name.

Returns
TypeDescription
String
Overrides

listDescendantEventThreatDetectionCustomModulesSettings()

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

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

Returns
TypeDescription
PagedCallSettings<ListDescendantEventThreatDetectionCustomModulesRequest,ListDescendantEventThreatDetectionCustomModulesResponse,ListDescendantEventThreatDetectionCustomModulesPagedResponse>

listDescendantSecurityHealthAnalyticsCustomModulesSettings()

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

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

Returns
TypeDescription
PagedCallSettings<ListDescendantSecurityHealthAnalyticsCustomModulesRequest,ListDescendantSecurityHealthAnalyticsCustomModulesResponse,ListDescendantSecurityHealthAnalyticsCustomModulesPagedResponse>

listEffectiveEventThreatDetectionCustomModulesSettings()

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

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

Returns
TypeDescription
PagedCallSettings<ListEffectiveEventThreatDetectionCustomModulesRequest,ListEffectiveEventThreatDetectionCustomModulesResponse,ListEffectiveEventThreatDetectionCustomModulesPagedResponse>

listEffectiveSecurityHealthAnalyticsCustomModulesSettings()

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

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

Returns
TypeDescription
PagedCallSettings<ListEffectiveSecurityHealthAnalyticsCustomModulesRequest,ListEffectiveSecurityHealthAnalyticsCustomModulesResponse,ListEffectiveSecurityHealthAnalyticsCustomModulesPagedResponse>

listEventThreatDetectionCustomModulesSettings()

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

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

Returns
TypeDescription
PagedCallSettings<ListEventThreatDetectionCustomModulesRequest,ListEventThreatDetectionCustomModulesResponse,ListEventThreatDetectionCustomModulesPagedResponse>

listLocationsSettings()

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

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

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

listSecurityHealthAnalyticsCustomModulesSettings()

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

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

Returns
TypeDescription
PagedCallSettings<ListSecurityHealthAnalyticsCustomModulesRequest,ListSecurityHealthAnalyticsCustomModulesResponse,ListSecurityHealthAnalyticsCustomModulesPagedResponse>

simulateSecurityHealthAnalyticsCustomModuleSettings()

public UnaryCallSettings<SimulateSecurityHealthAnalyticsCustomModuleRequest,SimulateSecurityHealthAnalyticsCustomModuleResponse> simulateSecurityHealthAnalyticsCustomModuleSettings()

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

Returns
TypeDescription
UnaryCallSettings<SimulateSecurityHealthAnalyticsCustomModuleRequest,SimulateSecurityHealthAnalyticsCustomModuleResponse>

toBuilder()

public SecurityCenterManagementStubSettings.Builder toBuilder()

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

Returns
TypeDescription
SecurityCenterManagementStubSettings.Builder
Overrides

updateEventThreatDetectionCustomModuleSettings()

public UnaryCallSettings<UpdateEventThreatDetectionCustomModuleRequest,EventThreatDetectionCustomModule> updateEventThreatDetectionCustomModuleSettings()

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

Returns
TypeDescription
UnaryCallSettings<UpdateEventThreatDetectionCustomModuleRequest,EventThreatDetectionCustomModule>

updateSecurityHealthAnalyticsCustomModuleSettings()

public UnaryCallSettings<UpdateSecurityHealthAnalyticsCustomModuleRequest,SecurityHealthAnalyticsCustomModule> updateSecurityHealthAnalyticsCustomModuleSettings()

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

Returns
TypeDescription
UnaryCallSettings<UpdateSecurityHealthAnalyticsCustomModuleRequest,SecurityHealthAnalyticsCustomModule>

validateEventThreatDetectionCustomModuleSettings()

public UnaryCallSettings<ValidateEventThreatDetectionCustomModuleRequest,ValidateEventThreatDetectionCustomModuleResponse> validateEventThreatDetectionCustomModuleSettings()

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

Returns
TypeDescription
UnaryCallSettings<ValidateEventThreatDetectionCustomModuleRequest,ValidateEventThreatDetectionCustomModuleResponse>