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

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-securitycenter</artifactId>
<version>v1-rev20251202-2.0.0</version>
<version>v1-rev20260123-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-securitycenter:v1-rev20251202-2.0.0'
implementation 'com.google.apis:google-api-services-securitycenter:v1-rev20260123-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
@@ -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.
*
* <p> 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:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @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();
}

}
Original file line number Diff line number Diff line change
@@ -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.
*
* <p> 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:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @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();
}

}
Original file line number Diff line number Diff line change
@@ -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.
*
* <p> 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:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @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();
}

}
Original file line number Diff line number Diff line change
@@ -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.
*
* <p> 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:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @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.List<ArtifactGuardPolicy> failingPolicies;

/**
* The ID of the resource that has policies configured for it.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String resourceId;

/**
* A list of failing policies.
* @return value or {@code null} for none
*/
public java.util.List<ArtifactGuardPolicy> getFailingPolicies() {
return failingPolicies;
}

/**
* A list of failing policies.
* @param failingPolicies failingPolicies or {@code null} for none
*/
public ArtifactGuardPolicies setFailingPolicies(java.util.List<ArtifactGuardPolicy> failingPolicies) {
this.failingPolicies = failingPolicies;
return this;
}

/**
* The ID of the resource that has policies configured for it.
* @return value or {@code null} for none
*/
public java.lang.String getResourceId() {
return resourceId;
}

/**
* The ID of the resource that has policies configured for it.
* @param resourceId resourceId or {@code null} for none
*/
public ArtifactGuardPolicies setResourceId(java.lang.String resourceId) {
this.resourceId = resourceId;
return this;
}

@Override
public ArtifactGuardPolicies set(String fieldName, Object value) {
return (ArtifactGuardPolicies) super.set(fieldName, value);
}

@Override
public ArtifactGuardPolicies clone() {
return (ArtifactGuardPolicies) super.clone();
}

}
Loading