public static class SecurityCenterStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<SecurityCenterStubSettings,SecurityCenterStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(SecurityCenterStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
SecurityCenterStubSettings.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.
|
SecurityCenterStubSettings |
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.
|
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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
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, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(SecurityCenterStubSettings settings)
public SecurityCenterStubSettings.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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 use by generated code 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 SecurityCenterStubSettings build() throws IOException
build
in class com.google.api.gax.rpc.StubSettings.Builder<SecurityCenterStubSettings,SecurityCenterStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.