diff --git a/clients/google-api-services-firebaseappcheck/v1beta/2.0.0/README.md b/clients/google-api-services-firebaseappcheck/v1beta/2.0.0/README.md index de5ac56df88..7511c12cdbb 100644 --- a/clients/google-api-services-firebaseappcheck/v1beta/2.0.0/README.md +++ b/clients/google-api-services-firebaseappcheck/v1beta/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-firebaseappcheck - v1beta-rev20260918-2.0.0 + v1beta-rev20261010-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-firebaseappcheck:v1beta-rev20260918-2.0.0' + implementation 'com.google.apis:google-api-services-firebaseappcheck:v1beta-rev20261010-2.0.0' } ``` diff --git a/clients/google-api-services-firebaseappcheck/v1beta/2.0.0/com/google/api/services/firebaseappcheck/v1beta/Firebaseappcheck.java b/clients/google-api-services-firebaseappcheck/v1beta/2.0.0/com/google/api/services/firebaseappcheck/v1beta/Firebaseappcheck.java index be104ebbfee..721f5c75440 100644 --- a/clients/google-api-services-firebaseappcheck/v1beta/2.0.0/com/google/api/services/firebaseappcheck/v1beta/Firebaseappcheck.java +++ b/clients/google-api-services-firebaseappcheck/v1beta/2.0.0/com/google/api/services/firebaseappcheck/v1beta/Firebaseappcheck.java @@ -8006,6 +8006,580 @@ public Patch set(String parameterName, Object value) { } } + /** + * An accessor for creating requests from the Automations collection. + * + *

The typical use is:

+ *
+       *   {@code Firebaseappcheck firebaseappcheck = new Firebaseappcheck(...);}
+       *   {@code Firebaseappcheck.Automations.List request = firebaseappcheck.automations().list(parameters ...)}
+       * 
+ * + * @return the resource collection + */ + public Automations automations() { + return new Automations(); + } + + /** + * The "automations" collection of methods. + */ + public class Automations { + + /** + * Gets the specified Automation configuration. + * + * Create a request for the method "automations.get". + * + * This request holds the parameters needed by the firebaseappcheck server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. + * + * @param name Required. The relative resource name of the Automation to retrieve, in one of the following + * supported formats: ``` + * projects/{project_number}/services/{service_id}/automations/{automation_id} projects/{proj + * ect_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/automations/{autom + * ation_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 FirebaseappcheckRequest { + + private static final String REST_PATH = "v1beta/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/services/[^/]+/automations/[^/]+$"); + + /** + * Gets the specified Automation configuration. + * + * Create a request for the method "automations.get". + * + * This request holds the parameters needed by the the firebaseappcheck server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.

+ * {@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. The relative resource name of the Automation to retrieve, in one of the following + * supported formats: ``` + * projects/{project_number}/services/{service_id}/automations/{automation_id} projects/{proj + * ect_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/automations/{autom + * ation_id} ``` + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(Firebaseappcheck.this, "GET", REST_PATH, null, com.google.api.services.firebaseappcheck.v1beta.model.GoogleFirebaseAppcheckV1betaAutomation.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/[^/]+/services/[^/]+/automations/[^/]+$"); + } + } + + @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. The relative resource name of the Automation to retrieve, in one of the + * following supported formats: ``` + * projects/{project_number}/services/{service_id}/automations/{automation_id} projects/{p + * roject_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/automations/ + * {automation_id} ``` + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The relative resource name of the Automation to retrieve, in one of the following + supported formats: ``` projects/{project_number}/services/{service_id}/automations/{automation_id} + projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/automations/{ + automation_id} ``` + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The relative resource name of the Automation to retrieve, in one of the + * following supported formats: ``` + * projects/{project_number}/services/{service_id}/automations/{automation_id} projects/{p + * roject_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/automations/ + * {automation_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 " + + "^projects/[^/]+/services/[^/]+/automations/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + /** + * Lists all Automations for the specified service or resource policy. + * + * Create a request for the method "automations.list". + * + * This request holds the parameters needed by the firebaseappcheck server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param parent Required. The relative resource name of the parent service or resource policy for which to list each + * associated Automation, in one of the following formats: ``` + * projects/{project_number}/services/{service_id} + * projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id} ``` + * @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 FirebaseappcheckRequest { + + private static final String REST_PATH = "v1beta/{+parent}/automations"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/services/[^/]+$"); + + /** + * Lists all Automations for the specified service or resource policy. + * + * Create a request for the method "automations.list". + * + * This request holds the parameters needed by the the firebaseappcheck server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

+ * {@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 relative resource name of the parent service or resource policy for which to list each + * associated Automation, in one of the following formats: ``` + * projects/{project_number}/services/{service_id} + * projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id} ``` + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(Firebaseappcheck.this, "GET", REST_PATH, null, com.google.api.services.firebaseappcheck.v1beta.model.GoogleFirebaseAppcheckV1betaListAutomationsResponse.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/[^/]+/services/[^/]+$"); + } + } + + @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 relative resource name of the parent service or resource policy for which + * to list each associated Automation, in one of the following formats: ``` + * projects/{project_number}/services/{service_id} + * projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id} + * ``` + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. The relative resource name of the parent service or resource policy for which to list + each associated Automation, in one of the following formats: ``` + projects/{project_number}/services/{service_id} + projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id} ``` + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. The relative resource name of the parent service or resource policy for which + * to list each associated Automation, in one of the following formats: ``` + * projects/{project_number}/services/{service_id} + * projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id} + * ``` + */ + 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/[^/]+/services/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** + * The maximum number of Automations to return in the response. Note that a service or + * resource policy can have at most 10 automations. The server may return fewer than this + * at its own discretion. If no value is specified (or too large a value is specified), + * the server will impose its own limit. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** The maximum number of Automations to return in the response. Note that a service or resource policy + can have at most 10 automations. The server may return fewer than this at its own discretion. If no + value is specified (or too large a value is specified), the server will impose its own limit. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * The maximum number of Automations to return in the response. Note that a service or + * resource policy can have at most 10 automations. The server may return fewer than this + * at its own discretion. If no value is specified (or too large a value is specified), + * the server will impose its own limit. + */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Token returned from a previous call to ListAutomations indicating where in the set of + * Automations to resume listing. Provide this to retrieve the subsequent page. When + * paginating, all other parameters provided to ListAutomations must match the call that + * provided the page token; if they do not match, the result is undefined. + */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Token returned from a previous call to ListAutomations indicating where in the set of Automations + to resume listing. Provide this to retrieve the subsequent page. When paginating, all other + parameters provided to ListAutomations must match the call that provided the page token; if they do + not match, the result is undefined. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** + * Token returned from a previous call to ListAutomations indicating where in the set of + * Automations to resume listing. Provide this to retrieve the subsequent page. When + * paginating, all other parameters provided to ListAutomations must match the call that + * provided the page token; if they do not match, the result is undefined. + */ + 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 specified Automation. + * + * Create a request for the method "automations.patch". + * + * This request holds the parameters needed by the firebaseappcheck server. After setting any + * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. + * + * @param name Identifier. The relative resource name of the automation object, in one of the following supported + * formats: ``` projects/{project_number}/services/{service_id}/automations/{automation_id} p + * rojects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/autom + * ations/{automation_id} ``` + * @param content the {@link com.google.api.services.firebaseappcheck.v1beta.model.GoogleFirebaseAppcheckV1betaAutomation} + * @return the request + */ + public Patch patch(java.lang.String name, com.google.api.services.firebaseappcheck.v1beta.model.GoogleFirebaseAppcheckV1betaAutomation content) throws java.io.IOException { + Patch result = new Patch(name, content); + initialize(result); + return result; + } + + public class Patch extends FirebaseappcheckRequest { + + private static final String REST_PATH = "v1beta/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/services/[^/]+/automations/[^/]+$"); + + /** + * Updates the specified Automation. + * + * Create a request for the method "automations.patch". + * + * This request holds the parameters needed by the the firebaseappcheck server. After setting any + * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. + *

{@link + * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param name Identifier. The relative resource name of the automation object, in one of the following supported + * formats: ``` projects/{project_number}/services/{service_id}/automations/{automation_id} p + * rojects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/autom + * ations/{automation_id} ``` + * @param content the {@link com.google.api.services.firebaseappcheck.v1beta.model.GoogleFirebaseAppcheckV1betaAutomation} + * @since 1.13 + */ + protected Patch(java.lang.String name, com.google.api.services.firebaseappcheck.v1beta.model.GoogleFirebaseAppcheckV1betaAutomation content) { + super(Firebaseappcheck.this, "PATCH", REST_PATH, content, com.google.api.services.firebaseappcheck.v1beta.model.GoogleFirebaseAppcheckV1betaAutomation.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/[^/]+/services/[^/]+/automations/[^/]+$"); + } + } + + @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); + } + + /** + * Identifier. The relative resource name of the automation object, in one of the + * following supported formats: ``` + * projects/{project_number}/services/{service_id}/automations/{automation_id} projects/{p + * roject_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/automations/ + * {automation_id} ``` + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Identifier. The relative resource name of the automation object, in one of the following supported + formats: ``` projects/{project_number}/services/{service_id}/automations/{automation_id} projects/{ + project_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/automations/{automation + _id} ``` + */ + public java.lang.String getName() { + return name; + } + + /** + * Identifier. The relative resource name of the automation object, in one of the + * following supported formats: ``` + * projects/{project_number}/services/{service_id}/automations/{automation_id} projects/{p + * roject_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/automations/ + * {automation_id} ``` + */ + 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/[^/]+/services/[^/]+/automations/[^/]+$"); + } + this.name = name; + return this; + } + + /** + * Required. A comma-separated list of names of fields in the Automation to update. + * Example: `timestamp_condition.enforce_time`. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** Required. A comma-separated list of names of fields in the Automation to update. Example: + `timestamp_condition.enforce_time`. + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * Required. A comma-separated list of names of fields in the Automation to update. + * Example: `timestamp_condition.enforce_time`. + */ + 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 ResourcePolicies collection. * @@ -9096,6 +9670,580 @@ public Patch set(String parameterName, Object value) { } } + /** + * An accessor for creating requests from the Automations collection. + * + *

The typical use is:

+ *
+         *   {@code Firebaseappcheck firebaseappcheck = new Firebaseappcheck(...);}
+         *   {@code Firebaseappcheck.Automations.List request = firebaseappcheck.automations().list(parameters ...)}
+         * 
+ * + * @return the resource collection + */ + public Automations automations() { + return new Automations(); + } + + /** + * The "automations" collection of methods. + */ + public class Automations { + + /** + * Gets the specified Automation configuration. + * + * Create a request for the method "automations.get". + * + * This request holds the parameters needed by the firebaseappcheck server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. + * + * @param name Required. The relative resource name of the Automation to retrieve, in one of the following + * supported formats: ``` + * projects/{project_number}/services/{service_id}/automations/{automation_id} projects/{proj + * ect_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/automations/{autom + * ation_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 FirebaseappcheckRequest { + + private static final String REST_PATH = "v1beta/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/services/[^/]+/resourcePolicies/[^/]+/automations/[^/]+$"); + + /** + * Gets the specified Automation configuration. + * + * Create a request for the method "automations.get". + * + * This request holds the parameters needed by the the firebaseappcheck server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.

+ * {@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. The relative resource name of the Automation to retrieve, in one of the following + * supported formats: ``` + * projects/{project_number}/services/{service_id}/automations/{automation_id} projects/{proj + * ect_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/automations/{autom + * ation_id} ``` + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(Firebaseappcheck.this, "GET", REST_PATH, null, com.google.api.services.firebaseappcheck.v1beta.model.GoogleFirebaseAppcheckV1betaAutomation.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/[^/]+/services/[^/]+/resourcePolicies/[^/]+/automations/[^/]+$"); + } + } + + @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. The relative resource name of the Automation to retrieve, in one of the + * following supported formats: ``` + * projects/{project_number}/services/{service_id}/automations/{automation_id} projects/ + * {project_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/automati + * ons/{automation_id} ``` + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The relative resource name of the Automation to retrieve, in one of the following + supported formats: ``` projects/{project_number}/services/{service_id}/automations/{automation_id} + projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/automations/{ + automation_id} ``` + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The relative resource name of the Automation to retrieve, in one of the + * following supported formats: ``` + * projects/{project_number}/services/{service_id}/automations/{automation_id} projects/ + * {project_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/automati + * ons/{automation_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 " + + "^projects/[^/]+/services/[^/]+/resourcePolicies/[^/]+/automations/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + /** + * Lists all Automations for the specified service or resource policy. + * + * Create a request for the method "automations.list". + * + * This request holds the parameters needed by the firebaseappcheck server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param parent Required. The relative resource name of the parent service or resource policy for which to list each + * associated Automation, in one of the following formats: ``` + * projects/{project_number}/services/{service_id} + * projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id} ``` + * @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 FirebaseappcheckRequest { + + private static final String REST_PATH = "v1beta/{+parent}/automations"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/services/[^/]+/resourcePolicies/[^/]+$"); + + /** + * Lists all Automations for the specified service or resource policy. + * + * Create a request for the method "automations.list". + * + * This request holds the parameters needed by the the firebaseappcheck server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

+ * {@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 relative resource name of the parent service or resource policy for which to list each + * associated Automation, in one of the following formats: ``` + * projects/{project_number}/services/{service_id} + * projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id} ``` + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(Firebaseappcheck.this, "GET", REST_PATH, null, com.google.api.services.firebaseappcheck.v1beta.model.GoogleFirebaseAppcheckV1betaListAutomationsResponse.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/[^/]+/services/[^/]+/resourcePolicies/[^/]+$"); + } + } + + @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 relative resource name of the parent service or resource policy for + * which to list each associated Automation, in one of the following formats: ``` + * projects/{project_number}/services/{service_id} + * projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id} + * ``` + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. The relative resource name of the parent service or resource policy for which to list + each associated Automation, in one of the following formats: ``` + projects/{project_number}/services/{service_id} + projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id} ``` + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. The relative resource name of the parent service or resource policy for + * which to list each associated Automation, in one of the following formats: ``` + * projects/{project_number}/services/{service_id} + * projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id} + * ``` + */ + 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/[^/]+/services/[^/]+/resourcePolicies/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** + * The maximum number of Automations to return in the response. Note that a service or + * resource policy can have at most 10 automations. The server may return fewer than + * this at its own discretion. If no value is specified (or too large a value is + * specified), the server will impose its own limit. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** The maximum number of Automations to return in the response. Note that a service or resource policy + can have at most 10 automations. The server may return fewer than this at its own discretion. If no + value is specified (or too large a value is specified), the server will impose its own limit. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * The maximum number of Automations to return in the response. Note that a service or + * resource policy can have at most 10 automations. The server may return fewer than + * this at its own discretion. If no value is specified (or too large a value is + * specified), the server will impose its own limit. + */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Token returned from a previous call to ListAutomations indicating where in the set of + * Automations to resume listing. Provide this to retrieve the subsequent page. When + * paginating, all other parameters provided to ListAutomations must match the call that + * provided the page token; if they do not match, the result is undefined. + */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Token returned from a previous call to ListAutomations indicating where in the set of Automations + to resume listing. Provide this to retrieve the subsequent page. When paginating, all other + parameters provided to ListAutomations must match the call that provided the page token; if they do + not match, the result is undefined. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** + * Token returned from a previous call to ListAutomations indicating where in the set of + * Automations to resume listing. Provide this to retrieve the subsequent page. When + * paginating, all other parameters provided to ListAutomations must match the call that + * provided the page token; if they do not match, the result is undefined. + */ + 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 specified Automation. + * + * Create a request for the method "automations.patch". + * + * This request holds the parameters needed by the firebaseappcheck server. After setting any + * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. + * + * @param name Identifier. The relative resource name of the automation object, in one of the following supported + * formats: ``` projects/{project_number}/services/{service_id}/automations/{automation_id} p + * rojects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/autom + * ations/{automation_id} ``` + * @param content the {@link com.google.api.services.firebaseappcheck.v1beta.model.GoogleFirebaseAppcheckV1betaAutomation} + * @return the request + */ + public Patch patch(java.lang.String name, com.google.api.services.firebaseappcheck.v1beta.model.GoogleFirebaseAppcheckV1betaAutomation content) throws java.io.IOException { + Patch result = new Patch(name, content); + initialize(result); + return result; + } + + public class Patch extends FirebaseappcheckRequest { + + private static final String REST_PATH = "v1beta/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/services/[^/]+/resourcePolicies/[^/]+/automations/[^/]+$"); + + /** + * Updates the specified Automation. + * + * Create a request for the method "automations.patch". + * + * This request holds the parameters needed by the the firebaseappcheck server. After setting any + * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. + *

{@link + * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param name Identifier. The relative resource name of the automation object, in one of the following supported + * formats: ``` projects/{project_number}/services/{service_id}/automations/{automation_id} p + * rojects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/autom + * ations/{automation_id} ``` + * @param content the {@link com.google.api.services.firebaseappcheck.v1beta.model.GoogleFirebaseAppcheckV1betaAutomation} + * @since 1.13 + */ + protected Patch(java.lang.String name, com.google.api.services.firebaseappcheck.v1beta.model.GoogleFirebaseAppcheckV1betaAutomation content) { + super(Firebaseappcheck.this, "PATCH", REST_PATH, content, com.google.api.services.firebaseappcheck.v1beta.model.GoogleFirebaseAppcheckV1betaAutomation.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/[^/]+/services/[^/]+/resourcePolicies/[^/]+/automations/[^/]+$"); + } + } + + @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); + } + + /** + * Identifier. The relative resource name of the automation object, in one of the + * following supported formats: ``` + * projects/{project_number}/services/{service_id}/automations/{automation_id} projects/ + * {project_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/automati + * ons/{automation_id} ``` + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Identifier. The relative resource name of the automation object, in one of the following supported + formats: ``` projects/{project_number}/services/{service_id}/automations/{automation_id} projects/{ + project_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/automations/{automation + _id} ``` + */ + public java.lang.String getName() { + return name; + } + + /** + * Identifier. The relative resource name of the automation object, in one of the + * following supported formats: ``` + * projects/{project_number}/services/{service_id}/automations/{automation_id} projects/ + * {project_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/automati + * ons/{automation_id} ``` + */ + 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/[^/]+/services/[^/]+/resourcePolicies/[^/]+/automations/[^/]+$"); + } + this.name = name; + return this; + } + + /** + * Required. A comma-separated list of names of fields in the Automation to update. + * Example: `timestamp_condition.enforce_time`. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** Required. A comma-separated list of names of fields in the Automation to update. Example: + `timestamp_condition.enforce_time`. + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * Required. A comma-separated list of names of fields in the Automation to update. + * Example: `timestamp_condition.enforce_time`. + */ + public Patch setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public Patch set(String parameterName, Object value) { + return (Patch) super.set(parameterName, value); + } + } + + } } } } diff --git a/clients/google-api-services-firebaseappcheck/v1beta/2.0.0/com/google/api/services/firebaseappcheck/v1beta/model/GoogleFirebaseAppcheckV1betaAutomation.java b/clients/google-api-services-firebaseappcheck/v1beta/2.0.0/com/google/api/services/firebaseappcheck/v1beta/model/GoogleFirebaseAppcheckV1betaAutomation.java new file mode 100644 index 00000000000..b3b19950062 --- /dev/null +++ b/clients/google-api-services-firebaseappcheck/v1beta/2.0.0/com/google/api/services/firebaseappcheck/v1beta/model/GoogleFirebaseAppcheckV1betaAutomation.java @@ -0,0 +1,264 @@ +/* + * 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.firebaseappcheck.v1beta.model; + +/** + * An **enforcement automation** is useful for automatically enforcing a service or a resource + * policy within a service when a certain condition is met. For example, you may create an + * automation that automatically turns on enforcement for your Cloud Firestore service at a + * specified timestamp in the future. For your security, an automation object may be created by the + * system in order to protect sensitive services by default. These *system-created* automations can + * be opted out, if you so choose, by calling the SuspendAutomation method on them. Suspending a + * system-created automation is not recommended, but is supported for advanced use cases. The system + * will not execute nor modify any suspended automations. Also, system-created automations + * **cannot** be deleted, but can be freely modified, which is also not recommended, as the system + * may later overwrite your changes with its own default settings without notice (assuming it has + * not been suspended). An automation's condition is evaluated periodically; the frequency of this + * periodic evaluation depends on the exact condition. While the details are unspecified, + * evaluations will be conducted reasonably frequently so that a satisfied condition will be + * detected in a timely fashion. Once a condition has been detected to be satisfied, the enforcement + * action will be executed immediately. Currently, the only enforcement action supported is to + * **enforce** App Check protections on the associated parent service or parent resource policy. + * Once executed, the automation becomes immutable, and serves as a historical record of that + * execution. Its `update_time` field will be populated with the timestamp at which the execution + * occurred, and its `state` field will be set to `SUCCEEDED`. Successful automations not created by + * the system can still be deleted. If, during the evaluation or execution of an automation, App + * Check discovers that it is no longer possible for the service or resource to receive App Check + * protection, App Check may suspend your automation without warning. For example, if you have + * disabled a service, or have deleted all resources within a service, and that service does not + * support storing your App Check preferences while it is in such a state, then an automation + * created for this service may be suspended. Please ensure that the service or resource is + * correctly configured and operating normally throughout the lifetime of the automation to avoid + * suspension. + * + *

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 Firebase App Check 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 GoogleFirebaseAppcheckV1betaAutomation extends com.google.api.client.json.GenericJson { + + /** + * Output only. Timestamp at which this automation object was created. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String createTime; + + /** + * This checksum is computed by the server based on the value of other fields, and may be sent on + * update and delete requests to ensure the client has an up-to-date value before proceeding. This + * etag is strongly validated as defined by RFC 7232. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String etag; + + /** + * Identifier. The relative resource name of the automation object, in one of the following + * supported formats: ``` + * projects/{project_number}/services/{service_id}/automations/{automation_id} projects/{project_n + * umber}/services/{service_id}/resourcePolicies/{resource_policy_id}/automations/{automation_id} + * ``` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. The original creator of this automation object. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String origin; + + /** + * Output only. The state that this automation object is currently in. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String state; + + /** + * A condition that is satisfied if the current time is greater than or equal to the specified + * timestamp. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String triggerTime; + + /** + * Output only. Timestamp at which this automation object was most recently updated, either by the + * system or by the user. If this automation has already been executed, this field indicates the + * exact timestamp at which it was executed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateTime; + + /** + * Output only. Timestamp at which this automation object was created. + * @return value or {@code null} for none + */ + public String getCreateTime() { + return createTime; + } + + /** + * Output only. Timestamp at which this automation object was created. + * @param createTime createTime or {@code null} for none + */ + public GoogleFirebaseAppcheckV1betaAutomation setCreateTime(String createTime) { + this.createTime = createTime; + return this; + } + + /** + * This checksum is computed by the server based on the value of other fields, and may be sent on + * update and delete requests to ensure the client has an up-to-date value before proceeding. This + * etag is strongly validated as defined by RFC 7232. + * @return value or {@code null} for none + */ + public java.lang.String getEtag() { + return etag; + } + + /** + * This checksum is computed by the server based on the value of other fields, and may be sent on + * update and delete requests to ensure the client has an up-to-date value before proceeding. This + * etag is strongly validated as defined by RFC 7232. + * @param etag etag or {@code null} for none + */ + public GoogleFirebaseAppcheckV1betaAutomation setEtag(java.lang.String etag) { + this.etag = etag; + return this; + } + + /** + * Identifier. The relative resource name of the automation object, in one of the following + * supported formats: ``` + * projects/{project_number}/services/{service_id}/automations/{automation_id} projects/{project_n + * umber}/services/{service_id}/resourcePolicies/{resource_policy_id}/automations/{automation_id} + * ``` + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Identifier. The relative resource name of the automation object, in one of the following + * supported formats: ``` + * projects/{project_number}/services/{service_id}/automations/{automation_id} projects/{project_n + * umber}/services/{service_id}/resourcePolicies/{resource_policy_id}/automations/{automation_id} + * ``` + * @param name name or {@code null} for none + */ + public GoogleFirebaseAppcheckV1betaAutomation setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. The original creator of this automation object. + * @return value or {@code null} for none + */ + public java.lang.String getOrigin() { + return origin; + } + + /** + * Output only. The original creator of this automation object. + * @param origin origin or {@code null} for none + */ + public GoogleFirebaseAppcheckV1betaAutomation setOrigin(java.lang.String origin) { + this.origin = origin; + return this; + } + + /** + * Output only. The state that this automation object is currently in. + * @return value or {@code null} for none + */ + public java.lang.String getState() { + return state; + } + + /** + * Output only. The state that this automation object is currently in. + * @param state state or {@code null} for none + */ + public GoogleFirebaseAppcheckV1betaAutomation setState(java.lang.String state) { + this.state = state; + return this; + } + + /** + * A condition that is satisfied if the current time is greater than or equal to the specified + * timestamp. + * @return value or {@code null} for none + */ + public String getTriggerTime() { + return triggerTime; + } + + /** + * A condition that is satisfied if the current time is greater than or equal to the specified + * timestamp. + * @param triggerTime triggerTime or {@code null} for none + */ + public GoogleFirebaseAppcheckV1betaAutomation setTriggerTime(String triggerTime) { + this.triggerTime = triggerTime; + return this; + } + + /** + * Output only. Timestamp at which this automation object was most recently updated, either by the + * system or by the user. If this automation has already been executed, this field indicates the + * exact timestamp at which it was executed. + * @return value or {@code null} for none + */ + public String getUpdateTime() { + return updateTime; + } + + /** + * Output only. Timestamp at which this automation object was most recently updated, either by the + * system or by the user. If this automation has already been executed, this field indicates the + * exact timestamp at which it was executed. + * @param updateTime updateTime or {@code null} for none + */ + public GoogleFirebaseAppcheckV1betaAutomation setUpdateTime(String updateTime) { + this.updateTime = updateTime; + return this; + } + + @Override + public GoogleFirebaseAppcheckV1betaAutomation set(String fieldName, Object value) { + return (GoogleFirebaseAppcheckV1betaAutomation) super.set(fieldName, value); + } + + @Override + public GoogleFirebaseAppcheckV1betaAutomation clone() { + return (GoogleFirebaseAppcheckV1betaAutomation) super.clone(); + } + +} diff --git a/clients/google-api-services-firebaseappcheck/v1beta/2.0.0/com/google/api/services/firebaseappcheck/v1beta/model/GoogleFirebaseAppcheckV1betaListAutomationsResponse.java b/clients/google-api-services-firebaseappcheck/v1beta/2.0.0/com/google/api/services/firebaseappcheck/v1beta/model/GoogleFirebaseAppcheckV1betaListAutomationsResponse.java new file mode 100644 index 00000000000..9a6be8866ce --- /dev/null +++ b/clients/google-api-services-firebaseappcheck/v1beta/2.0.0/com/google/api/services/firebaseappcheck/v1beta/model/GoogleFirebaseAppcheckV1betaListAutomationsResponse.java @@ -0,0 +1,106 @@ +/* + * 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.firebaseappcheck.v1beta.model; + +/** + * Response message for the ListAutomations method. + * + *

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 Firebase App Check 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 GoogleFirebaseAppcheckV1betaListAutomationsResponse extends com.google.api.client.json.GenericJson { + + /** + * The Automations retrieved. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List automations; + + static { + // hack to force ProGuard to consider GoogleFirebaseAppcheckV1betaAutomation used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(GoogleFirebaseAppcheckV1betaAutomation.class); + } + + /** + * If the result list is too large to fit in a single response, then a token is returned. If the + * string is empty or omitted, then this response is the last page of results. This token can be + * used in a subsequent call to ListAutomations to find the next group of Automations. Page tokens + * are short-lived and should not be persisted. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nextPageToken; + + /** + * The Automations retrieved. + * @return value or {@code null} for none + */ + public java.util.List getAutomations() { + return automations; + } + + /** + * The Automations retrieved. + * @param automations automations or {@code null} for none + */ + public GoogleFirebaseAppcheckV1betaListAutomationsResponse setAutomations(java.util.List automations) { + this.automations = automations; + return this; + } + + /** + * If the result list is too large to fit in a single response, then a token is returned. If the + * string is empty or omitted, then this response is the last page of results. This token can be + * used in a subsequent call to ListAutomations to find the next group of Automations. Page tokens + * are short-lived and should not be persisted. + * @return value or {@code null} for none + */ + public java.lang.String getNextPageToken() { + return nextPageToken; + } + + /** + * If the result list is too large to fit in a single response, then a token is returned. If the + * string is empty or omitted, then this response is the last page of results. This token can be + * used in a subsequent call to ListAutomations to find the next group of Automations. Page tokens + * are short-lived and should not be persisted. + * @param nextPageToken nextPageToken or {@code null} for none + */ + public GoogleFirebaseAppcheckV1betaListAutomationsResponse setNextPageToken(java.lang.String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + @Override + public GoogleFirebaseAppcheckV1betaListAutomationsResponse set(String fieldName, Object value) { + return (GoogleFirebaseAppcheckV1betaListAutomationsResponse) super.set(fieldName, value); + } + + @Override + public GoogleFirebaseAppcheckV1betaListAutomationsResponse clone() { + return (GoogleFirebaseAppcheckV1betaListAutomationsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-firebaseappcheck/v1beta/2.0.0/pom.xml b/clients/google-api-services-firebaseappcheck/v1beta/2.0.0/pom.xml index 3f03b30d071..a553e2dd263 100644 --- a/clients/google-api-services-firebaseappcheck/v1beta/2.0.0/pom.xml +++ b/clients/google-api-services-firebaseappcheck/v1beta/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-firebaseappcheck - v1beta-rev20260918-2.0.0 - Firebase App Check API v1beta-rev20260918-2.0.0 + v1beta-rev20261010-2.0.0 + Firebase App Check API v1beta-rev20261010-2.0.0 jar 2011 diff --git a/clients/google-api-services-firebaseappcheck/v1beta/README.md b/clients/google-api-services-firebaseappcheck/v1beta/README.md index de5ac56df88..7511c12cdbb 100644 --- a/clients/google-api-services-firebaseappcheck/v1beta/README.md +++ b/clients/google-api-services-firebaseappcheck/v1beta/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-firebaseappcheck - v1beta-rev20260918-2.0.0 + v1beta-rev20261010-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-firebaseappcheck:v1beta-rev20260918-2.0.0' + implementation 'com.google.apis:google-api-services-firebaseappcheck:v1beta-rev20261010-2.0.0' } ```