public static class SecurityCenterSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<SecurityCenterSettings,SecurityCenterSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(SecurityCenterSettings settings) |
protected |
Builder(SecurityCenterStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
SecurityCenterSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
SecurityCenterSettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateFindingRequest,Finding> |
createFindingSettings()
Returns the builder for the settings used for calls to createFinding.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateSourceRequest,Source> |
createSourceSettings()
Returns the builder for the settings used for calls to createSource.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetOrganizationSettingsRequest,OrganizationSettings> |
getOrganizationSettingsSettings()
Returns the builder for the settings used for calls to getOrganizationSettings.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSourceRequest,Source> |
getSourceSettings()
Returns the builder for the settings used for calls to getSource.
|
SecurityCenterStubSettings.Builder |
getStubSettingsBuilder() |
com.google.api.gax.rpc.PagedCallSettings.Builder<GroupAssetsRequest,GroupAssetsResponse,SecurityCenterClient.GroupAssetsPagedResponse> |
groupAssetsSettings()
Returns the builder for the settings used for calls to groupAssets.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<GroupFindingsRequest,GroupFindingsResponse,SecurityCenterClient.GroupFindingsPagedResponse> |
groupFindingsSettings()
Returns the builder for the settings used for calls to groupFindings.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListAssetsRequest,ListAssetsResponse,SecurityCenterClient.ListAssetsPagedResponse> |
listAssetsSettings()
Returns the builder for the settings used for calls to listAssets.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListFindingsRequest,ListFindingsResponse,SecurityCenterClient.ListFindingsPagedResponse> |
listFindingsSettings()
Returns the builder for the settings used for calls to listFindings.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListSourcesRequest,ListSourcesResponse,SecurityCenterClient.ListSourcesPagedResponse> |
listSourcesSettings()
Returns the builder for the settings used for calls to listSources.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<RunAssetDiscoveryRequest,RunAssetDiscoveryResponse,Empty> |
runAssetDiscoveryOperationSettings()
Returns the builder for the settings used for calls to runAssetDiscovery.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<RunAssetDiscoveryRequest,com.google.longrunning.Operation> |
runAssetDiscoverySettings()
Returns the builder for the settings used for calls to runAssetDiscovery.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<SetFindingStateRequest,Finding> |
setFindingStateSettings()
Returns the builder for the settings used for calls to setFindingState.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateFindingRequest,Finding> |
updateFindingSettings()
Returns the builder for the settings used for calls to updateFinding.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateOrganizationSettingsRequest,OrganizationSettings> |
updateOrganizationSettingsSettings()
Returns the builder for the settings used for calls to updateOrganizationSettings.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateSecurityMarksRequest,SecurityMarks> |
updateSecurityMarksSettings()
Returns the builder for the settings used for calls to updateSecurityMarks.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateSourceRequest,Source> |
updateSourceSettings()
Returns the builder for the settings used for calls to updateSource.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(SecurityCenterSettings settings)
protected Builder(SecurityCenterStubSettings.Builder stubSettings)
public SecurityCenterStubSettings.Builder getStubSettingsBuilder()
public SecurityCenterSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateSourceRequest,Source> createSourceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateFindingRequest,Finding> createFindingSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetOrganizationSettingsRequest,OrganizationSettings> getOrganizationSettingsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSourceRequest,Source> getSourceSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<GroupAssetsRequest,GroupAssetsResponse,SecurityCenterClient.GroupAssetsPagedResponse> groupAssetsSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<GroupFindingsRequest,GroupFindingsResponse,SecurityCenterClient.GroupFindingsPagedResponse> groupFindingsSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListAssetsRequest,ListAssetsResponse,SecurityCenterClient.ListAssetsPagedResponse> listAssetsSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListFindingsRequest,ListFindingsResponse,SecurityCenterClient.ListFindingsPagedResponse> listFindingsSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListSourcesRequest,ListSourcesResponse,SecurityCenterClient.ListSourcesPagedResponse> listSourcesSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RunAssetDiscoveryRequest,com.google.longrunning.Operation> runAssetDiscoverySettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<RunAssetDiscoveryRequest,RunAssetDiscoveryResponse,Empty> runAssetDiscoveryOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetFindingStateRequest,Finding> setFindingStateSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateFindingRequest,Finding> updateFindingSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateOrganizationSettingsRequest,OrganizationSettings> updateOrganizationSettingsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateSourceRequest,Source> updateSourceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateSecurityMarksRequest,SecurityMarks> updateSecurityMarksSettings()
public SecurityCenterSettings build() throws IOException
build
in class com.google.api.gax.rpc.ClientSettings.Builder<SecurityCenterSettings,SecurityCenterSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.