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