diff --git a/clients/google-api-services-securitycenter/v1/2.0.0/README.md b/clients/google-api-services-securitycenter/v1/2.0.0/README.md
index 0a52bd3da0d..f620f6a348e 100644
--- a/clients/google-api-services-securitycenter/v1/2.0.0/README.md
+++ b/clients/google-api-services-securitycenter/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class AdcApplication extends com.google.api.client.json.GenericJson { + + /** + * Consumer provided attributes for the AppHub application. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV1ResourceApplicationAttributes attributes; + + /** + * The resource name of an ADC Application. Format: + * projects/{project}/locations/{location}/spaces/{space}/applications/{application} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Consumer provided attributes for the AppHub application. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV1ResourceApplicationAttributes getAttributes() { + return attributes; + } + + /** + * Consumer provided attributes for the AppHub application. + * @param attributes attributes or {@code null} for none + */ + public AdcApplication setAttributes(GoogleCloudSecuritycenterV1ResourceApplicationAttributes attributes) { + this.attributes = attributes; + return this; + } + + /** + * The resource name of an ADC Application. Format: + * projects/{project}/locations/{location}/spaces/{space}/applications/{application} + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The resource name of an ADC Application. Format: + * projects/{project}/locations/{location}/spaces/{space}/applications/{application} + * @param name name or {@code null} for none + */ + public AdcApplication setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public AdcApplication set(String fieldName, Object value) { + return (AdcApplication) super.set(fieldName, value); + } + + @Override + public AdcApplication clone() { + return (AdcApplication) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/AdcApplicationTemplateRevision.java b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/AdcApplicationTemplateRevision.java new file mode 100644 index 00000000000..995d166ed6e --- /dev/null +++ b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/AdcApplicationTemplateRevision.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1.model; + +/** + * Represents an ADC template associated with the finding. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class AdcApplicationTemplateRevision extends com.google.api.client.json.GenericJson { + + /** + * The resource name of an ADC Application Template Revision. Format: projects/{project}/locations + * /{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * The resource name of an ADC Application Template Revision. Format: projects/{project}/locations + * /{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The resource name of an ADC Application Template Revision. Format: projects/{project}/locations + * /{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @param name name or {@code null} for none + */ + public AdcApplicationTemplateRevision setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public AdcApplicationTemplateRevision set(String fieldName, Object value) { + return (AdcApplicationTemplateRevision) super.set(fieldName, value); + } + + @Override + public AdcApplicationTemplateRevision clone() { + return (AdcApplicationTemplateRevision) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/AdcSharedTemplateRevision.java b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/AdcSharedTemplateRevision.java new file mode 100644 index 00000000000..34cdea64b5e --- /dev/null +++ b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/AdcSharedTemplateRevision.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1.model; + +/** + * Represents an ADC shared template associated with the finding. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class AdcSharedTemplateRevision extends com.google.api.client.json.GenericJson { + + /** + * The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{loc + * ation}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{loc + * ation}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{loc + * ation}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @param name name or {@code null} for none + */ + public AdcSharedTemplateRevision setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public AdcSharedTemplateRevision set(String fieldName, Object value) { + return (AdcSharedTemplateRevision) super.set(fieldName, value); + } + + @Override + public AdcSharedTemplateRevision clone() { + return (AdcSharedTemplateRevision) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/ArtifactGuardPolicies.java b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/ArtifactGuardPolicies.java new file mode 100644 index 00000000000..47447d1298f --- /dev/null +++ b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/ArtifactGuardPolicies.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1.model; + +/** + * Represents the result of evaluating artifact guard policies. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ArtifactGuardPolicies extends com.google.api.client.json.GenericJson { + + /** + * A list of failing policies. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ArtifactGuardPolicy extends com.google.api.client.json.GenericJson { + + /** + * The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String failureReason; + + /** + * The ID of the failing policy, for example, + * "organizations/3392779/locations/global/policies/prod-policy". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String policyId; + + /** + * The type of the policy evaluation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2". + * @return value or {@code null} for none + */ + public java.lang.String getFailureReason() { + return failureReason; + } + + /** + * The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2". + * @param failureReason failureReason or {@code null} for none + */ + public ArtifactGuardPolicy setFailureReason(java.lang.String failureReason) { + this.failureReason = failureReason; + return this; + } + + /** + * The ID of the failing policy, for example, + * "organizations/3392779/locations/global/policies/prod-policy". + * @return value or {@code null} for none + */ + public java.lang.String getPolicyId() { + return policyId; + } + + /** + * The ID of the failing policy, for example, + * "organizations/3392779/locations/global/policies/prod-policy". + * @param policyId policyId or {@code null} for none + */ + public ArtifactGuardPolicy setPolicyId(java.lang.String policyId) { + this.policyId = policyId; + return this; + } + + /** + * The type of the policy evaluation. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * The type of the policy evaluation. + * @param type type or {@code null} for none + */ + public ArtifactGuardPolicy setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public ArtifactGuardPolicy set(String fieldName, Object value) { + return (ArtifactGuardPolicy) super.set(fieldName, value); + } + + @Override + public ArtifactGuardPolicy clone() { + return (ArtifactGuardPolicy) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/File.java b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/File.java index 7e9a6f360eb..ffa72abbb2f 100644 --- a/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/File.java +++ b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/File.java @@ -45,6 +45,13 @@ public final class File extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private DiskPath diskPath; + /** + * The load state of the file. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String fileLoadState; + /** * The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes * reported represent the entire file. @@ -123,6 +130,23 @@ public File setDiskPath(DiskPath diskPath) { return this; } + /** + * The load state of the file. + * @return value or {@code null} for none + */ + public java.lang.String getFileLoadState() { + return fileLoadState; + } + + /** + * The load state of the file. + * @param fileLoadState fileLoadState or {@code null} for none + */ + public File setFileLoadState(java.lang.String fileLoadState) { + this.fileLoadState = fileLoadState; + return this; + } + /** * The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes * reported represent the entire file. diff --git a/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/Finding.java b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/Finding.java index d86d27f9e99..612db10a36f 100644 --- a/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/Finding.java +++ b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/Finding.java @@ -62,6 +62,13 @@ public final class Finding extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private Application application; + /** + * ArtifactGuardPolicies associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private ArtifactGuardPolicies artifactGuardPolicies; + /** * The results of an attack path simulation relevant to this finding. * The value may be {@code null}. @@ -501,6 +508,13 @@ public final class Finding extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String resourceName; + /** + * Secret associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private Secret secret; + /** * Output only. User specified security marks. These marks are entirely managed by the user and * come from the SecurityMarks resource that belongs to the finding. @@ -634,6 +648,23 @@ public Finding setApplication(Application application) { return this; } + /** + * ArtifactGuardPolicies associated with the finding. + * @return value or {@code null} for none + */ + public ArtifactGuardPolicies getArtifactGuardPolicies() { + return artifactGuardPolicies; + } + + /** + * ArtifactGuardPolicies associated with the finding. + * @param artifactGuardPolicies artifactGuardPolicies or {@code null} for none + */ + public Finding setArtifactGuardPolicies(ArtifactGuardPolicies artifactGuardPolicies) { + this.artifactGuardPolicies = artifactGuardPolicies; + return this; + } + /** * The results of an attack path simulation relevant to this finding. * @return value or {@code null} for none @@ -1566,6 +1597,23 @@ public Finding setResourceName(java.lang.String resourceName) { return this; } + /** + * Secret associated with the finding. + * @return value or {@code null} for none + */ + public Secret getSecret() { + return secret; + } + + /** + * Secret associated with the finding. + * @param secret secret or {@code null} for none + */ + public Finding setSecret(Secret secret) { + this.secret = secret; + return this; + } + /** * Output only. User specified security marks. These marks are entirely managed by the user and * come from the SecurityMarks resource that belongs to the finding. diff --git a/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV1Resource.java b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV1Resource.java index 4e5493bf5c5..d6a90f97157 100644 --- a/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV1Resource.java +++ b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV1Resource.java @@ -30,6 +30,27 @@ @SuppressWarnings("javadoc") public final class GoogleCloudSecuritycenterV1Resource extends com.google.api.client.json.GenericJson { + /** + * The ADC application associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private AdcApplication adcApplication; + + /** + * The ADC template associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private AdcApplicationTemplateRevision adcApplicationTemplate; + + /** + * The ADC shared template associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private AdcSharedTemplateRevision adcSharedTemplate; + /** * The App Hub application this resource belongs to. * The value may be {@code null}. @@ -164,6 +185,57 @@ public final class GoogleCloudSecuritycenterV1Resource extends com.google.api.cl @com.google.api.client.util.Key private java.lang.String type; + /** + * The ADC application associated with the finding. + * @return value or {@code null} for none + */ + public AdcApplication getAdcApplication() { + return adcApplication; + } + + /** + * The ADC application associated with the finding. + * @param adcApplication adcApplication or {@code null} for none + */ + public GoogleCloudSecuritycenterV1Resource setAdcApplication(AdcApplication adcApplication) { + this.adcApplication = adcApplication; + return this; + } + + /** + * The ADC template associated with the finding. + * @return value or {@code null} for none + */ + public AdcApplicationTemplateRevision getAdcApplicationTemplate() { + return adcApplicationTemplate; + } + + /** + * The ADC template associated with the finding. + * @param adcApplicationTemplate adcApplicationTemplate or {@code null} for none + */ + public GoogleCloudSecuritycenterV1Resource setAdcApplicationTemplate(AdcApplicationTemplateRevision adcApplicationTemplate) { + this.adcApplicationTemplate = adcApplicationTemplate; + return this; + } + + /** + * The ADC shared template associated with the finding. + * @return value or {@code null} for none + */ + public AdcSharedTemplateRevision getAdcSharedTemplate() { + return adcSharedTemplate; + } + + /** + * The ADC shared template associated with the finding. + * @param adcSharedTemplate adcSharedTemplate or {@code null} for none + */ + public GoogleCloudSecuritycenterV1Resource setAdcSharedTemplate(AdcSharedTemplateRevision adcSharedTemplate) { + this.adcSharedTemplate = adcSharedTemplate; + return this; + } + /** * The App Hub application this resource belongs to. * @return value or {@code null} for none diff --git a/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2AdcApplication.java b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2AdcApplication.java new file mode 100644 index 00000000000..975418031c6 --- /dev/null +++ b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2AdcApplication.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1.model; + +/** + * Represents an ADC application associated with the finding. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2AdcApplication extends com.google.api.client.json.GenericJson { + + /** + * Consumer provided attributes for the AppHub application. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2ResourceApplicationAttributes attributes; + + /** + * The resource name of an ADC Application. Format: + * projects/{project}/locations/{location}/spaces/{space}/applications/{application} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Consumer provided attributes for the AppHub application. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2ResourceApplicationAttributes getAttributes() { + return attributes; + } + + /** + * Consumer provided attributes for the AppHub application. + * @param attributes attributes or {@code null} for none + */ + public GoogleCloudSecuritycenterV2AdcApplication setAttributes(GoogleCloudSecuritycenterV2ResourceApplicationAttributes attributes) { + this.attributes = attributes; + return this; + } + + /** + * The resource name of an ADC Application. Format: + * projects/{project}/locations/{location}/spaces/{space}/applications/{application} + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The resource name of an ADC Application. Format: + * projects/{project}/locations/{location}/spaces/{space}/applications/{application} + * @param name name or {@code null} for none + */ + public GoogleCloudSecuritycenterV2AdcApplication setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public GoogleCloudSecuritycenterV2AdcApplication set(String fieldName, Object value) { + return (GoogleCloudSecuritycenterV2AdcApplication) super.set(fieldName, value); + } + + @Override + public GoogleCloudSecuritycenterV2AdcApplication clone() { + return (GoogleCloudSecuritycenterV2AdcApplication) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision.java b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision.java new file mode 100644 index 00000000000..4ba394b932a --- /dev/null +++ b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1.model; + +/** + * Represents an ADC template associated with the finding. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision extends com.google.api.client.json.GenericJson { + + /** + * The resource name of an ADC Application Template Revision. Format: projects/{project}/locations + * /{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * The resource name of an ADC Application Template Revision. Format: projects/{project}/locations + * /{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The resource name of an ADC Application Template Revision. Format: projects/{project}/locations + * /{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @param name name or {@code null} for none + */ + public GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision set(String fieldName, Object value) { + return (GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision) super.set(fieldName, value); + } + + @Override + public GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision clone() { + return (GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2AdcSharedTemplateRevision.java b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2AdcSharedTemplateRevision.java new file mode 100644 index 00000000000..1a10f84f0b3 --- /dev/null +++ b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2AdcSharedTemplateRevision.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1.model; + +/** + * Represents an ADC shared template associated with the finding. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2AdcSharedTemplateRevision extends com.google.api.client.json.GenericJson { + + /** + * The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{loc + * ation}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{loc + * ation}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{loc + * ation}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @param name name or {@code null} for none + */ + public GoogleCloudSecuritycenterV2AdcSharedTemplateRevision setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public GoogleCloudSecuritycenterV2AdcSharedTemplateRevision set(String fieldName, Object value) { + return (GoogleCloudSecuritycenterV2AdcSharedTemplateRevision) super.set(fieldName, value); + } + + @Override + public GoogleCloudSecuritycenterV2AdcSharedTemplateRevision clone() { + return (GoogleCloudSecuritycenterV2AdcSharedTemplateRevision) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2ArtifactGuardPolicies.java b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2ArtifactGuardPolicies.java new file mode 100644 index 00000000000..9a08e30f057 --- /dev/null +++ b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2ArtifactGuardPolicies.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1.model; + +/** + * Represents the result of evaluating artifact guard policies. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2ArtifactGuardPolicies extends com.google.api.client.json.GenericJson { + + /** + * A list of failing policies. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2ArtifactGuardPolicy extends com.google.api.client.json.GenericJson { + + /** + * The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String failureReason; + + /** + * The ID of the failing policy, for example, + * "organizations/3392779/locations/global/policies/prod-policy". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String policyId; + + /** + * The type of the policy evaluation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2". + * @return value or {@code null} for none + */ + public java.lang.String getFailureReason() { + return failureReason; + } + + /** + * The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2". + * @param failureReason failureReason or {@code null} for none + */ + public GoogleCloudSecuritycenterV2ArtifactGuardPolicy setFailureReason(java.lang.String failureReason) { + this.failureReason = failureReason; + return this; + } + + /** + * The ID of the failing policy, for example, + * "organizations/3392779/locations/global/policies/prod-policy". + * @return value or {@code null} for none + */ + public java.lang.String getPolicyId() { + return policyId; + } + + /** + * The ID of the failing policy, for example, + * "organizations/3392779/locations/global/policies/prod-policy". + * @param policyId policyId or {@code null} for none + */ + public GoogleCloudSecuritycenterV2ArtifactGuardPolicy setPolicyId(java.lang.String policyId) { + this.policyId = policyId; + return this; + } + + /** + * The type of the policy evaluation. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * The type of the policy evaluation. + * @param type type or {@code null} for none + */ + public GoogleCloudSecuritycenterV2ArtifactGuardPolicy setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleCloudSecuritycenterV2ArtifactGuardPolicy set(String fieldName, Object value) { + return (GoogleCloudSecuritycenterV2ArtifactGuardPolicy) super.set(fieldName, value); + } + + @Override + public GoogleCloudSecuritycenterV2ArtifactGuardPolicy clone() { + return (GoogleCloudSecuritycenterV2ArtifactGuardPolicy) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2File.java b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2File.java index a0755a09156..d5e613da890 100644 --- a/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2File.java +++ b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2File.java @@ -45,6 +45,13 @@ public final class GoogleCloudSecuritycenterV2File extends com.google.api.client @com.google.api.client.util.Key private GoogleCloudSecuritycenterV2DiskPath diskPath; + /** + * The load state of the file. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String fileLoadState; + /** * The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes * reported represent the entire file. @@ -123,6 +130,23 @@ public GoogleCloudSecuritycenterV2File setDiskPath(GoogleCloudSecuritycenterV2Di return this; } + /** + * The load state of the file. + * @return value or {@code null} for none + */ + public java.lang.String getFileLoadState() { + return fileLoadState; + } + + /** + * The load state of the file. + * @param fileLoadState fileLoadState or {@code null} for none + */ + public GoogleCloudSecuritycenterV2File setFileLoadState(java.lang.String fileLoadState) { + this.fileLoadState = fileLoadState; + return this; + } + /** * The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes * reported represent the entire file. diff --git a/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2Finding.java b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2Finding.java index 4bc546d8aba..66dfbfad6c7 100644 --- a/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2Finding.java +++ b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2Finding.java @@ -62,6 +62,13 @@ public final class GoogleCloudSecuritycenterV2Finding extends com.google.api.cli @com.google.api.client.util.Key private GoogleCloudSecuritycenterV2Application application; + /** + * ArtifactGuardPolicies associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2ArtifactGuardPolicies artifactGuardPolicies; + /** * The results of an attack path simulation relevant to this finding. * The value may be {@code null}. @@ -521,6 +528,13 @@ public final class GoogleCloudSecuritycenterV2Finding extends com.google.api.cli @com.google.api.client.util.Key private java.lang.String resourceName; + /** + * Secret associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2Secret secret; + /** * Output only. User specified security marks. These marks are entirely managed by the user and * come from the SecurityMarks resource that belongs to the finding. @@ -654,6 +668,23 @@ public GoogleCloudSecuritycenterV2Finding setApplication(GoogleCloudSecuritycent return this; } + /** + * ArtifactGuardPolicies associated with the finding. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2ArtifactGuardPolicies getArtifactGuardPolicies() { + return artifactGuardPolicies; + } + + /** + * ArtifactGuardPolicies associated with the finding. + * @param artifactGuardPolicies artifactGuardPolicies or {@code null} for none + */ + public GoogleCloudSecuritycenterV2Finding setArtifactGuardPolicies(GoogleCloudSecuritycenterV2ArtifactGuardPolicies artifactGuardPolicies) { + this.artifactGuardPolicies = artifactGuardPolicies; + return this; + } + /** * The results of an attack path simulation relevant to this finding. * @return value or {@code null} for none @@ -1617,6 +1648,23 @@ public GoogleCloudSecuritycenterV2Finding setResourceName(java.lang.String resou return this; } + /** + * Secret associated with the finding. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2Secret getSecret() { + return secret; + } + + /** + * Secret associated with the finding. + * @param secret secret or {@code null} for none + */ + public GoogleCloudSecuritycenterV2Finding setSecret(GoogleCloudSecuritycenterV2Secret secret) { + this.secret = secret; + return this; + } + /** * Output only. User specified security marks. These marks are entirely managed by the user and * come from the SecurityMarks resource that belongs to the finding. diff --git a/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2IssueResource.java b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2IssueResource.java index 295f66fe7cb..9e3c570e231 100644 --- a/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2IssueResource.java +++ b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2IssueResource.java @@ -30,6 +30,27 @@ @SuppressWarnings("javadoc") public final class GoogleCloudSecuritycenterV2IssueResource extends com.google.api.client.json.GenericJson { + /** + * The ADC application associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2IssueResourceAdcApplication adcApplication; + + /** + * The ADC template associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision adcApplicationTemplate; + + /** + * The ADC shared template associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision adcSharedTemplate; + /** * The AppHub application associated with the resource, if any. Only populated for the primary * resource. @@ -89,6 +110,57 @@ public final class GoogleCloudSecuritycenterV2IssueResource extends com.google.a @com.google.api.client.util.Key private java.lang.String type; + /** + * The ADC application associated with the finding. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2IssueResourceAdcApplication getAdcApplication() { + return adcApplication; + } + + /** + * The ADC application associated with the finding. + * @param adcApplication adcApplication or {@code null} for none + */ + public GoogleCloudSecuritycenterV2IssueResource setAdcApplication(GoogleCloudSecuritycenterV2IssueResourceAdcApplication adcApplication) { + this.adcApplication = adcApplication; + return this; + } + + /** + * The ADC template associated with the finding. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision getAdcApplicationTemplate() { + return adcApplicationTemplate; + } + + /** + * The ADC template associated with the finding. + * @param adcApplicationTemplate adcApplicationTemplate or {@code null} for none + */ + public GoogleCloudSecuritycenterV2IssueResource setAdcApplicationTemplate(GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision adcApplicationTemplate) { + this.adcApplicationTemplate = adcApplicationTemplate; + return this; + } + + /** + * The ADC shared template associated with the finding. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision getAdcSharedTemplate() { + return adcSharedTemplate; + } + + /** + * The ADC shared template associated with the finding. + * @param adcSharedTemplate adcSharedTemplate or {@code null} for none + */ + public GoogleCloudSecuritycenterV2IssueResource setAdcSharedTemplate(GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision adcSharedTemplate) { + this.adcSharedTemplate = adcSharedTemplate; + return this; + } + /** * The AppHub application associated with the resource, if any. Only populated for the primary * resource. diff --git a/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2IssueResourceAdcApplication.java b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2IssueResourceAdcApplication.java new file mode 100644 index 00000000000..247b7d2dc13 --- /dev/null +++ b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2IssueResourceAdcApplication.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1.model; + +/** + * Represents an ADC application associated with the finding. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2IssueResourceAdcApplication extends com.google.api.client.json.GenericJson { + + /** + * Consumer provided attributes for the AppHub application. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes attributes; + + /** + * The resource name of an ADC Application. Format: + * projects/{project}/locations/{location}/spaces/{space}/applications/{application} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Consumer provided attributes for the AppHub application. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes getAttributes() { + return attributes; + } + + /** + * Consumer provided attributes for the AppHub application. + * @param attributes attributes or {@code null} for none + */ + public GoogleCloudSecuritycenterV2IssueResourceAdcApplication setAttributes(GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes attributes) { + this.attributes = attributes; + return this; + } + + /** + * The resource name of an ADC Application. Format: + * projects/{project}/locations/{location}/spaces/{space}/applications/{application} + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The resource name of an ADC Application. Format: + * projects/{project}/locations/{location}/spaces/{space}/applications/{application} + * @param name name or {@code null} for none + */ + public GoogleCloudSecuritycenterV2IssueResourceAdcApplication setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public GoogleCloudSecuritycenterV2IssueResourceAdcApplication set(String fieldName, Object value) { + return (GoogleCloudSecuritycenterV2IssueResourceAdcApplication) super.set(fieldName, value); + } + + @Override + public GoogleCloudSecuritycenterV2IssueResourceAdcApplication clone() { + return (GoogleCloudSecuritycenterV2IssueResourceAdcApplication) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision.java b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision.java new file mode 100644 index 00000000000..93d61f4e9e7 --- /dev/null +++ b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1.model; + +/** + * Represents an ADC template associated with the finding. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision extends com.google.api.client.json.GenericJson { + + /** + * The resource name of an ADC Application Template Revision. Format: projects/{project}/locations + * /{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * The resource name of an ADC Application Template Revision. Format: projects/{project}/locations + * /{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The resource name of an ADC Application Template Revision. Format: projects/{project}/locations + * /{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @param name name or {@code null} for none + */ + public GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision set(String fieldName, Object value) { + return (GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision) super.set(fieldName, value); + } + + @Override + public GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision clone() { + return (GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision.java b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision.java new file mode 100644 index 00000000000..a720d373df6 --- /dev/null +++ b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1.model; + +/** + * Represents an ADC shared template associated with the finding. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision extends com.google.api.client.json.GenericJson { + + /** + * The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{loc + * ation}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{loc + * ation}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{loc + * ation}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @param name name or {@code null} for none + */ + public GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision set(String fieldName, Object value) { + return (GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision) super.set(fieldName, value); + } + + @Override + public GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision clone() { + return (GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2Resource.java b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2Resource.java index 3ac60912268..cbb282883aa 100644 --- a/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2Resource.java +++ b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2Resource.java @@ -30,6 +30,27 @@ @SuppressWarnings("javadoc") public final class GoogleCloudSecuritycenterV2Resource extends com.google.api.client.json.GenericJson { + /** + * The ADC application associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2AdcApplication adcApplication; + + /** + * The ADC template associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision adcApplicationTemplate; + + /** + * The ADC shared template associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2AdcSharedTemplateRevision adcSharedTemplate; + /** * The App Hub application this resource belongs to. * The value may be {@code null}. @@ -121,6 +142,57 @@ public final class GoogleCloudSecuritycenterV2Resource extends com.google.api.cl @com.google.api.client.util.Key private java.lang.String type; + /** + * The ADC application associated with the finding. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2AdcApplication getAdcApplication() { + return adcApplication; + } + + /** + * The ADC application associated with the finding. + * @param adcApplication adcApplication or {@code null} for none + */ + public GoogleCloudSecuritycenterV2Resource setAdcApplication(GoogleCloudSecuritycenterV2AdcApplication adcApplication) { + this.adcApplication = adcApplication; + return this; + } + + /** + * The ADC template associated with the finding. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision getAdcApplicationTemplate() { + return adcApplicationTemplate; + } + + /** + * The ADC template associated with the finding. + * @param adcApplicationTemplate adcApplicationTemplate or {@code null} for none + */ + public GoogleCloudSecuritycenterV2Resource setAdcApplicationTemplate(GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision adcApplicationTemplate) { + this.adcApplicationTemplate = adcApplicationTemplate; + return this; + } + + /** + * The ADC shared template associated with the finding. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2AdcSharedTemplateRevision getAdcSharedTemplate() { + return adcSharedTemplate; + } + + /** + * The ADC shared template associated with the finding. + * @param adcSharedTemplate adcSharedTemplate or {@code null} for none + */ + public GoogleCloudSecuritycenterV2Resource setAdcSharedTemplate(GoogleCloudSecuritycenterV2AdcSharedTemplateRevision adcSharedTemplate) { + this.adcSharedTemplate = adcSharedTemplate; + return this; + } + /** * The App Hub application this resource belongs to. * @return value or {@code null} for none diff --git a/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2Secret.java b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2Secret.java new file mode 100644 index 00000000000..a50a50c14ba --- /dev/null +++ b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2Secret.java @@ -0,0 +1,139 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1.model; + +/** + * Details about a secret or credential associated with the finding. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2Secret extends com.google.api.client.json.GenericJson { + + /** + * The environment variable containing the secret. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2SecretEnvironmentVariable environmentVariable; + + /** + * The file containing the secret. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2SecretFilePath filePath; + + /** + * The status of the secret. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2SecretStatus status; + + /** + * The type of secret, for example, GCP_API_KEY. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * The environment variable containing the secret. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2SecretEnvironmentVariable getEnvironmentVariable() { + return environmentVariable; + } + + /** + * The environment variable containing the secret. + * @param environmentVariable environmentVariable or {@code null} for none + */ + public GoogleCloudSecuritycenterV2Secret setEnvironmentVariable(GoogleCloudSecuritycenterV2SecretEnvironmentVariable environmentVariable) { + this.environmentVariable = environmentVariable; + return this; + } + + /** + * The file containing the secret. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2SecretFilePath getFilePath() { + return filePath; + } + + /** + * The file containing the secret. + * @param filePath filePath or {@code null} for none + */ + public GoogleCloudSecuritycenterV2Secret setFilePath(GoogleCloudSecuritycenterV2SecretFilePath filePath) { + this.filePath = filePath; + return this; + } + + /** + * The status of the secret. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2SecretStatus getStatus() { + return status; + } + + /** + * The status of the secret. + * @param status status or {@code null} for none + */ + public GoogleCloudSecuritycenterV2Secret setStatus(GoogleCloudSecuritycenterV2SecretStatus status) { + this.status = status; + return this; + } + + /** + * The type of secret, for example, GCP_API_KEY. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * The type of secret, for example, GCP_API_KEY. + * @param type type or {@code null} for none + */ + public GoogleCloudSecuritycenterV2Secret setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleCloudSecuritycenterV2Secret set(String fieldName, Object value) { + return (GoogleCloudSecuritycenterV2Secret) super.set(fieldName, value); + } + + @Override + public GoogleCloudSecuritycenterV2Secret clone() { + return (GoogleCloudSecuritycenterV2Secret) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2SecretEnvironmentVariable.java b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2SecretEnvironmentVariable.java new file mode 100644 index 00000000000..92d7700df47 --- /dev/null +++ b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2SecretEnvironmentVariable.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1.model; + +/** + * Environment variable containing the secret. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2SecretEnvironmentVariable extends com.google.api.client.json.GenericJson { + + /** + * Environment variable name as a JSON encoded string. Note that value is not included since the + * value contains the secret data, which is sensitive core content. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String key; + + /** + * Environment variable name as a JSON encoded string. Note that value is not included since the + * value contains the secret data, which is sensitive core content. + * @return value or {@code null} for none + */ + public java.lang.String getKey() { + return key; + } + + /** + * Environment variable name as a JSON encoded string. Note that value is not included since the + * value contains the secret data, which is sensitive core content. + * @param key key or {@code null} for none + */ + public GoogleCloudSecuritycenterV2SecretEnvironmentVariable setKey(java.lang.String key) { + this.key = key; + return this; + } + + @Override + public GoogleCloudSecuritycenterV2SecretEnvironmentVariable set(String fieldName, Object value) { + return (GoogleCloudSecuritycenterV2SecretEnvironmentVariable) super.set(fieldName, value); + } + + @Override + public GoogleCloudSecuritycenterV2SecretEnvironmentVariable clone() { + return (GoogleCloudSecuritycenterV2SecretEnvironmentVariable) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2SecretFilePath.java b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2SecretFilePath.java new file mode 100644 index 00000000000..78c132b400e --- /dev/null +++ b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2SecretFilePath.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1.model; + +/** + * File path containing the secret. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2SecretFilePath extends com.google.api.client.json.GenericJson { + + /** + * Path to the file. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String path; + + /** + * Path to the file. + * @return value or {@code null} for none + */ + public java.lang.String getPath() { + return path; + } + + /** + * Path to the file. + * @param path path or {@code null} for none + */ + public GoogleCloudSecuritycenterV2SecretFilePath setPath(java.lang.String path) { + this.path = path; + return this; + } + + @Override + public GoogleCloudSecuritycenterV2SecretFilePath set(String fieldName, Object value) { + return (GoogleCloudSecuritycenterV2SecretFilePath) super.set(fieldName, value); + } + + @Override + public GoogleCloudSecuritycenterV2SecretFilePath clone() { + return (GoogleCloudSecuritycenterV2SecretFilePath) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2SecretStatus.java b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2SecretStatus.java new file mode 100644 index 00000000000..783b1eb1cf0 --- /dev/null +++ b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/GoogleCloudSecuritycenterV2SecretStatus.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1.model; + +/** + * The status of the secret. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2SecretStatus extends com.google.api.client.json.GenericJson { + + /** + * Time that the secret was found. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String lastUpdatedTime; + + /** + * The validity of the secret. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String validity; + + /** + * Time that the secret was found. + * @return value or {@code null} for none + */ + public String getLastUpdatedTime() { + return lastUpdatedTime; + } + + /** + * Time that the secret was found. + * @param lastUpdatedTime lastUpdatedTime or {@code null} for none + */ + public GoogleCloudSecuritycenterV2SecretStatus setLastUpdatedTime(String lastUpdatedTime) { + this.lastUpdatedTime = lastUpdatedTime; + return this; + } + + /** + * The validity of the secret. + * @return value or {@code null} for none + */ + public java.lang.String getValidity() { + return validity; + } + + /** + * The validity of the secret. + * @param validity validity or {@code null} for none + */ + public GoogleCloudSecuritycenterV2SecretStatus setValidity(java.lang.String validity) { + this.validity = validity; + return this; + } + + @Override + public GoogleCloudSecuritycenterV2SecretStatus set(String fieldName, Object value) { + return (GoogleCloudSecuritycenterV2SecretStatus) super.set(fieldName, value); + } + + @Override + public GoogleCloudSecuritycenterV2SecretStatus clone() { + return (GoogleCloudSecuritycenterV2SecretStatus) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/Resource.java b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/Resource.java index c23e57724a4..f960d4dc6d5 100644 --- a/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/Resource.java +++ b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/Resource.java @@ -30,6 +30,27 @@ @SuppressWarnings("javadoc") public final class Resource extends com.google.api.client.json.GenericJson { + /** + * The ADC application associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private AdcApplication adcApplication; + + /** + * The ADC template associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private AdcApplicationTemplateRevision adcApplicationTemplate; + + /** + * The ADC shared template associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private AdcSharedTemplateRevision adcSharedTemplate; + /** * The App Hub application this resource belongs to. * The value may be {@code null}. @@ -163,6 +184,57 @@ public final class Resource extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String type; + /** + * The ADC application associated with the finding. + * @return value or {@code null} for none + */ + public AdcApplication getAdcApplication() { + return adcApplication; + } + + /** + * The ADC application associated with the finding. + * @param adcApplication adcApplication or {@code null} for none + */ + public Resource setAdcApplication(AdcApplication adcApplication) { + this.adcApplication = adcApplication; + return this; + } + + /** + * The ADC template associated with the finding. + * @return value or {@code null} for none + */ + public AdcApplicationTemplateRevision getAdcApplicationTemplate() { + return adcApplicationTemplate; + } + + /** + * The ADC template associated with the finding. + * @param adcApplicationTemplate adcApplicationTemplate or {@code null} for none + */ + public Resource setAdcApplicationTemplate(AdcApplicationTemplateRevision adcApplicationTemplate) { + this.adcApplicationTemplate = adcApplicationTemplate; + return this; + } + + /** + * The ADC shared template associated with the finding. + * @return value or {@code null} for none + */ + public AdcSharedTemplateRevision getAdcSharedTemplate() { + return adcSharedTemplate; + } + + /** + * The ADC shared template associated with the finding. + * @param adcSharedTemplate adcSharedTemplate or {@code null} for none + */ + public Resource setAdcSharedTemplate(AdcSharedTemplateRevision adcSharedTemplate) { + this.adcSharedTemplate = adcSharedTemplate; + return this; + } + /** * The App Hub application this resource belongs to. * @return value or {@code null} for none diff --git a/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/Secret.java b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/Secret.java new file mode 100644 index 00000000000..e4e2fd5c366 --- /dev/null +++ b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/Secret.java @@ -0,0 +1,139 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1.model; + +/** + * Details about a secret or credential associated with the finding. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class Secret extends com.google.api.client.json.GenericJson { + + /** + * The environment variable containing the secret. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private SecretEnvironmentVariable environmentVariable; + + /** + * The file containing the secret. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private SecretFilePath filePath; + + /** + * The status of the secret. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private SecretStatus status; + + /** + * The type of secret, for example, GCP_API_KEY. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * The environment variable containing the secret. + * @return value or {@code null} for none + */ + public SecretEnvironmentVariable getEnvironmentVariable() { + return environmentVariable; + } + + /** + * The environment variable containing the secret. + * @param environmentVariable environmentVariable or {@code null} for none + */ + public Secret setEnvironmentVariable(SecretEnvironmentVariable environmentVariable) { + this.environmentVariable = environmentVariable; + return this; + } + + /** + * The file containing the secret. + * @return value or {@code null} for none + */ + public SecretFilePath getFilePath() { + return filePath; + } + + /** + * The file containing the secret. + * @param filePath filePath or {@code null} for none + */ + public Secret setFilePath(SecretFilePath filePath) { + this.filePath = filePath; + return this; + } + + /** + * The status of the secret. + * @return value or {@code null} for none + */ + public SecretStatus getStatus() { + return status; + } + + /** + * The status of the secret. + * @param status status or {@code null} for none + */ + public Secret setStatus(SecretStatus status) { + this.status = status; + return this; + } + + /** + * The type of secret, for example, GCP_API_KEY. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * The type of secret, for example, GCP_API_KEY. + * @param type type or {@code null} for none + */ + public Secret setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public Secret set(String fieldName, Object value) { + return (Secret) super.set(fieldName, value); + } + + @Override + public Secret clone() { + return (Secret) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/SecretEnvironmentVariable.java b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/SecretEnvironmentVariable.java new file mode 100644 index 00000000000..0e03826be5d --- /dev/null +++ b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/SecretEnvironmentVariable.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1.model; + +/** + * Environment variable containing the secret. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class SecretEnvironmentVariable extends com.google.api.client.json.GenericJson { + + /** + * Environment variable name as a JSON encoded string. Note that value is not included since the + * value contains the secret data, which is sensitive core content. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String key; + + /** + * Environment variable name as a JSON encoded string. Note that value is not included since the + * value contains the secret data, which is sensitive core content. + * @return value or {@code null} for none + */ + public java.lang.String getKey() { + return key; + } + + /** + * Environment variable name as a JSON encoded string. Note that value is not included since the + * value contains the secret data, which is sensitive core content. + * @param key key or {@code null} for none + */ + public SecretEnvironmentVariable setKey(java.lang.String key) { + this.key = key; + return this; + } + + @Override + public SecretEnvironmentVariable set(String fieldName, Object value) { + return (SecretEnvironmentVariable) super.set(fieldName, value); + } + + @Override + public SecretEnvironmentVariable clone() { + return (SecretEnvironmentVariable) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/SecretFilePath.java b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/SecretFilePath.java new file mode 100644 index 00000000000..a5265dcceba --- /dev/null +++ b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/SecretFilePath.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1.model; + +/** + * File path containing the secret. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class SecretFilePath extends com.google.api.client.json.GenericJson { + + /** + * Path to the file. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String path; + + /** + * Path to the file. + * @return value or {@code null} for none + */ + public java.lang.String getPath() { + return path; + } + + /** + * Path to the file. + * @param path path or {@code null} for none + */ + public SecretFilePath setPath(java.lang.String path) { + this.path = path; + return this; + } + + @Override + public SecretFilePath set(String fieldName, Object value) { + return (SecretFilePath) super.set(fieldName, value); + } + + @Override + public SecretFilePath clone() { + return (SecretFilePath) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/SecretStatus.java b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/SecretStatus.java new file mode 100644 index 00000000000..75d4ef1c339 --- /dev/null +++ b/clients/google-api-services-securitycenter/v1/2.0.0/com/google/api/services/securitycenter/v1/model/SecretStatus.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1.model; + +/** + * The status of the secret. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class SecretStatus extends com.google.api.client.json.GenericJson { + + /** + * Time that the secret was found. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String lastUpdatedTime; + + /** + * The validity of the secret. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String validity; + + /** + * Time that the secret was found. + * @return value or {@code null} for none + */ + public String getLastUpdatedTime() { + return lastUpdatedTime; + } + + /** + * Time that the secret was found. + * @param lastUpdatedTime lastUpdatedTime or {@code null} for none + */ + public SecretStatus setLastUpdatedTime(String lastUpdatedTime) { + this.lastUpdatedTime = lastUpdatedTime; + return this; + } + + /** + * The validity of the secret. + * @return value or {@code null} for none + */ + public java.lang.String getValidity() { + return validity; + } + + /** + * The validity of the secret. + * @param validity validity or {@code null} for none + */ + public SecretStatus setValidity(java.lang.String validity) { + this.validity = validity; + return this; + } + + @Override + public SecretStatus set(String fieldName, Object value) { + return (SecretStatus) super.set(fieldName, value); + } + + @Override + public SecretStatus clone() { + return (SecretStatus) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1/2.0.0/pom.xml b/clients/google-api-services-securitycenter/v1/2.0.0/pom.xml index f3a170f355b..1e5a1a9d02a 100644 --- a/clients/google-api-services-securitycenter/v1/2.0.0/pom.xml +++ b/clients/google-api-services-securitycenter/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class AdcApplication extends com.google.api.client.json.GenericJson { + + /** + * Consumer provided attributes for the AppHub application. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV1ResourceApplicationAttributes attributes; + + /** + * The resource name of an ADC Application. Format: + * projects/{project}/locations/{location}/spaces/{space}/applications/{application} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Consumer provided attributes for the AppHub application. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV1ResourceApplicationAttributes getAttributes() { + return attributes; + } + + /** + * Consumer provided attributes for the AppHub application. + * @param attributes attributes or {@code null} for none + */ + public AdcApplication setAttributes(GoogleCloudSecuritycenterV1ResourceApplicationAttributes attributes) { + this.attributes = attributes; + return this; + } + + /** + * The resource name of an ADC Application. Format: + * projects/{project}/locations/{location}/spaces/{space}/applications/{application} + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The resource name of an ADC Application. Format: + * projects/{project}/locations/{location}/spaces/{space}/applications/{application} + * @param name name or {@code null} for none + */ + public AdcApplication setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public AdcApplication set(String fieldName, Object value) { + return (AdcApplication) super.set(fieldName, value); + } + + @Override + public AdcApplication clone() { + return (AdcApplication) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/AdcApplicationTemplateRevision.java b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/AdcApplicationTemplateRevision.java new file mode 100644 index 00000000000..0f776ea55fe --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/AdcApplicationTemplateRevision.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta1.model; + +/** + * Represents an ADC template associated with the finding. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class AdcApplicationTemplateRevision extends com.google.api.client.json.GenericJson { + + /** + * The resource name of an ADC Application Template Revision. Format: projects/{project}/locations + * /{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * The resource name of an ADC Application Template Revision. Format: projects/{project}/locations + * /{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The resource name of an ADC Application Template Revision. Format: projects/{project}/locations + * /{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @param name name or {@code null} for none + */ + public AdcApplicationTemplateRevision setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public AdcApplicationTemplateRevision set(String fieldName, Object value) { + return (AdcApplicationTemplateRevision) super.set(fieldName, value); + } + + @Override + public AdcApplicationTemplateRevision clone() { + return (AdcApplicationTemplateRevision) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/AdcSharedTemplateRevision.java b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/AdcSharedTemplateRevision.java new file mode 100644 index 00000000000..08e4e6d1eb3 --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/AdcSharedTemplateRevision.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta1.model; + +/** + * Represents an ADC shared template associated with the finding. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class AdcSharedTemplateRevision extends com.google.api.client.json.GenericJson { + + /** + * The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{loc + * ation}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{loc + * ation}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{loc + * ation}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @param name name or {@code null} for none + */ + public AdcSharedTemplateRevision setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public AdcSharedTemplateRevision set(String fieldName, Object value) { + return (AdcSharedTemplateRevision) super.set(fieldName, value); + } + + @Override + public AdcSharedTemplateRevision clone() { + return (AdcSharedTemplateRevision) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/ArtifactGuardPolicies.java b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/ArtifactGuardPolicies.java new file mode 100644 index 00000000000..9a692ebb61b --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/ArtifactGuardPolicies.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta1.model; + +/** + * Represents the result of evaluating artifact guard policies. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ArtifactGuardPolicies extends com.google.api.client.json.GenericJson { + + /** + * A list of failing policies. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ArtifactGuardPolicy extends com.google.api.client.json.GenericJson { + + /** + * The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String failureReason; + + /** + * The ID of the failing policy, for example, + * "organizations/3392779/locations/global/policies/prod-policy". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String policyId; + + /** + * The type of the policy evaluation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2". + * @return value or {@code null} for none + */ + public java.lang.String getFailureReason() { + return failureReason; + } + + /** + * The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2". + * @param failureReason failureReason or {@code null} for none + */ + public ArtifactGuardPolicy setFailureReason(java.lang.String failureReason) { + this.failureReason = failureReason; + return this; + } + + /** + * The ID of the failing policy, for example, + * "organizations/3392779/locations/global/policies/prod-policy". + * @return value or {@code null} for none + */ + public java.lang.String getPolicyId() { + return policyId; + } + + /** + * The ID of the failing policy, for example, + * "organizations/3392779/locations/global/policies/prod-policy". + * @param policyId policyId or {@code null} for none + */ + public ArtifactGuardPolicy setPolicyId(java.lang.String policyId) { + this.policyId = policyId; + return this; + } + + /** + * The type of the policy evaluation. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * The type of the policy evaluation. + * @param type type or {@code null} for none + */ + public ArtifactGuardPolicy setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public ArtifactGuardPolicy set(String fieldName, Object value) { + return (ArtifactGuardPolicy) super.set(fieldName, value); + } + + @Override + public ArtifactGuardPolicy clone() { + return (ArtifactGuardPolicy) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/File.java b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/File.java index f3fe51600b4..2a16dbf5630 100644 --- a/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/File.java +++ b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/File.java @@ -45,6 +45,13 @@ public final class File extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private DiskPath diskPath; + /** + * The load state of the file. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String fileLoadState; + /** * The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes * reported represent the entire file. @@ -123,6 +130,23 @@ public File setDiskPath(DiskPath diskPath) { return this; } + /** + * The load state of the file. + * @return value or {@code null} for none + */ + public java.lang.String getFileLoadState() { + return fileLoadState; + } + + /** + * The load state of the file. + * @param fileLoadState fileLoadState or {@code null} for none + */ + public File setFileLoadState(java.lang.String fileLoadState) { + this.fileLoadState = fileLoadState; + return this; + } + /** * The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes * reported represent the entire file. diff --git a/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/Finding.java b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/Finding.java index 8038915fceb..f5170f5840f 100644 --- a/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/Finding.java +++ b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/Finding.java @@ -62,6 +62,13 @@ public final class Finding extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private Application application; + /** + * ArtifactGuardPolicies associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private ArtifactGuardPolicies artifactGuardPolicies; + /** * The results of an attack path simulation relevant to this finding. * The value may be {@code null}. @@ -501,6 +508,13 @@ public final class Finding extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String resourceName; + /** + * Secret associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private Secret secret; + /** * Output only. User specified security marks. These marks are entirely managed by the user and * come from the SecurityMarks resource that belongs to the finding. @@ -634,6 +648,23 @@ public Finding setApplication(Application application) { return this; } + /** + * ArtifactGuardPolicies associated with the finding. + * @return value or {@code null} for none + */ + public ArtifactGuardPolicies getArtifactGuardPolicies() { + return artifactGuardPolicies; + } + + /** + * ArtifactGuardPolicies associated with the finding. + * @param artifactGuardPolicies artifactGuardPolicies or {@code null} for none + */ + public Finding setArtifactGuardPolicies(ArtifactGuardPolicies artifactGuardPolicies) { + this.artifactGuardPolicies = artifactGuardPolicies; + return this; + } + /** * The results of an attack path simulation relevant to this finding. * @return value or {@code null} for none @@ -1566,6 +1597,23 @@ public Finding setResourceName(java.lang.String resourceName) { return this; } + /** + * Secret associated with the finding. + * @return value or {@code null} for none + */ + public Secret getSecret() { + return secret; + } + + /** + * Secret associated with the finding. + * @param secret secret or {@code null} for none + */ + public Finding setSecret(Secret secret) { + this.secret = secret; + return this; + } + /** * Output only. User specified security marks. These marks are entirely managed by the user and * come from the SecurityMarks resource that belongs to the finding. diff --git a/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV1Resource.java b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV1Resource.java index a8b3b9b412d..8b83b78932c 100644 --- a/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV1Resource.java +++ b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV1Resource.java @@ -30,6 +30,27 @@ @SuppressWarnings("javadoc") public final class GoogleCloudSecuritycenterV1Resource extends com.google.api.client.json.GenericJson { + /** + * The ADC application associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private AdcApplication adcApplication; + + /** + * The ADC template associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private AdcApplicationTemplateRevision adcApplicationTemplate; + + /** + * The ADC shared template associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private AdcSharedTemplateRevision adcSharedTemplate; + /** * The App Hub application this resource belongs to. * The value may be {@code null}. @@ -164,6 +185,57 @@ public final class GoogleCloudSecuritycenterV1Resource extends com.google.api.cl @com.google.api.client.util.Key private java.lang.String type; + /** + * The ADC application associated with the finding. + * @return value or {@code null} for none + */ + public AdcApplication getAdcApplication() { + return adcApplication; + } + + /** + * The ADC application associated with the finding. + * @param adcApplication adcApplication or {@code null} for none + */ + public GoogleCloudSecuritycenterV1Resource setAdcApplication(AdcApplication adcApplication) { + this.adcApplication = adcApplication; + return this; + } + + /** + * The ADC template associated with the finding. + * @return value or {@code null} for none + */ + public AdcApplicationTemplateRevision getAdcApplicationTemplate() { + return adcApplicationTemplate; + } + + /** + * The ADC template associated with the finding. + * @param adcApplicationTemplate adcApplicationTemplate or {@code null} for none + */ + public GoogleCloudSecuritycenterV1Resource setAdcApplicationTemplate(AdcApplicationTemplateRevision adcApplicationTemplate) { + this.adcApplicationTemplate = adcApplicationTemplate; + return this; + } + + /** + * The ADC shared template associated with the finding. + * @return value or {@code null} for none + */ + public AdcSharedTemplateRevision getAdcSharedTemplate() { + return adcSharedTemplate; + } + + /** + * The ADC shared template associated with the finding. + * @param adcSharedTemplate adcSharedTemplate or {@code null} for none + */ + public GoogleCloudSecuritycenterV1Resource setAdcSharedTemplate(AdcSharedTemplateRevision adcSharedTemplate) { + this.adcSharedTemplate = adcSharedTemplate; + return this; + } + /** * The App Hub application this resource belongs to. * @return value or {@code null} for none diff --git a/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2AdcApplication.java b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2AdcApplication.java new file mode 100644 index 00000000000..c49848be865 --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2AdcApplication.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta1.model; + +/** + * Represents an ADC application associated with the finding. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2AdcApplication extends com.google.api.client.json.GenericJson { + + /** + * Consumer provided attributes for the AppHub application. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2ResourceApplicationAttributes attributes; + + /** + * The resource name of an ADC Application. Format: + * projects/{project}/locations/{location}/spaces/{space}/applications/{application} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Consumer provided attributes for the AppHub application. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2ResourceApplicationAttributes getAttributes() { + return attributes; + } + + /** + * Consumer provided attributes for the AppHub application. + * @param attributes attributes or {@code null} for none + */ + public GoogleCloudSecuritycenterV2AdcApplication setAttributes(GoogleCloudSecuritycenterV2ResourceApplicationAttributes attributes) { + this.attributes = attributes; + return this; + } + + /** + * The resource name of an ADC Application. Format: + * projects/{project}/locations/{location}/spaces/{space}/applications/{application} + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The resource name of an ADC Application. Format: + * projects/{project}/locations/{location}/spaces/{space}/applications/{application} + * @param name name or {@code null} for none + */ + public GoogleCloudSecuritycenterV2AdcApplication setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public GoogleCloudSecuritycenterV2AdcApplication set(String fieldName, Object value) { + return (GoogleCloudSecuritycenterV2AdcApplication) super.set(fieldName, value); + } + + @Override + public GoogleCloudSecuritycenterV2AdcApplication clone() { + return (GoogleCloudSecuritycenterV2AdcApplication) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision.java b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision.java new file mode 100644 index 00000000000..2fbe40c0399 --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta1.model; + +/** + * Represents an ADC template associated with the finding. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision extends com.google.api.client.json.GenericJson { + + /** + * The resource name of an ADC Application Template Revision. Format: projects/{project}/locations + * /{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * The resource name of an ADC Application Template Revision. Format: projects/{project}/locations + * /{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The resource name of an ADC Application Template Revision. Format: projects/{project}/locations + * /{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @param name name or {@code null} for none + */ + public GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision set(String fieldName, Object value) { + return (GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision) super.set(fieldName, value); + } + + @Override + public GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision clone() { + return (GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2AdcSharedTemplateRevision.java b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2AdcSharedTemplateRevision.java new file mode 100644 index 00000000000..dee2ab1b1ec --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2AdcSharedTemplateRevision.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta1.model; + +/** + * Represents an ADC shared template associated with the finding. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2AdcSharedTemplateRevision extends com.google.api.client.json.GenericJson { + + /** + * The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{loc + * ation}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{loc + * ation}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{loc + * ation}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @param name name or {@code null} for none + */ + public GoogleCloudSecuritycenterV2AdcSharedTemplateRevision setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public GoogleCloudSecuritycenterV2AdcSharedTemplateRevision set(String fieldName, Object value) { + return (GoogleCloudSecuritycenterV2AdcSharedTemplateRevision) super.set(fieldName, value); + } + + @Override + public GoogleCloudSecuritycenterV2AdcSharedTemplateRevision clone() { + return (GoogleCloudSecuritycenterV2AdcSharedTemplateRevision) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2ArtifactGuardPolicies.java b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2ArtifactGuardPolicies.java new file mode 100644 index 00000000000..6fea6164e19 --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2ArtifactGuardPolicies.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta1.model; + +/** + * Represents the result of evaluating artifact guard policies. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2ArtifactGuardPolicies extends com.google.api.client.json.GenericJson { + + /** + * A list of failing policies. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2ArtifactGuardPolicy extends com.google.api.client.json.GenericJson { + + /** + * The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String failureReason; + + /** + * The ID of the failing policy, for example, + * "organizations/3392779/locations/global/policies/prod-policy". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String policyId; + + /** + * The type of the policy evaluation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2". + * @return value or {@code null} for none + */ + public java.lang.String getFailureReason() { + return failureReason; + } + + /** + * The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2". + * @param failureReason failureReason or {@code null} for none + */ + public GoogleCloudSecuritycenterV2ArtifactGuardPolicy setFailureReason(java.lang.String failureReason) { + this.failureReason = failureReason; + return this; + } + + /** + * The ID of the failing policy, for example, + * "organizations/3392779/locations/global/policies/prod-policy". + * @return value or {@code null} for none + */ + public java.lang.String getPolicyId() { + return policyId; + } + + /** + * The ID of the failing policy, for example, + * "organizations/3392779/locations/global/policies/prod-policy". + * @param policyId policyId or {@code null} for none + */ + public GoogleCloudSecuritycenterV2ArtifactGuardPolicy setPolicyId(java.lang.String policyId) { + this.policyId = policyId; + return this; + } + + /** + * The type of the policy evaluation. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * The type of the policy evaluation. + * @param type type or {@code null} for none + */ + public GoogleCloudSecuritycenterV2ArtifactGuardPolicy setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleCloudSecuritycenterV2ArtifactGuardPolicy set(String fieldName, Object value) { + return (GoogleCloudSecuritycenterV2ArtifactGuardPolicy) super.set(fieldName, value); + } + + @Override + public GoogleCloudSecuritycenterV2ArtifactGuardPolicy clone() { + return (GoogleCloudSecuritycenterV2ArtifactGuardPolicy) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2File.java b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2File.java index 0623b0113dc..046bec25ac1 100644 --- a/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2File.java +++ b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2File.java @@ -45,6 +45,13 @@ public final class GoogleCloudSecuritycenterV2File extends com.google.api.client @com.google.api.client.util.Key private GoogleCloudSecuritycenterV2DiskPath diskPath; + /** + * The load state of the file. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String fileLoadState; + /** * The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes * reported represent the entire file. @@ -123,6 +130,23 @@ public GoogleCloudSecuritycenterV2File setDiskPath(GoogleCloudSecuritycenterV2Di return this; } + /** + * The load state of the file. + * @return value or {@code null} for none + */ + public java.lang.String getFileLoadState() { + return fileLoadState; + } + + /** + * The load state of the file. + * @param fileLoadState fileLoadState or {@code null} for none + */ + public GoogleCloudSecuritycenterV2File setFileLoadState(java.lang.String fileLoadState) { + this.fileLoadState = fileLoadState; + return this; + } + /** * The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes * reported represent the entire file. diff --git a/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2Finding.java b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2Finding.java index f2256f98c15..593b5f2780e 100644 --- a/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2Finding.java +++ b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2Finding.java @@ -62,6 +62,13 @@ public final class GoogleCloudSecuritycenterV2Finding extends com.google.api.cli @com.google.api.client.util.Key private GoogleCloudSecuritycenterV2Application application; + /** + * ArtifactGuardPolicies associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2ArtifactGuardPolicies artifactGuardPolicies; + /** * The results of an attack path simulation relevant to this finding. * The value may be {@code null}. @@ -521,6 +528,13 @@ public final class GoogleCloudSecuritycenterV2Finding extends com.google.api.cli @com.google.api.client.util.Key private java.lang.String resourceName; + /** + * Secret associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2Secret secret; + /** * Output only. User specified security marks. These marks are entirely managed by the user and * come from the SecurityMarks resource that belongs to the finding. @@ -654,6 +668,23 @@ public GoogleCloudSecuritycenterV2Finding setApplication(GoogleCloudSecuritycent return this; } + /** + * ArtifactGuardPolicies associated with the finding. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2ArtifactGuardPolicies getArtifactGuardPolicies() { + return artifactGuardPolicies; + } + + /** + * ArtifactGuardPolicies associated with the finding. + * @param artifactGuardPolicies artifactGuardPolicies or {@code null} for none + */ + public GoogleCloudSecuritycenterV2Finding setArtifactGuardPolicies(GoogleCloudSecuritycenterV2ArtifactGuardPolicies artifactGuardPolicies) { + this.artifactGuardPolicies = artifactGuardPolicies; + return this; + } + /** * The results of an attack path simulation relevant to this finding. * @return value or {@code null} for none @@ -1617,6 +1648,23 @@ public GoogleCloudSecuritycenterV2Finding setResourceName(java.lang.String resou return this; } + /** + * Secret associated with the finding. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2Secret getSecret() { + return secret; + } + + /** + * Secret associated with the finding. + * @param secret secret or {@code null} for none + */ + public GoogleCloudSecuritycenterV2Finding setSecret(GoogleCloudSecuritycenterV2Secret secret) { + this.secret = secret; + return this; + } + /** * Output only. User specified security marks. These marks are entirely managed by the user and * come from the SecurityMarks resource that belongs to the finding. diff --git a/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2IssueResource.java b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2IssueResource.java index 2d551687cef..a0b3fad6c4b 100644 --- a/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2IssueResource.java +++ b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2IssueResource.java @@ -30,6 +30,27 @@ @SuppressWarnings("javadoc") public final class GoogleCloudSecuritycenterV2IssueResource extends com.google.api.client.json.GenericJson { + /** + * The ADC application associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2IssueResourceAdcApplication adcApplication; + + /** + * The ADC template associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision adcApplicationTemplate; + + /** + * The ADC shared template associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision adcSharedTemplate; + /** * The AppHub application associated with the resource, if any. Only populated for the primary * resource. @@ -89,6 +110,57 @@ public final class GoogleCloudSecuritycenterV2IssueResource extends com.google.a @com.google.api.client.util.Key private java.lang.String type; + /** + * The ADC application associated with the finding. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2IssueResourceAdcApplication getAdcApplication() { + return adcApplication; + } + + /** + * The ADC application associated with the finding. + * @param adcApplication adcApplication or {@code null} for none + */ + public GoogleCloudSecuritycenterV2IssueResource setAdcApplication(GoogleCloudSecuritycenterV2IssueResourceAdcApplication adcApplication) { + this.adcApplication = adcApplication; + return this; + } + + /** + * The ADC template associated with the finding. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision getAdcApplicationTemplate() { + return adcApplicationTemplate; + } + + /** + * The ADC template associated with the finding. + * @param adcApplicationTemplate adcApplicationTemplate or {@code null} for none + */ + public GoogleCloudSecuritycenterV2IssueResource setAdcApplicationTemplate(GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision adcApplicationTemplate) { + this.adcApplicationTemplate = adcApplicationTemplate; + return this; + } + + /** + * The ADC shared template associated with the finding. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision getAdcSharedTemplate() { + return adcSharedTemplate; + } + + /** + * The ADC shared template associated with the finding. + * @param adcSharedTemplate adcSharedTemplate or {@code null} for none + */ + public GoogleCloudSecuritycenterV2IssueResource setAdcSharedTemplate(GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision adcSharedTemplate) { + this.adcSharedTemplate = adcSharedTemplate; + return this; + } + /** * The AppHub application associated with the resource, if any. Only populated for the primary * resource. diff --git a/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2IssueResourceAdcApplication.java b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2IssueResourceAdcApplication.java new file mode 100644 index 00000000000..223247a2bca --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2IssueResourceAdcApplication.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta1.model; + +/** + * Represents an ADC application associated with the finding. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2IssueResourceAdcApplication extends com.google.api.client.json.GenericJson { + + /** + * Consumer provided attributes for the AppHub application. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes attributes; + + /** + * The resource name of an ADC Application. Format: + * projects/{project}/locations/{location}/spaces/{space}/applications/{application} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Consumer provided attributes for the AppHub application. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes getAttributes() { + return attributes; + } + + /** + * Consumer provided attributes for the AppHub application. + * @param attributes attributes or {@code null} for none + */ + public GoogleCloudSecuritycenterV2IssueResourceAdcApplication setAttributes(GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes attributes) { + this.attributes = attributes; + return this; + } + + /** + * The resource name of an ADC Application. Format: + * projects/{project}/locations/{location}/spaces/{space}/applications/{application} + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The resource name of an ADC Application. Format: + * projects/{project}/locations/{location}/spaces/{space}/applications/{application} + * @param name name or {@code null} for none + */ + public GoogleCloudSecuritycenterV2IssueResourceAdcApplication setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public GoogleCloudSecuritycenterV2IssueResourceAdcApplication set(String fieldName, Object value) { + return (GoogleCloudSecuritycenterV2IssueResourceAdcApplication) super.set(fieldName, value); + } + + @Override + public GoogleCloudSecuritycenterV2IssueResourceAdcApplication clone() { + return (GoogleCloudSecuritycenterV2IssueResourceAdcApplication) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision.java b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision.java new file mode 100644 index 00000000000..d2a3151c313 --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta1.model; + +/** + * Represents an ADC template associated with the finding. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision extends com.google.api.client.json.GenericJson { + + /** + * The resource name of an ADC Application Template Revision. Format: projects/{project}/locations + * /{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * The resource name of an ADC Application Template Revision. Format: projects/{project}/locations + * /{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The resource name of an ADC Application Template Revision. Format: projects/{project}/locations + * /{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @param name name or {@code null} for none + */ + public GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision set(String fieldName, Object value) { + return (GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision) super.set(fieldName, value); + } + + @Override + public GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision clone() { + return (GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision.java b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision.java new file mode 100644 index 00000000000..d29ac3d8c12 --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta1.model; + +/** + * Represents an ADC shared template associated with the finding. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision extends com.google.api.client.json.GenericJson { + + /** + * The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{loc + * ation}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{loc + * ation}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{loc + * ation}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @param name name or {@code null} for none + */ + public GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision set(String fieldName, Object value) { + return (GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision) super.set(fieldName, value); + } + + @Override + public GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision clone() { + return (GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2Resource.java b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2Resource.java index b749d5e1427..747e8505db9 100644 --- a/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2Resource.java +++ b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2Resource.java @@ -30,6 +30,27 @@ @SuppressWarnings("javadoc") public final class GoogleCloudSecuritycenterV2Resource extends com.google.api.client.json.GenericJson { + /** + * The ADC application associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2AdcApplication adcApplication; + + /** + * The ADC template associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision adcApplicationTemplate; + + /** + * The ADC shared template associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2AdcSharedTemplateRevision adcSharedTemplate; + /** * The App Hub application this resource belongs to. * The value may be {@code null}. @@ -121,6 +142,57 @@ public final class GoogleCloudSecuritycenterV2Resource extends com.google.api.cl @com.google.api.client.util.Key private java.lang.String type; + /** + * The ADC application associated with the finding. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2AdcApplication getAdcApplication() { + return adcApplication; + } + + /** + * The ADC application associated with the finding. + * @param adcApplication adcApplication or {@code null} for none + */ + public GoogleCloudSecuritycenterV2Resource setAdcApplication(GoogleCloudSecuritycenterV2AdcApplication adcApplication) { + this.adcApplication = adcApplication; + return this; + } + + /** + * The ADC template associated with the finding. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision getAdcApplicationTemplate() { + return adcApplicationTemplate; + } + + /** + * The ADC template associated with the finding. + * @param adcApplicationTemplate adcApplicationTemplate or {@code null} for none + */ + public GoogleCloudSecuritycenterV2Resource setAdcApplicationTemplate(GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision adcApplicationTemplate) { + this.adcApplicationTemplate = adcApplicationTemplate; + return this; + } + + /** + * The ADC shared template associated with the finding. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2AdcSharedTemplateRevision getAdcSharedTemplate() { + return adcSharedTemplate; + } + + /** + * The ADC shared template associated with the finding. + * @param adcSharedTemplate adcSharedTemplate or {@code null} for none + */ + public GoogleCloudSecuritycenterV2Resource setAdcSharedTemplate(GoogleCloudSecuritycenterV2AdcSharedTemplateRevision adcSharedTemplate) { + this.adcSharedTemplate = adcSharedTemplate; + return this; + } + /** * The App Hub application this resource belongs to. * @return value or {@code null} for none diff --git a/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2Secret.java b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2Secret.java new file mode 100644 index 00000000000..d5dc259b166 --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2Secret.java @@ -0,0 +1,139 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta1.model; + +/** + * Details about a secret or credential associated with the finding. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2Secret extends com.google.api.client.json.GenericJson { + + /** + * The environment variable containing the secret. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2SecretEnvironmentVariable environmentVariable; + + /** + * The file containing the secret. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2SecretFilePath filePath; + + /** + * The status of the secret. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2SecretStatus status; + + /** + * The type of secret, for example, GCP_API_KEY. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * The environment variable containing the secret. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2SecretEnvironmentVariable getEnvironmentVariable() { + return environmentVariable; + } + + /** + * The environment variable containing the secret. + * @param environmentVariable environmentVariable or {@code null} for none + */ + public GoogleCloudSecuritycenterV2Secret setEnvironmentVariable(GoogleCloudSecuritycenterV2SecretEnvironmentVariable environmentVariable) { + this.environmentVariable = environmentVariable; + return this; + } + + /** + * The file containing the secret. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2SecretFilePath getFilePath() { + return filePath; + } + + /** + * The file containing the secret. + * @param filePath filePath or {@code null} for none + */ + public GoogleCloudSecuritycenterV2Secret setFilePath(GoogleCloudSecuritycenterV2SecretFilePath filePath) { + this.filePath = filePath; + return this; + } + + /** + * The status of the secret. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2SecretStatus getStatus() { + return status; + } + + /** + * The status of the secret. + * @param status status or {@code null} for none + */ + public GoogleCloudSecuritycenterV2Secret setStatus(GoogleCloudSecuritycenterV2SecretStatus status) { + this.status = status; + return this; + } + + /** + * The type of secret, for example, GCP_API_KEY. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * The type of secret, for example, GCP_API_KEY. + * @param type type or {@code null} for none + */ + public GoogleCloudSecuritycenterV2Secret setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleCloudSecuritycenterV2Secret set(String fieldName, Object value) { + return (GoogleCloudSecuritycenterV2Secret) super.set(fieldName, value); + } + + @Override + public GoogleCloudSecuritycenterV2Secret clone() { + return (GoogleCloudSecuritycenterV2Secret) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2SecretEnvironmentVariable.java b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2SecretEnvironmentVariable.java new file mode 100644 index 00000000000..cf4b3244b16 --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2SecretEnvironmentVariable.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta1.model; + +/** + * Environment variable containing the secret. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2SecretEnvironmentVariable extends com.google.api.client.json.GenericJson { + + /** + * Environment variable name as a JSON encoded string. Note that value is not included since the + * value contains the secret data, which is sensitive core content. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String key; + + /** + * Environment variable name as a JSON encoded string. Note that value is not included since the + * value contains the secret data, which is sensitive core content. + * @return value or {@code null} for none + */ + public java.lang.String getKey() { + return key; + } + + /** + * Environment variable name as a JSON encoded string. Note that value is not included since the + * value contains the secret data, which is sensitive core content. + * @param key key or {@code null} for none + */ + public GoogleCloudSecuritycenterV2SecretEnvironmentVariable setKey(java.lang.String key) { + this.key = key; + return this; + } + + @Override + public GoogleCloudSecuritycenterV2SecretEnvironmentVariable set(String fieldName, Object value) { + return (GoogleCloudSecuritycenterV2SecretEnvironmentVariable) super.set(fieldName, value); + } + + @Override + public GoogleCloudSecuritycenterV2SecretEnvironmentVariable clone() { + return (GoogleCloudSecuritycenterV2SecretEnvironmentVariable) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2SecretFilePath.java b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2SecretFilePath.java new file mode 100644 index 00000000000..547f83c23c5 --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2SecretFilePath.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta1.model; + +/** + * File path containing the secret. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2SecretFilePath extends com.google.api.client.json.GenericJson { + + /** + * Path to the file. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String path; + + /** + * Path to the file. + * @return value or {@code null} for none + */ + public java.lang.String getPath() { + return path; + } + + /** + * Path to the file. + * @param path path or {@code null} for none + */ + public GoogleCloudSecuritycenterV2SecretFilePath setPath(java.lang.String path) { + this.path = path; + return this; + } + + @Override + public GoogleCloudSecuritycenterV2SecretFilePath set(String fieldName, Object value) { + return (GoogleCloudSecuritycenterV2SecretFilePath) super.set(fieldName, value); + } + + @Override + public GoogleCloudSecuritycenterV2SecretFilePath clone() { + return (GoogleCloudSecuritycenterV2SecretFilePath) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2SecretStatus.java b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2SecretStatus.java new file mode 100644 index 00000000000..7d18755f7ac --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/GoogleCloudSecuritycenterV2SecretStatus.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta1.model; + +/** + * The status of the secret. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2SecretStatus extends com.google.api.client.json.GenericJson { + + /** + * Time that the secret was found. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String lastUpdatedTime; + + /** + * The validity of the secret. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String validity; + + /** + * Time that the secret was found. + * @return value or {@code null} for none + */ + public String getLastUpdatedTime() { + return lastUpdatedTime; + } + + /** + * Time that the secret was found. + * @param lastUpdatedTime lastUpdatedTime or {@code null} for none + */ + public GoogleCloudSecuritycenterV2SecretStatus setLastUpdatedTime(String lastUpdatedTime) { + this.lastUpdatedTime = lastUpdatedTime; + return this; + } + + /** + * The validity of the secret. + * @return value or {@code null} for none + */ + public java.lang.String getValidity() { + return validity; + } + + /** + * The validity of the secret. + * @param validity validity or {@code null} for none + */ + public GoogleCloudSecuritycenterV2SecretStatus setValidity(java.lang.String validity) { + this.validity = validity; + return this; + } + + @Override + public GoogleCloudSecuritycenterV2SecretStatus set(String fieldName, Object value) { + return (GoogleCloudSecuritycenterV2SecretStatus) super.set(fieldName, value); + } + + @Override + public GoogleCloudSecuritycenterV2SecretStatus clone() { + return (GoogleCloudSecuritycenterV2SecretStatus) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/Secret.java b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/Secret.java new file mode 100644 index 00000000000..a20e7e3270d --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/Secret.java @@ -0,0 +1,139 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta1.model; + +/** + * Details about a secret or credential associated with the finding. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class Secret extends com.google.api.client.json.GenericJson { + + /** + * The environment variable containing the secret. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private SecretEnvironmentVariable environmentVariable; + + /** + * The file containing the secret. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private SecretFilePath filePath; + + /** + * The status of the secret. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private SecretStatus status; + + /** + * The type of secret, for example, GCP_API_KEY. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * The environment variable containing the secret. + * @return value or {@code null} for none + */ + public SecretEnvironmentVariable getEnvironmentVariable() { + return environmentVariable; + } + + /** + * The environment variable containing the secret. + * @param environmentVariable environmentVariable or {@code null} for none + */ + public Secret setEnvironmentVariable(SecretEnvironmentVariable environmentVariable) { + this.environmentVariable = environmentVariable; + return this; + } + + /** + * The file containing the secret. + * @return value or {@code null} for none + */ + public SecretFilePath getFilePath() { + return filePath; + } + + /** + * The file containing the secret. + * @param filePath filePath or {@code null} for none + */ + public Secret setFilePath(SecretFilePath filePath) { + this.filePath = filePath; + return this; + } + + /** + * The status of the secret. + * @return value or {@code null} for none + */ + public SecretStatus getStatus() { + return status; + } + + /** + * The status of the secret. + * @param status status or {@code null} for none + */ + public Secret setStatus(SecretStatus status) { + this.status = status; + return this; + } + + /** + * The type of secret, for example, GCP_API_KEY. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * The type of secret, for example, GCP_API_KEY. + * @param type type or {@code null} for none + */ + public Secret setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public Secret set(String fieldName, Object value) { + return (Secret) super.set(fieldName, value); + } + + @Override + public Secret clone() { + return (Secret) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/SecretEnvironmentVariable.java b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/SecretEnvironmentVariable.java new file mode 100644 index 00000000000..1f0da41f9e6 --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/SecretEnvironmentVariable.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta1.model; + +/** + * Environment variable containing the secret. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class SecretEnvironmentVariable extends com.google.api.client.json.GenericJson { + + /** + * Environment variable name as a JSON encoded string. Note that value is not included since the + * value contains the secret data, which is sensitive core content. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String key; + + /** + * Environment variable name as a JSON encoded string. Note that value is not included since the + * value contains the secret data, which is sensitive core content. + * @return value or {@code null} for none + */ + public java.lang.String getKey() { + return key; + } + + /** + * Environment variable name as a JSON encoded string. Note that value is not included since the + * value contains the secret data, which is sensitive core content. + * @param key key or {@code null} for none + */ + public SecretEnvironmentVariable setKey(java.lang.String key) { + this.key = key; + return this; + } + + @Override + public SecretEnvironmentVariable set(String fieldName, Object value) { + return (SecretEnvironmentVariable) super.set(fieldName, value); + } + + @Override + public SecretEnvironmentVariable clone() { + return (SecretEnvironmentVariable) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/SecretFilePath.java b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/SecretFilePath.java new file mode 100644 index 00000000000..59a1043d79c --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/SecretFilePath.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta1.model; + +/** + * File path containing the secret. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class SecretFilePath extends com.google.api.client.json.GenericJson { + + /** + * Path to the file. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String path; + + /** + * Path to the file. + * @return value or {@code null} for none + */ + public java.lang.String getPath() { + return path; + } + + /** + * Path to the file. + * @param path path or {@code null} for none + */ + public SecretFilePath setPath(java.lang.String path) { + this.path = path; + return this; + } + + @Override + public SecretFilePath set(String fieldName, Object value) { + return (SecretFilePath) super.set(fieldName, value); + } + + @Override + public SecretFilePath clone() { + return (SecretFilePath) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/SecretStatus.java b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/SecretStatus.java new file mode 100644 index 00000000000..ef61591781d --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta1/2.0.0/com/google/api/services/securitycenter/v1beta1/model/SecretStatus.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta1.model; + +/** + * The status of the secret. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class SecretStatus extends com.google.api.client.json.GenericJson { + + /** + * Time that the secret was found. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String lastUpdatedTime; + + /** + * The validity of the secret. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String validity; + + /** + * Time that the secret was found. + * @return value or {@code null} for none + */ + public String getLastUpdatedTime() { + return lastUpdatedTime; + } + + /** + * Time that the secret was found. + * @param lastUpdatedTime lastUpdatedTime or {@code null} for none + */ + public SecretStatus setLastUpdatedTime(String lastUpdatedTime) { + this.lastUpdatedTime = lastUpdatedTime; + return this; + } + + /** + * The validity of the secret. + * @return value or {@code null} for none + */ + public java.lang.String getValidity() { + return validity; + } + + /** + * The validity of the secret. + * @param validity validity or {@code null} for none + */ + public SecretStatus setValidity(java.lang.String validity) { + this.validity = validity; + return this; + } + + @Override + public SecretStatus set(String fieldName, Object value) { + return (SecretStatus) super.set(fieldName, value); + } + + @Override + public SecretStatus clone() { + return (SecretStatus) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta1/2.0.0/pom.xml b/clients/google-api-services-securitycenter/v1beta1/2.0.0/pom.xml index e047c64de80..bcb5be5c9a8 100644 --- a/clients/google-api-services-securitycenter/v1beta1/2.0.0/pom.xml +++ b/clients/google-api-services-securitycenter/v1beta1/2.0.0/pom.xml @@ -8,8 +8,8 @@This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class AdcApplication extends com.google.api.client.json.GenericJson { + + /** + * Consumer provided attributes for the AppHub application. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV1ResourceApplicationAttributes attributes; + + /** + * The resource name of an ADC Application. Format: + * projects/{project}/locations/{location}/spaces/{space}/applications/{application} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Consumer provided attributes for the AppHub application. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV1ResourceApplicationAttributes getAttributes() { + return attributes; + } + + /** + * Consumer provided attributes for the AppHub application. + * @param attributes attributes or {@code null} for none + */ + public AdcApplication setAttributes(GoogleCloudSecuritycenterV1ResourceApplicationAttributes attributes) { + this.attributes = attributes; + return this; + } + + /** + * The resource name of an ADC Application. Format: + * projects/{project}/locations/{location}/spaces/{space}/applications/{application} + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The resource name of an ADC Application. Format: + * projects/{project}/locations/{location}/spaces/{space}/applications/{application} + * @param name name or {@code null} for none + */ + public AdcApplication setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public AdcApplication set(String fieldName, Object value) { + return (AdcApplication) super.set(fieldName, value); + } + + @Override + public AdcApplication clone() { + return (AdcApplication) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/AdcApplicationTemplateRevision.java b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/AdcApplicationTemplateRevision.java new file mode 100644 index 00000000000..05b90a9ae16 --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/AdcApplicationTemplateRevision.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta2.model; + +/** + * Represents an ADC template associated with the finding. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class AdcApplicationTemplateRevision extends com.google.api.client.json.GenericJson { + + /** + * The resource name of an ADC Application Template Revision. Format: projects/{project}/locations + * /{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * The resource name of an ADC Application Template Revision. Format: projects/{project}/locations + * /{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The resource name of an ADC Application Template Revision. Format: projects/{project}/locations + * /{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @param name name or {@code null} for none + */ + public AdcApplicationTemplateRevision setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public AdcApplicationTemplateRevision set(String fieldName, Object value) { + return (AdcApplicationTemplateRevision) super.set(fieldName, value); + } + + @Override + public AdcApplicationTemplateRevision clone() { + return (AdcApplicationTemplateRevision) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/AdcSharedTemplateRevision.java b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/AdcSharedTemplateRevision.java new file mode 100644 index 00000000000..f6c972138cd --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/AdcSharedTemplateRevision.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta2.model; + +/** + * Represents an ADC shared template associated with the finding. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class AdcSharedTemplateRevision extends com.google.api.client.json.GenericJson { + + /** + * The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{loc + * ation}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{loc + * ation}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{loc + * ation}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @param name name or {@code null} for none + */ + public AdcSharedTemplateRevision setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public AdcSharedTemplateRevision set(String fieldName, Object value) { + return (AdcSharedTemplateRevision) super.set(fieldName, value); + } + + @Override + public AdcSharedTemplateRevision clone() { + return (AdcSharedTemplateRevision) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/ArtifactGuardPolicies.java b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/ArtifactGuardPolicies.java new file mode 100644 index 00000000000..5244a0fa093 --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/ArtifactGuardPolicies.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta2.model; + +/** + * Represents the result of evaluating artifact guard policies. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ArtifactGuardPolicies extends com.google.api.client.json.GenericJson { + + /** + * A list of failing policies. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ArtifactGuardPolicy extends com.google.api.client.json.GenericJson { + + /** + * The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String failureReason; + + /** + * The ID of the failing policy, for example, + * "organizations/3392779/locations/global/policies/prod-policy". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String policyId; + + /** + * The type of the policy evaluation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2". + * @return value or {@code null} for none + */ + public java.lang.String getFailureReason() { + return failureReason; + } + + /** + * The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2". + * @param failureReason failureReason or {@code null} for none + */ + public ArtifactGuardPolicy setFailureReason(java.lang.String failureReason) { + this.failureReason = failureReason; + return this; + } + + /** + * The ID of the failing policy, for example, + * "organizations/3392779/locations/global/policies/prod-policy". + * @return value or {@code null} for none + */ + public java.lang.String getPolicyId() { + return policyId; + } + + /** + * The ID of the failing policy, for example, + * "organizations/3392779/locations/global/policies/prod-policy". + * @param policyId policyId or {@code null} for none + */ + public ArtifactGuardPolicy setPolicyId(java.lang.String policyId) { + this.policyId = policyId; + return this; + } + + /** + * The type of the policy evaluation. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * The type of the policy evaluation. + * @param type type or {@code null} for none + */ + public ArtifactGuardPolicy setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public ArtifactGuardPolicy set(String fieldName, Object value) { + return (ArtifactGuardPolicy) super.set(fieldName, value); + } + + @Override + public ArtifactGuardPolicy clone() { + return (ArtifactGuardPolicy) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/File.java b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/File.java index 4192704c9bc..00dbce2c37c 100644 --- a/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/File.java +++ b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/File.java @@ -45,6 +45,13 @@ public final class File extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private DiskPath diskPath; + /** + * The load state of the file. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String fileLoadState; + /** * The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes * reported represent the entire file. @@ -123,6 +130,23 @@ public File setDiskPath(DiskPath diskPath) { return this; } + /** + * The load state of the file. + * @return value or {@code null} for none + */ + public java.lang.String getFileLoadState() { + return fileLoadState; + } + + /** + * The load state of the file. + * @param fileLoadState fileLoadState or {@code null} for none + */ + public File setFileLoadState(java.lang.String fileLoadState) { + this.fileLoadState = fileLoadState; + return this; + } + /** * The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes * reported represent the entire file. diff --git a/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/Finding.java b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/Finding.java index 12cd1690b5a..16d79e95cc1 100644 --- a/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/Finding.java +++ b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/Finding.java @@ -62,6 +62,13 @@ public final class Finding extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private Application application; + /** + * ArtifactGuardPolicies associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private ArtifactGuardPolicies artifactGuardPolicies; + /** * The results of an attack path simulation relevant to this finding. * The value may be {@code null}. @@ -501,6 +508,13 @@ public final class Finding extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String resourceName; + /** + * Secret associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private Secret secret; + /** * Output only. User specified security marks. These marks are entirely managed by the user and * come from the SecurityMarks resource that belongs to the finding. @@ -634,6 +648,23 @@ public Finding setApplication(Application application) { return this; } + /** + * ArtifactGuardPolicies associated with the finding. + * @return value or {@code null} for none + */ + public ArtifactGuardPolicies getArtifactGuardPolicies() { + return artifactGuardPolicies; + } + + /** + * ArtifactGuardPolicies associated with the finding. + * @param artifactGuardPolicies artifactGuardPolicies or {@code null} for none + */ + public Finding setArtifactGuardPolicies(ArtifactGuardPolicies artifactGuardPolicies) { + this.artifactGuardPolicies = artifactGuardPolicies; + return this; + } + /** * The results of an attack path simulation relevant to this finding. * @return value or {@code null} for none @@ -1566,6 +1597,23 @@ public Finding setResourceName(java.lang.String resourceName) { return this; } + /** + * Secret associated with the finding. + * @return value or {@code null} for none + */ + public Secret getSecret() { + return secret; + } + + /** + * Secret associated with the finding. + * @param secret secret or {@code null} for none + */ + public Finding setSecret(Secret secret) { + this.secret = secret; + return this; + } + /** * Output only. User specified security marks. These marks are entirely managed by the user and * come from the SecurityMarks resource that belongs to the finding. diff --git a/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV1Resource.java b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV1Resource.java index 7a32e5d438d..cc41df93834 100644 --- a/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV1Resource.java +++ b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV1Resource.java @@ -30,6 +30,27 @@ @SuppressWarnings("javadoc") public final class GoogleCloudSecuritycenterV1Resource extends com.google.api.client.json.GenericJson { + /** + * The ADC application associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private AdcApplication adcApplication; + + /** + * The ADC template associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private AdcApplicationTemplateRevision adcApplicationTemplate; + + /** + * The ADC shared template associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private AdcSharedTemplateRevision adcSharedTemplate; + /** * The App Hub application this resource belongs to. * The value may be {@code null}. @@ -164,6 +185,57 @@ public final class GoogleCloudSecuritycenterV1Resource extends com.google.api.cl @com.google.api.client.util.Key private java.lang.String type; + /** + * The ADC application associated with the finding. + * @return value or {@code null} for none + */ + public AdcApplication getAdcApplication() { + return adcApplication; + } + + /** + * The ADC application associated with the finding. + * @param adcApplication adcApplication or {@code null} for none + */ + public GoogleCloudSecuritycenterV1Resource setAdcApplication(AdcApplication adcApplication) { + this.adcApplication = adcApplication; + return this; + } + + /** + * The ADC template associated with the finding. + * @return value or {@code null} for none + */ + public AdcApplicationTemplateRevision getAdcApplicationTemplate() { + return adcApplicationTemplate; + } + + /** + * The ADC template associated with the finding. + * @param adcApplicationTemplate adcApplicationTemplate or {@code null} for none + */ + public GoogleCloudSecuritycenterV1Resource setAdcApplicationTemplate(AdcApplicationTemplateRevision adcApplicationTemplate) { + this.adcApplicationTemplate = adcApplicationTemplate; + return this; + } + + /** + * The ADC shared template associated with the finding. + * @return value or {@code null} for none + */ + public AdcSharedTemplateRevision getAdcSharedTemplate() { + return adcSharedTemplate; + } + + /** + * The ADC shared template associated with the finding. + * @param adcSharedTemplate adcSharedTemplate or {@code null} for none + */ + public GoogleCloudSecuritycenterV1Resource setAdcSharedTemplate(AdcSharedTemplateRevision adcSharedTemplate) { + this.adcSharedTemplate = adcSharedTemplate; + return this; + } + /** * The App Hub application this resource belongs to. * @return value or {@code null} for none diff --git a/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2AdcApplication.java b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2AdcApplication.java new file mode 100644 index 00000000000..1e87fd38e5f --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2AdcApplication.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta2.model; + +/** + * Represents an ADC application associated with the finding. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2AdcApplication extends com.google.api.client.json.GenericJson { + + /** + * Consumer provided attributes for the AppHub application. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2ResourceApplicationAttributes attributes; + + /** + * The resource name of an ADC Application. Format: + * projects/{project}/locations/{location}/spaces/{space}/applications/{application} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Consumer provided attributes for the AppHub application. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2ResourceApplicationAttributes getAttributes() { + return attributes; + } + + /** + * Consumer provided attributes for the AppHub application. + * @param attributes attributes or {@code null} for none + */ + public GoogleCloudSecuritycenterV2AdcApplication setAttributes(GoogleCloudSecuritycenterV2ResourceApplicationAttributes attributes) { + this.attributes = attributes; + return this; + } + + /** + * The resource name of an ADC Application. Format: + * projects/{project}/locations/{location}/spaces/{space}/applications/{application} + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The resource name of an ADC Application. Format: + * projects/{project}/locations/{location}/spaces/{space}/applications/{application} + * @param name name or {@code null} for none + */ + public GoogleCloudSecuritycenterV2AdcApplication setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public GoogleCloudSecuritycenterV2AdcApplication set(String fieldName, Object value) { + return (GoogleCloudSecuritycenterV2AdcApplication) super.set(fieldName, value); + } + + @Override + public GoogleCloudSecuritycenterV2AdcApplication clone() { + return (GoogleCloudSecuritycenterV2AdcApplication) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision.java b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision.java new file mode 100644 index 00000000000..49c27d999fc --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta2.model; + +/** + * Represents an ADC template associated with the finding. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision extends com.google.api.client.json.GenericJson { + + /** + * The resource name of an ADC Application Template Revision. Format: projects/{project}/locations + * /{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * The resource name of an ADC Application Template Revision. Format: projects/{project}/locations + * /{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The resource name of an ADC Application Template Revision. Format: projects/{project}/locations + * /{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @param name name or {@code null} for none + */ + public GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision set(String fieldName, Object value) { + return (GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision) super.set(fieldName, value); + } + + @Override + public GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision clone() { + return (GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2AdcSharedTemplateRevision.java b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2AdcSharedTemplateRevision.java new file mode 100644 index 00000000000..8bbd4044384 --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2AdcSharedTemplateRevision.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta2.model; + +/** + * Represents an ADC shared template associated with the finding. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2AdcSharedTemplateRevision extends com.google.api.client.json.GenericJson { + + /** + * The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{loc + * ation}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{loc + * ation}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{loc + * ation}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @param name name or {@code null} for none + */ + public GoogleCloudSecuritycenterV2AdcSharedTemplateRevision setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public GoogleCloudSecuritycenterV2AdcSharedTemplateRevision set(String fieldName, Object value) { + return (GoogleCloudSecuritycenterV2AdcSharedTemplateRevision) super.set(fieldName, value); + } + + @Override + public GoogleCloudSecuritycenterV2AdcSharedTemplateRevision clone() { + return (GoogleCloudSecuritycenterV2AdcSharedTemplateRevision) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2ArtifactGuardPolicies.java b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2ArtifactGuardPolicies.java new file mode 100644 index 00000000000..7b532bbdfbb --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2ArtifactGuardPolicies.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta2.model; + +/** + * Represents the result of evaluating artifact guard policies. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2ArtifactGuardPolicies extends com.google.api.client.json.GenericJson { + + /** + * A list of failing policies. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2ArtifactGuardPolicy extends com.google.api.client.json.GenericJson { + + /** + * The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String failureReason; + + /** + * The ID of the failing policy, for example, + * "organizations/3392779/locations/global/policies/prod-policy". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String policyId; + + /** + * The type of the policy evaluation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2". + * @return value or {@code null} for none + */ + public java.lang.String getFailureReason() { + return failureReason; + } + + /** + * The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2". + * @param failureReason failureReason or {@code null} for none + */ + public GoogleCloudSecuritycenterV2ArtifactGuardPolicy setFailureReason(java.lang.String failureReason) { + this.failureReason = failureReason; + return this; + } + + /** + * The ID of the failing policy, for example, + * "organizations/3392779/locations/global/policies/prod-policy". + * @return value or {@code null} for none + */ + public java.lang.String getPolicyId() { + return policyId; + } + + /** + * The ID of the failing policy, for example, + * "organizations/3392779/locations/global/policies/prod-policy". + * @param policyId policyId or {@code null} for none + */ + public GoogleCloudSecuritycenterV2ArtifactGuardPolicy setPolicyId(java.lang.String policyId) { + this.policyId = policyId; + return this; + } + + /** + * The type of the policy evaluation. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * The type of the policy evaluation. + * @param type type or {@code null} for none + */ + public GoogleCloudSecuritycenterV2ArtifactGuardPolicy setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleCloudSecuritycenterV2ArtifactGuardPolicy set(String fieldName, Object value) { + return (GoogleCloudSecuritycenterV2ArtifactGuardPolicy) super.set(fieldName, value); + } + + @Override + public GoogleCloudSecuritycenterV2ArtifactGuardPolicy clone() { + return (GoogleCloudSecuritycenterV2ArtifactGuardPolicy) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2File.java b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2File.java index 36be2c51cc5..b6a58a054b6 100644 --- a/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2File.java +++ b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2File.java @@ -45,6 +45,13 @@ public final class GoogleCloudSecuritycenterV2File extends com.google.api.client @com.google.api.client.util.Key private GoogleCloudSecuritycenterV2DiskPath diskPath; + /** + * The load state of the file. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String fileLoadState; + /** * The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes * reported represent the entire file. @@ -123,6 +130,23 @@ public GoogleCloudSecuritycenterV2File setDiskPath(GoogleCloudSecuritycenterV2Di return this; } + /** + * The load state of the file. + * @return value or {@code null} for none + */ + public java.lang.String getFileLoadState() { + return fileLoadState; + } + + /** + * The load state of the file. + * @param fileLoadState fileLoadState or {@code null} for none + */ + public GoogleCloudSecuritycenterV2File setFileLoadState(java.lang.String fileLoadState) { + this.fileLoadState = fileLoadState; + return this; + } + /** * The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes * reported represent the entire file. diff --git a/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2Finding.java b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2Finding.java index e005f76bb13..eb1f86c118d 100644 --- a/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2Finding.java +++ b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2Finding.java @@ -62,6 +62,13 @@ public final class GoogleCloudSecuritycenterV2Finding extends com.google.api.cli @com.google.api.client.util.Key private GoogleCloudSecuritycenterV2Application application; + /** + * ArtifactGuardPolicies associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2ArtifactGuardPolicies artifactGuardPolicies; + /** * The results of an attack path simulation relevant to this finding. * The value may be {@code null}. @@ -521,6 +528,13 @@ public final class GoogleCloudSecuritycenterV2Finding extends com.google.api.cli @com.google.api.client.util.Key private java.lang.String resourceName; + /** + * Secret associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2Secret secret; + /** * Output only. User specified security marks. These marks are entirely managed by the user and * come from the SecurityMarks resource that belongs to the finding. @@ -654,6 +668,23 @@ public GoogleCloudSecuritycenterV2Finding setApplication(GoogleCloudSecuritycent return this; } + /** + * ArtifactGuardPolicies associated with the finding. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2ArtifactGuardPolicies getArtifactGuardPolicies() { + return artifactGuardPolicies; + } + + /** + * ArtifactGuardPolicies associated with the finding. + * @param artifactGuardPolicies artifactGuardPolicies or {@code null} for none + */ + public GoogleCloudSecuritycenterV2Finding setArtifactGuardPolicies(GoogleCloudSecuritycenterV2ArtifactGuardPolicies artifactGuardPolicies) { + this.artifactGuardPolicies = artifactGuardPolicies; + return this; + } + /** * The results of an attack path simulation relevant to this finding. * @return value or {@code null} for none @@ -1617,6 +1648,23 @@ public GoogleCloudSecuritycenterV2Finding setResourceName(java.lang.String resou return this; } + /** + * Secret associated with the finding. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2Secret getSecret() { + return secret; + } + + /** + * Secret associated with the finding. + * @param secret secret or {@code null} for none + */ + public GoogleCloudSecuritycenterV2Finding setSecret(GoogleCloudSecuritycenterV2Secret secret) { + this.secret = secret; + return this; + } + /** * Output only. User specified security marks. These marks are entirely managed by the user and * come from the SecurityMarks resource that belongs to the finding. diff --git a/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2IssueResource.java b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2IssueResource.java index 43e246712ef..4525910773a 100644 --- a/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2IssueResource.java +++ b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2IssueResource.java @@ -30,6 +30,27 @@ @SuppressWarnings("javadoc") public final class GoogleCloudSecuritycenterV2IssueResource extends com.google.api.client.json.GenericJson { + /** + * The ADC application associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2IssueResourceAdcApplication adcApplication; + + /** + * The ADC template associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision adcApplicationTemplate; + + /** + * The ADC shared template associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision adcSharedTemplate; + /** * The AppHub application associated with the resource, if any. Only populated for the primary * resource. @@ -89,6 +110,57 @@ public final class GoogleCloudSecuritycenterV2IssueResource extends com.google.a @com.google.api.client.util.Key private java.lang.String type; + /** + * The ADC application associated with the finding. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2IssueResourceAdcApplication getAdcApplication() { + return adcApplication; + } + + /** + * The ADC application associated with the finding. + * @param adcApplication adcApplication or {@code null} for none + */ + public GoogleCloudSecuritycenterV2IssueResource setAdcApplication(GoogleCloudSecuritycenterV2IssueResourceAdcApplication adcApplication) { + this.adcApplication = adcApplication; + return this; + } + + /** + * The ADC template associated with the finding. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision getAdcApplicationTemplate() { + return adcApplicationTemplate; + } + + /** + * The ADC template associated with the finding. + * @param adcApplicationTemplate adcApplicationTemplate or {@code null} for none + */ + public GoogleCloudSecuritycenterV2IssueResource setAdcApplicationTemplate(GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision adcApplicationTemplate) { + this.adcApplicationTemplate = adcApplicationTemplate; + return this; + } + + /** + * The ADC shared template associated with the finding. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision getAdcSharedTemplate() { + return adcSharedTemplate; + } + + /** + * The ADC shared template associated with the finding. + * @param adcSharedTemplate adcSharedTemplate or {@code null} for none + */ + public GoogleCloudSecuritycenterV2IssueResource setAdcSharedTemplate(GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision adcSharedTemplate) { + this.adcSharedTemplate = adcSharedTemplate; + return this; + } + /** * The AppHub application associated with the resource, if any. Only populated for the primary * resource. diff --git a/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2IssueResourceAdcApplication.java b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2IssueResourceAdcApplication.java new file mode 100644 index 00000000000..a763e0d414a --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2IssueResourceAdcApplication.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta2.model; + +/** + * Represents an ADC application associated with the finding. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2IssueResourceAdcApplication extends com.google.api.client.json.GenericJson { + + /** + * Consumer provided attributes for the AppHub application. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes attributes; + + /** + * The resource name of an ADC Application. Format: + * projects/{project}/locations/{location}/spaces/{space}/applications/{application} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Consumer provided attributes for the AppHub application. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes getAttributes() { + return attributes; + } + + /** + * Consumer provided attributes for the AppHub application. + * @param attributes attributes or {@code null} for none + */ + public GoogleCloudSecuritycenterV2IssueResourceAdcApplication setAttributes(GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes attributes) { + this.attributes = attributes; + return this; + } + + /** + * The resource name of an ADC Application. Format: + * projects/{project}/locations/{location}/spaces/{space}/applications/{application} + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The resource name of an ADC Application. Format: + * projects/{project}/locations/{location}/spaces/{space}/applications/{application} + * @param name name or {@code null} for none + */ + public GoogleCloudSecuritycenterV2IssueResourceAdcApplication setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public GoogleCloudSecuritycenterV2IssueResourceAdcApplication set(String fieldName, Object value) { + return (GoogleCloudSecuritycenterV2IssueResourceAdcApplication) super.set(fieldName, value); + } + + @Override + public GoogleCloudSecuritycenterV2IssueResourceAdcApplication clone() { + return (GoogleCloudSecuritycenterV2IssueResourceAdcApplication) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision.java b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision.java new file mode 100644 index 00000000000..42b07ca1b2d --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta2.model; + +/** + * Represents an ADC template associated with the finding. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision extends com.google.api.client.json.GenericJson { + + /** + * The resource name of an ADC Application Template Revision. Format: projects/{project}/locations + * /{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * The resource name of an ADC Application Template Revision. Format: projects/{project}/locations + * /{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The resource name of an ADC Application Template Revision. Format: projects/{project}/locations + * /{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @param name name or {@code null} for none + */ + public GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision set(String fieldName, Object value) { + return (GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision) super.set(fieldName, value); + } + + @Override + public GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision clone() { + return (GoogleCloudSecuritycenterV2IssueResourceAdcApplicationTemplateRevision) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision.java b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision.java new file mode 100644 index 00000000000..830bcb3f71b --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta2.model; + +/** + * Represents an ADC shared template associated with the finding. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision extends com.google.api.client.json.GenericJson { + + /** + * The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{loc + * ation}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{loc + * ation}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * The resource name of an ADC Shared Template Revision. Format: projects/{project}/locations/{loc + * ation}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision} + * @param name name or {@code null} for none + */ + public GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision setName(java.lang.String name) { + this.name = name; + return this; + } + + @Override + public GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision set(String fieldName, Object value) { + return (GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision) super.set(fieldName, value); + } + + @Override + public GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision clone() { + return (GoogleCloudSecuritycenterV2IssueResourceAdcSharedTemplateRevision) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2Resource.java b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2Resource.java index 1bc0bc7b0f7..e60c9cce5ea 100644 --- a/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2Resource.java +++ b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2Resource.java @@ -30,6 +30,27 @@ @SuppressWarnings("javadoc") public final class GoogleCloudSecuritycenterV2Resource extends com.google.api.client.json.GenericJson { + /** + * The ADC application associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2AdcApplication adcApplication; + + /** + * The ADC template associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision adcApplicationTemplate; + + /** + * The ADC shared template associated with the finding. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2AdcSharedTemplateRevision adcSharedTemplate; + /** * The App Hub application this resource belongs to. * The value may be {@code null}. @@ -121,6 +142,57 @@ public final class GoogleCloudSecuritycenterV2Resource extends com.google.api.cl @com.google.api.client.util.Key private java.lang.String type; + /** + * The ADC application associated with the finding. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2AdcApplication getAdcApplication() { + return adcApplication; + } + + /** + * The ADC application associated with the finding. + * @param adcApplication adcApplication or {@code null} for none + */ + public GoogleCloudSecuritycenterV2Resource setAdcApplication(GoogleCloudSecuritycenterV2AdcApplication adcApplication) { + this.adcApplication = adcApplication; + return this; + } + + /** + * The ADC template associated with the finding. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision getAdcApplicationTemplate() { + return adcApplicationTemplate; + } + + /** + * The ADC template associated with the finding. + * @param adcApplicationTemplate adcApplicationTemplate or {@code null} for none + */ + public GoogleCloudSecuritycenterV2Resource setAdcApplicationTemplate(GoogleCloudSecuritycenterV2AdcApplicationTemplateRevision adcApplicationTemplate) { + this.adcApplicationTemplate = adcApplicationTemplate; + return this; + } + + /** + * The ADC shared template associated with the finding. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2AdcSharedTemplateRevision getAdcSharedTemplate() { + return adcSharedTemplate; + } + + /** + * The ADC shared template associated with the finding. + * @param adcSharedTemplate adcSharedTemplate or {@code null} for none + */ + public GoogleCloudSecuritycenterV2Resource setAdcSharedTemplate(GoogleCloudSecuritycenterV2AdcSharedTemplateRevision adcSharedTemplate) { + this.adcSharedTemplate = adcSharedTemplate; + return this; + } + /** * The App Hub application this resource belongs to. * @return value or {@code null} for none diff --git a/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2Secret.java b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2Secret.java new file mode 100644 index 00000000000..ba083a85bcd --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2Secret.java @@ -0,0 +1,139 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta2.model; + +/** + * Details about a secret or credential associated with the finding. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2Secret extends com.google.api.client.json.GenericJson { + + /** + * The environment variable containing the secret. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2SecretEnvironmentVariable environmentVariable; + + /** + * The file containing the secret. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2SecretFilePath filePath; + + /** + * The status of the secret. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudSecuritycenterV2SecretStatus status; + + /** + * The type of secret, for example, GCP_API_KEY. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * The environment variable containing the secret. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2SecretEnvironmentVariable getEnvironmentVariable() { + return environmentVariable; + } + + /** + * The environment variable containing the secret. + * @param environmentVariable environmentVariable or {@code null} for none + */ + public GoogleCloudSecuritycenterV2Secret setEnvironmentVariable(GoogleCloudSecuritycenterV2SecretEnvironmentVariable environmentVariable) { + this.environmentVariable = environmentVariable; + return this; + } + + /** + * The file containing the secret. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2SecretFilePath getFilePath() { + return filePath; + } + + /** + * The file containing the secret. + * @param filePath filePath or {@code null} for none + */ + public GoogleCloudSecuritycenterV2Secret setFilePath(GoogleCloudSecuritycenterV2SecretFilePath filePath) { + this.filePath = filePath; + return this; + } + + /** + * The status of the secret. + * @return value or {@code null} for none + */ + public GoogleCloudSecuritycenterV2SecretStatus getStatus() { + return status; + } + + /** + * The status of the secret. + * @param status status or {@code null} for none + */ + public GoogleCloudSecuritycenterV2Secret setStatus(GoogleCloudSecuritycenterV2SecretStatus status) { + this.status = status; + return this; + } + + /** + * The type of secret, for example, GCP_API_KEY. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * The type of secret, for example, GCP_API_KEY. + * @param type type or {@code null} for none + */ + public GoogleCloudSecuritycenterV2Secret setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GoogleCloudSecuritycenterV2Secret set(String fieldName, Object value) { + return (GoogleCloudSecuritycenterV2Secret) super.set(fieldName, value); + } + + @Override + public GoogleCloudSecuritycenterV2Secret clone() { + return (GoogleCloudSecuritycenterV2Secret) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2SecretEnvironmentVariable.java b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2SecretEnvironmentVariable.java new file mode 100644 index 00000000000..9ccfe51fd8e --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2SecretEnvironmentVariable.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta2.model; + +/** + * Environment variable containing the secret. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2SecretEnvironmentVariable extends com.google.api.client.json.GenericJson { + + /** + * Environment variable name as a JSON encoded string. Note that value is not included since the + * value contains the secret data, which is sensitive core content. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String key; + + /** + * Environment variable name as a JSON encoded string. Note that value is not included since the + * value contains the secret data, which is sensitive core content. + * @return value or {@code null} for none + */ + public java.lang.String getKey() { + return key; + } + + /** + * Environment variable name as a JSON encoded string. Note that value is not included since the + * value contains the secret data, which is sensitive core content. + * @param key key or {@code null} for none + */ + public GoogleCloudSecuritycenterV2SecretEnvironmentVariable setKey(java.lang.String key) { + this.key = key; + return this; + } + + @Override + public GoogleCloudSecuritycenterV2SecretEnvironmentVariable set(String fieldName, Object value) { + return (GoogleCloudSecuritycenterV2SecretEnvironmentVariable) super.set(fieldName, value); + } + + @Override + public GoogleCloudSecuritycenterV2SecretEnvironmentVariable clone() { + return (GoogleCloudSecuritycenterV2SecretEnvironmentVariable) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2SecretFilePath.java b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2SecretFilePath.java new file mode 100644 index 00000000000..72f7e331d63 --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2SecretFilePath.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta2.model; + +/** + * File path containing the secret. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2SecretFilePath extends com.google.api.client.json.GenericJson { + + /** + * Path to the file. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String path; + + /** + * Path to the file. + * @return value or {@code null} for none + */ + public java.lang.String getPath() { + return path; + } + + /** + * Path to the file. + * @param path path or {@code null} for none + */ + public GoogleCloudSecuritycenterV2SecretFilePath setPath(java.lang.String path) { + this.path = path; + return this; + } + + @Override + public GoogleCloudSecuritycenterV2SecretFilePath set(String fieldName, Object value) { + return (GoogleCloudSecuritycenterV2SecretFilePath) super.set(fieldName, value); + } + + @Override + public GoogleCloudSecuritycenterV2SecretFilePath clone() { + return (GoogleCloudSecuritycenterV2SecretFilePath) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2SecretStatus.java b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2SecretStatus.java new file mode 100644 index 00000000000..db679e75579 --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/GoogleCloudSecuritycenterV2SecretStatus.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta2.model; + +/** + * The status of the secret. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudSecuritycenterV2SecretStatus extends com.google.api.client.json.GenericJson { + + /** + * Time that the secret was found. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String lastUpdatedTime; + + /** + * The validity of the secret. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String validity; + + /** + * Time that the secret was found. + * @return value or {@code null} for none + */ + public String getLastUpdatedTime() { + return lastUpdatedTime; + } + + /** + * Time that the secret was found. + * @param lastUpdatedTime lastUpdatedTime or {@code null} for none + */ + public GoogleCloudSecuritycenterV2SecretStatus setLastUpdatedTime(String lastUpdatedTime) { + this.lastUpdatedTime = lastUpdatedTime; + return this; + } + + /** + * The validity of the secret. + * @return value or {@code null} for none + */ + public java.lang.String getValidity() { + return validity; + } + + /** + * The validity of the secret. + * @param validity validity or {@code null} for none + */ + public GoogleCloudSecuritycenterV2SecretStatus setValidity(java.lang.String validity) { + this.validity = validity; + return this; + } + + @Override + public GoogleCloudSecuritycenterV2SecretStatus set(String fieldName, Object value) { + return (GoogleCloudSecuritycenterV2SecretStatus) super.set(fieldName, value); + } + + @Override + public GoogleCloudSecuritycenterV2SecretStatus clone() { + return (GoogleCloudSecuritycenterV2SecretStatus) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/Secret.java b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/Secret.java new file mode 100644 index 00000000000..601156e3ec4 --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/Secret.java @@ -0,0 +1,139 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta2.model; + +/** + * Details about a secret or credential associated with the finding. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class Secret extends com.google.api.client.json.GenericJson { + + /** + * The environment variable containing the secret. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private SecretEnvironmentVariable environmentVariable; + + /** + * The file containing the secret. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private SecretFilePath filePath; + + /** + * The status of the secret. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private SecretStatus status; + + /** + * The type of secret, for example, GCP_API_KEY. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * The environment variable containing the secret. + * @return value or {@code null} for none + */ + public SecretEnvironmentVariable getEnvironmentVariable() { + return environmentVariable; + } + + /** + * The environment variable containing the secret. + * @param environmentVariable environmentVariable or {@code null} for none + */ + public Secret setEnvironmentVariable(SecretEnvironmentVariable environmentVariable) { + this.environmentVariable = environmentVariable; + return this; + } + + /** + * The file containing the secret. + * @return value or {@code null} for none + */ + public SecretFilePath getFilePath() { + return filePath; + } + + /** + * The file containing the secret. + * @param filePath filePath or {@code null} for none + */ + public Secret setFilePath(SecretFilePath filePath) { + this.filePath = filePath; + return this; + } + + /** + * The status of the secret. + * @return value or {@code null} for none + */ + public SecretStatus getStatus() { + return status; + } + + /** + * The status of the secret. + * @param status status or {@code null} for none + */ + public Secret setStatus(SecretStatus status) { + this.status = status; + return this; + } + + /** + * The type of secret, for example, GCP_API_KEY. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * The type of secret, for example, GCP_API_KEY. + * @param type type or {@code null} for none + */ + public Secret setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public Secret set(String fieldName, Object value) { + return (Secret) super.set(fieldName, value); + } + + @Override + public Secret clone() { + return (Secret) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/SecretEnvironmentVariable.java b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/SecretEnvironmentVariable.java new file mode 100644 index 00000000000..6e870fd621a --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/SecretEnvironmentVariable.java @@ -0,0 +1,70 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta2.model; + +/** + * Environment variable containing the secret. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class SecretEnvironmentVariable extends com.google.api.client.json.GenericJson { + + /** + * Environment variable name as a JSON encoded string. Note that value is not included since the + * value contains the secret data, which is sensitive core content. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String key; + + /** + * Environment variable name as a JSON encoded string. Note that value is not included since the + * value contains the secret data, which is sensitive core content. + * @return value or {@code null} for none + */ + public java.lang.String getKey() { + return key; + } + + /** + * Environment variable name as a JSON encoded string. Note that value is not included since the + * value contains the secret data, which is sensitive core content. + * @param key key or {@code null} for none + */ + public SecretEnvironmentVariable setKey(java.lang.String key) { + this.key = key; + return this; + } + + @Override + public SecretEnvironmentVariable set(String fieldName, Object value) { + return (SecretEnvironmentVariable) super.set(fieldName, value); + } + + @Override + public SecretEnvironmentVariable clone() { + return (SecretEnvironmentVariable) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/SecretFilePath.java b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/SecretFilePath.java new file mode 100644 index 00000000000..19f26cbefb6 --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/SecretFilePath.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta2.model; + +/** + * File path containing the secret. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class SecretFilePath extends com.google.api.client.json.GenericJson { + + /** + * Path to the file. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String path; + + /** + * Path to the file. + * @return value or {@code null} for none + */ + public java.lang.String getPath() { + return path; + } + + /** + * Path to the file. + * @param path path or {@code null} for none + */ + public SecretFilePath setPath(java.lang.String path) { + this.path = path; + return this; + } + + @Override + public SecretFilePath set(String fieldName, Object value) { + return (SecretFilePath) super.set(fieldName, value); + } + + @Override + public SecretFilePath clone() { + return (SecretFilePath) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/SecretStatus.java b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/SecretStatus.java new file mode 100644 index 00000000000..d8b22fbad34 --- /dev/null +++ b/clients/google-api-services-securitycenter/v1beta2/2.0.0/com/google/api/services/securitycenter/v1beta2/model/SecretStatus.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.securitycenter.v1beta2.model; + +/** + * The status of the secret. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Security Command Center API. For a detailed + * explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *
+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class SecretStatus extends com.google.api.client.json.GenericJson { + + /** + * Time that the secret was found. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String lastUpdatedTime; + + /** + * The validity of the secret. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String validity; + + /** + * Time that the secret was found. + * @return value or {@code null} for none + */ + public String getLastUpdatedTime() { + return lastUpdatedTime; + } + + /** + * Time that the secret was found. + * @param lastUpdatedTime lastUpdatedTime or {@code null} for none + */ + public SecretStatus setLastUpdatedTime(String lastUpdatedTime) { + this.lastUpdatedTime = lastUpdatedTime; + return this; + } + + /** + * The validity of the secret. + * @return value or {@code null} for none + */ + public java.lang.String getValidity() { + return validity; + } + + /** + * The validity of the secret. + * @param validity validity or {@code null} for none + */ + public SecretStatus setValidity(java.lang.String validity) { + this.validity = validity; + return this; + } + + @Override + public SecretStatus set(String fieldName, Object value) { + return (SecretStatus) super.set(fieldName, value); + } + + @Override + public SecretStatus clone() { + return (SecretStatus) super.clone(); + } + +} diff --git a/clients/google-api-services-securitycenter/v1beta2/2.0.0/pom.xml b/clients/google-api-services-securitycenter/v1beta2/2.0.0/pom.xml index 10a43ed630d..54edbb1fce7 100644 --- a/clients/google-api-services-securitycenter/v1beta2/2.0.0/pom.xml +++ b/clients/google-api-services-securitycenter/v1beta2/2.0.0/pom.xml @@ -8,8 +8,8 @@