Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion java-securitycenter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.11.0</version>
<version>26.12.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,12 @@
import static com.google.cloud.securitycenter.v1.SecurityCenterClient.GroupFindingsPagedResponse;
import static com.google.cloud.securitycenter.v1.SecurityCenterClient.ListAssetsPagedResponse;
import static com.google.cloud.securitycenter.v1.SecurityCenterClient.ListBigQueryExportsPagedResponse;
import static com.google.cloud.securitycenter.v1.SecurityCenterClient.ListDescendantSecurityHealthAnalyticsCustomModulesPagedResponse;
import static com.google.cloud.securitycenter.v1.SecurityCenterClient.ListEffectiveSecurityHealthAnalyticsCustomModulesPagedResponse;
import static com.google.cloud.securitycenter.v1.SecurityCenterClient.ListFindingsPagedResponse;
import static com.google.cloud.securitycenter.v1.SecurityCenterClient.ListMuteConfigsPagedResponse;
import static com.google.cloud.securitycenter.v1.SecurityCenterClient.ListNotificationConfigsPagedResponse;
import static com.google.cloud.securitycenter.v1.SecurityCenterClient.ListSecurityHealthAnalyticsCustomModulesPagedResponse;
import static com.google.cloud.securitycenter.v1.SecurityCenterClient.ListSourcesPagedResponse;

import com.google.api.core.ApiFunction;
Expand Down Expand Up @@ -66,7 +69,8 @@
* <p>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.
*
* <p>For example, to set the total timeout of createSource to 30 seconds:
* <p>For example, to set the total timeout of createSecurityHealthAnalyticsCustomModule to 30
* seconds:
*
* <pre>{@code
* // This snippet has been automatically generated and should be regarded as a code template only.
Expand All @@ -77,10 +81,10 @@
* SecurityCenterSettings.Builder securityCenterSettingsBuilder =
* SecurityCenterSettings.newBuilder();
* securityCenterSettingsBuilder
* .createSourceSettings()
* .createSecurityHealthAnalyticsCustomModuleSettings()
* .setRetrySettings(
* securityCenterSettingsBuilder
* .createSourceSettings()
* .createSecurityHealthAnalyticsCustomModuleSettings()
* .getRetrySettings()
* .toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
Expand All @@ -102,6 +106,17 @@ public UnaryCallSettings<BulkMuteFindingsRequest, Operation> bulkMuteFindingsSet
return ((SecurityCenterStubSettings) getStubSettings()).bulkMuteFindingsOperationSettings();
}

/**
* Returns the object with the settings used for calls to
* createSecurityHealthAnalyticsCustomModule.
*/
public UnaryCallSettings<
CreateSecurityHealthAnalyticsCustomModuleRequest, SecurityHealthAnalyticsCustomModule>
createSecurityHealthAnalyticsCustomModuleSettings() {
return ((SecurityCenterStubSettings) getStubSettings())
.createSecurityHealthAnalyticsCustomModuleSettings();
}

/** Returns the object with the settings used for calls to createSource. */
public UnaryCallSettings<CreateSourceRequest, Source> createSourceSettings() {
return ((SecurityCenterStubSettings) getStubSettings()).createSourceSettings();
Expand Down Expand Up @@ -134,6 +149,16 @@ public UnaryCallSettings<DeleteMuteConfigRequest, Empty> deleteMuteConfigSetting
return ((SecurityCenterStubSettings) getStubSettings()).deleteNotificationConfigSettings();
}

/**
* Returns the object with the settings used for calls to
* deleteSecurityHealthAnalyticsCustomModule.
*/
public UnaryCallSettings<DeleteSecurityHealthAnalyticsCustomModuleRequest, Empty>
deleteSecurityHealthAnalyticsCustomModuleSettings() {
return ((SecurityCenterStubSettings) getStubSettings())
.deleteSecurityHealthAnalyticsCustomModuleSettings();
}

/** Returns the object with the settings used for calls to getBigQueryExport. */
public UnaryCallSettings<GetBigQueryExportRequest, BigQueryExport> getBigQueryExportSettings() {
return ((SecurityCenterStubSettings) getStubSettings()).getBigQueryExportSettings();
Expand Down Expand Up @@ -161,6 +186,28 @@ public UnaryCallSettings<GetMuteConfigRequest, MuteConfig> getMuteConfigSettings
return ((SecurityCenterStubSettings) getStubSettings()).getOrganizationSettingsSettings();
}

/**
* Returns the object with the settings used for calls to
* getEffectiveSecurityHealthAnalyticsCustomModule.
*/
public UnaryCallSettings<
GetEffectiveSecurityHealthAnalyticsCustomModuleRequest,
EffectiveSecurityHealthAnalyticsCustomModule>
getEffectiveSecurityHealthAnalyticsCustomModuleSettings() {
return ((SecurityCenterStubSettings) getStubSettings())
.getEffectiveSecurityHealthAnalyticsCustomModuleSettings();
}

/**
* Returns the object with the settings used for calls to getSecurityHealthAnalyticsCustomModule.
*/
public UnaryCallSettings<
GetSecurityHealthAnalyticsCustomModuleRequest, SecurityHealthAnalyticsCustomModule>
getSecurityHealthAnalyticsCustomModuleSettings() {
return ((SecurityCenterStubSettings) getStubSettings())
.getSecurityHealthAnalyticsCustomModuleSettings();
}

/** Returns the object with the settings used for calls to getSource. */
public UnaryCallSettings<GetSourceRequest, Source> getSourceSettings() {
return ((SecurityCenterStubSettings) getStubSettings()).getSourceSettings();
Expand All @@ -184,6 +231,19 @@ public UnaryCallSettings<GetSourceRequest, Source> getSourceSettings() {
return ((SecurityCenterStubSettings) getStubSettings()).listAssetsSettings();
}

/**
* Returns the object with the settings used for calls to
* listDescendantSecurityHealthAnalyticsCustomModules.
*/
public PagedCallSettings<
ListDescendantSecurityHealthAnalyticsCustomModulesRequest,
ListDescendantSecurityHealthAnalyticsCustomModulesResponse,
ListDescendantSecurityHealthAnalyticsCustomModulesPagedResponse>
listDescendantSecurityHealthAnalyticsCustomModulesSettings() {
return ((SecurityCenterStubSettings) getStubSettings())
.listDescendantSecurityHealthAnalyticsCustomModulesSettings();
}

/** Returns the object with the settings used for calls to listFindings. */
public PagedCallSettings<ListFindingsRequest, ListFindingsResponse, ListFindingsPagedResponse>
listFindingsSettings() {
Expand All @@ -206,6 +266,32 @@ public UnaryCallSettings<GetSourceRequest, Source> getSourceSettings() {
return ((SecurityCenterStubSettings) getStubSettings()).listNotificationConfigsSettings();
}

/**
* Returns the object with the settings used for calls to
* listEffectiveSecurityHealthAnalyticsCustomModules.
*/
public PagedCallSettings<
ListEffectiveSecurityHealthAnalyticsCustomModulesRequest,
ListEffectiveSecurityHealthAnalyticsCustomModulesResponse,
ListEffectiveSecurityHealthAnalyticsCustomModulesPagedResponse>
listEffectiveSecurityHealthAnalyticsCustomModulesSettings() {
return ((SecurityCenterStubSettings) getStubSettings())
.listEffectiveSecurityHealthAnalyticsCustomModulesSettings();
}

/**
* Returns the object with the settings used for calls to
* listSecurityHealthAnalyticsCustomModules.
*/
public PagedCallSettings<
ListSecurityHealthAnalyticsCustomModulesRequest,
ListSecurityHealthAnalyticsCustomModulesResponse,
ListSecurityHealthAnalyticsCustomModulesPagedResponse>
listSecurityHealthAnalyticsCustomModulesSettings() {
return ((SecurityCenterStubSettings) getStubSettings())
.listSecurityHealthAnalyticsCustomModulesSettings();
}

/** Returns the object with the settings used for calls to listSources. */
public PagedCallSettings<ListSourcesRequest, ListSourcesResponse, ListSourcesPagedResponse>
listSourcesSettings() {
Expand Down Expand Up @@ -272,6 +358,17 @@ public UnaryCallSettings<UpdateMuteConfigRequest, MuteConfig> updateMuteConfigSe
return ((SecurityCenterStubSettings) getStubSettings()).updateOrganizationSettingsSettings();
}

/**
* Returns the object with the settings used for calls to
* updateSecurityHealthAnalyticsCustomModule.
*/
public UnaryCallSettings<
UpdateSecurityHealthAnalyticsCustomModuleRequest, SecurityHealthAnalyticsCustomModule>
updateSecurityHealthAnalyticsCustomModuleSettings() {
return ((SecurityCenterStubSettings) getStubSettings())
.updateSecurityHealthAnalyticsCustomModuleSettings();
}

/** Returns the object with the settings used for calls to updateSource. */
public UnaryCallSettings<UpdateSourceRequest, Source> updateSourceSettings() {
return ((SecurityCenterStubSettings) getStubSettings()).updateSourceSettings();
Expand Down Expand Up @@ -434,6 +531,16 @@ public Builder applyToAllUnaryMethods(
return getStubSettingsBuilder().bulkMuteFindingsOperationSettings();
}

/**
* Returns the builder for the settings used for calls to
* createSecurityHealthAnalyticsCustomModule.
*/
public UnaryCallSettings.Builder<
CreateSecurityHealthAnalyticsCustomModuleRequest, SecurityHealthAnalyticsCustomModule>
createSecurityHealthAnalyticsCustomModuleSettings() {
return getStubSettingsBuilder().createSecurityHealthAnalyticsCustomModuleSettings();
}

/** Returns the builder for the settings used for calls to createSource. */
public UnaryCallSettings.Builder<CreateSourceRequest, Source> createSourceSettings() {
return getStubSettingsBuilder().createSourceSettings();
Expand Down Expand Up @@ -467,6 +574,15 @@ public UnaryCallSettings.Builder<DeleteMuteConfigRequest, Empty> deleteMuteConfi
return getStubSettingsBuilder().deleteNotificationConfigSettings();
}

/**
* Returns the builder for the settings used for calls to
* deleteSecurityHealthAnalyticsCustomModule.
*/
public UnaryCallSettings.Builder<DeleteSecurityHealthAnalyticsCustomModuleRequest, Empty>
deleteSecurityHealthAnalyticsCustomModuleSettings() {
return getStubSettingsBuilder().deleteSecurityHealthAnalyticsCustomModuleSettings();
}

/** Returns the builder for the settings used for calls to getBigQueryExport. */
public UnaryCallSettings.Builder<GetBigQueryExportRequest, BigQueryExport>
getBigQueryExportSettings() {
Expand Down Expand Up @@ -495,6 +611,27 @@ public UnaryCallSettings.Builder<GetMuteConfigRequest, MuteConfig> getMuteConfig
return getStubSettingsBuilder().getOrganizationSettingsSettings();
}

/**
* Returns the builder for the settings used for calls to
* getEffectiveSecurityHealthAnalyticsCustomModule.
*/
public UnaryCallSettings.Builder<
GetEffectiveSecurityHealthAnalyticsCustomModuleRequest,
EffectiveSecurityHealthAnalyticsCustomModule>
getEffectiveSecurityHealthAnalyticsCustomModuleSettings() {
return getStubSettingsBuilder().getEffectiveSecurityHealthAnalyticsCustomModuleSettings();
}

/**
* Returns the builder for the settings used for calls to
* getSecurityHealthAnalyticsCustomModule.
*/
public UnaryCallSettings.Builder<
GetSecurityHealthAnalyticsCustomModuleRequest, SecurityHealthAnalyticsCustomModule>
getSecurityHealthAnalyticsCustomModuleSettings() {
return getStubSettingsBuilder().getSecurityHealthAnalyticsCustomModuleSettings();
}

/** Returns the builder for the settings used for calls to getSource. */
public UnaryCallSettings.Builder<GetSourceRequest, Source> getSourceSettings() {
return getStubSettingsBuilder().getSourceSettings();
Expand All @@ -520,6 +657,18 @@ public UnaryCallSettings.Builder<GetSourceRequest, Source> getSourceSettings() {
return getStubSettingsBuilder().listAssetsSettings();
}

/**
* Returns the builder for the settings used for calls to
* listDescendantSecurityHealthAnalyticsCustomModules.
*/
public PagedCallSettings.Builder<
ListDescendantSecurityHealthAnalyticsCustomModulesRequest,
ListDescendantSecurityHealthAnalyticsCustomModulesResponse,
ListDescendantSecurityHealthAnalyticsCustomModulesPagedResponse>
listDescendantSecurityHealthAnalyticsCustomModulesSettings() {
return getStubSettingsBuilder().listDescendantSecurityHealthAnalyticsCustomModulesSettings();
}

/** Returns the builder for the settings used for calls to listFindings. */
public PagedCallSettings.Builder<
ListFindingsRequest, ListFindingsResponse, ListFindingsPagedResponse>
Expand All @@ -543,6 +692,30 @@ public UnaryCallSettings.Builder<GetSourceRequest, Source> getSourceSettings() {
return getStubSettingsBuilder().listNotificationConfigsSettings();
}

/**
* Returns the builder for the settings used for calls to
* listEffectiveSecurityHealthAnalyticsCustomModules.
*/
public PagedCallSettings.Builder<
ListEffectiveSecurityHealthAnalyticsCustomModulesRequest,
ListEffectiveSecurityHealthAnalyticsCustomModulesResponse,
ListEffectiveSecurityHealthAnalyticsCustomModulesPagedResponse>
listEffectiveSecurityHealthAnalyticsCustomModulesSettings() {
return getStubSettingsBuilder().listEffectiveSecurityHealthAnalyticsCustomModulesSettings();
}

/**
* Returns the builder for the settings used for calls to
* listSecurityHealthAnalyticsCustomModules.
*/
public PagedCallSettings.Builder<
ListSecurityHealthAnalyticsCustomModulesRequest,
ListSecurityHealthAnalyticsCustomModulesResponse,
ListSecurityHealthAnalyticsCustomModulesPagedResponse>
listSecurityHealthAnalyticsCustomModulesSettings() {
return getStubSettingsBuilder().listSecurityHealthAnalyticsCustomModulesSettings();
}

/** Returns the builder for the settings used for calls to listSources. */
public PagedCallSettings.Builder<
ListSourcesRequest, ListSourcesResponse, ListSourcesPagedResponse>
Expand Down Expand Up @@ -612,6 +785,16 @@ public UnaryCallSettings.Builder<UpdateFindingRequest, Finding> updateFindingSet
return getStubSettingsBuilder().updateOrganizationSettingsSettings();
}

/**
* Returns the builder for the settings used for calls to
* updateSecurityHealthAnalyticsCustomModule.
*/
public UnaryCallSettings.Builder<
UpdateSecurityHealthAnalyticsCustomModuleRequest, SecurityHealthAnalyticsCustomModule>
updateSecurityHealthAnalyticsCustomModuleSettings() {
return getStubSettingsBuilder().updateSecurityHealthAnalyticsCustomModuleSettings();
}

/** Returns the builder for the settings used for calls to updateSource. */
public UnaryCallSettings.Builder<UpdateSourceRequest, Source> updateSourceSettings() {
return getStubSettingsBuilder().updateSourceSettings();
Expand Down
Loading