@Generated(value="by gapic-generator") @BetaApi public class SecurityCenterSettings extends ClientSettings<SecurityCenterSettings>
SecurityCenterClient
.
The default instance has everything set to sensible defaults:
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 createSource to 30 seconds:
SecurityCenterSettings.Builder securityCenterSettingsBuilder =
SecurityCenterSettings.newBuilder();
securityCenterSettingsBuilder.createSourceSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30));
SecurityCenterSettings securityCenterSettings = securityCenterSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
SecurityCenterSettings.Builder
Builder for SecurityCenterSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
SecurityCenterSettings(SecurityCenterSettings.Builder settingsBuilder) |
Modifier and Type | Method and Description |
---|---|
static SecurityCenterSettings |
create(SecurityCenterStubSettings stub) |
UnaryCallSettings<com.google.cloud.securitycenter.v1beta1.CreateFindingRequest,com.google.cloud.securitycenter.v1beta1.Finding> |
createFindingSettings()
Returns the object with the settings used for calls to createFinding.
|
UnaryCallSettings<com.google.cloud.securitycenter.v1beta1.CreateSourceRequest,com.google.cloud.securitycenter.v1beta1.Source> |
createSourceSettings()
Returns the object with the settings used for calls to createSource.
|
static ApiClientHeaderProvider.Builder |
defaultApiClientHeaderProviderBuilder() |
static GoogleCredentialsProvider.Builder |
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
|
static InstantiatingExecutorProvider.Builder |
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
|
static InstantiatingGrpcChannelProvider.Builder |
defaultGrpcTransportProviderBuilder()
Returns a builder for the default ChannelProvider for this service.
|
static TransportChannelProvider |
defaultTransportChannelProvider() |
static String |
getDefaultEndpoint()
Returns the default service endpoint.
|
static List<String> |
getDefaultServiceScopes()
Returns the default service scopes.
|
UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicySettings()
Returns the object with the settings used for calls to getIamPolicy.
|
UnaryCallSettings<com.google.cloud.securitycenter.v1beta1.GetOrganizationSettingsRequest,com.google.cloud.securitycenter.v1beta1.OrganizationSettings> |
getOrganizationSettingsSettings()
Returns the object with the settings used for calls to getOrganizationSettings.
|
UnaryCallSettings<com.google.cloud.securitycenter.v1beta1.GetSourceRequest,com.google.cloud.securitycenter.v1beta1.Source> |
getSourceSettings()
Returns the object with the settings used for calls to getSource.
|
PagedCallSettings<com.google.cloud.securitycenter.v1beta1.GroupAssetsRequest,com.google.cloud.securitycenter.v1beta1.GroupAssetsResponse,SecurityCenterClient.GroupAssetsPagedResponse> |
groupAssetsSettings()
Returns the object with the settings used for calls to groupAssets.
|
PagedCallSettings<com.google.cloud.securitycenter.v1beta1.GroupFindingsRequest,com.google.cloud.securitycenter.v1beta1.GroupFindingsResponse,SecurityCenterClient.GroupFindingsPagedResponse> |
groupFindingsSettings()
Returns the object with the settings used for calls to groupFindings.
|
PagedCallSettings<com.google.cloud.securitycenter.v1beta1.ListAssetsRequest,com.google.cloud.securitycenter.v1beta1.ListAssetsResponse,SecurityCenterClient.ListAssetsPagedResponse> |
listAssetsSettings()
Returns the object with the settings used for calls to listAssets.
|
PagedCallSettings<com.google.cloud.securitycenter.v1beta1.ListFindingsRequest,com.google.cloud.securitycenter.v1beta1.ListFindingsResponse,SecurityCenterClient.ListFindingsPagedResponse> |
listFindingsSettings()
Returns the object with the settings used for calls to listFindings.
|
PagedCallSettings<com.google.cloud.securitycenter.v1beta1.ListSourcesRequest,com.google.cloud.securitycenter.v1beta1.ListSourcesResponse,SecurityCenterClient.ListSourcesPagedResponse> |
listSourcesSettings()
Returns the object with the settings used for calls to listSources.
|
static SecurityCenterSettings.Builder |
newBuilder()
Returns a new builder for this class.
|
static SecurityCenterSettings.Builder |
newBuilder(ClientContext clientContext)
Returns a new builder for this class.
|
OperationCallSettings<com.google.cloud.securitycenter.v1beta1.RunAssetDiscoveryRequest,Empty,Empty> |
runAssetDiscoveryOperationSettings()
Returns the object with the settings used for calls to runAssetDiscovery.
|
UnaryCallSettings<com.google.cloud.securitycenter.v1beta1.RunAssetDiscoveryRequest,Operation> |
runAssetDiscoverySettings()
Returns the object with the settings used for calls to runAssetDiscovery.
|
UnaryCallSettings<com.google.cloud.securitycenter.v1beta1.SetFindingStateRequest,com.google.cloud.securitycenter.v1beta1.Finding> |
setFindingStateSettings()
Returns the object with the settings used for calls to setFindingState.
|
UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicySettings()
Returns the object with the settings used for calls to setIamPolicy.
|
UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsSettings()
Returns the object with the settings used for calls to testIamPermissions.
|
SecurityCenterSettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
UnaryCallSettings<com.google.cloud.securitycenter.v1beta1.UpdateFindingRequest,com.google.cloud.securitycenter.v1beta1.Finding> |
updateFindingSettings()
Returns the object with the settings used for calls to updateFinding.
|
UnaryCallSettings<com.google.cloud.securitycenter.v1beta1.UpdateOrganizationSettingsRequest,com.google.cloud.securitycenter.v1beta1.OrganizationSettings> |
updateOrganizationSettingsSettings()
Returns the object with the settings used for calls to updateOrganizationSettings.
|
UnaryCallSettings<com.google.cloud.securitycenter.v1beta1.UpdateSecurityMarksRequest,com.google.cloud.securitycenter.v1beta1.SecurityMarks> |
updateSecurityMarksSettings()
Returns the object with the settings used for calls to updateSecurityMarks.
|
UnaryCallSettings<com.google.cloud.securitycenter.v1beta1.UpdateSourceRequest,com.google.cloud.securitycenter.v1beta1.Source> |
updateSourceSettings()
Returns the object with the settings used for calls to updateSource.
|
getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, toString
protected SecurityCenterSettings(SecurityCenterSettings.Builder settingsBuilder) throws IOException
IOException
public UnaryCallSettings<com.google.cloud.securitycenter.v1beta1.CreateSourceRequest,com.google.cloud.securitycenter.v1beta1.Source> createSourceSettings()
public UnaryCallSettings<com.google.cloud.securitycenter.v1beta1.CreateFindingRequest,com.google.cloud.securitycenter.v1beta1.Finding> createFindingSettings()
public UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
public UnaryCallSettings<com.google.cloud.securitycenter.v1beta1.GetOrganizationSettingsRequest,com.google.cloud.securitycenter.v1beta1.OrganizationSettings> getOrganizationSettingsSettings()
public UnaryCallSettings<com.google.cloud.securitycenter.v1beta1.GetSourceRequest,com.google.cloud.securitycenter.v1beta1.Source> getSourceSettings()
public PagedCallSettings<com.google.cloud.securitycenter.v1beta1.GroupAssetsRequest,com.google.cloud.securitycenter.v1beta1.GroupAssetsResponse,SecurityCenterClient.GroupAssetsPagedResponse> groupAssetsSettings()
public PagedCallSettings<com.google.cloud.securitycenter.v1beta1.GroupFindingsRequest,com.google.cloud.securitycenter.v1beta1.GroupFindingsResponse,SecurityCenterClient.GroupFindingsPagedResponse> groupFindingsSettings()
public PagedCallSettings<com.google.cloud.securitycenter.v1beta1.ListAssetsRequest,com.google.cloud.securitycenter.v1beta1.ListAssetsResponse,SecurityCenterClient.ListAssetsPagedResponse> listAssetsSettings()
public PagedCallSettings<com.google.cloud.securitycenter.v1beta1.ListFindingsRequest,com.google.cloud.securitycenter.v1beta1.ListFindingsResponse,SecurityCenterClient.ListFindingsPagedResponse> listFindingsSettings()
public PagedCallSettings<com.google.cloud.securitycenter.v1beta1.ListSourcesRequest,com.google.cloud.securitycenter.v1beta1.ListSourcesResponse,SecurityCenterClient.ListSourcesPagedResponse> listSourcesSettings()
public UnaryCallSettings<com.google.cloud.securitycenter.v1beta1.RunAssetDiscoveryRequest,Operation> runAssetDiscoverySettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings<com.google.cloud.securitycenter.v1beta1.RunAssetDiscoveryRequest,Empty,Empty> runAssetDiscoveryOperationSettings()
public UnaryCallSettings<com.google.cloud.securitycenter.v1beta1.SetFindingStateRequest,com.google.cloud.securitycenter.v1beta1.Finding> setFindingStateSettings()
public UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
public UnaryCallSettings<com.google.cloud.securitycenter.v1beta1.UpdateFindingRequest,com.google.cloud.securitycenter.v1beta1.Finding> updateFindingSettings()
public UnaryCallSettings<com.google.cloud.securitycenter.v1beta1.UpdateOrganizationSettingsRequest,com.google.cloud.securitycenter.v1beta1.OrganizationSettings> updateOrganizationSettingsSettings()
public UnaryCallSettings<com.google.cloud.securitycenter.v1beta1.UpdateSourceRequest,com.google.cloud.securitycenter.v1beta1.Source> updateSourceSettings()
public UnaryCallSettings<com.google.cloud.securitycenter.v1beta1.UpdateSecurityMarksRequest,com.google.cloud.securitycenter.v1beta1.SecurityMarks> updateSecurityMarksSettings()
public static final SecurityCenterSettings create(SecurityCenterStubSettings stub) throws IOException
IOException
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static List<String> getDefaultServiceScopes()
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
public static TransportChannelProvider defaultTransportChannelProvider()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static SecurityCenterSettings.Builder newBuilder()
public static SecurityCenterSettings.Builder newBuilder(ClientContext clientContext)
public SecurityCenterSettings.Builder toBuilder()
toBuilder
in class ClientSettings<SecurityCenterSettings>
Copyright © 2019 Google LLC. All rights reserved.