public static final class SecurityCenterSettingsServiceGrpc.SecurityCenterSettingsServiceBlockingStub extends AbstractBlockingStub<SecurityCenterSettingsServiceGrpc.SecurityCenterSettingsServiceBlockingStub>
API Overview
The SecurityCenterSettingsService is a sub-api of
securitycenter.googleapis.com
. The service provides methods to manage
Security Center Settings, and Component Settings for GCP organizations,
folders, projects, and clusters.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractBlockingStub >
SecurityCenterSettingsServiceGrpc.SecurityCenterSettingsServiceBlockingStub
Inherited Members
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
batchCalculateEffectiveSettings(BatchCalculateEffectiveSettingsRequest request)
public BatchCalculateEffectiveSettingsResponse batchCalculateEffectiveSettings(BatchCalculateEffectiveSettingsRequest request)
Gets a list of effective settings.
Parameter
Returns
batchGetSettings(BatchGetSettingsRequest request)
public BatchGetSettingsResponse batchGetSettings(BatchGetSettingsRequest request)
Parameter
Returns
build(Channel channel, CallOptions callOptions)
protected SecurityCenterSettingsServiceGrpc.SecurityCenterSettingsServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name | Description |
channel | io.grpc.Channel
|
callOptions | io.grpc.CallOptions
|
Returns
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
calculateEffectiveComponentSettings(CalculateEffectiveComponentSettingsRequest request)
public ComponentSettings calculateEffectiveComponentSettings(CalculateEffectiveComponentSettingsRequest request)
Gets the Effective Component Settings.
Parameter
Returns
calculateEffectiveSettings(CalculateEffectiveSettingsRequest request)
public Settings calculateEffectiveSettings(CalculateEffectiveSettingsRequest request)
CalculateEffectiveSettings looks up all of the Security Center
Settings resources in the GCP resource hierarchy, and calculates the
effective settings on that resource by applying the following rules:
- Settings provided closer to the target resource take precedence over
those further away (e.g. folder will override organization level
settings).
- Product defaults can be overridden at org, folder, project, and cluster
levels.
- Detectors will be filtered out if they belong to a billing tier the
customer
has not configured.
Parameter
Returns
getComponentSettings(GetComponentSettingsRequest request)
public ComponentSettings getComponentSettings(GetComponentSettingsRequest request)
Gets the Component Settings.
Parameter
Returns
getServiceAccount(GetServiceAccountRequest request)
public ServiceAccount getServiceAccount(GetServiceAccountRequest request)
Retrieves the organizations service account, if it exists, otherwise it
creates the organization service account. This API is idempotent and
will only create a service account once. On subsequent calls it will
return the previously created service account. SHA, SCC and CTD Infra
Automation will use this SA. This SA will not have any permissions when
created. The UI will provision this via IAM or the user will using
their own internal process. This API only creates SAs on the organization.
Folders are not supported and projects will use per-project SAs associated
with APIs enabled on a project. This API will be called by the UX
onboarding workflow.
Parameter
Returns
getSettings(GetSettingsRequest request)
public Settings getSettings(GetSettingsRequest request)
Parameter
Returns
listComponents(ListComponentsRequest request)
public ListComponentsResponse listComponents(ListComponentsRequest request)
Retrieves an unordered list of available SCC components.
Parameter
Returns
listDetectors(ListDetectorsRequest request)
public ListDetectorsResponse listDetectors(ListDetectorsRequest request)
Retrieves an unordered list of available detectors.
Parameter
Returns
resetComponentSettings(ResetComponentSettingsRequest request)
public Empty resetComponentSettings(ResetComponentSettingsRequest request)
Reset the organization, folder or project's component settings and return
the settings to the default. Settings are present at the
organization, folder and project levels. Using Reset for a folder or
project will remove the override that was set and result in the
organization-level settings being used.
Parameter
Returns
resetSettings(ResetSettingsRequest request)
public Empty resetSettings(ResetSettingsRequest request)
Reset the organization, folder or project's settings and return
the settings of just that resource to the default.
Settings are present at the organization, folder, project, and cluster
levels. Using Reset on a sub-organization level will remove that resource's
override and result in the parent's settings being used (eg: if Reset on a
cluster, project settings will be used).
Using Reset on organization will remove the override that was set and
result in default settings being used.
Parameter
Returns
updateComponentSettings(UpdateComponentSettingsRequest request)
public ComponentSettings updateComponentSettings(UpdateComponentSettingsRequest request)
Updates the Component Settings.
Parameter
Returns
updateSettings(UpdateSettingsRequest request)
public Settings updateSettings(UpdateSettingsRequest request)
Parameter
Returns