From 2a8d82582d4601da54f9847359b95bffe8397fdf Mon Sep 17 00:00:00 2001
From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com>
Date: Mon, 1 Jun 2026 18:28:27 -0700
Subject: [PATCH] chore: regenerate networksecurity client
---
.../v1beta1/2.0.0/README.md | 4 +-
.../v1beta1/NetworkSecurity.java | 4674 ++++++++++-------
.../v1beta1/model/FirewallEndpoint.java | 24 +
.../FirewallEndpointEndpointSettings.java | 54 +
.../FirewallEndpointWildfireSettings.java | 174 +
...gsWildfireInlineCloudAnalysisSettings.java | 120 +
.../ListMirroringDeploymentsResponse.java | 9 +-
...WildfireVerdictChangeRequestsResponse.java | 114 +
.../v1beta1/model/SecurityProfile.java | 24 +
.../v1beta1/model/SecurityProfileGroup.java | 24 +
.../model/WildfireAnalysisProfile.java | 237 +
.../WildfireInlineCloudAnalysisRule.java | 141 +
...nlineCloudAnalysisRuleCustomFileTypes.java | 66 +
.../model/WildfireInlineMlFileException.java | 93 +
.../model/WildfireInlineMlOverride.java | 90 +
.../model/WildfireInlineMlSettings.java | 96 +
...ildfireInlineMlSettingsInlineMlConfig.java | 90 +
.../v1beta1/model/WildfireOverride.java | 90 +
.../v1beta1/model/WildfireSubmissionRule.java | 114 +
...WildfireSubmissionRuleCustomFileTypes.java | 66 +
.../v1beta1/model/WildfireThreatOverride.java | 90 +
.../model/WildfireVerdictChangeRequest.java | 399 ++
.../v1beta1/2.0.0/pom.xml | 4 +-
.../v1beta1/README.md | 4 +-
24 files changed, 5004 insertions(+), 1797 deletions(-)
create mode 100644 clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/FirewallEndpointWildfireSettings.java
create mode 100644 clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/FirewallEndpointWildfireSettingsWildfireInlineCloudAnalysisSettings.java
create mode 100644 clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/ListWildfireVerdictChangeRequestsResponse.java
create mode 100644 clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/WildfireAnalysisProfile.java
create mode 100644 clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/WildfireInlineCloudAnalysisRule.java
create mode 100644 clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/WildfireInlineCloudAnalysisRuleCustomFileTypes.java
create mode 100644 clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/WildfireInlineMlFileException.java
create mode 100644 clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/WildfireInlineMlOverride.java
create mode 100644 clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/WildfireInlineMlSettings.java
create mode 100644 clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/WildfireInlineMlSettingsInlineMlConfig.java
create mode 100644 clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/WildfireOverride.java
create mode 100644 clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/WildfireSubmissionRule.java
create mode 100644 clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/WildfireSubmissionRuleCustomFileTypes.java
create mode 100644 clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/WildfireThreatOverride.java
create mode 100644 clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/WildfireVerdictChangeRequest.java
diff --git a/clients/google-api-services-networksecurity/v1beta1/2.0.0/README.md b/clients/google-api-services-networksecurity/v1beta1/2.0.0/README.md
index d622cb93078..3a5cb5598ae 100644
--- a/clients/google-api-services-networksecurity/v1beta1/2.0.0/README.md
+++ b/clients/google-api-services-networksecurity/v1beta1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
The typical use is:
- *
- * {@code NetworkSecurity networksecurity = new NetworkSecurity(...);}
- * {@code NetworkSecurity.Operations.List request = networksecurity.operations().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public Operations operations() {
- return new Operations();
- }
-
- /**
- * The "operations" collection of methods.
- */
- public class Operations {
-
/**
- * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to
- * cancel the operation, but success is not guaranteed. If the server doesn't support this method,
- * it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other
- * methods to check whether the cancellation succeeded or whether the operation completed despite
- * cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an
- * operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to
- * `Code.CANCELLED`.
+ * An accessor for creating requests from the WildfireVerdictChangeRequests collection.
*
- * Create a request for the method "operations.cancel".
- *
- * This request holds the parameters needed by the networksecurity server. After setting any
- * optional parameters, call the {@link Cancel#execute()} method to invoke the remote operation.
+ * The typical use is:
+ *
+ * {@code NetworkSecurity networksecurity = new NetworkSecurity(...);}
+ * {@code NetworkSecurity.WildfireVerdictChangeRequests.List request = networksecurity.wildfireVerdictChangeRequests().list(parameters ...)}
+ *
*
- * @param name The name of the operation resource to be cancelled.
- * @param content the {@link com.google.api.services.networksecurity.v1beta1.model.CancelOperationRequest}
- * @return the request
+ * @return the resource collection
*/
- public Cancel cancel(java.lang.String name, com.google.api.services.networksecurity.v1beta1.model.CancelOperationRequest content) throws java.io.IOException {
- Cancel result = new Cancel(name, content);
- initialize(result);
- return result;
+ public WildfireVerdictChangeRequests wildfireVerdictChangeRequests() {
+ return new WildfireVerdictChangeRequests();
}
- public class Cancel extends NetworkSecurityRequest{@link - * Cancel#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must - * be called to initialize this instance immediately after invoking the constructor.
+ * This request holds the parameters needed by the networksecurity server. After setting any + * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. * - * @param name The name of the operation resource to be cancelled. - * @param content the {@link com.google.api.services.networksecurity.v1beta1.model.CancelOperationRequest} - * @since 1.13 + * @param parent Required. Parent value for CreateWildfireVerdictChangeRequestRequest. The parent is a firewall + * endpoint resource. Format: organizations|projects/{project_or_organization}/locations/{loc + * ation}/firewallEndpoints/{firewall_endpoint} + * @param content the {@link com.google.api.services.networksecurity.v1beta1.model.WildfireVerdictChangeRequest} + * @return the request */ - protected Cancel(java.lang.String name, com.google.api.services.networksecurity.v1beta1.model.CancelOperationRequest content) { - super(NetworkSecurity.this, "POST", REST_PATH, content, com.google.api.services.networksecurity.v1beta1.model.Empty.class); - this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$"); - } + public Create create(java.lang.String parent, com.google.api.services.networksecurity.v1beta1.model.WildfireVerdictChangeRequest content) throws java.io.IOException { + Create result = new Create(parent, content); + initialize(result); + return result; } - @Override - public Cancel set$Xgafv(java.lang.String $Xgafv) { - return (Cancel) super.set$Xgafv($Xgafv); - } + public class Create extends NetworkSecurityRequest{@link + * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.
+ * + * @param parent Required. Parent value for CreateWildfireVerdictChangeRequestRequest. The parent is a firewall + * endpoint resource. Format: organizations|projects/{project_or_organization}/locations/{loc + * ation}/firewallEndpoints/{firewall_endpoint} + * @param content the {@link com.google.api.services.networksecurity.v1beta1.model.WildfireVerdictChangeRequest} + * @since 1.13 + */ + protected Create(java.lang.String parent, com.google.api.services.networksecurity.v1beta1.model.WildfireVerdictChangeRequest content) { + super(NetworkSecurity.this, "POST", REST_PATH, content, com.google.api.services.networksecurity.v1beta1.model.WildfireVerdictChangeRequest.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^organizations/[^/]+/locations/[^/]+/firewallEndpoints/[^/]+$"); + } + } - @Override - public Cancel setFields(java.lang.String fields) { - return (Cancel) super.setFields(fields); - } + @Override + public Create set$Xgafv(java.lang.String $Xgafv) { + return (Create) super.set$Xgafv($Xgafv); + } - @Override - public Cancel setKey(java.lang.String key) { - return (Cancel) super.setKey(key); - } + @Override + public Create setAccessToken(java.lang.String accessToken) { + return (Create) super.setAccessToken(accessToken); + } - @Override - public Cancel setOauthToken(java.lang.String oauthToken) { - return (Cancel) super.setOauthToken(oauthToken); - } + @Override + public Create setAlt(java.lang.String alt) { + return (Create) super.setAlt(alt); + } - @Override - public Cancel setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Cancel) super.setPrettyPrint(prettyPrint); - } + @Override + public Create setCallback(java.lang.String callback) { + return (Create) super.setCallback(callback); + } - @Override - public Cancel setQuotaUser(java.lang.String quotaUser) { - return (Cancel) super.setQuotaUser(quotaUser); - } + @Override + public Create setFields(java.lang.String fields) { + return (Create) super.setFields(fields); + } - @Override - public Cancel setUploadType(java.lang.String uploadType) { - return (Cancel) super.setUploadType(uploadType); - } + @Override + public Create setKey(java.lang.String key) { + return (Create) super.setKey(key); + } - @Override - public Cancel setUploadProtocol(java.lang.String uploadProtocol) { - return (Cancel) super.setUploadProtocol(uploadProtocol); - } + @Override + public Create setOauthToken(java.lang.String oauthToken) { + return (Create) super.setOauthToken(oauthToken); + } - /** The name of the operation resource to be cancelled. */ - @com.google.api.client.util.Key - private java.lang.String name; + @Override + public Create setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Create) super.setPrettyPrint(prettyPrint); + } - /** The name of the operation resource to be cancelled. - */ - public java.lang.String getName() { - return name; - } + @Override + public Create setQuotaUser(java.lang.String quotaUser) { + return (Create) super.setQuotaUser(quotaUser); + } - /** The name of the operation resource to be cancelled. */ - public Cancel setName(java.lang.String name) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$"); + @Override + public Create setUploadType(java.lang.String uploadType) { + return (Create) super.setUploadType(uploadType); } - this.name = name; - return this; - } - @Override - public Cancel set(String parameterName, Object value) { - return (Cancel) super.set(parameterName, value); - } - } - /** - * Deletes a long-running operation. This method indicates that the client is no longer interested - * in the operation result. It does not cancel the operation. If the server doesn't support this - * method, it returns `google.rpc.Code.UNIMPLEMENTED`. - * - * Create a request for the method "operations.delete". - * - * This request holds the parameters needed by the networksecurity server. After setting any - * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. - * - * @param name The name of the operation resource to be deleted. - * @return the request - */ - public Delete delete(java.lang.String name) throws java.io.IOException { - Delete result = new Delete(name); - initialize(result); - return result; - } + @Override + public Create setUploadProtocol(java.lang.String uploadProtocol) { + return (Create) super.setUploadProtocol(uploadProtocol); + } - public class Delete extends NetworkSecurityRequest{@link - * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must - * be called to initialize this instance immediately after invoking the constructor.
+ * This request holds the parameters needed by the networksecurity server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. * - * @param name The name of the operation resource to be deleted. - * @since 1.13 + * @param name Required. Name of the WildfireVerdictChangeRequest to retrieve. Format: organizations|projects/{proj + * ect_or_organization}/locations/{location}/firewallEndpoints/{firewall_endpoint}/wildfireVe + * rdictChangeRequests/{wildfire_verdict_change_request_id} Where + * {wildfire_verdict_change_request_id} is the ID in the format: + * ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ + * @return the request */ - protected Delete(java.lang.String name) { - super(NetworkSecurity.this, "DELETE", REST_PATH, null, com.google.api.services.networksecurity.v1beta1.model.Empty.class); - this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$"); - } + public Get get(java.lang.String name) throws java.io.IOException { + Get result = new Get(name); + initialize(result); + return result; } - @Override - public Delete set$Xgafv(java.lang.String $Xgafv) { - return (Delete) super.set$Xgafv($Xgafv); - } + public class Get extends NetworkSecurityRequest+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.
+ * + * @param name Required. Name of the WildfireVerdictChangeRequest to retrieve. Format: organizations|projects/{proj + * ect_or_organization}/locations/{location}/firewallEndpoints/{firewall_endpoint}/wildfireVe + * rdictChangeRequests/{wildfire_verdict_change_request_id} Where + * {wildfire_verdict_change_request_id} is the ID in the format: + * ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(NetworkSecurity.this, "GET", REST_PATH, null, com.google.api.services.networksecurity.v1beta1.model.WildfireVerdictChangeRequest.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^organizations/[^/]+/locations/[^/]+/firewallEndpoints/[^/]+/wildfireVerdictChangeRequests/[^/]+$"); + } + } - @Override - public Delete setFields(java.lang.String fields) { - return (Delete) super.setFields(fields); - } + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } - @Override - public Delete setKey(java.lang.String key) { - return (Delete) super.setKey(key); - } + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } - @Override - public Delete setOauthToken(java.lang.String oauthToken) { - return (Delete) super.setOauthToken(oauthToken); - } + @Override + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); + } - @Override - public Delete setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Delete) super.setPrettyPrint(prettyPrint); - } + @Override + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); + } - @Override - public Delete setQuotaUser(java.lang.String quotaUser) { - return (Delete) super.setQuotaUser(quotaUser); - } + @Override + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); + } - @Override - public Delete setUploadType(java.lang.String uploadType) { - return (Delete) super.setUploadType(uploadType); - } + @Override + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); + } - @Override - public Delete setUploadProtocol(java.lang.String uploadProtocol) { - return (Delete) super.setUploadProtocol(uploadProtocol); - } + @Override + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); + } - /** The name of the operation resource to be deleted. */ - @com.google.api.client.util.Key - private java.lang.String name; + @Override + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); + } - /** The name of the operation resource to be deleted. - */ - public java.lang.String getName() { - return name; - } + @Override + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); + } - /** The name of the operation resource to be deleted. */ - public Delete setName(java.lang.String name) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$"); + @Override + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); } - this.name = name; - return this; - } - @Override - public Delete set(String parameterName, Object value) { - return (Delete) super.set(parameterName, value); - } - } - /** - * Gets the latest state of a long-running operation. Clients can use this method to poll the - * operation result at intervals as recommended by the API service. - * - * Create a request for the method "operations.get". - * - * This request holds the parameters needed by the networksecurity server. After setting any - * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. - * - * @param name The name of the operation resource. - * @return the request - */ - public Get get(java.lang.String name) throws java.io.IOException { - Get result = new Get(name); - initialize(result); - return result; - } + @Override + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } - public class Get extends NetworkSecurityRequest- * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} - * must be called to initialize this instance immediately after invoking the constructor.
+ * This request holds the parameters needed by the networksecurity server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation. * - * @param name The name of the operation resource. - * @since 1.13 + * @param parent Required. Parent value for ListWildfireVerdictChangeRequestsRequest. The parent is a firewall + * endpoint resource. Format: organizations|projects/{project_or_organization}/locations/{loc + * ation}/firewallEndpoints/{firewall_endpoint} + * @return the request */ - protected Get(java.lang.String name) { - super(NetworkSecurity.this, "GET", REST_PATH, null, com.google.api.services.networksecurity.v1beta1.model.Operation.class); - this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$"); - } - } - - @Override - public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { - return super.executeUsingHead(); - } - - @Override - public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { - return super.buildHttpRequestUsingHead(); + public List list(java.lang.String parent) throws java.io.IOException { + List result = new List(parent); + initialize(result); + return result; } - @Override - public Get set$Xgafv(java.lang.String $Xgafv) { - return (Get) super.set$Xgafv($Xgafv); - } + public class List extends NetworkSecurityRequest+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.
+ * + * @param parent Required. Parent value for ListWildfireVerdictChangeRequestsRequest. The parent is a firewall + * endpoint resource. Format: organizations|projects/{project_or_organization}/locations/{loc + * ation}/firewallEndpoints/{firewall_endpoint} + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(NetworkSecurity.this, "GET", REST_PATH, null, com.google.api.services.networksecurity.v1beta1.model.ListWildfireVerdictChangeRequestsResponse.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^organizations/[^/]+/locations/[^/]+/firewallEndpoints/[^/]+$"); + } + } - @Override - public Get setFields(java.lang.String fields) { - return (Get) super.setFields(fields); - } + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } - @Override - public Get setKey(java.lang.String key) { - return (Get) super.setKey(key); - } + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } - @Override - public Get setOauthToken(java.lang.String oauthToken) { - return (Get) super.setOauthToken(oauthToken); - } + @Override + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); + } - @Override - public Get setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Get) super.setPrettyPrint(prettyPrint); - } + @Override + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); + } - @Override - public Get setQuotaUser(java.lang.String quotaUser) { - return (Get) super.setQuotaUser(quotaUser); - } + @Override + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); + } - @Override - public Get setUploadType(java.lang.String uploadType) { - return (Get) super.setUploadType(uploadType); - } + @Override + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); + } - @Override - public Get setUploadProtocol(java.lang.String uploadProtocol) { - return (Get) super.setUploadProtocol(uploadProtocol); - } + @Override + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); + } - /** The name of the operation resource. */ - @com.google.api.client.util.Key - private java.lang.String name; + @Override + public List setKey(java.lang.String key) { + return (List) super.setKey(key); + } - /** The name of the operation resource. - */ - public java.lang.String getName() { - return name; - } + @Override + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); + } - /** The name of the operation resource. */ - public Get setName(java.lang.String name) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$"); + @Override + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); } - this.name = name; - return this; - } - @Override - public Get set(String parameterName, Object value) { - return (Get) super.set(parameterName, value); + @Override + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); + } + + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } + + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Parent value for ListWildfireVerdictChangeRequestsRequest. The parent is a + * firewall endpoint resource. Format: organizations|projects/{project_or_organization}/ + * locations/{location}/firewallEndpoints/{firewall_endpoint} + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. Parent value for ListWildfireVerdictChangeRequestsRequest. The parent is a firewall + endpoint resource. Format: organizations|projects/{project_or_organization}/locations/{location}/fi + rewallEndpoints/{firewall_endpoint} + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. Parent value for ListWildfireVerdictChangeRequestsRequest. The parent is a + * firewall endpoint resource. Format: organizations|projects/{project_or_organization}/ + * locations/{location}/firewallEndpoints/{firewall_endpoint} + */ + public List setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^organizations/[^/]+/locations/[^/]+/firewallEndpoints/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** + * Optional. Filter expression to filter the results. See AIP-160 for filtering syntax. + * Supported fields are: - `sha256` (string, equality only, e.g. `sha256 = "..."`) - + * `state` (enum, equality only, e.g. `state = "ACTIVE"`) - `create_time` (timestamp, + * comparisons, e.g. `create_time > "2026-01-01T00:00:00Z"`) + */ + @com.google.api.client.util.Key + private java.lang.String filter; + + /** Optional. Filter expression to filter the results. See AIP-160 for filtering syntax. Supported + fields are: - `sha256` (string, equality only, e.g. `sha256 = "..."`) - `state` (enum, equality + only, e.g. `state = "ACTIVE"`) - `create_time` (timestamp, comparisons, e.g. `create_time > + "2026-01-01T00:00:00Z"`) + */ + public java.lang.String getFilter() { + return filter; + } + + /** + * Optional. Filter expression to filter the results. See AIP-160 for filtering syntax. + * Supported fields are: - `sha256` (string, equality only, e.g. `sha256 = "..."`) - + * `state` (enum, equality only, e.g. `state = "ACTIVE"`) - `create_time` (timestamp, + * comparisons, e.g. `create_time > "2026-01-01T00:00:00Z"`) + */ + public List setFilter(java.lang.String filter) { + this.filter = filter; + return this; + } + + /** + * Optional. Requested page size. Server may return fewer items than requested. If + * unspecified, server will pick an appropriate default. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Optional. Requested page size. Server may return fewer items than requested. If unspecified, server + will pick an appropriate default. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * Optional. Requested page size. Server may return fewer items than requested. If + * unspecified, server will pick an appropriate default. + */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** Optional. A token identifying a page of results the server should return. */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Optional. A token identifying a page of results the server should return. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** Optional. A token identifying a page of results the server should return. */ + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + @Override + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); + } } + } + } + /** + * An accessor for creating requests from the Operations collection. + * + *The typical use is:
+ *
+ * {@code NetworkSecurity networksecurity = new NetworkSecurity(...);}
+ * {@code NetworkSecurity.Operations.List request = networksecurity.operations().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public Operations operations() {
+ return new Operations();
+ }
+
+ /**
+ * The "operations" collection of methods.
+ */
+ public class Operations {
+
/**
- * Lists operations that match the specified filter in the request. If the server doesn't support
- * this method, it returns `UNIMPLEMENTED`.
+ * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to
+ * cancel the operation, but success is not guaranteed. If the server doesn't support this method,
+ * it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other
+ * methods to check whether the cancellation succeeded or whether the operation completed despite
+ * cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an
+ * operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to
+ * `Code.CANCELLED`.
*
- * Create a request for the method "operations.list".
+ * Create a request for the method "operations.cancel".
*
* This request holds the parameters needed by the networksecurity server. After setting any
- * optional parameters, call the {@link List#execute()} method to invoke the remote operation.
+ * optional parameters, call the {@link Cancel#execute()} method to invoke the remote operation.
*
- * @param name The name of the operation's parent resource.
+ * @param name The name of the operation resource to be cancelled.
+ * @param content the {@link com.google.api.services.networksecurity.v1beta1.model.CancelOperationRequest}
* @return the request
*/
- public List list(java.lang.String name) throws java.io.IOException {
- List result = new List(name);
+ public Cancel cancel(java.lang.String name, com.google.api.services.networksecurity.v1beta1.model.CancelOperationRequest content) throws java.io.IOException {
+ Cancel result = new Cancel(name, content);
initialize(result);
return result;
}
- public class List extends NetworkSecurityRequest- * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} - * must be called to initialize this instance immediately after invoking the constructor.
+ * optional parameters, call the {@link Cancel#execute()} method to invoke the remote operation. + *{@link + * Cancel#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.
* - * @param name The name of the operation's parent resource. + * @param name The name of the operation resource to be cancelled. + * @param content the {@link com.google.api.services.networksecurity.v1beta1.model.CancelOperationRequest} * @since 1.13 */ - protected List(java.lang.String name) { - super(NetworkSecurity.this, "GET", REST_PATH, null, com.google.api.services.networksecurity.v1beta1.model.ListOperationsResponse.class); + protected Cancel(java.lang.String name, com.google.api.services.networksecurity.v1beta1.model.CancelOperationRequest content) { + super(NetworkSecurity.this, "POST", REST_PATH, content, com.google.api.services.networksecurity.v1beta1.model.Empty.class); this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^organizations/[^/]+/locations/[^/]+$"); + "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$"); } } @Override - public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { - return super.executeUsingHead(); - } - - @Override - public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { - return super.buildHttpRequestUsingHead(); - } - - @Override - public List set$Xgafv(java.lang.String $Xgafv) { - return (List) super.set$Xgafv($Xgafv); + public Cancel set$Xgafv(java.lang.String $Xgafv) { + return (Cancel) super.set$Xgafv($Xgafv); } @Override - public List setAccessToken(java.lang.String accessToken) { - return (List) super.setAccessToken(accessToken); + public Cancel setAccessToken(java.lang.String accessToken) { + return (Cancel) super.setAccessToken(accessToken); } @Override - public List setAlt(java.lang.String alt) { - return (List) super.setAlt(alt); + public Cancel setAlt(java.lang.String alt) { + return (Cancel) super.setAlt(alt); } @Override - public List setCallback(java.lang.String callback) { - return (List) super.setCallback(callback); + public Cancel setCallback(java.lang.String callback) { + return (Cancel) super.setCallback(callback); } @Override - public List setFields(java.lang.String fields) { - return (List) super.setFields(fields); + public Cancel setFields(java.lang.String fields) { + return (Cancel) super.setFields(fields); } @Override - public List setKey(java.lang.String key) { - return (List) super.setKey(key); + public Cancel setKey(java.lang.String key) { + return (Cancel) super.setKey(key); } @Override - public List setOauthToken(java.lang.String oauthToken) { - return (List) super.setOauthToken(oauthToken); + public Cancel setOauthToken(java.lang.String oauthToken) { + return (Cancel) super.setOauthToken(oauthToken); } @Override - public List setPrettyPrint(java.lang.Boolean prettyPrint) { - return (List) super.setPrettyPrint(prettyPrint); + public Cancel setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Cancel) super.setPrettyPrint(prettyPrint); } @Override - public List setQuotaUser(java.lang.String quotaUser) { - return (List) super.setQuotaUser(quotaUser); + public Cancel setQuotaUser(java.lang.String quotaUser) { + return (Cancel) super.setQuotaUser(quotaUser); } @Override - public List setUploadType(java.lang.String uploadType) { - return (List) super.setUploadType(uploadType); + public Cancel setUploadType(java.lang.String uploadType) { + return (Cancel) super.setUploadType(uploadType); } @Override - public List setUploadProtocol(java.lang.String uploadProtocol) { - return (List) super.setUploadProtocol(uploadProtocol); + public Cancel setUploadProtocol(java.lang.String uploadProtocol) { + return (Cancel) super.setUploadProtocol(uploadProtocol); } - /** The name of the operation's parent resource. */ + /** The name of the operation resource to be cancelled. */ @com.google.api.client.util.Key private java.lang.String name; - /** The name of the operation's parent resource. + /** The name of the operation resource to be cancelled. */ public java.lang.String getName() { return name; } - /** The name of the operation's parent resource. */ - public List setName(java.lang.String name) { + /** The name of the operation resource to be cancelled. */ + public Cancel setName(java.lang.String name) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^organizations/[^/]+/locations/[^/]+$"); + "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$"); } this.name = name; return this; } - /** The standard list filter. */ - @com.google.api.client.util.Key - private java.lang.String filter; - - /** The standard list filter. - */ - public java.lang.String getFilter() { - return filter; - } - - /** The standard list filter. */ - public List setFilter(java.lang.String filter) { - this.filter = filter; - return this; - } - - /** The standard list page size. */ - @com.google.api.client.util.Key - private java.lang.Integer pageSize; - - /** The standard list page size. - */ - public java.lang.Integer getPageSize() { - return pageSize; - } - - /** The standard list page size. */ - public List setPageSize(java.lang.Integer pageSize) { - this.pageSize = pageSize; - return this; - } - - /** The standard list page token. */ - @com.google.api.client.util.Key - private java.lang.String pageToken; - - /** The standard list page token. - */ - public java.lang.String getPageToken() { - return pageToken; - } - - /** The standard list page token. */ - public List setPageToken(java.lang.String pageToken) { - this.pageToken = pageToken; - return this; - } - - /** - * When set to `true`, operations that are reachable are returned as normal, and those - * that are unreachable are returned in the ListOperationsResponse.unreachable field. This - * can only be `true` when reading across collections. For example, when `parent` is set - * to `"projects/example/locations/-"`. This field is not supported by default and will - * result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in - * service or product specific documentation. - */ - @com.google.api.client.util.Key - private java.lang.Boolean returnPartialSuccess; - - /** When set to `true`, operations that are reachable are returned as normal, and those that are - unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` - when reading across collections. For example, when `parent` is set to - `"projects/example/locations/-"`. This field is not supported by default and will result in an - `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific - documentation. - */ - public java.lang.Boolean getReturnPartialSuccess() { - return returnPartialSuccess; - } - - /** - * When set to `true`, operations that are reachable are returned as normal, and those - * that are unreachable are returned in the ListOperationsResponse.unreachable field. This - * can only be `true` when reading across collections. For example, when `parent` is set - * to `"projects/example/locations/-"`. This field is not supported by default and will - * result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in - * service or product specific documentation. - */ - public List setReturnPartialSuccess(java.lang.Boolean returnPartialSuccess) { - this.returnPartialSuccess = returnPartialSuccess; - return this; - } - @Override - public List set(String parameterName, Object value) { - return (List) super.set(parameterName, value); + public Cancel set(String parameterName, Object value) { + return (Cancel) super.set(parameterName, value); } } - - } - /** - * An accessor for creating requests from the SecurityProfileGroups collection. - * - *The typical use is:
- *
- * {@code NetworkSecurity networksecurity = new NetworkSecurity(...);}
- * {@code NetworkSecurity.SecurityProfileGroups.List request = networksecurity.securityProfileGroups().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public SecurityProfileGroups securityProfileGroups() {
- return new SecurityProfileGroups();
- }
-
- /**
- * The "securityProfileGroups" collection of methods.
- */
- public class SecurityProfileGroups {
-
/**
- * Creates a new SecurityProfileGroup in a given organization and location.
+ * Deletes a long-running operation. This method indicates that the client is no longer interested
+ * in the operation result. It does not cancel the operation. If the server doesn't support this
+ * method, it returns `google.rpc.Code.UNIMPLEMENTED`.
*
- * Create a request for the method "securityProfileGroups.create".
+ * Create a request for the method "operations.delete".
*
* This request holds the parameters needed by the networksecurity server. After setting any
- * optional parameters, call the {@link Create#execute()} method to invoke the remote operation.
+ * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation.
*
- * @param parent Required. The parent resource of the SecurityProfileGroup. Must be in the format
- * `projects|organizations/locations/{location}`.
- * @param content the {@link com.google.api.services.networksecurity.v1beta1.model.SecurityProfileGroup}
+ * @param name The name of the operation resource to be deleted.
* @return the request
*/
- public Create create(java.lang.String parent, com.google.api.services.networksecurity.v1beta1.model.SecurityProfileGroup content) throws java.io.IOException {
- Create result = new Create(parent, content);
+ public Delete delete(java.lang.String name) throws java.io.IOException {
+ Delete result = new Delete(name);
initialize(result);
return result;
}
- public class Create extends NetworkSecurityRequest{@link - * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must * be called to initialize this instance immediately after invoking the constructor.
* - * @param parent Required. The parent resource of the SecurityProfileGroup. Must be in the format - * `projects|organizations/locations/{location}`. - * @param content the {@link com.google.api.services.networksecurity.v1beta1.model.SecurityProfileGroup} + * @param name The name of the operation resource to be deleted. * @since 1.13 */ - protected Create(java.lang.String parent, com.google.api.services.networksecurity.v1beta1.model.SecurityProfileGroup content) { - super(NetworkSecurity.this, "POST", REST_PATH, content, com.google.api.services.networksecurity.v1beta1.model.Operation.class); - this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + protected Delete(java.lang.String name) { + super(NetworkSecurity.this, "DELETE", REST_PATH, null, com.google.api.services.networksecurity.v1beta1.model.Empty.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^organizations/[^/]+/locations/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$"); } } @Override - public Create set$Xgafv(java.lang.String $Xgafv) { - return (Create) super.set$Xgafv($Xgafv); + public Delete set$Xgafv(java.lang.String $Xgafv) { + return (Delete) super.set$Xgafv($Xgafv); } @Override - public Create setAccessToken(java.lang.String accessToken) { - return (Create) super.setAccessToken(accessToken); + public Delete setAccessToken(java.lang.String accessToken) { + return (Delete) super.setAccessToken(accessToken); } @Override - public Create setAlt(java.lang.String alt) { - return (Create) super.setAlt(alt); + public Delete setAlt(java.lang.String alt) { + return (Delete) super.setAlt(alt); } @Override - public Create setCallback(java.lang.String callback) { - return (Create) super.setCallback(callback); + public Delete setCallback(java.lang.String callback) { + return (Delete) super.setCallback(callback); } @Override - public Create setFields(java.lang.String fields) { - return (Create) super.setFields(fields); + public Delete setFields(java.lang.String fields) { + return (Delete) super.setFields(fields); } @Override - public Create setKey(java.lang.String key) { - return (Create) super.setKey(key); - } - - @Override - public Create setOauthToken(java.lang.String oauthToken) { - return (Create) super.setOauthToken(oauthToken); - } - - @Override - public Create setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Create) super.setPrettyPrint(prettyPrint); - } - - @Override - public Create setQuotaUser(java.lang.String quotaUser) { - return (Create) super.setQuotaUser(quotaUser); - } - - @Override - public Create setUploadType(java.lang.String uploadType) { - return (Create) super.setUploadType(uploadType); - } - - @Override - public Create setUploadProtocol(java.lang.String uploadProtocol) { - return (Create) super.setUploadProtocol(uploadProtocol); - } - - /** - * Required. The parent resource of the SecurityProfileGroup. Must be in the format - * `projects|organizations/locations/{location}`. - */ - @com.google.api.client.util.Key - private java.lang.String parent; - - /** Required. The parent resource of the SecurityProfileGroup. Must be in the format - `projects|organizations/locations/{location}`. - */ - public java.lang.String getParent() { - return parent; - } - - /** - * Required. The parent resource of the SecurityProfileGroup. Must be in the format - * `projects|organizations/locations/{location}`. - */ - public Create setParent(java.lang.String parent) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^organizations/[^/]+/locations/[^/]+$"); - } - this.parent = parent; - return this; - } - - /** - * Required. Short name of the SecurityProfileGroup resource to be created. This value - * should be 1-63 characters long, containing only letters, numbers, hyphens, and - * underscores, and should not start with a number. E.g. "security_profile_group1". - */ - @com.google.api.client.util.Key - private java.lang.String securityProfileGroupId; - - /** Required. Short name of the SecurityProfileGroup resource to be created. This value should be 1-63 - characters long, containing only letters, numbers, hyphens, and underscores, and should not start - with a number. E.g. "security_profile_group1". - */ - public java.lang.String getSecurityProfileGroupId() { - return securityProfileGroupId; - } - - /** - * Required. Short name of the SecurityProfileGroup resource to be created. This value - * should be 1-63 characters long, containing only letters, numbers, hyphens, and - * underscores, and should not start with a number. E.g. "security_profile_group1". - */ - public Create setSecurityProfileGroupId(java.lang.String securityProfileGroupId) { - this.securityProfileGroupId = securityProfileGroupId; - return this; - } - - @Override - public Create set(String parameterName, Object value) { - return (Create) super.set(parameterName, value); - } - } - /** - * Deletes a single SecurityProfileGroup. - * - * Create a request for the method "securityProfileGroups.delete". - * - * This request holds the parameters needed by the networksecurity server. After setting any - * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. - * - * @param name Required. A name of the SecurityProfileGroup to delete. Must be in the format - * `projects|organizations/locations/{location}/securityProfileGroups/{security_profile_group - * }`. - * @return the request - */ - public Delete delete(java.lang.String name) throws java.io.IOException { - Delete result = new Delete(name); - initialize(result); - return result; - } - - public class Delete extends NetworkSecurityRequest{@link - * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must - * be called to initialize this instance immediately after invoking the constructor.
- * - * @param name Required. A name of the SecurityProfileGroup to delete. Must be in the format - * `projects|organizations/locations/{location}/securityProfileGroups/{security_profile_group - * }`. - * @since 1.13 - */ - protected Delete(java.lang.String name) { - super(NetworkSecurity.this, "DELETE", REST_PATH, null, com.google.api.services.networksecurity.v1beta1.model.Operation.class); - this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^organizations/[^/]+/locations/[^/]+/securityProfileGroups/[^/]+$"); - } - } - - @Override - public Delete set$Xgafv(java.lang.String $Xgafv) { - return (Delete) super.set$Xgafv($Xgafv); - } - - @Override - public Delete setAccessToken(java.lang.String accessToken) { - return (Delete) super.setAccessToken(accessToken); - } - - @Override - public Delete setAlt(java.lang.String alt) { - return (Delete) super.setAlt(alt); - } - - @Override - public Delete setCallback(java.lang.String callback) { - return (Delete) super.setCallback(callback); - } - - @Override - public Delete setFields(java.lang.String fields) { - return (Delete) super.setFields(fields); - } - - @Override - public Delete setKey(java.lang.String key) { - return (Delete) super.setKey(key); + public Delete setKey(java.lang.String key) { + return (Delete) super.setKey(key); } @Override @@ -4192,72 +4058,42 @@ public Delete setUploadProtocol(java.lang.String uploadProtocol) { return (Delete) super.setUploadProtocol(uploadProtocol); } - /** - * Required. A name of the SecurityProfileGroup to delete. Must be in the format `projects - * |organizations/locations/{location}/securityProfileGroups/{security_profile_group}`. - */ + /** The name of the operation resource to be deleted. */ @com.google.api.client.util.Key private java.lang.String name; - /** Required. A name of the SecurityProfileGroup to delete. Must be in the format - `projects|organizations/locations/{location}/securityProfileGroups/{security_profile_group}`. + /** The name of the operation resource to be deleted. */ public java.lang.String getName() { return name; } - /** - * Required. A name of the SecurityProfileGroup to delete. Must be in the format `projects - * |organizations/locations/{location}/securityProfileGroups/{security_profile_group}`. - */ + /** The name of the operation resource to be deleted. */ public Delete setName(java.lang.String name) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^organizations/[^/]+/locations/[^/]+/securityProfileGroups/[^/]+$"); + "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$"); } this.name = name; return this; } - /** - * Optional. If client provided etag is out of date, delete will return - * FAILED_PRECONDITION error. - */ - @com.google.api.client.util.Key - private java.lang.String etag; - - /** Optional. If client provided etag is out of date, delete will return FAILED_PRECONDITION error. - */ - public java.lang.String getEtag() { - return etag; - } - - /** - * Optional. If client provided etag is out of date, delete will return - * FAILED_PRECONDITION error. - */ - public Delete setEtag(java.lang.String etag) { - this.etag = etag; - return this; - } - @Override public Delete set(String parameterName, Object value) { return (Delete) super.set(parameterName, value); } } /** - * Gets details of a single SecurityProfileGroup. + * Gets the latest state of a long-running operation. Clients can use this method to poll the + * operation result at intervals as recommended by the API service. * - * Create a request for the method "securityProfileGroups.get". + * Create a request for the method "operations.get". * * This request holds the parameters needed by the networksecurity server. After setting any * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. * - * @param name Required. A name of the SecurityProfileGroup to get. Must be in the format - * `projects|organizations/locations/{location}/securityProfileGroups/{security_profile_group - * }`. + * @param name The name of the operation resource. * @return the request */ public Get get(java.lang.String name) throws java.io.IOException { @@ -4266,35 +4102,34 @@ public Get get(java.lang.String name) throws java.io.IOException { return result; } - public class Get extends NetworkSecurityRequest* {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} * must be called to initialize this instance immediately after invoking the constructor.
* - * @param name Required. A name of the SecurityProfileGroup to get. Must be in the format - * `projects|organizations/locations/{location}/securityProfileGroups/{security_profile_group - * }`. + * @param name The name of the operation resource. * @since 1.13 */ protected Get(java.lang.String name) { - super(NetworkSecurity.this, "GET", REST_PATH, null, com.google.api.services.networksecurity.v1beta1.model.SecurityProfileGroup.class); + super(NetworkSecurity.this, "GET", REST_PATH, null, com.google.api.services.networksecurity.v1beta1.model.Operation.class); this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^organizations/[^/]+/locations/[^/]+/securityProfileGroups/[^/]+$"); + "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$"); } } @@ -4363,29 +4198,22 @@ public Get setUploadProtocol(java.lang.String uploadProtocol) { return (Get) super.setUploadProtocol(uploadProtocol); } - /** - * Required. A name of the SecurityProfileGroup to get. Must be in the format `projects|or - * ganizations/locations/{location}/securityProfileGroups/{security_profile_group}`. - */ + /** The name of the operation resource. */ @com.google.api.client.util.Key private java.lang.String name; - /** Required. A name of the SecurityProfileGroup to get. Must be in the format - `projects|organizations/locations/{location}/securityProfileGroups/{security_profile_group}`. + /** The name of the operation resource. */ public java.lang.String getName() { return name; } - /** - * Required. A name of the SecurityProfileGroup to get. Must be in the format `projects|or - * ganizations/locations/{location}/securityProfileGroups/{security_profile_group}`. - */ + /** The name of the operation resource. */ public Get setName(java.lang.String name) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^organizations/[^/]+/locations/[^/]+/securityProfileGroups/[^/]+$"); + "^organizations/[^/]+/locations/[^/]+/operations/[^/]+$"); } this.name = name; return this; @@ -4397,50 +4225,50 @@ public Get set(String parameterName, Object value) { } } /** - * Lists SecurityProfileGroups in a given organization and location. + * Lists operations that match the specified filter in the request. If the server doesn't support + * this method, it returns `UNIMPLEMENTED`. * - * Create a request for the method "securityProfileGroups.list". + * Create a request for the method "operations.list". * * This request holds the parameters needed by the networksecurity server. After setting any * optional parameters, call the {@link List#execute()} method to invoke the remote operation. * - * @param parent Required. The project or organization and location from which the SecurityProfileGroups should be - * listed, specified in the format `projects|organizations/locations/{location}`. + * @param name The name of the operation's parent resource. * @return the request */ - public List list(java.lang.String parent) throws java.io.IOException { - List result = new List(parent); + public List list(java.lang.String name) throws java.io.IOException { + List result = new List(name); initialize(result); return result; } - public class List extends NetworkSecurityRequest* {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} * must be called to initialize this instance immediately after invoking the constructor.
* - * @param parent Required. The project or organization and location from which the SecurityProfileGroups should be - * listed, specified in the format `projects|organizations/locations/{location}`. + * @param name The name of the operation's parent resource. * @since 1.13 */ - protected List(java.lang.String parent) { - super(NetworkSecurity.this, "GET", REST_PATH, null, com.google.api.services.networksecurity.v1beta1.model.ListSecurityProfileGroupsResponse.class); - this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + protected List(java.lang.String name) { + super(NetworkSecurity.this, "GET", REST_PATH, null, com.google.api.services.networksecurity.v1beta1.model.ListOperationsResponse.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + "^organizations/[^/]+/locations/[^/]+$"); } } @@ -4510,400 +4338,260 @@ public List setUploadProtocol(java.lang.String uploadProtocol) { return (List) super.setUploadProtocol(uploadProtocol); } - /** - * Required. The project or organization and location from which the SecurityProfileGroups - * should be listed, specified in the format - * `projects|organizations/locations/{location}`. - */ + /** The name of the operation's parent resource. */ @com.google.api.client.util.Key - private java.lang.String parent; + private java.lang.String name; - /** Required. The project or organization and location from which the SecurityProfileGroups should be - listed, specified in the format `projects|organizations/locations/{location}`. + /** The name of the operation's parent resource. */ - public java.lang.String getParent() { - return parent; + public java.lang.String getName() { + return name; } - /** - * Required. The project or organization and location from which the SecurityProfileGroups - * should be listed, specified in the format - * `projects|organizations/locations/{location}`. - */ - public List setParent(java.lang.String parent) { + /** The name of the operation's parent resource. */ + public List setName(java.lang.String name) { if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + "^organizations/[^/]+/locations/[^/]+$"); } - this.parent = parent; + this.name = name; return this; } - /** Optional. Maximum number of SecurityProfileGroups to return per call. */ + /** The standard list filter. */ + @com.google.api.client.util.Key + private java.lang.String filter; + + /** The standard list filter. + */ + public java.lang.String getFilter() { + return filter; + } + + /** The standard list filter. */ + public List setFilter(java.lang.String filter) { + this.filter = filter; + return this; + } + + /** The standard list page size. */ @com.google.api.client.util.Key private java.lang.Integer pageSize; - /** Optional. Maximum number of SecurityProfileGroups to return per call. + /** The standard list page size. */ public java.lang.Integer getPageSize() { return pageSize; } - /** Optional. Maximum number of SecurityProfileGroups to return per call. */ + /** The standard list page size. */ public List setPageSize(java.lang.Integer pageSize) { this.pageSize = pageSize; return this; } - /** - * Optional. The value returned by the last `ListSecurityProfileGroupsResponse` Indicates - * that this is a continuation of a prior `ListSecurityProfileGroups` call, and that the - * system should return the next page of data. - */ + /** The standard list page token. */ @com.google.api.client.util.Key private java.lang.String pageToken; - /** Optional. The value returned by the last `ListSecurityProfileGroupsResponse` Indicates that this is - a continuation of a prior `ListSecurityProfileGroups` call, and that the system should return the - next page of data. + /** The standard list page token. */ public java.lang.String getPageToken() { return pageToken; } - /** - * Optional. The value returned by the last `ListSecurityProfileGroupsResponse` Indicates - * that this is a continuation of a prior `ListSecurityProfileGroups` call, and that the - * system should return the next page of data. - */ + /** The standard list page token. */ public List setPageToken(java.lang.String pageToken) { this.pageToken = pageToken; return this; } + /** + * When set to `true`, operations that are reachable are returned as normal, and those + * that are unreachable are returned in the ListOperationsResponse.unreachable field. This + * can only be `true` when reading across collections. For example, when `parent` is set + * to `"projects/example/locations/-"`. This field is not supported by default and will + * result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in + * service or product specific documentation. + */ + @com.google.api.client.util.Key + private java.lang.Boolean returnPartialSuccess; + + /** When set to `true`, operations that are reachable are returned as normal, and those that are + unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` + when reading across collections. For example, when `parent` is set to + `"projects/example/locations/-"`. This field is not supported by default and will result in an + `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific + documentation. + */ + public java.lang.Boolean getReturnPartialSuccess() { + return returnPartialSuccess; + } + + /** + * When set to `true`, operations that are reachable are returned as normal, and those + * that are unreachable are returned in the ListOperationsResponse.unreachable field. This + * can only be `true` when reading across collections. For example, when `parent` is set + * to `"projects/example/locations/-"`. This field is not supported by default and will + * result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in + * service or product specific documentation. + */ + public List setReturnPartialSuccess(java.lang.Boolean returnPartialSuccess) { + this.returnPartialSuccess = returnPartialSuccess; + return this; + } + @Override public List set(String parameterName, Object value) { return (List) super.set(parameterName, value); } } + + } + /** + * An accessor for creating requests from the SecurityProfileGroups collection. + * + *The typical use is:
+ *
+ * {@code NetworkSecurity networksecurity = new NetworkSecurity(...);}
+ * {@code NetworkSecurity.SecurityProfileGroups.List request = networksecurity.securityProfileGroups().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public SecurityProfileGroups securityProfileGroups() {
+ return new SecurityProfileGroups();
+ }
+
+ /**
+ * The "securityProfileGroups" collection of methods.
+ */
+ public class SecurityProfileGroups {
+
/**
- * Updates the parameters of a single SecurityProfileGroup.
+ * Creates a new SecurityProfileGroup in a given organization and location.
*
- * Create a request for the method "securityProfileGroups.patch".
+ * Create a request for the method "securityProfileGroups.create".
*
* This request holds the parameters needed by the networksecurity server. After setting any
- * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation.
+ * optional parameters, call the {@link Create#execute()} method to invoke the remote operation.
*
- * @param name Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches pattern
- * `projects|organizations/locations/{location}/securityProfileGroups/{security_profile_group
- * }`.
+ * @param parent Required. The parent resource of the SecurityProfileGroup. Must be in the format
+ * `projects|organizations/locations/{location}`.
* @param content the {@link com.google.api.services.networksecurity.v1beta1.model.SecurityProfileGroup}
* @return the request
*/
- public Patch patch(java.lang.String name, com.google.api.services.networksecurity.v1beta1.model.SecurityProfileGroup content) throws java.io.IOException {
- Patch result = new Patch(name, content);
+ public Create create(java.lang.String parent, com.google.api.services.networksecurity.v1beta1.model.SecurityProfileGroup content) throws java.io.IOException {
+ Create result = new Create(parent, content);
initialize(result);
return result;
}
- public class Patch extends NetworkSecurityRequest{@link - * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must * be called to initialize this instance immediately after invoking the constructor.
* - * @param name Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches pattern - * `projects|organizations/locations/{location}/securityProfileGroups/{security_profile_group - * }`. + * @param parent Required. The parent resource of the SecurityProfileGroup. Must be in the format + * `projects|organizations/locations/{location}`. * @param content the {@link com.google.api.services.networksecurity.v1beta1.model.SecurityProfileGroup} * @since 1.13 */ - protected Patch(java.lang.String name, com.google.api.services.networksecurity.v1beta1.model.SecurityProfileGroup content) { - super(NetworkSecurity.this, "PATCH", REST_PATH, content, com.google.api.services.networksecurity.v1beta1.model.Operation.class); - this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + protected Create(java.lang.String parent, com.google.api.services.networksecurity.v1beta1.model.SecurityProfileGroup content) { + super(NetworkSecurity.this, "POST", REST_PATH, content, com.google.api.services.networksecurity.v1beta1.model.Operation.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^organizations/[^/]+/locations/[^/]+/securityProfileGroups/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^organizations/[^/]+/locations/[^/]+$"); } } @Override - public Patch set$Xgafv(java.lang.String $Xgafv) { - return (Patch) super.set$Xgafv($Xgafv); + public Create set$Xgafv(java.lang.String $Xgafv) { + return (Create) super.set$Xgafv($Xgafv); } @Override - public Patch setAccessToken(java.lang.String accessToken) { - return (Patch) super.setAccessToken(accessToken); + public Create setAccessToken(java.lang.String accessToken) { + return (Create) super.setAccessToken(accessToken); } @Override - public Patch setAlt(java.lang.String alt) { - return (Patch) super.setAlt(alt); + public Create setAlt(java.lang.String alt) { + return (Create) super.setAlt(alt); } @Override - public Patch setCallback(java.lang.String callback) { - return (Patch) super.setCallback(callback); + public Create setCallback(java.lang.String callback) { + return (Create) super.setCallback(callback); } @Override - public Patch setFields(java.lang.String fields) { - return (Patch) super.setFields(fields); + public Create setFields(java.lang.String fields) { + return (Create) super.setFields(fields); } @Override - public Patch setKey(java.lang.String key) { - return (Patch) super.setKey(key); + public Create setKey(java.lang.String key) { + return (Create) super.setKey(key); } @Override - public Patch setOauthToken(java.lang.String oauthToken) { - return (Patch) super.setOauthToken(oauthToken); + public Create setOauthToken(java.lang.String oauthToken) { + return (Create) super.setOauthToken(oauthToken); } @Override - public Patch setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Patch) super.setPrettyPrint(prettyPrint); + public Create setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Create) super.setPrettyPrint(prettyPrint); } @Override - public Patch setQuotaUser(java.lang.String quotaUser) { - return (Patch) super.setQuotaUser(quotaUser); + public Create setQuotaUser(java.lang.String quotaUser) { + return (Create) super.setQuotaUser(quotaUser); } @Override - public Patch setUploadType(java.lang.String uploadType) { - return (Patch) super.setUploadType(uploadType); + public Create setUploadType(java.lang.String uploadType) { + return (Create) super.setUploadType(uploadType); } @Override - public Patch setUploadProtocol(java.lang.String uploadProtocol) { - return (Patch) super.setUploadProtocol(uploadProtocol); + public Create setUploadProtocol(java.lang.String uploadProtocol) { + return (Create) super.setUploadProtocol(uploadProtocol); } /** - * Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches pattern `p - * rojects|organizations/locations/{location}/securityProfileGroups/{security_profile_grou - * p}`. + * Required. The parent resource of the SecurityProfileGroup. Must be in the format + * `projects|organizations/locations/{location}`. */ @com.google.api.client.util.Key - private java.lang.String name; + private java.lang.String parent; - /** Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches pattern - `projects|organizations/locations/{location}/securityProfileGroups/{security_profile_group}`. + /** Required. The parent resource of the SecurityProfileGroup. Must be in the format + `projects|organizations/locations/{location}`. */ - public java.lang.String getName() { - return name; + public java.lang.String getParent() { + return parent; } /** - * Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches pattern `p - * rojects|organizations/locations/{location}/securityProfileGroups/{security_profile_grou - * p}`. - */ - public Patch setName(java.lang.String name) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^organizations/[^/]+/locations/[^/]+/securityProfileGroups/[^/]+$"); - } - this.name = name; - return this; - } - - /** - * Required. Field mask is used to specify the fields to be overwritten in the - * SecurityProfileGroup resource by the update. The fields specified in the update_mask - * are relative to the resource, not the full request. A field will be overwritten if it - * is in the mask. - */ - @com.google.api.client.util.Key - private String updateMask; - - /** Required. Field mask is used to specify the fields to be overwritten in the SecurityProfileGroup - resource by the update. The fields specified in the update_mask are relative to the resource, not - the full request. A field will be overwritten if it is in the mask. - */ - public String getUpdateMask() { - return updateMask; - } - - /** - * Required. Field mask is used to specify the fields to be overwritten in the - * SecurityProfileGroup resource by the update. The fields specified in the update_mask - * are relative to the resource, not the full request. A field will be overwritten if it - * is in the mask. - */ - public Patch setUpdateMask(String updateMask) { - this.updateMask = updateMask; - return this; - } - - @Override - public Patch set(String parameterName, Object value) { - return (Patch) super.set(parameterName, value); - } - } - - } - /** - * An accessor for creating requests from the SecurityProfiles collection. - * - *The typical use is:
- *
- * {@code NetworkSecurity networksecurity = new NetworkSecurity(...);}
- * {@code NetworkSecurity.SecurityProfiles.List request = networksecurity.securityProfiles().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public SecurityProfiles securityProfiles() {
- return new SecurityProfiles();
- }
-
- /**
- * The "securityProfiles" collection of methods.
- */
- public class SecurityProfiles {
-
- /**
- * Creates a new SecurityProfile in a given organization and location.
- *
- * Create a request for the method "securityProfiles.create".
- *
- * This request holds the parameters needed by the networksecurity server. After setting any
- * optional parameters, call the {@link Create#execute()} method to invoke the remote operation.
- *
- * @param parent Required. The parent resource of the SecurityProfile. Must be in the format
- * `projects|organizations/locations/{location}`.
- * @param content the {@link com.google.api.services.networksecurity.v1beta1.model.SecurityProfile}
- * @return the request
- */
- public Create create(java.lang.String parent, com.google.api.services.networksecurity.v1beta1.model.SecurityProfile content) throws java.io.IOException {
- Create result = new Create(parent, content);
- initialize(result);
- return result;
- }
-
- public class Create extends NetworkSecurityRequest{@link - * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must - * be called to initialize this instance immediately after invoking the constructor.
- * - * @param parent Required. The parent resource of the SecurityProfile. Must be in the format - * `projects|organizations/locations/{location}`. - * @param content the {@link com.google.api.services.networksecurity.v1beta1.model.SecurityProfile} - * @since 1.13 - */ - protected Create(java.lang.String parent, com.google.api.services.networksecurity.v1beta1.model.SecurityProfile content) { - super(NetworkSecurity.this, "POST", REST_PATH, content, com.google.api.services.networksecurity.v1beta1.model.Operation.class); - this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^organizations/[^/]+/locations/[^/]+$"); - } - } - - @Override - public Create set$Xgafv(java.lang.String $Xgafv) { - return (Create) super.set$Xgafv($Xgafv); - } - - @Override - public Create setAccessToken(java.lang.String accessToken) { - return (Create) super.setAccessToken(accessToken); - } - - @Override - public Create setAlt(java.lang.String alt) { - return (Create) super.setAlt(alt); - } - - @Override - public Create setCallback(java.lang.String callback) { - return (Create) super.setCallback(callback); - } - - @Override - public Create setFields(java.lang.String fields) { - return (Create) super.setFields(fields); - } - - @Override - public Create setKey(java.lang.String key) { - return (Create) super.setKey(key); - } - - @Override - public Create setOauthToken(java.lang.String oauthToken) { - return (Create) super.setOauthToken(oauthToken); - } - - @Override - public Create setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Create) super.setPrettyPrint(prettyPrint); - } - - @Override - public Create setQuotaUser(java.lang.String quotaUser) { - return (Create) super.setQuotaUser(quotaUser); - } - - @Override - public Create setUploadType(java.lang.String uploadType) { - return (Create) super.setUploadType(uploadType); - } - - @Override - public Create setUploadProtocol(java.lang.String uploadProtocol) { - return (Create) super.setUploadProtocol(uploadProtocol); - } - - /** - * Required. The parent resource of the SecurityProfile. Must be in the format - * `projects|organizations/locations/{location}`. - */ - @com.google.api.client.util.Key - private java.lang.String parent; - - /** Required. The parent resource of the SecurityProfile. Must be in the format - `projects|organizations/locations/{location}`. - */ - public java.lang.String getParent() { - return parent; - } - - /** - * Required. The parent resource of the SecurityProfile. Must be in the format + * Required. The parent resource of the SecurityProfileGroup. Must be in the format * `projects|organizations/locations/{location}`. */ public Create setParent(java.lang.String parent) { @@ -4917,28 +4605,28 @@ public Create setParent(java.lang.String parent) { } /** - * Required. Short name of the SecurityProfile resource to be created. This value should - * be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, - * and should not start with a number. E.g. "security_profile1". + * Required. Short name of the SecurityProfileGroup resource to be created. This value + * should be 1-63 characters long, containing only letters, numbers, hyphens, and + * underscores, and should not start with a number. E.g. "security_profile_group1". */ @com.google.api.client.util.Key - private java.lang.String securityProfileId; + private java.lang.String securityProfileGroupId; - /** Required. Short name of the SecurityProfile resource to be created. This value should be 1-63 + /** Required. Short name of the SecurityProfileGroup resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start - with a number. E.g. "security_profile1". + with a number. E.g. "security_profile_group1". */ - public java.lang.String getSecurityProfileId() { - return securityProfileId; + public java.lang.String getSecurityProfileGroupId() { + return securityProfileGroupId; } /** - * Required. Short name of the SecurityProfile resource to be created. This value should - * be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, - * and should not start with a number. E.g. "security_profile1". + * Required. Short name of the SecurityProfileGroup resource to be created. This value + * should be 1-63 characters long, containing only letters, numbers, hyphens, and + * underscores, and should not start with a number. E.g. "security_profile_group1". */ - public Create setSecurityProfileId(java.lang.String securityProfileId) { - this.securityProfileId = securityProfileId; + public Create setSecurityProfileGroupId(java.lang.String securityProfileGroupId) { + this.securityProfileGroupId = securityProfileGroupId; return this; } @@ -4948,15 +4636,16 @@ public Create set(String parameterName, Object value) { } } /** - * Deletes a single SecurityProfile. + * Deletes a single SecurityProfileGroup. * - * Create a request for the method "securityProfiles.delete". + * Create a request for the method "securityProfileGroups.delete". * * This request holds the parameters needed by the networksecurity server. After setting any * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. * - * @param name Required. A name of the SecurityProfile to delete. Must be in the format - * `projects|organizations/locations/{location}/securityProfiles/{security_profile_id}`. + * @param name Required. A name of the SecurityProfileGroup to delete. Must be in the format + * `projects|organizations/locations/{location}/securityProfileGroups/{security_profile_group + * }`. * @return the request */ public Delete delete(java.lang.String name) throws java.io.IOException { @@ -4970,12 +4659,12 @@ public class Delete extends NetworkSecurityRequest* {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} * must be called to initialize this instance immediately after invoking the constructor.
* - * @param name Required. A name of the SecurityProfile to get. Must be in the format - * `projects|organizations/locations/{location}/securityProfiles/{security_profile_id}`. + * @param name Required. A name of the SecurityProfileGroup to get. Must be in the format + * `projects|organizations/locations/{location}/securityProfileGroups/{security_profile_group + * }`. * @since 1.13 */ protected Get(java.lang.String name) { - super(NetworkSecurity.this, "GET", REST_PATH, null, com.google.api.services.networksecurity.v1beta1.model.SecurityProfile.class); + super(NetworkSecurity.this, "GET", REST_PATH, null, com.google.api.services.networksecurity.v1beta1.model.SecurityProfileGroup.class); this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^organizations/[^/]+/locations/[^/]+/securityProfiles/[^/]+$"); + "^organizations/[^/]+/locations/[^/]+/securityProfileGroups/[^/]+$"); } } @@ -5222,28 +4914,28 @@ public Get setUploadProtocol(java.lang.String uploadProtocol) { } /** - * Required. A name of the SecurityProfile to get. Must be in the format - * `projects|organizations/locations/{location}/securityProfiles/{security_profile_id}`. + * Required. A name of the SecurityProfileGroup to get. Must be in the format `projects|or + * ganizations/locations/{location}/securityProfileGroups/{security_profile_group}`. */ @com.google.api.client.util.Key private java.lang.String name; - /** Required. A name of the SecurityProfile to get. Must be in the format - `projects|organizations/locations/{location}/securityProfiles/{security_profile_id}`. + /** Required. A name of the SecurityProfileGroup to get. Must be in the format + `projects|organizations/locations/{location}/securityProfileGroups/{security_profile_group}`. */ public java.lang.String getName() { return name; } /** - * Required. A name of the SecurityProfile to get. Must be in the format - * `projects|organizations/locations/{location}/securityProfiles/{security_profile_id}`. + * Required. A name of the SecurityProfileGroup to get. Must be in the format `projects|or + * ganizations/locations/{location}/securityProfileGroups/{security_profile_group}`. */ public Get setName(java.lang.String name) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), "Parameter name must conform to the pattern " + - "^organizations/[^/]+/locations/[^/]+/securityProfiles/[^/]+$"); + "^organizations/[^/]+/locations/[^/]+/securityProfileGroups/[^/]+$"); } this.name = name; return this; @@ -5255,15 +4947,15 @@ public Get set(String parameterName, Object value) { } } /** - * Lists SecurityProfiles in a given organization and location. + * Lists SecurityProfileGroups in a given organization and location. * - * Create a request for the method "securityProfiles.list". + * Create a request for the method "securityProfileGroups.list". * * This request holds the parameters needed by the networksecurity server. After setting any * optional parameters, call the {@link List#execute()} method to invoke the remote operation. * - * @param parent Required. The project or organization and location from which the SecurityProfiles should be listed, - * specified in the format `projects|organizations/locations/{location}`. + * @param parent Required. The project or organization and location from which the SecurityProfileGroups should be + * listed, specified in the format `projects|organizations/locations/{location}`. * @return the request */ public List list(java.lang.String parent) throws java.io.IOException { @@ -5272,29 +4964,29 @@ public List list(java.lang.String parent) throws java.io.IOException { return result; } - public class List extends NetworkSecurityRequest* {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} * must be called to initialize this instance immediately after invoking the constructor.
* - * @param parent Required. The project or organization and location from which the SecurityProfiles should be listed, - * specified in the format `projects|organizations/locations/{location}`. + * @param parent Required. The project or organization and location from which the SecurityProfileGroups should be + * listed, specified in the format `projects|organizations/locations/{location}`. * @since 1.13 */ protected List(java.lang.String parent) { - super(NetworkSecurity.this, "GET", REST_PATH, null, com.google.api.services.networksecurity.v1beta1.model.ListSecurityProfilesResponse.class); + super(NetworkSecurity.this, "GET", REST_PATH, null, com.google.api.services.networksecurity.v1beta1.model.ListSecurityProfileGroupsResponse.class); this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), @@ -5369,14 +5061,14 @@ public List setUploadProtocol(java.lang.String uploadProtocol) { } /** - * Required. The project or organization and location from which the SecurityProfiles + * Required. The project or organization and location from which the SecurityProfileGroups * should be listed, specified in the format * `projects|organizations/locations/{location}`. */ @com.google.api.client.util.Key private java.lang.String parent; - /** Required. The project or organization and location from which the SecurityProfiles should be + /** Required. The project or organization and location from which the SecurityProfileGroups should be listed, specified in the format `projects|organizations/locations/{location}`. */ public java.lang.String getParent() { @@ -5384,7 +5076,7 @@ public java.lang.String getParent() { } /** - * Required. The project or organization and location from which the SecurityProfiles + * Required. The project or organization and location from which the SecurityProfileGroups * should be listed, specified in the format * `projects|organizations/locations/{location}`. */ @@ -5398,42 +5090,42 @@ public List setParent(java.lang.String parent) { return this; } - /** Optional. Maximum number of SecurityProfiles to return per call. */ + /** Optional. Maximum number of SecurityProfileGroups to return per call. */ @com.google.api.client.util.Key private java.lang.Integer pageSize; - /** Optional. Maximum number of SecurityProfiles to return per call. + /** Optional. Maximum number of SecurityProfileGroups to return per call. */ public java.lang.Integer getPageSize() { return pageSize; } - /** Optional. Maximum number of SecurityProfiles to return per call. */ + /** Optional. Maximum number of SecurityProfileGroups to return per call. */ public List setPageSize(java.lang.Integer pageSize) { this.pageSize = pageSize; return this; } /** - * Optional. The value returned by the last `ListSecurityProfilesResponse` Indicates that - * this is a continuation of a prior `ListSecurityProfiles` call, and that the system - * should return the next page of data. + * Optional. The value returned by the last `ListSecurityProfileGroupsResponse` Indicates + * that this is a continuation of a prior `ListSecurityProfileGroups` call, and that the + * system should return the next page of data. */ @com.google.api.client.util.Key private java.lang.String pageToken; - /** Optional. The value returned by the last `ListSecurityProfilesResponse` Indicates that this is a - continuation of a prior `ListSecurityProfiles` call, and that the system should return the next - page of data. + /** Optional. The value returned by the last `ListSecurityProfileGroupsResponse` Indicates that this is + a continuation of a prior `ListSecurityProfileGroups` call, and that the system should return the + next page of data. */ public java.lang.String getPageToken() { return pageToken; } /** - * Optional. The value returned by the last `ListSecurityProfilesResponse` Indicates that - * this is a continuation of a prior `ListSecurityProfiles` call, and that the system - * should return the next page of data. + * Optional. The value returned by the last `ListSecurityProfileGroupsResponse` Indicates + * that this is a continuation of a prior `ListSecurityProfileGroups` call, and that the + * system should return the next page of data. */ public List setPageToken(java.lang.String pageToken) { this.pageToken = pageToken; @@ -5446,19 +5138,20 @@ public List set(String parameterName, Object value) { } } /** - * Updates the parameters of a single SecurityProfile. + * Updates the parameters of a single SecurityProfileGroup. * - * Create a request for the method "securityProfiles.patch". + * Create a request for the method "securityProfileGroups.patch". * * This request holds the parameters needed by the networksecurity server. After setting any * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. * - * @param name Immutable. Identifier. Name of the SecurityProfile resource. It matches pattern - * `projects|organizations/locations/{location}/securityProfiles/{security_profile}`. - * @param content the {@link com.google.api.services.networksecurity.v1beta1.model.SecurityProfile} + * @param name Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches pattern + * `projects|organizations/locations/{location}/securityProfileGroups/{security_profile_group + * }`. + * @param content the {@link com.google.api.services.networksecurity.v1beta1.model.SecurityProfileGroup} * @return the request */ - public Patch patch(java.lang.String name, com.google.api.services.networksecurity.v1beta1.model.SecurityProfile content) throws java.io.IOException { + public Patch patch(java.lang.String name, com.google.api.services.networksecurity.v1beta1.model.SecurityProfileGroup content) throws java.io.IOException { Patch result = new Patch(name, content); initialize(result); return result; @@ -5469,12 +5162,12 @@ public class Patch extends NetworkSecurityRequestThe typical use is:
- *
- * {@code NetworkSecurity networksecurity = new NetworkSecurity(...);}
- * {@code NetworkSecurity.Projects.List request = networksecurity.projects().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public Projects projects() {
- return new Projects();
- }
-
- /**
- * The "projects" collection of methods.
- */
- public class Projects {
-
- /**
- * An accessor for creating requests from the Locations collection.
- *
- * The typical use is:
- *
- * {@code NetworkSecurity networksecurity = new NetworkSecurity(...);}
- * {@code NetworkSecurity.Locations.List request = networksecurity.locations().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public Locations locations() {
- return new Locations();
- }
-
- /**
- * The "locations" collection of methods.
- */
- public class Locations {
-
/**
- * Gets information about a location.
- *
- * Create a request for the method "locations.get".
+ * An accessor for creating requests from the SecurityProfiles collection.
*
- * This request holds the parameters needed by the networksecurity server. After setting any
- * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ * The typical use is:
+ *
+ * {@code NetworkSecurity networksecurity = new NetworkSecurity(...);}
+ * {@code NetworkSecurity.SecurityProfiles.List request = networksecurity.securityProfiles().list(parameters ...)}
+ *
*
- * @param name Resource name for the location.
- * @return the request
+ * @return the resource collection
*/
- public Get get(java.lang.String name) throws java.io.IOException {
- Get result = new Get(name);
- initialize(result);
- return result;
+ public SecurityProfiles securityProfiles() {
+ return new SecurityProfiles();
}
- public class Get extends NetworkSecurityRequest- * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} - * must be called to initialize this instance immediately after invoking the constructor.
+ * This request holds the parameters needed by the networksecurity server. After setting any + * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. * - * @param name Resource name for the location. - * @since 1.13 + * @param parent Required. The parent resource of the SecurityProfile. Must be in the format + * `projects|organizations/locations/{location}`. + * @param content the {@link com.google.api.services.networksecurity.v1beta1.model.SecurityProfile} + * @return the request */ - protected Get(java.lang.String name) { - super(NetworkSecurity.this, "GET", REST_PATH, null, com.google.api.services.networksecurity.v1beta1.model.Location.class); - this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+$"); - } + public Create create(java.lang.String parent, com.google.api.services.networksecurity.v1beta1.model.SecurityProfile content) throws java.io.IOException { + Create result = new Create(parent, content); + initialize(result); + return result; } - @Override - public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { - return super.executeUsingHead(); - } + public class Create extends NetworkSecurityRequest{@link + * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.
+ * + * @param parent Required. The parent resource of the SecurityProfile. Must be in the format + * `projects|organizations/locations/{location}`. + * @param content the {@link com.google.api.services.networksecurity.v1beta1.model.SecurityProfile} + * @since 1.13 + */ + protected Create(java.lang.String parent, com.google.api.services.networksecurity.v1beta1.model.SecurityProfile content) { + super(NetworkSecurity.this, "POST", REST_PATH, content, com.google.api.services.networksecurity.v1beta1.model.Operation.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^organizations/[^/]+/locations/[^/]+$"); + } + } + + @Override + public Create set$Xgafv(java.lang.String $Xgafv) { + return (Create) super.set$Xgafv($Xgafv); + } + + @Override + public Create setAccessToken(java.lang.String accessToken) { + return (Create) super.setAccessToken(accessToken); + } + + @Override + public Create setAlt(java.lang.String alt) { + return (Create) super.setAlt(alt); + } + + @Override + public Create setCallback(java.lang.String callback) { + return (Create) super.setCallback(callback); + } + + @Override + public Create setFields(java.lang.String fields) { + return (Create) super.setFields(fields); + } + + @Override + public Create setKey(java.lang.String key) { + return (Create) super.setKey(key); + } + + @Override + public Create setOauthToken(java.lang.String oauthToken) { + return (Create) super.setOauthToken(oauthToken); + } + + @Override + public Create setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Create) super.setPrettyPrint(prettyPrint); + } + + @Override + public Create setQuotaUser(java.lang.String quotaUser) { + return (Create) super.setQuotaUser(quotaUser); + } + + @Override + public Create setUploadType(java.lang.String uploadType) { + return (Create) super.setUploadType(uploadType); + } + + @Override + public Create setUploadProtocol(java.lang.String uploadProtocol) { + return (Create) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The parent resource of the SecurityProfile. Must be in the format + * `projects|organizations/locations/{location}`. + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. The parent resource of the SecurityProfile. Must be in the format + `projects|organizations/locations/{location}`. + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. The parent resource of the SecurityProfile. Must be in the format + * `projects|organizations/locations/{location}`. + */ + public Create setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^organizations/[^/]+/locations/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** + * Required. Short name of the SecurityProfile resource to be created. This value should + * be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, + * and should not start with a number. E.g. "security_profile1". + */ + @com.google.api.client.util.Key + private java.lang.String securityProfileId; + + /** Required. Short name of the SecurityProfile resource to be created. This value should be 1-63 + characters long, containing only letters, numbers, hyphens, and underscores, and should not start + with a number. E.g. "security_profile1". + */ + public java.lang.String getSecurityProfileId() { + return securityProfileId; + } + + /** + * Required. Short name of the SecurityProfile resource to be created. This value should + * be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, + * and should not start with a number. E.g. "security_profile1". + */ + public Create setSecurityProfileId(java.lang.String securityProfileId) { + this.securityProfileId = securityProfileId; + return this; + } + + @Override + public Create set(String parameterName, Object value) { + return (Create) super.set(parameterName, value); + } + } + /** + * Deletes a single SecurityProfile. + * + * Create a request for the method "securityProfiles.delete". + * + * This request holds the parameters needed by the networksecurity server. After setting any + * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. + * + * @param name Required. A name of the SecurityProfile to delete. Must be in the format + * `projects|organizations/locations/{location}/securityProfiles/{security_profile_id}`. + * @return the request + */ + public Delete delete(java.lang.String name) throws java.io.IOException { + Delete result = new Delete(name); + initialize(result); + return result; + } + + public class Delete extends NetworkSecurityRequest{@link + * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.
+ * + * @param name Required. A name of the SecurityProfile to delete. Must be in the format + * `projects|organizations/locations/{location}/securityProfiles/{security_profile_id}`. + * @since 1.13 + */ + protected Delete(java.lang.String name) { + super(NetworkSecurity.this, "DELETE", REST_PATH, null, com.google.api.services.networksecurity.v1beta1.model.Operation.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^organizations/[^/]+/locations/[^/]+/securityProfiles/[^/]+$"); + } + } + + @Override + public Delete set$Xgafv(java.lang.String $Xgafv) { + return (Delete) super.set$Xgafv($Xgafv); + } + + @Override + public Delete setAccessToken(java.lang.String accessToken) { + return (Delete) super.setAccessToken(accessToken); + } + + @Override + public Delete setAlt(java.lang.String alt) { + return (Delete) super.setAlt(alt); + } + + @Override + public Delete setCallback(java.lang.String callback) { + return (Delete) super.setCallback(callback); + } + + @Override + public Delete setFields(java.lang.String fields) { + return (Delete) super.setFields(fields); + } + + @Override + public Delete setKey(java.lang.String key) { + return (Delete) super.setKey(key); + } + + @Override + public Delete setOauthToken(java.lang.String oauthToken) { + return (Delete) super.setOauthToken(oauthToken); + } + + @Override + public Delete setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Delete) super.setPrettyPrint(prettyPrint); + } + + @Override + public Delete setQuotaUser(java.lang.String quotaUser) { + return (Delete) super.setQuotaUser(quotaUser); + } + + @Override + public Delete setUploadType(java.lang.String uploadType) { + return (Delete) super.setUploadType(uploadType); + } + + @Override + public Delete setUploadProtocol(java.lang.String uploadProtocol) { + return (Delete) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. A name of the SecurityProfile to delete. Must be in the format + * `projects|organizations/locations/{location}/securityProfiles/{security_profile_id}`. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. A name of the SecurityProfile to delete. Must be in the format + `projects|organizations/locations/{location}/securityProfiles/{security_profile_id}`. + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. A name of the SecurityProfile to delete. Must be in the format + * `projects|organizations/locations/{location}/securityProfiles/{security_profile_id}`. + */ + public Delete setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^organizations/[^/]+/locations/[^/]+/securityProfiles/[^/]+$"); + } + this.name = name; + return this; + } + + /** + * Optional. If client provided etag is out of date, delete will return + * FAILED_PRECONDITION error. + */ + @com.google.api.client.util.Key + private java.lang.String etag; + + /** Optional. If client provided etag is out of date, delete will return FAILED_PRECONDITION error. + */ + public java.lang.String getEtag() { + return etag; + } + + /** + * Optional. If client provided etag is out of date, delete will return + * FAILED_PRECONDITION error. + */ + public Delete setEtag(java.lang.String etag) { + this.etag = etag; + return this; + } + + @Override + public Delete set(String parameterName, Object value) { + return (Delete) super.set(parameterName, value); + } + } + /** + * Gets details of a single SecurityProfile. + * + * Create a request for the method "securityProfiles.get". + * + * This request holds the parameters needed by the networksecurity server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. + * + * @param name Required. A name of the SecurityProfile to get. Must be in the format + * `projects|organizations/locations/{location}/securityProfiles/{security_profile_id}`. + * @return the request + */ + public Get get(java.lang.String name) throws java.io.IOException { + Get result = new Get(name); + initialize(result); + return result; + } + + public class Get extends NetworkSecurityRequest+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.
+ * + * @param name Required. A name of the SecurityProfile to get. Must be in the format + * `projects|organizations/locations/{location}/securityProfiles/{security_profile_id}`. + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(NetworkSecurity.this, "GET", REST_PATH, null, com.google.api.services.networksecurity.v1beta1.model.SecurityProfile.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^organizations/[^/]+/locations/[^/]+/securityProfiles/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); + } + + @Override + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); + } + + @Override + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); + } + + @Override + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); + } + + @Override + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); + } + + @Override + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); + } + + @Override + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); + } + + @Override + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); + } + + @Override + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } + + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); + } + + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. A name of the SecurityProfile to get. Must be in the format + * `projects|organizations/locations/{location}/securityProfiles/{security_profile_id}`. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. A name of the SecurityProfile to get. Must be in the format + `projects|organizations/locations/{location}/securityProfiles/{security_profile_id}`. + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. A name of the SecurityProfile to get. Must be in the format + * `projects|organizations/locations/{location}/securityProfiles/{security_profile_id}`. + */ + public Get setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^organizations/[^/]+/locations/[^/]+/securityProfiles/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + /** + * Lists SecurityProfiles in a given organization and location. + * + * Create a request for the method "securityProfiles.list". + * + * This request holds the parameters needed by the networksecurity server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param parent Required. The project or organization and location from which the SecurityProfiles should be listed, + * specified in the format `projects|organizations/locations/{location}`. + * @return the request + */ + public List list(java.lang.String parent) throws java.io.IOException { + List result = new List(parent); + initialize(result); + return result; + } + + public class List extends NetworkSecurityRequest+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.
+ * + * @param parent Required. The project or organization and location from which the SecurityProfiles should be listed, + * specified in the format `projects|organizations/locations/{location}`. + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(NetworkSecurity.this, "GET", REST_PATH, null, com.google.api.services.networksecurity.v1beta1.model.ListSecurityProfilesResponse.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^organizations/[^/]+/locations/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); + } + + @Override + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); + } + + @Override + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); + } + + @Override + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); + } + + @Override + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); + } + + @Override + public List setKey(java.lang.String key) { + return (List) super.setKey(key); + } + + @Override + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); + } + + @Override + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); + } + + @Override + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); + } + + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } + + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The project or organization and location from which the SecurityProfiles + * should be listed, specified in the format + * `projects|organizations/locations/{location}`. + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. The project or organization and location from which the SecurityProfiles should be + listed, specified in the format `projects|organizations/locations/{location}`. + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. The project or organization and location from which the SecurityProfiles + * should be listed, specified in the format + * `projects|organizations/locations/{location}`. + */ + public List setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^organizations/[^/]+/locations/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** Optional. Maximum number of SecurityProfiles to return per call. */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Optional. Maximum number of SecurityProfiles to return per call. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** Optional. Maximum number of SecurityProfiles to return per call. */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Optional. The value returned by the last `ListSecurityProfilesResponse` Indicates that + * this is a continuation of a prior `ListSecurityProfiles` call, and that the system + * should return the next page of data. + */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Optional. The value returned by the last `ListSecurityProfilesResponse` Indicates that this is a + continuation of a prior `ListSecurityProfiles` call, and that the system should return the next + page of data. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** + * Optional. The value returned by the last `ListSecurityProfilesResponse` Indicates that + * this is a continuation of a prior `ListSecurityProfiles` call, and that the system + * should return the next page of data. + */ + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + @Override + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); + } + } + /** + * Updates the parameters of a single SecurityProfile. + * + * Create a request for the method "securityProfiles.patch". + * + * This request holds the parameters needed by the networksecurity server. After setting any + * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. + * + * @param name Immutable. Identifier. Name of the SecurityProfile resource. It matches pattern + * `projects|organizations/locations/{location}/securityProfiles/{security_profile}`. + * @param content the {@link com.google.api.services.networksecurity.v1beta1.model.SecurityProfile} + * @return the request + */ + public Patch patch(java.lang.String name, com.google.api.services.networksecurity.v1beta1.model.SecurityProfile content) throws java.io.IOException { + Patch result = new Patch(name, content); + initialize(result); + return result; + } + + public class Patch extends NetworkSecurityRequest{@link + * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.
+ * + * @param name Immutable. Identifier. Name of the SecurityProfile resource. It matches pattern + * `projects|organizations/locations/{location}/securityProfiles/{security_profile}`. + * @param content the {@link com.google.api.services.networksecurity.v1beta1.model.SecurityProfile} + * @since 1.13 + */ + protected Patch(java.lang.String name, com.google.api.services.networksecurity.v1beta1.model.SecurityProfile content) { + super(NetworkSecurity.this, "PATCH", REST_PATH, content, com.google.api.services.networksecurity.v1beta1.model.Operation.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^organizations/[^/]+/locations/[^/]+/securityProfiles/[^/]+$"); + } + } + + @Override + public Patch set$Xgafv(java.lang.String $Xgafv) { + return (Patch) super.set$Xgafv($Xgafv); + } + + @Override + public Patch setAccessToken(java.lang.String accessToken) { + return (Patch) super.setAccessToken(accessToken); + } + + @Override + public Patch setAlt(java.lang.String alt) { + return (Patch) super.setAlt(alt); + } + + @Override + public Patch setCallback(java.lang.String callback) { + return (Patch) super.setCallback(callback); + } + + @Override + public Patch setFields(java.lang.String fields) { + return (Patch) super.setFields(fields); + } + + @Override + public Patch setKey(java.lang.String key) { + return (Patch) super.setKey(key); + } + + @Override + public Patch setOauthToken(java.lang.String oauthToken) { + return (Patch) super.setOauthToken(oauthToken); + } + + @Override + public Patch setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Patch) super.setPrettyPrint(prettyPrint); + } + + @Override + public Patch setQuotaUser(java.lang.String quotaUser) { + return (Patch) super.setQuotaUser(quotaUser); + } + + @Override + public Patch setUploadType(java.lang.String uploadType) { + return (Patch) super.setUploadType(uploadType); + } + + @Override + public Patch setUploadProtocol(java.lang.String uploadProtocol) { + return (Patch) super.setUploadProtocol(uploadProtocol); + } + + /** + * Immutable. Identifier. Name of the SecurityProfile resource. It matches pattern + * `projects|organizations/locations/{location}/securityProfiles/{security_profile}`. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Immutable. Identifier. Name of the SecurityProfile resource. It matches pattern + `projects|organizations/locations/{location}/securityProfiles/{security_profile}`. + */ + public java.lang.String getName() { + return name; + } + + /** + * Immutable. Identifier. Name of the SecurityProfile resource. It matches pattern + * `projects|organizations/locations/{location}/securityProfiles/{security_profile}`. + */ + public Patch setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^organizations/[^/]+/locations/[^/]+/securityProfiles/[^/]+$"); + } + this.name = name; + return this; + } + + /** + * Required. Field mask is used to specify the fields to be overwritten in the + * SecurityProfile resource by the update. The fields specified in the update_mask are + * relative to the resource, not the full request. A field will be overwritten if it is in + * the mask. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** Required. Field mask is used to specify the fields to be overwritten in the SecurityProfile + resource by the update. The fields specified in the update_mask are relative to the resource, not + the full request. A field will be overwritten if it is in the mask. + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * Required. Field mask is used to specify the fields to be overwritten in the + * SecurityProfile resource by the update. The fields specified in the update_mask are + * relative to the resource, not the full request. A field will be overwritten if it is in + * the mask. + */ + public Patch setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public Patch set(String parameterName, Object value) { + return (Patch) super.set(parameterName, value); + } + } + + } + } + } + + /** + * An accessor for creating requests from the Projects collection. + * + *The typical use is:
+ *
+ * {@code NetworkSecurity networksecurity = new NetworkSecurity(...);}
+ * {@code NetworkSecurity.Projects.List request = networksecurity.projects().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public Projects projects() {
+ return new Projects();
+ }
+
+ /**
+ * The "projects" collection of methods.
+ */
+ public class Projects {
+
+ /**
+ * An accessor for creating requests from the Locations collection.
+ *
+ * The typical use is:
+ *
+ * {@code NetworkSecurity networksecurity = new NetworkSecurity(...);}
+ * {@code NetworkSecurity.Locations.List request = networksecurity.locations().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public Locations locations() {
+ return new Locations();
+ }
+
+ /**
+ * The "locations" collection of methods.
+ */
+ public class Locations {
+
+ /**
+ * Gets information about a location.
+ *
+ * Create a request for the method "locations.get".
+ *
+ * This request holds the parameters needed by the networksecurity server. After setting any
+ * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ *
+ * @param name Resource name for the location.
+ * @return the request
+ */
+ public Get get(java.lang.String name) throws java.io.IOException {
+ Get result = new Get(name);
+ initialize(result);
+ return result;
+ }
+
+ public class Get extends NetworkSecurityRequest+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.
+ * + * @param name Resource name for the location. + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(NetworkSecurity.this, "GET", REST_PATH, null, com.google.api.services.networksecurity.v1beta1.model.Location.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); } @Override @@ -14960,66 +15510,238 @@ public Create setOauthToken(java.lang.String oauthToken) { } @Override - public Create setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Create) super.setPrettyPrint(prettyPrint); + public Create setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Create) super.setPrettyPrint(prettyPrint); + } + + @Override + public Create setQuotaUser(java.lang.String quotaUser) { + return (Create) super.setQuotaUser(quotaUser); + } + + @Override + public Create setUploadType(java.lang.String uploadType) { + return (Create) super.setUploadType(uploadType); + } + + @Override + public Create setUploadProtocol(java.lang.String uploadProtocol) { + return (Create) super.setUploadProtocol(uploadProtocol); + } + + /** Required. Value for parent. */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. Value for parent. + */ + public java.lang.String getParent() { + return parent; + } + + /** Required. Value for parent. */ + public Create setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** + * Required. Id of the requesting object. If auto-generating Id server-side, remove this + * field and firewall_endpoint_id from the method_signature of Create RPC. + */ + @com.google.api.client.util.Key + private java.lang.String firewallEndpointId; + + /** Required. Id of the requesting object. If auto-generating Id server-side, remove this field and + firewall_endpoint_id from the method_signature of Create RPC. + */ + public java.lang.String getFirewallEndpointId() { + return firewallEndpointId; + } + + /** + * Required. Id of the requesting object. If auto-generating Id server-side, remove this + * field and firewall_endpoint_id from the method_signature of Create RPC. + */ + public Create setFirewallEndpointId(java.lang.String firewallEndpointId) { + this.firewallEndpointId = firewallEndpointId; + return this; + } + + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the request if it + * has already been completed. The server will guarantee that for at least 60 minutes + * since the first request. For example, consider a situation where you make an initial + * request and the request times out. If you make the request again with the same request + * ID, the server can check if original operation with the same request ID was received, + * and if so, will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with the exception + * that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + @com.google.api.client.util.Key + private java.lang.String requestId; + + /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you + must retry your request, the server will know to ignore the request if it has already been + completed. The server will guarantee that for at least 60 minutes since the first request. For + example, consider a situation where you make an initial request and the request times out. If you + make the request again with the same request ID, the server can check if original operation with + the same request ID was received, and if so, will ignore the second request. This prevents clients + from accidentally creating duplicate commitments. The request ID must be a valid UUID with the + exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + public java.lang.String getRequestId() { + return requestId; + } + + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the request if it + * has already been completed. The server will guarantee that for at least 60 minutes + * since the first request. For example, consider a situation where you make an initial + * request and the request times out. If you make the request again with the same request + * ID, the server can check if original operation with the same request ID was received, + * and if so, will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with the exception + * that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + public Create setRequestId(java.lang.String requestId) { + this.requestId = requestId; + return this; + } + + @Override + public Create set(String parameterName, Object value) { + return (Create) super.set(parameterName, value); + } + } + /** + * Deletes a single project Endpoint. + * + * Create a request for the method "firewallEndpoints.delete". + * + * This request holds the parameters needed by the networksecurity server. After setting any + * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. + * + * @param name Required. Name of the resource + * @return the request + */ + public Delete delete(java.lang.String name) throws java.io.IOException { + Delete result = new Delete(name); + initialize(result); + return result; + } + + public class Delete extends NetworkSecurityRequest{@link + * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.
+ * + * @param name Required. Name of the resource + * @since 1.13 + */ + protected Delete(java.lang.String name) { + super(NetworkSecurity.this, "DELETE", REST_PATH, null, com.google.api.services.networksecurity.v1beta1.model.Operation.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/firewallEndpoints/[^/]+$"); + } + } + + @Override + public Delete set$Xgafv(java.lang.String $Xgafv) { + return (Delete) super.set$Xgafv($Xgafv); + } + + @Override + public Delete setAccessToken(java.lang.String accessToken) { + return (Delete) super.setAccessToken(accessToken); + } + + @Override + public Delete setAlt(java.lang.String alt) { + return (Delete) super.setAlt(alt); + } + + @Override + public Delete setCallback(java.lang.String callback) { + return (Delete) super.setCallback(callback); + } + + @Override + public Delete setFields(java.lang.String fields) { + return (Delete) super.setFields(fields); + } + + @Override + public Delete setKey(java.lang.String key) { + return (Delete) super.setKey(key); + } + + @Override + public Delete setOauthToken(java.lang.String oauthToken) { + return (Delete) super.setOauthToken(oauthToken); + } + + @Override + public Delete setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Delete) super.setPrettyPrint(prettyPrint); } @Override - public Create setQuotaUser(java.lang.String quotaUser) { - return (Create) super.setQuotaUser(quotaUser); + public Delete setQuotaUser(java.lang.String quotaUser) { + return (Delete) super.setQuotaUser(quotaUser); } @Override - public Create setUploadType(java.lang.String uploadType) { - return (Create) super.setUploadType(uploadType); + public Delete setUploadType(java.lang.String uploadType) { + return (Delete) super.setUploadType(uploadType); } @Override - public Create setUploadProtocol(java.lang.String uploadProtocol) { - return (Create) super.setUploadProtocol(uploadProtocol); + public Delete setUploadProtocol(java.lang.String uploadProtocol) { + return (Delete) super.setUploadProtocol(uploadProtocol); } - /** Required. Value for parent. */ + /** Required. Name of the resource */ @com.google.api.client.util.Key - private java.lang.String parent; + private java.lang.String name; - /** Required. Value for parent. + /** Required. Name of the resource */ - public java.lang.String getParent() { - return parent; + public java.lang.String getName() { + return name; } - /** Required. Value for parent. */ - public Create setParent(java.lang.String parent) { + /** Required. Name of the resource */ + public Delete setName(java.lang.String name) { if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/firewallEndpoints/[^/]+$"); } - this.parent = parent; - return this; - } - - /** - * Required. Id of the requesting object. If auto-generating Id server-side, remove this - * field and firewall_endpoint_id from the method_signature of Create RPC. - */ - @com.google.api.client.util.Key - private java.lang.String firewallEndpointId; - - /** Required. Id of the requesting object. If auto-generating Id server-side, remove this field and - firewall_endpoint_id from the method_signature of Create RPC. - */ - public java.lang.String getFirewallEndpointId() { - return firewallEndpointId; - } - - /** - * Required. Id of the requesting object. If auto-generating Id server-side, remove this - * field and firewall_endpoint_id from the method_signature of Create RPC. - */ - public Create setFirewallEndpointId(java.lang.String firewallEndpointId) { - this.firewallEndpointId = firewallEndpointId; + this.name = name; return this; } @@ -15027,7 +15749,7 @@ public Create setFirewallEndpointId(java.lang.String firewallEndpointId) { * Optional. An optional request ID to identify requests. Specify a unique request ID so * that if you must retry your request, the server will know to ignore the request if it * has already been completed. The server will guarantee that for at least 60 minutes - * since the first request. For example, consider a situation where you make an initial + * after the first request. For example, consider a situation where you make an initial * request and the request times out. If you make the request again with the same request * ID, the server can check if original operation with the same request ID was received, * and if so, will ignore the second request. This prevents clients from accidentally @@ -15039,7 +15761,7 @@ public Create setFirewallEndpointId(java.lang.String firewallEndpointId) { /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been - completed. The server will guarantee that for at least 60 minutes since the first request. For + completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients @@ -15054,41 +15776,41 @@ public java.lang.String getRequestId() { * Optional. An optional request ID to identify requests. Specify a unique request ID so * that if you must retry your request, the server will know to ignore the request if it * has already been completed. The server will guarantee that for at least 60 minutes - * since the first request. For example, consider a situation where you make an initial + * after the first request. For example, consider a situation where you make an initial * request and the request times out. If you make the request again with the same request * ID, the server can check if original operation with the same request ID was received, * and if so, will ignore the second request. This prevents clients from accidentally * creating duplicate commitments. The request ID must be a valid UUID with the exception * that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ - public Create setRequestId(java.lang.String requestId) { + public Delete setRequestId(java.lang.String requestId) { this.requestId = requestId; return this; } @Override - public Create set(String parameterName, Object value) { - return (Create) super.set(parameterName, value); + public Delete set(String parameterName, Object value) { + return (Delete) super.set(parameterName, value); } } /** - * Deletes a single project Endpoint. + * Gets details of a single project Endpoint. * - * Create a request for the method "firewallEndpoints.delete". + * Create a request for the method "firewallEndpoints.get". * * This request holds the parameters needed by the networksecurity server. After setting any - * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. * * @param name Required. Name of the resource * @return the request */ - public Delete delete(java.lang.String name) throws java.io.IOException { - Delete result = new Delete(name); + public Get get(java.lang.String name) throws java.io.IOException { + Get result = new Get(name); initialize(result); return result; } - public class Delete extends NetworkSecurityRequest+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.
* * @param name Required. Name of the resource * @since 1.13 */ - protected Delete(java.lang.String name) { - super(NetworkSecurity.this, "DELETE", REST_PATH, null, com.google.api.services.networksecurity.v1beta1.model.Operation.class); + protected Get(java.lang.String name) { + super(NetworkSecurity.this, "GET", REST_PATH, null, com.google.api.services.networksecurity.v1beta1.model.FirewallEndpoint.class); this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), @@ -15120,147 +15841,324 @@ protected Delete(java.lang.String name) { } @Override - public Delete set$Xgafv(java.lang.String $Xgafv) { - return (Delete) super.set$Xgafv($Xgafv); + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); } @Override - public Delete setAccessToken(java.lang.String accessToken) { - return (Delete) super.setAccessToken(accessToken); + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); + } + + @Override + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); + } + + @Override + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); + } + + @Override + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); + } + + @Override + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); + } + + @Override + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); + } + + @Override + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); + } + + @Override + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); + } + + @Override + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } + + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); + } + + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); + } + + /** Required. Name of the resource */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. Name of the resource + */ + public java.lang.String getName() { + return name; + } + + /** Required. Name of the resource */ + public Get setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/firewallEndpoints/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + /** + * Lists FirewallEndpoints in a given project and location. + * + * Create a request for the method "firewallEndpoints.list". + * + * This request holds the parameters needed by the networksecurity server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param parent Required. Parent value for ListEndpointsRequest + * @return the request + */ + public List list(java.lang.String parent) throws java.io.IOException { + List result = new List(parent); + initialize(result); + return result; + } + + public class List extends NetworkSecurityRequest+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.
+ * + * @param parent Required. Parent value for ListEndpointsRequest + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(NetworkSecurity.this, "GET", REST_PATH, null, com.google.api.services.networksecurity.v1beta1.model.ListFirewallEndpointsResponse.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); + } + + @Override + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); } @Override - public Delete setAlt(java.lang.String alt) { - return (Delete) super.setAlt(alt); + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); } @Override - public Delete setCallback(java.lang.String callback) { - return (Delete) super.setCallback(callback); + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); } @Override - public Delete setFields(java.lang.String fields) { - return (Delete) super.setFields(fields); + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); } @Override - public Delete setKey(java.lang.String key) { - return (Delete) super.setKey(key); + public List setKey(java.lang.String key) { + return (List) super.setKey(key); } @Override - public Delete setOauthToken(java.lang.String oauthToken) { - return (Delete) super.setOauthToken(oauthToken); + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); } @Override - public Delete setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Delete) super.setPrettyPrint(prettyPrint); + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); } @Override - public Delete setQuotaUser(java.lang.String quotaUser) { - return (Delete) super.setQuotaUser(quotaUser); + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); } @Override - public Delete setUploadType(java.lang.String uploadType) { - return (Delete) super.setUploadType(uploadType); + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); } @Override - public Delete setUploadProtocol(java.lang.String uploadProtocol) { - return (Delete) super.setUploadProtocol(uploadProtocol); + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); } - /** Required. Name of the resource */ + /** Required. Parent value for ListEndpointsRequest */ @com.google.api.client.util.Key - private java.lang.String name; + private java.lang.String parent; - /** Required. Name of the resource + /** Required. Parent value for ListEndpointsRequest */ - public java.lang.String getName() { - return name; + public java.lang.String getParent() { + return parent; } - /** Required. Name of the resource */ - public Delete setName(java.lang.String name) { + /** Required. Parent value for ListEndpointsRequest */ + public List setParent(java.lang.String parent) { if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/firewallEndpoints/[^/]+$"); + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); } - this.name = name; + this.parent = parent; + return this; + } + + /** Optional. Filtering results */ + @com.google.api.client.util.Key + private java.lang.String filter; + + /** Optional. Filtering results + */ + public java.lang.String getFilter() { + return filter; + } + + /** Optional. Filtering results */ + public List setFilter(java.lang.String filter) { + this.filter = filter; + return this; + } + + /** Hint for how to order the results */ + @com.google.api.client.util.Key + private java.lang.String orderBy; + + /** Hint for how to order the results + */ + public java.lang.String getOrderBy() { + return orderBy; + } + + /** Hint for how to order the results */ + public List setOrderBy(java.lang.String orderBy) { + this.orderBy = orderBy; return this; } /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so - * that if you must retry your request, the server will know to ignore the request if it - * has already been completed. The server will guarantee that for at least 60 minutes - * after the first request. For example, consider a situation where you make an initial - * request and the request times out. If you make the request again with the same request - * ID, the server can check if original operation with the same request ID was received, - * and if so, will ignore the second request. This prevents clients from accidentally - * creating duplicate commitments. The request ID must be a valid UUID with the exception - * that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * Optional. Requested page size. Server may return fewer items than requested. If + * unspecified, server will pick an appropriate default. */ @com.google.api.client.util.Key - private java.lang.String requestId; + private java.lang.Integer pageSize; - /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you - must retry your request, the server will know to ignore the request if it has already been - completed. The server will guarantee that for at least 60 minutes after the first request. For - example, consider a situation where you make an initial request and the request times out. If you - make the request again with the same request ID, the server can check if original operation with - the same request ID was received, and if so, will ignore the second request. This prevents clients - from accidentally creating duplicate commitments. The request ID must be a valid UUID with the - exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + /** Optional. Requested page size. Server may return fewer items than requested. If unspecified, server + will pick an appropriate default. */ - public java.lang.String getRequestId() { - return requestId; + public java.lang.Integer getPageSize() { + return pageSize; } /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so - * that if you must retry your request, the server will know to ignore the request if it - * has already been completed. The server will guarantee that for at least 60 minutes - * after the first request. For example, consider a situation where you make an initial - * request and the request times out. If you make the request again with the same request - * ID, the server can check if original operation with the same request ID was received, - * and if so, will ignore the second request. This prevents clients from accidentally - * creating duplicate commitments. The request ID must be a valid UUID with the exception - * that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * Optional. Requested page size. Server may return fewer items than requested. If + * unspecified, server will pick an appropriate default. */ - public Delete setRequestId(java.lang.String requestId) { - this.requestId = requestId; + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** A token identifying a page of results the server should return. */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** A token identifying a page of results the server should return. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** A token identifying a page of results the server should return. */ + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; return this; } @Override - public Delete set(String parameterName, Object value) { - return (Delete) super.set(parameterName, value); + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); } } /** - * Gets details of a single project Endpoint. + * Update a single project Endpoint. * - * Create a request for the method "firewallEndpoints.get". + * Create a request for the method "firewallEndpoints.patch". * * This request holds the parameters needed by the networksecurity server. After setting any - * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. + * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. * - * @param name Required. Name of the resource + * @param name Immutable. Identifier. Name of resource. + * @param content the {@link com.google.api.services.networksecurity.v1beta1.model.FirewallEndpoint} * @return the request */ - public Get get(java.lang.String name) throws java.io.IOException { - Get result = new Get(name); + public Patch patch(java.lang.String name, com.google.api.services.networksecurity.v1beta1.model.FirewallEndpoint content) throws java.io.IOException { + Patch result = new Patch(name, content); initialize(result); return result; } - public class Get extends NetworkSecurityRequest{@link + * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.
* - * @param name Required. Name of the resource + * @param name Immutable. Identifier. Name of resource. + * @param content the {@link com.google.api.services.networksecurity.v1beta1.model.FirewallEndpoint} * @since 1.13 */ - protected Get(java.lang.String name) { - super(NetworkSecurity.this, "GET", REST_PATH, null, com.google.api.services.networksecurity.v1beta1.model.FirewallEndpoint.class); + protected Patch(java.lang.String name, com.google.api.services.networksecurity.v1beta1.model.FirewallEndpoint content) { + super(NetworkSecurity.this, "PATCH", REST_PATH, content, com.google.api.services.networksecurity.v1beta1.model.Operation.class); this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), @@ -15291,509 +16191,707 @@ protected Get(java.lang.String name) { } @Override - public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { - return super.executeUsingHead(); + public Patch set$Xgafv(java.lang.String $Xgafv) { + return (Patch) super.set$Xgafv($Xgafv); } @Override - public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { - return super.buildHttpRequestUsingHead(); + public Patch setAccessToken(java.lang.String accessToken) { + return (Patch) super.setAccessToken(accessToken); } @Override - public Get set$Xgafv(java.lang.String $Xgafv) { - return (Get) super.set$Xgafv($Xgafv); + public Patch setAlt(java.lang.String alt) { + return (Patch) super.setAlt(alt); } @Override - public Get setAccessToken(java.lang.String accessToken) { - return (Get) super.setAccessToken(accessToken); + public Patch setCallback(java.lang.String callback) { + return (Patch) super.setCallback(callback); } @Override - public Get setAlt(java.lang.String alt) { - return (Get) super.setAlt(alt); + public Patch setFields(java.lang.String fields) { + return (Patch) super.setFields(fields); } @Override - public Get setCallback(java.lang.String callback) { - return (Get) super.setCallback(callback); + public Patch setKey(java.lang.String key) { + return (Patch) super.setKey(key); } @Override - public Get setFields(java.lang.String fields) { - return (Get) super.setFields(fields); + public Patch setOauthToken(java.lang.String oauthToken) { + return (Patch) super.setOauthToken(oauthToken); } @Override - public Get setKey(java.lang.String key) { - return (Get) super.setKey(key); + public Patch setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Patch) super.setPrettyPrint(prettyPrint); } @Override - public Get setOauthToken(java.lang.String oauthToken) { - return (Get) super.setOauthToken(oauthToken); + public Patch setQuotaUser(java.lang.String quotaUser) { + return (Patch) super.setQuotaUser(quotaUser); } @Override - public Get setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Get) super.setPrettyPrint(prettyPrint); + public Patch setUploadType(java.lang.String uploadType) { + return (Patch) super.setUploadType(uploadType); } @Override - public Get setQuotaUser(java.lang.String quotaUser) { - return (Get) super.setQuotaUser(quotaUser); + public Patch setUploadProtocol(java.lang.String uploadProtocol) { + return (Patch) super.setUploadProtocol(uploadProtocol); + } + + /** Immutable. Identifier. Name of resource. */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Immutable. Identifier. Name of resource. + */ + public java.lang.String getName() { + return name; + } + + /** Immutable. Identifier. Name of resource. */ + public Patch setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/firewallEndpoints/[^/]+$"); + } + this.name = name; + return this; } - @Override - public Get setUploadType(java.lang.String uploadType) { - return (Get) super.setUploadType(uploadType); + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the request if it + * has already been completed. The server will guarantee that for at least 60 minutes + * since the first request. For example, consider a situation where you make an initial + * request and the request times out. If you make the request again with the same request + * ID, the server can check if original operation with the same request ID was received, + * and if so, will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with the exception + * that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + @com.google.api.client.util.Key + private java.lang.String requestId; + + /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you + must retry your request, the server will know to ignore the request if it has already been + completed. The server will guarantee that for at least 60 minutes since the first request. For + example, consider a situation where you make an initial request and the request times out. If you + make the request again with the same request ID, the server can check if original operation with + the same request ID was received, and if so, will ignore the second request. This prevents clients + from accidentally creating duplicate commitments. The request ID must be a valid UUID with the + exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + public java.lang.String getRequestId() { + return requestId; } - @Override - public Get setUploadProtocol(java.lang.String uploadProtocol) { - return (Get) super.setUploadProtocol(uploadProtocol); + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the request if it + * has already been completed. The server will guarantee that for at least 60 minutes + * since the first request. For example, consider a situation where you make an initial + * request and the request times out. If you make the request again with the same request + * ID, the server can check if original operation with the same request ID was received, + * and if so, will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with the exception + * that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + public Patch setRequestId(java.lang.String requestId) { + this.requestId = requestId; + return this; } - /** Required. Name of the resource */ + /** + * Required. Field mask is used to specify the fields to be overwritten in the Endpoint + * resource by the update. The fields specified in the update_mask are relative to the + * resource, not the full request. A field will be overwritten if it is in the mask. If + * the user does not provide a mask then all fields will be overwritten. + */ @com.google.api.client.util.Key - private java.lang.String name; + private String updateMask; - /** Required. Name of the resource + /** Required. Field mask is used to specify the fields to be overwritten in the Endpoint resource by + the update. The fields specified in the update_mask are relative to the resource, not the full + request. A field will be overwritten if it is in the mask. If the user does not provide a mask then + all fields will be overwritten. */ - public java.lang.String getName() { - return name; + public String getUpdateMask() { + return updateMask; } - /** Required. Name of the resource */ - public Get setName(java.lang.String name) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/firewallEndpoints/[^/]+$"); - } - this.name = name; + /** + * Required. Field mask is used to specify the fields to be overwritten in the Endpoint + * resource by the update. The fields specified in the update_mask are relative to the + * resource, not the full request. A field will be overwritten if it is in the mask. If + * the user does not provide a mask then all fields will be overwritten. + */ + public Patch setUpdateMask(String updateMask) { + this.updateMask = updateMask; return this; } @Override - public Get set(String parameterName, Object value) { - return (Get) super.set(parameterName, value); + public Patch set(String parameterName, Object value) { + return (Patch) super.set(parameterName, value); } } + /** - * Lists FirewallEndpoints in a given project and location. - * - * Create a request for the method "firewallEndpoints.list". + * An accessor for creating requests from the WildfireVerdictChangeRequests collection. * - * This request holds the parameters needed by the networksecurity server. After setting any - * optional parameters, call the {@link List#execute()} method to invoke the remote operation. + *The typical use is:
+ *
+ * {@code NetworkSecurity networksecurity = new NetworkSecurity(...);}
+ * {@code NetworkSecurity.WildfireVerdictChangeRequests.List request = networksecurity.wildfireVerdictChangeRequests().list(parameters ...)}
+ *
*
- * @param parent Required. Parent value for ListEndpointsRequest
- * @return the request
+ * @return the resource collection
*/
- public List list(java.lang.String parent) throws java.io.IOException {
- List result = new List(parent);
- initialize(result);
- return result;
+ public WildfireVerdictChangeRequests wildfireVerdictChangeRequests() {
+ return new WildfireVerdictChangeRequests();
}
- public class List extends NetworkSecurityRequest- * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} - * must be called to initialize this instance immediately after invoking the constructor.
+ * This request holds the parameters needed by the networksecurity server. After setting any + * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. * - * @param parent Required. Parent value for ListEndpointsRequest - * @since 1.13 + * @param parent Required. Parent value for CreateWildfireVerdictChangeRequestRequest. The parent is a firewall + * endpoint resource. Format: organizations|projects/{project_or_organization}/locations/{loc + * ation}/firewallEndpoints/{firewall_endpoint} + * @param content the {@link com.google.api.services.networksecurity.v1beta1.model.WildfireVerdictChangeRequest} + * @return the request */ - protected List(java.lang.String parent) { - super(NetworkSecurity.this, "GET", REST_PATH, null, com.google.api.services.networksecurity.v1beta1.model.ListFirewallEndpointsResponse.class); - this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+$"); - } + public Create create(java.lang.String parent, com.google.api.services.networksecurity.v1beta1.model.WildfireVerdictChangeRequest content) throws java.io.IOException { + Create result = new Create(parent, content); + initialize(result); + return result; } - @Override - public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { - return super.executeUsingHead(); - } + public class Create extends NetworkSecurityRequest{@link + * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.
+ * + * @param parent Required. Parent value for CreateWildfireVerdictChangeRequestRequest. The parent is a firewall + * endpoint resource. Format: organizations|projects/{project_or_organization}/locations/{loc + * ation}/firewallEndpoints/{firewall_endpoint} + * @param content the {@link com.google.api.services.networksecurity.v1beta1.model.WildfireVerdictChangeRequest} + * @since 1.13 + */ + protected Create(java.lang.String parent, com.google.api.services.networksecurity.v1beta1.model.WildfireVerdictChangeRequest content) { + super(NetworkSecurity.this, "POST", REST_PATH, content, com.google.api.services.networksecurity.v1beta1.model.WildfireVerdictChangeRequest.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/firewallEndpoints/[^/]+$"); + } + } - @Override - public List setAlt(java.lang.String alt) { - return (List) super.setAlt(alt); - } + @Override + public Create set$Xgafv(java.lang.String $Xgafv) { + return (Create) super.set$Xgafv($Xgafv); + } - @Override - public List setCallback(java.lang.String callback) { - return (List) super.setCallback(callback); + @Override + public Create setAccessToken(java.lang.String accessToken) { + return (Create) super.setAccessToken(accessToken); + } + + @Override + public Create setAlt(java.lang.String alt) { + return (Create) super.setAlt(alt); + } + + @Override + public Create setCallback(java.lang.String callback) { + return (Create) super.setCallback(callback); + } + + @Override + public Create setFields(java.lang.String fields) { + return (Create) super.setFields(fields); + } + + @Override + public Create setKey(java.lang.String key) { + return (Create) super.setKey(key); + } + + @Override + public Create setOauthToken(java.lang.String oauthToken) { + return (Create) super.setOauthToken(oauthToken); + } + + @Override + public Create setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Create) super.setPrettyPrint(prettyPrint); + } + + @Override + public Create setQuotaUser(java.lang.String quotaUser) { + return (Create) super.setQuotaUser(quotaUser); + } + + @Override + public Create setUploadType(java.lang.String uploadType) { + return (Create) super.setUploadType(uploadType); + } + + @Override + public Create setUploadProtocol(java.lang.String uploadProtocol) { + return (Create) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Parent value for CreateWildfireVerdictChangeRequestRequest. The parent is a + * firewall endpoint resource. Format: organizations|projects/{project_or_organization}/ + * locations/{location}/firewallEndpoints/{firewall_endpoint} + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. Parent value for CreateWildfireVerdictChangeRequestRequest. The parent is a firewall + endpoint resource. Format: organizations|projects/{project_or_organization}/locations/{location}/fi + rewallEndpoints/{firewall_endpoint} + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. Parent value for CreateWildfireVerdictChangeRequestRequest. The parent is a + * firewall endpoint resource. Format: organizations|projects/{project_or_organization}/ + * locations/{location}/firewallEndpoints/{firewall_endpoint} + */ + public Create setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/firewallEndpoints/[^/]+$"); + } + this.parent = parent; + return this; + } + + @Override + public Create set(String parameterName, Object value) { + return (Create) super.set(parameterName, value); + } + } + /** + * Get WildfireVerdictChangeRequest in a given Firewall Endpoint in a project and location. + * + * Create a request for the method "wildfireVerdictChangeRequests.get". + * + * This request holds the parameters needed by the networksecurity server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. + * + * @param name Required. Name of the WildfireVerdictChangeRequest to retrieve. Format: organizations|projects/{proj + * ect_or_organization}/locations/{location}/firewallEndpoints/{firewall_endpoint}/wildfireVe + * rdictChangeRequests/{wildfire_verdict_change_request_id} Where + * {wildfire_verdict_change_request_id} is the ID in the format: + * ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ + * @return the request + */ + public Get get(java.lang.String name) throws java.io.IOException { + Get result = new Get(name); + initialize(result); + return result; } - @Override - public List setFields(java.lang.String fields) { - return (List) super.setFields(fields); - } + public class Get extends NetworkSecurityRequest+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.
+ * + * @param name Required. Name of the WildfireVerdictChangeRequest to retrieve. Format: organizations|projects/{proj + * ect_or_organization}/locations/{location}/firewallEndpoints/{firewall_endpoint}/wildfireVe + * rdictChangeRequests/{wildfire_verdict_change_request_id} Where + * {wildfire_verdict_change_request_id} is the ID in the format: + * ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(NetworkSecurity.this, "GET", REST_PATH, null, com.google.api.services.networksecurity.v1beta1.model.WildfireVerdictChangeRequest.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/firewallEndpoints/[^/]+/wildfireVerdictChangeRequests/[^/]+$"); + } + } - @Override - public List setQuotaUser(java.lang.String quotaUser) { - return (List) super.setQuotaUser(quotaUser); - } + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } - @Override - public List setUploadType(java.lang.String uploadType) { - return (List) super.setUploadType(uploadType); - } + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } - @Override - public List setUploadProtocol(java.lang.String uploadProtocol) { - return (List) super.setUploadProtocol(uploadProtocol); - } + @Override + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); + } - /** Required. Parent value for ListEndpointsRequest */ - @com.google.api.client.util.Key - private java.lang.String parent; + @Override + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); + } - /** Required. Parent value for ListEndpointsRequest - */ - public java.lang.String getParent() { - return parent; - } + @Override + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); + } - /** Required. Parent value for ListEndpointsRequest */ - public List setParent(java.lang.String parent) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+$"); + @Override + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); } - this.parent = parent; - return this; - } - /** Optional. Filtering results */ - @com.google.api.client.util.Key - private java.lang.String filter; + @Override + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); + } - /** Optional. Filtering results - */ - public java.lang.String getFilter() { - return filter; - } + @Override + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); + } - /** Optional. Filtering results */ - public List setFilter(java.lang.String filter) { - this.filter = filter; - return this; - } + @Override + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); + } - /** Hint for how to order the results */ - @com.google.api.client.util.Key - private java.lang.String orderBy; + @Override + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); + } - /** Hint for how to order the results - */ - public java.lang.String getOrderBy() { - return orderBy; - } + @Override + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } - /** Hint for how to order the results */ - public List setOrderBy(java.lang.String orderBy) { - this.orderBy = orderBy; - return this; - } + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); + } - /** - * Optional. Requested page size. Server may return fewer items than requested. If - * unspecified, server will pick an appropriate default. - */ - @com.google.api.client.util.Key - private java.lang.Integer pageSize; + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); + } - /** Optional. Requested page size. Server may return fewer items than requested. If unspecified, server - will pick an appropriate default. - */ - public java.lang.Integer getPageSize() { - return pageSize; - } + /** + * Required. Name of the WildfireVerdictChangeRequest to retrieve. Format: organizations + * |projects/{project_or_organization}/locations/{location}/firewallEndpoints/{firewall_ + * endpoint}/wildfireVerdictChangeRequests/{wildfire_verdict_change_request_id} Where + * {wildfire_verdict_change_request_id} is the ID in the format: + * ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. Name of the WildfireVerdictChangeRequest to retrieve. Format: organizations|projects/{pro + ject_or_organization}/locations/{location}/firewallEndpoints/{firewall_endpoint}/wildfireVerdictCha + ngeRequests/{wildfire_verdict_change_request_id} Where {wildfire_verdict_change_request_id} is the + ID in the format: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. Name of the WildfireVerdictChangeRequest to retrieve. Format: organizations + * |projects/{project_or_organization}/locations/{location}/firewallEndpoints/{firewall_ + * endpoint}/wildfireVerdictChangeRequests/{wildfire_verdict_change_request_id} Where + * {wildfire_verdict_change_request_id} is the ID in the format: + * ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ + */ + public Get setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/firewallEndpoints/[^/]+/wildfireVerdictChangeRequests/[^/]+$"); + } + this.name = name; + return this; + } + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } /** - * Optional. Requested page size. Server may return fewer items than requested. If - * unspecified, server will pick an appropriate default. + * Lists WildfireVerdictChangeRequests in a given Firewall Endpoint in a project and location. + * + * Create a request for the method "wildfireVerdictChangeRequests.list". + * + * This request holds the parameters needed by the networksecurity server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param parent Required. Parent value for ListWildfireVerdictChangeRequestsRequest. The parent is a firewall + * endpoint resource. Format: organizations|projects/{project_or_organization}/locations/{loc + * ation}/firewallEndpoints/{firewall_endpoint} + * @return the request */ - public List setPageSize(java.lang.Integer pageSize) { - this.pageSize = pageSize; - return this; + public List list(java.lang.String parent) throws java.io.IOException { + List result = new List(parent); + initialize(result); + return result; } - /** A token identifying a page of results the server should return. */ - @com.google.api.client.util.Key - private java.lang.String pageToken; + public class List extends NetworkSecurityRequest+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.
+ * + * @param parent Required. Parent value for ListWildfireVerdictChangeRequestsRequest. The parent is a firewall + * endpoint resource. Format: organizations|projects/{project_or_organization}/locations/{loc + * ation}/firewallEndpoints/{firewall_endpoint} + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(NetworkSecurity.this, "GET", REST_PATH, null, com.google.api.services.networksecurity.v1beta1.model.ListWildfireVerdictChangeRequestsResponse.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/firewallEndpoints/[^/]+$"); + } + } - public class Patch extends NetworkSecurityRequest{@link - * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must - * be called to initialize this instance immediately after invoking the constructor.
- * - * @param name Immutable. Identifier. Name of resource. - * @param content the {@link com.google.api.services.networksecurity.v1beta1.model.FirewallEndpoint} - * @since 1.13 - */ - protected Patch(java.lang.String name, com.google.api.services.networksecurity.v1beta1.model.FirewallEndpoint content) { - super(NetworkSecurity.this, "PATCH", REST_PATH, content, com.google.api.services.networksecurity.v1beta1.model.Operation.class); - this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/firewallEndpoints/[^/]+$"); + @Override + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); } - } - @Override - public Patch set$Xgafv(java.lang.String $Xgafv) { - return (Patch) super.set$Xgafv($Xgafv); - } + @Override + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); + } - @Override - public Patch setAccessToken(java.lang.String accessToken) { - return (Patch) super.setAccessToken(accessToken); - } + @Override + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); + } - @Override - public Patch setAlt(java.lang.String alt) { - return (Patch) super.setAlt(alt); - } + @Override + public List setKey(java.lang.String key) { + return (List) super.setKey(key); + } - @Override - public Patch setCallback(java.lang.String callback) { - return (Patch) super.setCallback(callback); - } + @Override + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); + } - @Override - public Patch setFields(java.lang.String fields) { - return (Patch) super.setFields(fields); - } + @Override + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); + } - @Override - public Patch setKey(java.lang.String key) { - return (Patch) super.setKey(key); - } + @Override + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); + } - @Override - public Patch setOauthToken(java.lang.String oauthToken) { - return (Patch) super.setOauthToken(oauthToken); - } + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } - @Override - public Patch setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Patch) super.setPrettyPrint(prettyPrint); - } + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); + } - @Override - public Patch setQuotaUser(java.lang.String quotaUser) { - return (Patch) super.setQuotaUser(quotaUser); - } + /** + * Required. Parent value for ListWildfireVerdictChangeRequestsRequest. The parent is a + * firewall endpoint resource. Format: organizations|projects/{project_or_organization}/ + * locations/{location}/firewallEndpoints/{firewall_endpoint} + */ + @com.google.api.client.util.Key + private java.lang.String parent; - @Override - public Patch setUploadType(java.lang.String uploadType) { - return (Patch) super.setUploadType(uploadType); - } + /** Required. Parent value for ListWildfireVerdictChangeRequestsRequest. The parent is a firewall + endpoint resource. Format: organizations|projects/{project_or_organization}/locations/{location}/fi + rewallEndpoints/{firewall_endpoint} + */ + public java.lang.String getParent() { + return parent; + } - @Override - public Patch setUploadProtocol(java.lang.String uploadProtocol) { - return (Patch) super.setUploadProtocol(uploadProtocol); - } + /** + * Required. Parent value for ListWildfireVerdictChangeRequestsRequest. The parent is a + * firewall endpoint resource. Format: organizations|projects/{project_or_organization}/ + * locations/{location}/firewallEndpoints/{firewall_endpoint} + */ + public List setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/firewallEndpoints/[^/]+$"); + } + this.parent = parent; + return this; + } - /** Immutable. Identifier. Name of resource. */ - @com.google.api.client.util.Key - private java.lang.String name; + /** + * Optional. Filter expression to filter the results. See AIP-160 for filtering syntax. + * Supported fields are: - `sha256` (string, equality only, e.g. `sha256 = "..."`) - + * `state` (enum, equality only, e.g. `state = "ACTIVE"`) - `create_time` (timestamp, + * comparisons, e.g. `create_time > "2026-01-01T00:00:00Z"`) + */ + @com.google.api.client.util.Key + private java.lang.String filter; - /** Immutable. Identifier. Name of resource. - */ - public java.lang.String getName() { - return name; - } + /** Optional. Filter expression to filter the results. See AIP-160 for filtering syntax. Supported + fields are: - `sha256` (string, equality only, e.g. `sha256 = "..."`) - `state` (enum, equality + only, e.g. `state = "ACTIVE"`) - `create_time` (timestamp, comparisons, e.g. `create_time > + "2026-01-01T00:00:00Z"`) + */ + public java.lang.String getFilter() { + return filter; + } - /** Immutable. Identifier. Name of resource. */ - public Patch setName(java.lang.String name) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^projects/[^/]+/locations/[^/]+/firewallEndpoints/[^/]+$"); + /** + * Optional. Filter expression to filter the results. See AIP-160 for filtering syntax. + * Supported fields are: - `sha256` (string, equality only, e.g. `sha256 = "..."`) - + * `state` (enum, equality only, e.g. `state = "ACTIVE"`) - `create_time` (timestamp, + * comparisons, e.g. `create_time > "2026-01-01T00:00:00Z"`) + */ + public List setFilter(java.lang.String filter) { + this.filter = filter; + return this; } - this.name = name; - return this; - } - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so - * that if you must retry your request, the server will know to ignore the request if it - * has already been completed. The server will guarantee that for at least 60 minutes - * since the first request. For example, consider a situation where you make an initial - * request and the request times out. If you make the request again with the same request - * ID, the server can check if original operation with the same request ID was received, - * and if so, will ignore the second request. This prevents clients from accidentally - * creating duplicate commitments. The request ID must be a valid UUID with the exception - * that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - @com.google.api.client.util.Key - private java.lang.String requestId; + /** + * Optional. Requested page size. Server may return fewer items than requested. If + * unspecified, server will pick an appropriate default. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; - /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you - must retry your request, the server will know to ignore the request if it has already been - completed. The server will guarantee that for at least 60 minutes since the first request. For - example, consider a situation where you make an initial request and the request times out. If you - make the request again with the same request ID, the server can check if original operation with - the same request ID was received, and if so, will ignore the second request. This prevents clients - from accidentally creating duplicate commitments. The request ID must be a valid UUID with the - exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - public java.lang.String getRequestId() { - return requestId; - } + /** Optional. Requested page size. Server may return fewer items than requested. If unspecified, server + will pick an appropriate default. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so - * that if you must retry your request, the server will know to ignore the request if it - * has already been completed. The server will guarantee that for at least 60 minutes - * since the first request. For example, consider a situation where you make an initial - * request and the request times out. If you make the request again with the same request - * ID, the server can check if original operation with the same request ID was received, - * and if so, will ignore the second request. This prevents clients from accidentally - * creating duplicate commitments. The request ID must be a valid UUID with the exception - * that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - public Patch setRequestId(java.lang.String requestId) { - this.requestId = requestId; - return this; - } + /** + * Optional. Requested page size. Server may return fewer items than requested. If + * unspecified, server will pick an appropriate default. + */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } - /** - * Required. Field mask is used to specify the fields to be overwritten in the Endpoint - * resource by the update. The fields specified in the update_mask are relative to the - * resource, not the full request. A field will be overwritten if it is in the mask. If - * the user does not provide a mask then all fields will be overwritten. - */ - @com.google.api.client.util.Key - private String updateMask; + /** Optional. A token identifying a page of results the server should return. */ + @com.google.api.client.util.Key + private java.lang.String pageToken; - /** Required. Field mask is used to specify the fields to be overwritten in the Endpoint resource by - the update. The fields specified in the update_mask are relative to the resource, not the full - request. A field will be overwritten if it is in the mask. If the user does not provide a mask then - all fields will be overwritten. - */ - public String getUpdateMask() { - return updateMask; - } + /** Optional. A token identifying a page of results the server should return. + */ + public java.lang.String getPageToken() { + return pageToken; + } - /** - * Required. Field mask is used to specify the fields to be overwritten in the Endpoint - * resource by the update. The fields specified in the update_mask are relative to the - * resource, not the full request. A field will be overwritten if it is in the mask. If - * the user does not provide a mask then all fields will be overwritten. - */ - public Patch setUpdateMask(String updateMask) { - this.updateMask = updateMask; - return this; - } + /** Optional. A token identifying a page of results the server should return. */ + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } - @Override - public Patch set(String parameterName, Object value) { - return (Patch) super.set(parameterName, value); + @Override + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); + } } - } + } } /** * An accessor for creating requests from the GatewaySecurityPolicies collection. diff --git a/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/FirewallEndpoint.java b/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/FirewallEndpoint.java index 0ab0fb90737..63c2ee2e487 100644 --- a/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/FirewallEndpoint.java +++ b/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/FirewallEndpoint.java @@ -125,6 +125,13 @@ public final class FirewallEndpoint extends com.google.api.client.json.GenericJs @com.google.api.client.util.Key private String updateTime; + /** + * Optional. Settings for WildFire analysis. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private FirewallEndpointWildfireSettings wildfireSettings; + /** * Output only. Deprecated: List of networks that are associated with this endpoint in the local * zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A @@ -356,6 +363,23 @@ public FirewallEndpoint setUpdateTime(String updateTime) { return this; } + /** + * Optional. Settings for WildFire analysis. + * @return value or {@code null} for none + */ + public FirewallEndpointWildfireSettings getWildfireSettings() { + return wildfireSettings; + } + + /** + * Optional. Settings for WildFire analysis. + * @param wildfireSettings wildfireSettings or {@code null} for none + */ + public FirewallEndpoint setWildfireSettings(FirewallEndpointWildfireSettings wildfireSettings) { + this.wildfireSettings = wildfireSettings; + return this; + } + @Override public FirewallEndpoint set(String fieldName, Object value) { return (FirewallEndpoint) super.set(fieldName, value); diff --git a/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/FirewallEndpointEndpointSettings.java b/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/FirewallEndpointEndpointSettings.java index 35736b0b47f..99a3f37c774 100644 --- a/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/FirewallEndpointEndpointSettings.java +++ b/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/FirewallEndpointEndpointSettings.java @@ -29,6 +29,22 @@ @SuppressWarnings("javadoc") public final class FirewallEndpointEndpointSettings extends com.google.api.client.json.GenericJson { + /** + * Optional. The content cloud region of the endpoint. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String contentCloudRegion; + + /** + * Optional. Whether to block HTTP partial responses for the endpoint. When this is true, + * resumption of blocked malicious HTTP file downloads will be blocked by the firewall. False + * provides maximum availability, true provides maximum security. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean httpPartialResponseBlocked; + /** * Optional. Immutable. Indicates whether Jumbo Frames are enabled. Default value is false. * The value may be {@code null}. @@ -36,6 +52,44 @@ public final class FirewallEndpointEndpointSettings extends com.google.api.clien @com.google.api.client.util.Key private java.lang.Boolean jumboFramesEnabled; + /** + * Optional. The content cloud region of the endpoint. + * @return value or {@code null} for none + */ + public java.lang.String getContentCloudRegion() { + return contentCloudRegion; + } + + /** + * Optional. The content cloud region of the endpoint. + * @param contentCloudRegion contentCloudRegion or {@code null} for none + */ + public FirewallEndpointEndpointSettings setContentCloudRegion(java.lang.String contentCloudRegion) { + this.contentCloudRegion = contentCloudRegion; + return this; + } + + /** + * Optional. Whether to block HTTP partial responses for the endpoint. When this is true, + * resumption of blocked malicious HTTP file downloads will be blocked by the firewall. False + * provides maximum availability, true provides maximum security. + * @return value or {@code null} for none + */ + public java.lang.Boolean getHttpPartialResponseBlocked() { + return httpPartialResponseBlocked; + } + + /** + * Optional. Whether to block HTTP partial responses for the endpoint. When this is true, + * resumption of blocked malicious HTTP file downloads will be blocked by the firewall. False + * provides maximum availability, true provides maximum security. + * @param httpPartialResponseBlocked httpPartialResponseBlocked or {@code null} for none + */ + public FirewallEndpointEndpointSettings setHttpPartialResponseBlocked(java.lang.Boolean httpPartialResponseBlocked) { + this.httpPartialResponseBlocked = httpPartialResponseBlocked; + return this; + } + /** * Optional. Immutable. Indicates whether Jumbo Frames are enabled. Default value is false. * @return value or {@code null} for none diff --git a/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/FirewallEndpointWildfireSettings.java b/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/FirewallEndpointWildfireSettings.java new file mode 100644 index 00000000000..3436c2180e8 --- /dev/null +++ b/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/FirewallEndpointWildfireSettings.java @@ -0,0 +1,174 @@ +/* + * 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.networksecurity.v1beta1.model; + +/** + * Settings for WildFire analysis. + * + *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 Network Security 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 FirewallEndpointWildfireSettings extends com.google.api.client.json.GenericJson { + + /** + * Optional. Indicates whether WildFire analysis is enabled. Default value is false. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean enabled; + + /** + * Optional. Settings for WildFire inline cloud analysis. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private FirewallEndpointWildfireSettingsWildfireInlineCloudAnalysisSettings wildfireInlineCloudAnalysisSettings; + + /** + * Optional. Duration in milliseconds on a file being held while the WildFire real time signature + * cloud performs a signature lookup. Value between 1 to 5000 is valid. Default value is 1000. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String wildfireRealtimeLookupDuration; + + /** + * Optional. Action to take on WildFire real time signature lookup timeout. Default value is + * ALLOW. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String wildfireRealtimeLookupTimeoutAction; + + /** + * Optional. The region where WildFire analysis will be performed. PAN supports regions: + * https://docs.paloaltonetworks.com/advanced-wildfire/administration/advanced-wildfire- + * overview/advanced-wildfire-deployments/advanced-wildfire-global-cloud + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String wildfireRegion; + + /** + * Optional. Indicates whether WildFire analysis is enabled. Default value is false. + * @return value or {@code null} for none + */ + public java.lang.Boolean getEnabled() { + return enabled; + } + + /** + * Optional. Indicates whether WildFire analysis is enabled. Default value is false. + * @param enabled enabled or {@code null} for none + */ + public FirewallEndpointWildfireSettings setEnabled(java.lang.Boolean enabled) { + this.enabled = enabled; + return this; + } + + /** + * Optional. Settings for WildFire inline cloud analysis. + * @return value or {@code null} for none + */ + public FirewallEndpointWildfireSettingsWildfireInlineCloudAnalysisSettings getWildfireInlineCloudAnalysisSettings() { + return wildfireInlineCloudAnalysisSettings; + } + + /** + * Optional. Settings for WildFire inline cloud analysis. + * @param wildfireInlineCloudAnalysisSettings wildfireInlineCloudAnalysisSettings or {@code null} for none + */ + public FirewallEndpointWildfireSettings setWildfireInlineCloudAnalysisSettings(FirewallEndpointWildfireSettingsWildfireInlineCloudAnalysisSettings wildfireInlineCloudAnalysisSettings) { + this.wildfireInlineCloudAnalysisSettings = wildfireInlineCloudAnalysisSettings; + return this; + } + + /** + * Optional. Duration in milliseconds on a file being held while the WildFire real time signature + * cloud performs a signature lookup. Value between 1 to 5000 is valid. Default value is 1000. + * @return value or {@code null} for none + */ + public String getWildfireRealtimeLookupDuration() { + return wildfireRealtimeLookupDuration; + } + + /** + * Optional. Duration in milliseconds on a file being held while the WildFire real time signature + * cloud performs a signature lookup. Value between 1 to 5000 is valid. Default value is 1000. + * @param wildfireRealtimeLookupDuration wildfireRealtimeLookupDuration or {@code null} for none + */ + public FirewallEndpointWildfireSettings setWildfireRealtimeLookupDuration(String wildfireRealtimeLookupDuration) { + this.wildfireRealtimeLookupDuration = wildfireRealtimeLookupDuration; + return this; + } + + /** + * Optional. Action to take on WildFire real time signature lookup timeout. Default value is + * ALLOW. + * @return value or {@code null} for none + */ + public java.lang.String getWildfireRealtimeLookupTimeoutAction() { + return wildfireRealtimeLookupTimeoutAction; + } + + /** + * Optional. Action to take on WildFire real time signature lookup timeout. Default value is + * ALLOW. + * @param wildfireRealtimeLookupTimeoutAction wildfireRealtimeLookupTimeoutAction or {@code null} for none + */ + public FirewallEndpointWildfireSettings setWildfireRealtimeLookupTimeoutAction(java.lang.String wildfireRealtimeLookupTimeoutAction) { + this.wildfireRealtimeLookupTimeoutAction = wildfireRealtimeLookupTimeoutAction; + return this; + } + + /** + * Optional. The region where WildFire analysis will be performed. PAN supports regions: + * https://docs.paloaltonetworks.com/advanced-wildfire/administration/advanced-wildfire- + * overview/advanced-wildfire-deployments/advanced-wildfire-global-cloud + * @return value or {@code null} for none + */ + public java.lang.String getWildfireRegion() { + return wildfireRegion; + } + + /** + * Optional. The region where WildFire analysis will be performed. PAN supports regions: + * https://docs.paloaltonetworks.com/advanced-wildfire/administration/advanced-wildfire- + * overview/advanced-wildfire-deployments/advanced-wildfire-global-cloud + * @param wildfireRegion wildfireRegion or {@code null} for none + */ + public FirewallEndpointWildfireSettings setWildfireRegion(java.lang.String wildfireRegion) { + this.wildfireRegion = wildfireRegion; + return this; + } + + @Override + public FirewallEndpointWildfireSettings set(String fieldName, Object value) { + return (FirewallEndpointWildfireSettings) super.set(fieldName, value); + } + + @Override + public FirewallEndpointWildfireSettings clone() { + return (FirewallEndpointWildfireSettings) super.clone(); + } + +} diff --git a/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/FirewallEndpointWildfireSettingsWildfireInlineCloudAnalysisSettings.java b/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/FirewallEndpointWildfireSettingsWildfireInlineCloudAnalysisSettings.java new file mode 100644 index 00000000000..83526f9bfe6 --- /dev/null +++ b/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/FirewallEndpointWildfireSettingsWildfireInlineCloudAnalysisSettings.java @@ -0,0 +1,120 @@ +/* + * 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.networksecurity.v1beta1.model; + +/** + * Settings for WildFire inline cloud analysis. + * + *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 Network Security 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 FirewallEndpointWildfireSettingsWildfireInlineCloudAnalysisSettings extends com.google.api.client.json.GenericJson { + + /** + * Optional. Timeout in milliseconds on a file being held while WildFire inline cloud analysis is + * performed. Value between 1 to 240000 is valid. Default value is 30000. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String maxAnalysisDuration; + + /** + * Optional. Whether to disable WildFire submission log generation for files that timeout during + * WildFire inline cloud analysis. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean submissionTimeoutLoggingDisabled; + + /** + * Optional. Action to take when WildFire inline cloud analysis times out. Default value is ALLOW. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String timeoutAction; + + /** + * Optional. Timeout in milliseconds on a file being held while WildFire inline cloud analysis is + * performed. Value between 1 to 240000 is valid. Default value is 30000. + * @return value or {@code null} for none + */ + public String getMaxAnalysisDuration() { + return maxAnalysisDuration; + } + + /** + * Optional. Timeout in milliseconds on a file being held while WildFire inline cloud analysis is + * performed. Value between 1 to 240000 is valid. Default value is 30000. + * @param maxAnalysisDuration maxAnalysisDuration or {@code null} for none + */ + public FirewallEndpointWildfireSettingsWildfireInlineCloudAnalysisSettings setMaxAnalysisDuration(String maxAnalysisDuration) { + this.maxAnalysisDuration = maxAnalysisDuration; + return this; + } + + /** + * Optional. Whether to disable WildFire submission log generation for files that timeout during + * WildFire inline cloud analysis. + * @return value or {@code null} for none + */ + public java.lang.Boolean getSubmissionTimeoutLoggingDisabled() { + return submissionTimeoutLoggingDisabled; + } + + /** + * Optional. Whether to disable WildFire submission log generation for files that timeout during + * WildFire inline cloud analysis. + * @param submissionTimeoutLoggingDisabled submissionTimeoutLoggingDisabled or {@code null} for none + */ + public FirewallEndpointWildfireSettingsWildfireInlineCloudAnalysisSettings setSubmissionTimeoutLoggingDisabled(java.lang.Boolean submissionTimeoutLoggingDisabled) { + this.submissionTimeoutLoggingDisabled = submissionTimeoutLoggingDisabled; + return this; + } + + /** + * Optional. Action to take when WildFire inline cloud analysis times out. Default value is ALLOW. + * @return value or {@code null} for none + */ + public java.lang.String getTimeoutAction() { + return timeoutAction; + } + + /** + * Optional. Action to take when WildFire inline cloud analysis times out. Default value is ALLOW. + * @param timeoutAction timeoutAction or {@code null} for none + */ + public FirewallEndpointWildfireSettingsWildfireInlineCloudAnalysisSettings setTimeoutAction(java.lang.String timeoutAction) { + this.timeoutAction = timeoutAction; + return this; + } + + @Override + public FirewallEndpointWildfireSettingsWildfireInlineCloudAnalysisSettings set(String fieldName, Object value) { + return (FirewallEndpointWildfireSettingsWildfireInlineCloudAnalysisSettings) super.set(fieldName, value); + } + + @Override + public FirewallEndpointWildfireSettingsWildfireInlineCloudAnalysisSettings clone() { + return (FirewallEndpointWildfireSettingsWildfireInlineCloudAnalysisSettings) super.clone(); + } + +} diff --git a/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/ListMirroringDeploymentsResponse.java b/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/ListMirroringDeploymentsResponse.java index f34d7d26418..d0701032ec2 100644 --- a/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/ListMirroringDeploymentsResponse.java +++ b/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/ListMirroringDeploymentsResponse.java @@ -45,7 +45,8 @@ public final class ListMirroringDeploymentsResponse extends com.google.api.clien private java.lang.String nextPageToken; /** - * Locations that could not be reached. + * Unordered list. Locations that could not be reached. See https://google.aip.dev/217 for more + * details. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -88,7 +89,8 @@ public ListMirroringDeploymentsResponse setNextPageToken(java.lang.String nextPa } /** - * Locations that could not be reached. + * Unordered list. Locations that could not be reached. See https://google.aip.dev/217 for more + * details. * @return value or {@code null} for none */ public 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 Network Security 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 ListWildfireVerdictChangeRequestsResponse extends com.google.api.client.json.GenericJson { + + /** + * A token identifying a page of results the server should return. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nextPageToken; + + /** + * Unordered list. Locations that could not be reached. + * 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 Network Security 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 WildfireAnalysisProfile extends com.google.api.client.json.GenericJson { + + /** + * Optional. Configuration for WildFire inline cloud analysis. + * 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 Network Security 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 WildfireInlineCloudAnalysisRule extends com.google.api.client.json.GenericJson { + + /** + * Required. Action to take when a threat is detected using WildFire Inline Cloud Analysis. The + * default Value is DENY. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String action; + + /** + * Submit a custom list of file types for WildFire analysis. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private WildfireInlineCloudAnalysisRuleCustomFileTypes customFileTypes; + + /** + * Required. Direction for the file to be analyzed by WildFire Inline Cloud Analysis. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String direction; + + /** + * Required. File selection mode for WildFire inline cloud analysis. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String fileSelectionMode; + + /** + * Required. Action to take when a threat is detected using WildFire Inline Cloud Analysis. The + * default Value is DENY. + * @return value or {@code null} for none + */ + public java.lang.String getAction() { + return action; + } + + /** + * Required. Action to take when a threat is detected using WildFire Inline Cloud Analysis. The + * default Value is DENY. + * @param action action or {@code null} for none + */ + public WildfireInlineCloudAnalysisRule setAction(java.lang.String action) { + this.action = action; + return this; + } + + /** + * Submit a custom list of file types for WildFire analysis. + * @return value or {@code null} for none + */ + public WildfireInlineCloudAnalysisRuleCustomFileTypes getCustomFileTypes() { + return customFileTypes; + } + + /** + * Submit a custom list of file types for WildFire analysis. + * @param customFileTypes customFileTypes or {@code null} for none + */ + public WildfireInlineCloudAnalysisRule setCustomFileTypes(WildfireInlineCloudAnalysisRuleCustomFileTypes customFileTypes) { + this.customFileTypes = customFileTypes; + return this; + } + + /** + * Required. Direction for the file to be analyzed by WildFire Inline Cloud Analysis. + * @return value or {@code null} for none + */ + public java.lang.String getDirection() { + return direction; + } + + /** + * Required. Direction for the file to be analyzed by WildFire Inline Cloud Analysis. + * @param direction direction or {@code null} for none + */ + public WildfireInlineCloudAnalysisRule setDirection(java.lang.String direction) { + this.direction = direction; + return this; + } + + /** + * Required. File selection mode for WildFire inline cloud analysis. + * @return value or {@code null} for none + */ + public java.lang.String getFileSelectionMode() { + return fileSelectionMode; + } + + /** + * Required. File selection mode for WildFire inline cloud analysis. + * @param fileSelectionMode fileSelectionMode or {@code null} for none + */ + public WildfireInlineCloudAnalysisRule setFileSelectionMode(java.lang.String fileSelectionMode) { + this.fileSelectionMode = fileSelectionMode; + return this; + } + + @Override + public WildfireInlineCloudAnalysisRule set(String fieldName, Object value) { + return (WildfireInlineCloudAnalysisRule) super.set(fieldName, value); + } + + @Override + public WildfireInlineCloudAnalysisRule clone() { + return (WildfireInlineCloudAnalysisRule) super.clone(); + } + +} diff --git a/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/WildfireInlineCloudAnalysisRuleCustomFileTypes.java b/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/WildfireInlineCloudAnalysisRuleCustomFileTypes.java new file mode 100644 index 00000000000..4139405941c --- /dev/null +++ b/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/WildfireInlineCloudAnalysisRuleCustomFileTypes.java @@ -0,0 +1,66 @@ +/* + * 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.networksecurity.v1beta1.model; + +/** + * The options to submit a custom list of file types for scan. + * + *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 Network Security 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 WildfireInlineCloudAnalysisRuleCustomFileTypes extends com.google.api.client.json.GenericJson { + + /** + * Required. File types to be submitted for WildFire inline cloud analysis. + * 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 Network Security 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 WildfireInlineMlFileException extends com.google.api.client.json.GenericJson { + + /** + * Optional. Name of the file to exclude from WildFire Inline ML analysis. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String filename; + + /** + * Required. Machine learning partial hash of the file to exclude from WildFire Inline ML + * analysis. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String partialHash; + + /** + * Optional. Name of the file to exclude from WildFire Inline ML analysis. + * @return value or {@code null} for none + */ + public java.lang.String getFilename() { + return filename; + } + + /** + * Optional. Name of the file to exclude from WildFire Inline ML analysis. + * @param filename filename or {@code null} for none + */ + public WildfireInlineMlFileException setFilename(java.lang.String filename) { + this.filename = filename; + return this; + } + + /** + * Required. Machine learning partial hash of the file to exclude from WildFire Inline ML + * analysis. + * @return value or {@code null} for none + */ + public java.lang.String getPartialHash() { + return partialHash; + } + + /** + * Required. Machine learning partial hash of the file to exclude from WildFire Inline ML + * analysis. + * @param partialHash partialHash or {@code null} for none + */ + public WildfireInlineMlFileException setPartialHash(java.lang.String partialHash) { + this.partialHash = partialHash; + return this; + } + + @Override + public WildfireInlineMlFileException set(String fieldName, Object value) { + return (WildfireInlineMlFileException) super.set(fieldName, value); + } + + @Override + public WildfireInlineMlFileException clone() { + return (WildfireInlineMlFileException) super.clone(); + } + +} diff --git a/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/WildfireInlineMlOverride.java b/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/WildfireInlineMlOverride.java new file mode 100644 index 00000000000..0a596a23b68 --- /dev/null +++ b/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/WildfireInlineMlOverride.java @@ -0,0 +1,90 @@ +/* + * 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.networksecurity.v1beta1.model; + +/** + * Defines what action to take for WildFire Inline ML threats per protocol. + * + *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 Network Security 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 WildfireInlineMlOverride extends com.google.api.client.json.GenericJson { + + /** + * Required. The action to take for WildFire Inline ML override. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String action; + + /** + * Required. Protocol to match for WildFire Inline ML override. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String protocol; + + /** + * Required. The action to take for WildFire Inline ML override. + * @return value or {@code null} for none + */ + public java.lang.String getAction() { + return action; + } + + /** + * Required. The action to take for WildFire Inline ML override. + * @param action action or {@code null} for none + */ + public WildfireInlineMlOverride setAction(java.lang.String action) { + this.action = action; + return this; + } + + /** + * Required. Protocol to match for WildFire Inline ML override. + * @return value or {@code null} for none + */ + public java.lang.String getProtocol() { + return protocol; + } + + /** + * Required. Protocol to match for WildFire Inline ML override. + * @param protocol protocol or {@code null} for none + */ + public WildfireInlineMlOverride setProtocol(java.lang.String protocol) { + this.protocol = protocol; + return this; + } + + @Override + public WildfireInlineMlOverride set(String fieldName, Object value) { + return (WildfireInlineMlOverride) super.set(fieldName, value); + } + + @Override + public WildfireInlineMlOverride clone() { + return (WildfireInlineMlOverride) super.clone(); + } + +} diff --git a/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/WildfireInlineMlSettings.java b/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/WildfireInlineMlSettings.java new file mode 100644 index 00000000000..f2cbbfb864a --- /dev/null +++ b/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/WildfireInlineMlSettings.java @@ -0,0 +1,96 @@ +/* + * 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.networksecurity.v1beta1.model; + +/** + * Defines the settings for WildFire Inline ML analysis. + * + *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 Network Security 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 WildfireInlineMlSettings extends com.google.api.client.json.GenericJson { + + /** + * Optional. List of files to exclude from WildFire Inline ML analysis. + * 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 Network Security 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 WildfireInlineMlSettingsInlineMlConfig extends com.google.api.client.json.GenericJson { + + /** + * Required. Action to take when a threat is detected using Inline ML. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String action; + + /** + * Required. File type to configure Inline ML for. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String fileType; + + /** + * Required. Action to take when a threat is detected using Inline ML. + * @return value or {@code null} for none + */ + public java.lang.String getAction() { + return action; + } + + /** + * Required. Action to take when a threat is detected using Inline ML. + * @param action action or {@code null} for none + */ + public WildfireInlineMlSettingsInlineMlConfig setAction(java.lang.String action) { + this.action = action; + return this; + } + + /** + * Required. File type to configure Inline ML for. + * @return value or {@code null} for none + */ + public java.lang.String getFileType() { + return fileType; + } + + /** + * Required. File type to configure Inline ML for. + * @param fileType fileType or {@code null} for none + */ + public WildfireInlineMlSettingsInlineMlConfig setFileType(java.lang.String fileType) { + this.fileType = fileType; + return this; + } + + @Override + public WildfireInlineMlSettingsInlineMlConfig set(String fieldName, Object value) { + return (WildfireInlineMlSettingsInlineMlConfig) super.set(fieldName, value); + } + + @Override + public WildfireInlineMlSettingsInlineMlConfig clone() { + return (WildfireInlineMlSettingsInlineMlConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/WildfireOverride.java b/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/WildfireOverride.java new file mode 100644 index 00000000000..da886333a8a --- /dev/null +++ b/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/WildfireOverride.java @@ -0,0 +1,90 @@ +/* + * 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.networksecurity.v1beta1.model; + +/** + * Defines what action to take for WildFire threats per protocol. + * + *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 Network Security 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 WildfireOverride extends com.google.api.client.json.GenericJson { + + /** + * Required. Threat action override. For some threat types, only a subset of actions applies. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String action; + + /** + * Required. Protocol to match. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String protocol; + + /** + * Required. Threat action override. For some threat types, only a subset of actions applies. + * @return value or {@code null} for none + */ + public java.lang.String getAction() { + return action; + } + + /** + * Required. Threat action override. For some threat types, only a subset of actions applies. + * @param action action or {@code null} for none + */ + public WildfireOverride setAction(java.lang.String action) { + this.action = action; + return this; + } + + /** + * Required. Protocol to match. + * @return value or {@code null} for none + */ + public java.lang.String getProtocol() { + return protocol; + } + + /** + * Required. Protocol to match. + * @param protocol protocol or {@code null} for none + */ + public WildfireOverride setProtocol(java.lang.String protocol) { + this.protocol = protocol; + return this; + } + + @Override + public WildfireOverride set(String fieldName, Object value) { + return (WildfireOverride) super.set(fieldName, value); + } + + @Override + public WildfireOverride clone() { + return (WildfireOverride) super.clone(); + } + +} diff --git a/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/WildfireSubmissionRule.java b/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/WildfireSubmissionRule.java new file mode 100644 index 00000000000..a4582a5ae70 --- /dev/null +++ b/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/WildfireSubmissionRule.java @@ -0,0 +1,114 @@ +/* + * 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.networksecurity.v1beta1.model; + +/** + * Defines the file types to be submitted for WildFire analysis and the direction of the traffic. + * + *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 Network Security 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 WildfireSubmissionRule extends com.google.api.client.json.GenericJson { + + /** + * Submit a custom list of file types for WildFire analysis. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private WildfireSubmissionRuleCustomFileTypes customFileTypes; + + /** + * Required. Direction for the files to be analyzed by WildFire. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String direction; + + /** + * Required. File selection mode for WildFire analysis. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String fileSelectionMode; + + /** + * Submit a custom list of file types for WildFire analysis. + * @return value or {@code null} for none + */ + public WildfireSubmissionRuleCustomFileTypes getCustomFileTypes() { + return customFileTypes; + } + + /** + * Submit a custom list of file types for WildFire analysis. + * @param customFileTypes customFileTypes or {@code null} for none + */ + public WildfireSubmissionRule setCustomFileTypes(WildfireSubmissionRuleCustomFileTypes customFileTypes) { + this.customFileTypes = customFileTypes; + return this; + } + + /** + * Required. Direction for the files to be analyzed by WildFire. + * @return value or {@code null} for none + */ + public java.lang.String getDirection() { + return direction; + } + + /** + * Required. Direction for the files to be analyzed by WildFire. + * @param direction direction or {@code null} for none + */ + public WildfireSubmissionRule setDirection(java.lang.String direction) { + this.direction = direction; + return this; + } + + /** + * Required. File selection mode for WildFire analysis. + * @return value or {@code null} for none + */ + public java.lang.String getFileSelectionMode() { + return fileSelectionMode; + } + + /** + * Required. File selection mode for WildFire analysis. + * @param fileSelectionMode fileSelectionMode or {@code null} for none + */ + public WildfireSubmissionRule setFileSelectionMode(java.lang.String fileSelectionMode) { + this.fileSelectionMode = fileSelectionMode; + return this; + } + + @Override + public WildfireSubmissionRule set(String fieldName, Object value) { + return (WildfireSubmissionRule) super.set(fieldName, value); + } + + @Override + public WildfireSubmissionRule clone() { + return (WildfireSubmissionRule) super.clone(); + } + +} diff --git a/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/WildfireSubmissionRuleCustomFileTypes.java b/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/WildfireSubmissionRuleCustomFileTypes.java new file mode 100644 index 00000000000..0824d1a865c --- /dev/null +++ b/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/WildfireSubmissionRuleCustomFileTypes.java @@ -0,0 +1,66 @@ +/* + * 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.networksecurity.v1beta1.model; + +/** + * The options to submit a custom list of file types for scan. + * + *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 Network Security 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 WildfireSubmissionRuleCustomFileTypes extends com.google.api.client.json.GenericJson { + + /** + * Required. File types to be submitted for WildFire analysis. + * 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 Network Security 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 WildfireThreatOverride extends com.google.api.client.json.GenericJson { + + /** + * Required. Threat action override. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String action; + + /** + * Required. Threat ID to match. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String threatId; + + /** + * Required. Threat action override. + * @return value or {@code null} for none + */ + public java.lang.String getAction() { + return action; + } + + /** + * Required. Threat action override. + * @param action action or {@code null} for none + */ + public WildfireThreatOverride setAction(java.lang.String action) { + this.action = action; + return this; + } + + /** + * Required. Threat ID to match. + * @return value or {@code null} for none + */ + public java.lang.String getThreatId() { + return threatId; + } + + /** + * Required. Threat ID to match. + * @param threatId threatId or {@code null} for none + */ + public WildfireThreatOverride setThreatId(java.lang.String threatId) { + this.threatId = threatId; + return this; + } + + @Override + public WildfireThreatOverride set(String fieldName, Object value) { + return (WildfireThreatOverride) super.set(fieldName, value); + } + + @Override + public WildfireThreatOverride clone() { + return (WildfireThreatOverride) super.clone(); + } + +} diff --git a/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/WildfireVerdictChangeRequest.java b/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/WildfireVerdictChangeRequest.java new file mode 100644 index 00000000000..69ff2ba9a69 --- /dev/null +++ b/clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/WildfireVerdictChangeRequest.java @@ -0,0 +1,399 @@ +/* + * 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.networksecurity.v1beta1.model; + +/** + * Message for a WildfireVerdictChangeRequest. + * + *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 Network Security 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 WildfireVerdictChangeRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. The justification for the verdict change request. Max length 2048 characters. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String comment; + + /** + * Output only. The timestamp when the WildfireVerdictChangeRequest was created. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String createTime; + + /** + * Output only. The file name of the Malware Sample. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String fileName; + + /** + * Output only. The file type of the Malware Sample. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String fileType; + + /** + * Output only. The final verdict of the Malware Sample. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String finalVerdict; + + /** + * Output only. Identifier. The relative name of the WildfireVerdictChangeRequest. Output only. + * This is a unique identifier generated by the third party API. Format: organizations|projects/{p + * roject_or_organization}/locations/{location}/firewallEndpoints/{firewall_endpoint}/wildfireVerd + * ictChangeRequests/{wildfire_verdict_change_request_id} Where + * {wildfire_verdict_change_request_id} is the ID in the format: + * ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Required. The suggested verdict to apply to the Malware Sample. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String newVerdict; + + /** + * Output only. The original verdict of the Malware Sample. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String oldVerdict; + + /** + * Output only. The timestamp when the WildfireVerdictChangeRequest was resolved. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String resolutionTime; + + /** + * Required. The SHA256 hash of the Malware Sample to change the verdict of. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sha256; + + /** + * Output only. The region of the file associated with the Malware Sample. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sourceRegion; + + /** + * Output only. The review state of the WildfireVerdictChangeRequest. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String state; + + /** + * Output only. The timestamp when the WildfireVerdictChangeRequest was last updated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateTime; + + /** + * Output only. The ID of the WildfireVerdictChangeRequest. This is a unique identifier generated + * by the third party API. Format: + * ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String wildfireVerdictChangeRequestId; + + /** + * Required. The justification for the verdict change request. Max length 2048 characters. + * @return value or {@code null} for none + */ + public java.lang.String getComment() { + return comment; + } + + /** + * Required. The justification for the verdict change request. Max length 2048 characters. + * @param comment comment or {@code null} for none + */ + public WildfireVerdictChangeRequest setComment(java.lang.String comment) { + this.comment = comment; + return this; + } + + /** + * Output only. The timestamp when the WildfireVerdictChangeRequest was created. + * @return value or {@code null} for none + */ + public String getCreateTime() { + return createTime; + } + + /** + * Output only. The timestamp when the WildfireVerdictChangeRequest was created. + * @param createTime createTime or {@code null} for none + */ + public WildfireVerdictChangeRequest setCreateTime(String createTime) { + this.createTime = createTime; + return this; + } + + /** + * Output only. The file name of the Malware Sample. + * @return value or {@code null} for none + */ + public java.lang.String getFileName() { + return fileName; + } + + /** + * Output only. The file name of the Malware Sample. + * @param fileName fileName or {@code null} for none + */ + public WildfireVerdictChangeRequest setFileName(java.lang.String fileName) { + this.fileName = fileName; + return this; + } + + /** + * Output only. The file type of the Malware Sample. + * @return value or {@code null} for none + */ + public java.lang.String getFileType() { + return fileType; + } + + /** + * Output only. The file type of the Malware Sample. + * @param fileType fileType or {@code null} for none + */ + public WildfireVerdictChangeRequest setFileType(java.lang.String fileType) { + this.fileType = fileType; + return this; + } + + /** + * Output only. The final verdict of the Malware Sample. + * @return value or {@code null} for none + */ + public java.lang.String getFinalVerdict() { + return finalVerdict; + } + + /** + * Output only. The final verdict of the Malware Sample. + * @param finalVerdict finalVerdict or {@code null} for none + */ + public WildfireVerdictChangeRequest setFinalVerdict(java.lang.String finalVerdict) { + this.finalVerdict = finalVerdict; + return this; + } + + /** + * Output only. Identifier. The relative name of the WildfireVerdictChangeRequest. Output only. + * This is a unique identifier generated by the third party API. Format: organizations|projects/{p + * roject_or_organization}/locations/{location}/firewallEndpoints/{firewall_endpoint}/wildfireVerd + * ictChangeRequests/{wildfire_verdict_change_request_id} Where + * {wildfire_verdict_change_request_id} is the ID in the format: + * ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Output only. Identifier. The relative name of the WildfireVerdictChangeRequest. Output only. + * This is a unique identifier generated by the third party API. Format: organizations|projects/{p + * roject_or_organization}/locations/{location}/firewallEndpoints/{firewall_endpoint}/wildfireVerd + * ictChangeRequests/{wildfire_verdict_change_request_id} Where + * {wildfire_verdict_change_request_id} is the ID in the format: + * ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ + * @param name name or {@code null} for none + */ + public WildfireVerdictChangeRequest setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Required. The suggested verdict to apply to the Malware Sample. + * @return value or {@code null} for none + */ + public java.lang.String getNewVerdict() { + return newVerdict; + } + + /** + * Required. The suggested verdict to apply to the Malware Sample. + * @param newVerdict newVerdict or {@code null} for none + */ + public WildfireVerdictChangeRequest setNewVerdict(java.lang.String newVerdict) { + this.newVerdict = newVerdict; + return this; + } + + /** + * Output only. The original verdict of the Malware Sample. + * @return value or {@code null} for none + */ + public java.lang.String getOldVerdict() { + return oldVerdict; + } + + /** + * Output only. The original verdict of the Malware Sample. + * @param oldVerdict oldVerdict or {@code null} for none + */ + public WildfireVerdictChangeRequest setOldVerdict(java.lang.String oldVerdict) { + this.oldVerdict = oldVerdict; + return this; + } + + /** + * Output only. The timestamp when the WildfireVerdictChangeRequest was resolved. + * @return value or {@code null} for none + */ + public String getResolutionTime() { + return resolutionTime; + } + + /** + * Output only. The timestamp when the WildfireVerdictChangeRequest was resolved. + * @param resolutionTime resolutionTime or {@code null} for none + */ + public WildfireVerdictChangeRequest setResolutionTime(String resolutionTime) { + this.resolutionTime = resolutionTime; + return this; + } + + /** + * Required. The SHA256 hash of the Malware Sample to change the verdict of. + * @return value or {@code null} for none + */ + public java.lang.String getSha256() { + return sha256; + } + + /** + * Required. The SHA256 hash of the Malware Sample to change the verdict of. + * @param sha256 sha256 or {@code null} for none + */ + public WildfireVerdictChangeRequest setSha256(java.lang.String sha256) { + this.sha256 = sha256; + return this; + } + + /** + * Output only. The region of the file associated with the Malware Sample. + * @return value or {@code null} for none + */ + public java.lang.String getSourceRegion() { + return sourceRegion; + } + + /** + * Output only. The region of the file associated with the Malware Sample. + * @param sourceRegion sourceRegion or {@code null} for none + */ + public WildfireVerdictChangeRequest setSourceRegion(java.lang.String sourceRegion) { + this.sourceRegion = sourceRegion; + return this; + } + + /** + * Output only. The review state of the WildfireVerdictChangeRequest. + * @return value or {@code null} for none + */ + public java.lang.String getState() { + return state; + } + + /** + * Output only. The review state of the WildfireVerdictChangeRequest. + * @param state state or {@code null} for none + */ + public WildfireVerdictChangeRequest setState(java.lang.String state) { + this.state = state; + return this; + } + + /** + * Output only. The timestamp when the WildfireVerdictChangeRequest was last updated. + * @return value or {@code null} for none + */ + public String getUpdateTime() { + return updateTime; + } + + /** + * Output only. The timestamp when the WildfireVerdictChangeRequest was last updated. + * @param updateTime updateTime or {@code null} for none + */ + public WildfireVerdictChangeRequest setUpdateTime(String updateTime) { + this.updateTime = updateTime; + return this; + } + + /** + * Output only. The ID of the WildfireVerdictChangeRequest. This is a unique identifier generated + * by the third party API. Format: + * ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ + * @return value or {@code null} for none + */ + public java.lang.String getWildfireVerdictChangeRequestId() { + return wildfireVerdictChangeRequestId; + } + + /** + * Output only. The ID of the WildfireVerdictChangeRequest. This is a unique identifier generated + * by the third party API. Format: + * ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ + * @param wildfireVerdictChangeRequestId wildfireVerdictChangeRequestId or {@code null} for none + */ + public WildfireVerdictChangeRequest setWildfireVerdictChangeRequestId(java.lang.String wildfireVerdictChangeRequestId) { + this.wildfireVerdictChangeRequestId = wildfireVerdictChangeRequestId; + return this; + } + + @Override + public WildfireVerdictChangeRequest set(String fieldName, Object value) { + return (WildfireVerdictChangeRequest) super.set(fieldName, value); + } + + @Override + public WildfireVerdictChangeRequest clone() { + return (WildfireVerdictChangeRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-networksecurity/v1beta1/2.0.0/pom.xml b/clients/google-api-services-networksecurity/v1beta1/2.0.0/pom.xml index a8997888bfe..6b625172e7f 100644 --- a/clients/google-api-services-networksecurity/v1beta1/2.0.0/pom.xml +++ b/clients/google-api-services-networksecurity/v1beta1/2.0.0/pom.xml @@ -8,8 +8,8 @@