From 45ab8997dfca2e780772c9b3e814c13e1c7e0912 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Mon, 20 Jan 2025 16:58:47 -0800 Subject: [PATCH] chore: regenerate backupdr client --- .../v1/2.0.0/README.md | 4 +- .../api/services/backupdr/v1/Backupdr.java | 166 +++++++++++++++++- .../services/backupdr/v1/model/Backup.java | 48 +++++ .../backupdr/v1/model/BackupPlan.java | 12 +- .../v1/model/BackupPlanAssociation.java | 18 +- .../backupdr/v1/model/BackupRule.java | 6 +- .../backupdr/v1/model/BackupVault.java | 18 +- .../v1/model/InitializeServiceRequest.java | 115 ++++++++++++ .../backupdr/v1/model/OperationMetadata.java | 12 +- .../backupdr/v1/model/RuleConfigInfo.java | 12 +- .../v1/2.0.0/pom.xml | 12 +- .../google-api-services-backupdr/v1/README.md | 4 +- 12 files changed, 376 insertions(+), 51 deletions(-) create mode 100644 clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/InitializeServiceRequest.java diff --git a/clients/google-api-services-backupdr/v1/2.0.0/README.md b/clients/google-api-services-backupdr/v1/2.0.0/README.md index 86ca8ba31b7..fbece3f4633 100644 --- a/clients/google-api-services-backupdr/v1/2.0.0/README.md +++ b/clients/google-api-services-backupdr/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-backupdr - v1-rev20241106-2.0.0 + v1-rev20241204-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-backupdr:v1-rev20241106-2.0.0' + implementation 'com.google.apis:google-api-services-backupdr:v1-rev20241204-2.0.0' } ``` diff --git a/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/Backupdr.java b/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/Backupdr.java index 2825cfbe69a..0010dec6e1e 100644 --- a/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/Backupdr.java +++ b/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/Backupdr.java @@ -7565,7 +7565,7 @@ public class Operations { * 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 + * 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.cancel". @@ -7596,7 +7596,7 @@ public class Cancel extends BackupdrRequestThe typical use is:

+ *
+       *   {@code Backupdr backupdr = new Backupdr(...);}
+       *   {@code Backupdr.ServiceConfig.List request = backupdr.serviceConfig().list(parameters ...)}
+       * 
+ * + * @return the resource collection + */ + public ServiceConfig serviceConfig() { + return new ServiceConfig(); + } + + /** + * The "serviceConfig" collection of methods. + */ + public class ServiceConfig { + + /** + * Initializes the service related config for a project. + * + * Create a request for the method "serviceConfig.initialize". + * + * This request holds the parameters needed by the backupdr server. After setting any optional + * parameters, call the {@link Initialize#execute()} method to invoke the remote operation. + * + * @param name Required. The resource name of the serviceConfig used to initialize the service. Format: + * `projects/{project_id}/locations/{location}/serviceConfig`. + * @param content the {@link com.google.api.services.backupdr.v1.model.InitializeServiceRequest} + * @return the request + */ + public Initialize initialize(java.lang.String name, com.google.api.services.backupdr.v1.model.InitializeServiceRequest content) throws java.io.IOException { + Initialize result = new Initialize(name, content); + initialize(result); + return result; + } + + public class Initialize extends BackupdrRequest { + + private static final String REST_PATH = "v1/{+name}:initialize"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/serviceConfig$"); + + /** + * Initializes the service related config for a project. + * + * Create a request for the method "serviceConfig.initialize". + * + * This request holds the parameters needed by the the backupdr server. After setting any + * optional parameters, call the {@link Initialize#execute()} method to invoke the remote + * operation.

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

+ * + * @param name Required. The resource name of the serviceConfig used to initialize the service. Format: + * `projects/{project_id}/locations/{location}/serviceConfig`. + * @param content the {@link com.google.api.services.backupdr.v1.model.InitializeServiceRequest} + * @since 1.13 + */ + protected Initialize(java.lang.String name, com.google.api.services.backupdr.v1.model.InitializeServiceRequest content) { + super(Backupdr.this, "POST", REST_PATH, content, com.google.api.services.backupdr.v1.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/[^/]+/serviceConfig$"); + } + } + + @Override + public Initialize set$Xgafv(java.lang.String $Xgafv) { + return (Initialize) super.set$Xgafv($Xgafv); + } + + @Override + public Initialize setAccessToken(java.lang.String accessToken) { + return (Initialize) super.setAccessToken(accessToken); + } + + @Override + public Initialize setAlt(java.lang.String alt) { + return (Initialize) super.setAlt(alt); + } + + @Override + public Initialize setCallback(java.lang.String callback) { + return (Initialize) super.setCallback(callback); + } + + @Override + public Initialize setFields(java.lang.String fields) { + return (Initialize) super.setFields(fields); + } + + @Override + public Initialize setKey(java.lang.String key) { + return (Initialize) super.setKey(key); + } + + @Override + public Initialize setOauthToken(java.lang.String oauthToken) { + return (Initialize) super.setOauthToken(oauthToken); + } + + @Override + public Initialize setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Initialize) super.setPrettyPrint(prettyPrint); + } + + @Override + public Initialize setQuotaUser(java.lang.String quotaUser) { + return (Initialize) super.setQuotaUser(quotaUser); + } + + @Override + public Initialize setUploadType(java.lang.String uploadType) { + return (Initialize) super.setUploadType(uploadType); + } + + @Override + public Initialize setUploadProtocol(java.lang.String uploadProtocol) { + return (Initialize) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The resource name of the serviceConfig used to initialize the service. + * Format: `projects/{project_id}/locations/{location}/serviceConfig`. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The resource name of the serviceConfig used to initialize the service. Format: + `projects/{project_id}/locations/{location}/serviceConfig`. + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The resource name of the serviceConfig used to initialize the service. + * Format: `projects/{project_id}/locations/{location}/serviceConfig`. + */ + public Initialize 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/[^/]+/serviceConfig$"); + } + this.name = name; + return this; + } + + @Override + public Initialize set(String parameterName, Object value) { + return (Initialize) super.set(parameterName, value); + } + } + + } } } diff --git a/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/Backup.java b/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/Backup.java index f82749898bb..69d97fdd229 100644 --- a/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/Backup.java +++ b/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/Backup.java @@ -131,6 +131,20 @@ public final class Backup extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long resourceSizeBytes; + /** + * Optional. Output only. Reserved for future use. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean satisfiesPzi; + + /** + * Optional. Output only. Reserved for future use. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean satisfiesPzs; + /** * Output only. The list of BackupLocks taken by the service to prevent the deletion of the * backup. @@ -397,6 +411,40 @@ public Backup setResourceSizeBytes(java.lang.Long resourceSizeBytes) { return this; } + /** + * Optional. Output only. Reserved for future use. + * @return value or {@code null} for none + */ + public java.lang.Boolean getSatisfiesPzi() { + return satisfiesPzi; + } + + /** + * Optional. Output only. Reserved for future use. + * @param satisfiesPzi satisfiesPzi or {@code null} for none + */ + public Backup setSatisfiesPzi(java.lang.Boolean satisfiesPzi) { + this.satisfiesPzi = satisfiesPzi; + return this; + } + + /** + * Optional. Output only. Reserved for future use. + * @return value or {@code null} for none + */ + public java.lang.Boolean getSatisfiesPzs() { + return satisfiesPzs; + } + + /** + * Optional. Output only. Reserved for future use. + * @param satisfiesPzs satisfiesPzs or {@code null} for none + */ + public Backup setSatisfiesPzs(java.lang.Boolean satisfiesPzs) { + this.satisfiesPzs = satisfiesPzs; + return this; + } + /** * Output only. The list of BackupLocks taken by the service to prevent the deletion of the * backup. diff --git a/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/BackupPlan.java b/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/BackupPlan.java index 923d98e1300..402408dbffb 100644 --- a/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/BackupPlan.java +++ b/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/BackupPlan.java @@ -99,8 +99,8 @@ public final class BackupPlan extends com.google.api.client.json.GenericJson { /** * Required. The resource type to which the `BackupPlan` will be applied. Examples include, - * "compute.googleapis.com/Instance", "sqladmin.googleapis.com/Instance" and - * "storage.googleapis.com/Bucket". + * "compute.googleapis.com/Instance", "sqladmin.googleapis.com/Instance", or + * "alloydb.googleapis.com/Cluster". * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -276,8 +276,8 @@ public BackupPlan setName(java.lang.String name) { /** * Required. The resource type to which the `BackupPlan` will be applied. Examples include, - * "compute.googleapis.com/Instance", "sqladmin.googleapis.com/Instance" and - * "storage.googleapis.com/Bucket". + * "compute.googleapis.com/Instance", "sqladmin.googleapis.com/Instance", or + * "alloydb.googleapis.com/Cluster". * @return value or {@code null} for none */ public java.lang.String getResourceType() { @@ -286,8 +286,8 @@ public java.lang.String getResourceType() { /** * Required. The resource type to which the `BackupPlan` will be applied. Examples include, - * "compute.googleapis.com/Instance", "sqladmin.googleapis.com/Instance" and - * "storage.googleapis.com/Bucket". + * "compute.googleapis.com/Instance", "sqladmin.googleapis.com/Instance", or + * "alloydb.googleapis.com/Cluster". * @param resourceType resourceType or {@code null} for none */ public BackupPlan setResourceType(java.lang.String resourceType) { diff --git a/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/BackupPlanAssociation.java b/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/BackupPlanAssociation.java index b1833c4c4f9..cf905661822 100644 --- a/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/BackupPlanAssociation.java +++ b/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/BackupPlanAssociation.java @@ -47,8 +47,8 @@ public final class BackupPlanAssociation extends com.google.api.client.json.Gene private String createTime; /** - * Output only. Output Only. Resource name of data source which will be used as storage location - * for backups taken. Format : + * Output only. Resource name of data source which will be used as storage location for backups + * taken. Format : * projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource} * The value may be {@code null}. */ @@ -71,7 +71,7 @@ public final class BackupPlanAssociation extends com.google.api.client.json.Gene private java.lang.String resource; /** - * Optional. Required. Resource type of workload on which backupplan is applied + * Required. Immutable. Resource type of workload on which backupplan is applied * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -135,8 +135,8 @@ public BackupPlanAssociation setCreateTime(String createTime) { } /** - * Output only. Output Only. Resource name of data source which will be used as storage location - * for backups taken. Format : + * Output only. Resource name of data source which will be used as storage location for backups + * taken. Format : * projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource} * @return value or {@code null} for none */ @@ -145,8 +145,8 @@ public java.lang.String getDataSource() { } /** - * Output only. Output Only. Resource name of data source which will be used as storage location - * for backups taken. Format : + * Output only. Resource name of data source which will be used as storage location for backups + * taken. Format : * projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource} * @param dataSource dataSource or {@code null} for none */ @@ -192,7 +192,7 @@ public BackupPlanAssociation setResource(java.lang.String resource) { } /** - * Optional. Required. Resource type of workload on which backupplan is applied + * Required. Immutable. Resource type of workload on which backupplan is applied * @return value or {@code null} for none */ public java.lang.String getResourceType() { @@ -200,7 +200,7 @@ public java.lang.String getResourceType() { } /** - * Optional. Required. Resource type of workload on which backupplan is applied + * Required. Immutable. Resource type of workload on which backupplan is applied * @param resourceType resourceType or {@code null} for none */ public BackupPlanAssociation setResourceType(java.lang.String resourceType) { diff --git a/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/BackupRule.java b/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/BackupRule.java index 05af9c9c929..7cfb45255ab 100644 --- a/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/BackupRule.java +++ b/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/BackupRule.java @@ -35,7 +35,7 @@ public final class BackupRule extends com.google.api.client.json.GenericJson { * The value should be greater than or equal to minimum enforced retention of the backup vault. * Minimum value is 1 and maximum value is 90 for hourly backups. Minimum value is 1 and maximum * value is 90 for daily backups. Minimum value is 7 and maximum value is 186 for weekly backups. - * Minimum value is 30 and maximum value is 732 for monthly backups. Minimum value is 30 and + * Minimum value is 30 and maximum value is 732 for monthly backups. Minimum value is 365 and * maximum value is 36159 for yearly backups. * The value may be {@code null}. */ @@ -63,7 +63,7 @@ public final class BackupRule extends com.google.api.client.json.GenericJson { * The value should be greater than or equal to minimum enforced retention of the backup vault. * Minimum value is 1 and maximum value is 90 for hourly backups. Minimum value is 1 and maximum * value is 90 for daily backups. Minimum value is 7 and maximum value is 186 for weekly backups. - * Minimum value is 30 and maximum value is 732 for monthly backups. Minimum value is 30 and + * Minimum value is 30 and maximum value is 732 for monthly backups. Minimum value is 365 and * maximum value is 36159 for yearly backups. * @return value or {@code null} for none */ @@ -76,7 +76,7 @@ public java.lang.Integer getBackupRetentionDays() { * The value should be greater than or equal to minimum enforced retention of the backup vault. * Minimum value is 1 and maximum value is 90 for hourly backups. Minimum value is 1 and maximum * value is 90 for daily backups. Minimum value is 7 and maximum value is 186 for weekly backups. - * Minimum value is 30 and maximum value is 732 for monthly backups. Minimum value is 30 and + * Minimum value is 30 and maximum value is 732 for monthly backups. Minimum value is 365 and * maximum value is 36159 for yearly backups. * @param backupRetentionDays backupRetentionDays or {@code null} for none */ diff --git a/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/BackupVault.java b/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/BackupVault.java index f3050185331..4cf7712d3ef 100644 --- a/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/BackupVault.java +++ b/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/BackupVault.java @@ -32,8 +32,8 @@ public final class BackupVault extends com.google.api.client.json.GenericJson { /** * Optional. Note: This field is added for future use case and will not be supported in the - * current release. Optional. Access restriction for the backup vault. Default value is - * WITHIN_ORGANIZATION if not provided during creation. + * current release. Access restriction for the backup vault. Default value is WITHIN_ORGANIZATION + * if not provided during creation. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -139,7 +139,7 @@ public final class BackupVault extends com.google.api.client.json.GenericJson { private java.lang.Long totalStoredBytes; /** - * Output only. Output only Immutable after resource creation until resource deletion. + * Output only. Immutable after resource creation until resource deletion. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -154,8 +154,8 @@ public final class BackupVault extends com.google.api.client.json.GenericJson { /** * Optional. Note: This field is added for future use case and will not be supported in the - * current release. Optional. Access restriction for the backup vault. Default value is - * WITHIN_ORGANIZATION if not provided during creation. + * current release. Access restriction for the backup vault. Default value is WITHIN_ORGANIZATION + * if not provided during creation. * @return value or {@code null} for none */ public java.lang.String getAccessRestriction() { @@ -164,8 +164,8 @@ public java.lang.String getAccessRestriction() { /** * Optional. Note: This field is added for future use case and will not be supported in the - * current release. Optional. Access restriction for the backup vault. Default value is - * WITHIN_ORGANIZATION if not provided during creation. + * current release. Access restriction for the backup vault. Default value is WITHIN_ORGANIZATION + * if not provided during creation. * @param accessRestriction accessRestriction or {@code null} for none */ public BackupVault setAccessRestriction(java.lang.String accessRestriction) { @@ -411,7 +411,7 @@ public BackupVault setTotalStoredBytes(java.lang.Long totalStoredBytes) { } /** - * Output only. Output only Immutable after resource creation until resource deletion. + * Output only. Immutable after resource creation until resource deletion. * @return value or {@code null} for none */ public java.lang.String getUid() { @@ -419,7 +419,7 @@ public java.lang.String getUid() { } /** - * Output only. Output only Immutable after resource creation until resource deletion. + * Output only. Immutable after resource creation until resource deletion. * @param uid uid or {@code null} for none */ public BackupVault setUid(java.lang.String uid) { diff --git a/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/InitializeServiceRequest.java b/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/InitializeServiceRequest.java new file mode 100644 index 00000000000..586a84ceffc --- /dev/null +++ b/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/InitializeServiceRequest.java @@ -0,0 +1,115 @@ +/* + * 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.backupdr.v1.model; + +/** + * Request message for initializing the service. + * + *

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 Backup and DR Service 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 InitializeServiceRequest extends com.google.api.client.json.GenericJson { + + /** + * 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 t he 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). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String requestId; + + /** + * Required. The resource type to which the default service config will be applied. Examples + * include, "compute.googleapis.com/Instance" and "storage.googleapis.com/Bucket". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceType; + + /** + * 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 t he 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). + * @return value or {@code null} for none + */ + 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 t he 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). + * @param requestId requestId or {@code null} for none + */ + public InitializeServiceRequest setRequestId(java.lang.String requestId) { + this.requestId = requestId; + return this; + } + + /** + * Required. The resource type to which the default service config will be applied. Examples + * include, "compute.googleapis.com/Instance" and "storage.googleapis.com/Bucket". + * @return value or {@code null} for none + */ + public java.lang.String getResourceType() { + return resourceType; + } + + /** + * Required. The resource type to which the default service config will be applied. Examples + * include, "compute.googleapis.com/Instance" and "storage.googleapis.com/Bucket". + * @param resourceType resourceType or {@code null} for none + */ + public InitializeServiceRequest setResourceType(java.lang.String resourceType) { + this.resourceType = resourceType; + return this; + } + + @Override + public InitializeServiceRequest set(String fieldName, Object value) { + return (InitializeServiceRequest) super.set(fieldName, value); + } + + @Override + public InitializeServiceRequest clone() { + return (InitializeServiceRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/OperationMetadata.java b/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/OperationMetadata.java index 40ac39c4761..0bec0c7c4f3 100644 --- a/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/OperationMetadata.java +++ b/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/OperationMetadata.java @@ -61,8 +61,8 @@ public final class OperationMetadata extends com.google.api.client.json.GenericJ /** * Output only. Identifies whether the user has requested cancellation of the operation. - * Operations that have successfully been cancelled have Operation.error value with a - * google.rpc.Status.code of 1, corresponding to 'Code.CANCELLED'. + * Operations that have successfully been cancelled have google.longrunning.Operation.error value + * with a google.rpc.Status.code of 1, corresponding to 'Code.CANCELLED'. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -161,8 +161,8 @@ public OperationMetadata setEndTime(String endTime) { /** * Output only. Identifies whether the user has requested cancellation of the operation. - * Operations that have successfully been cancelled have Operation.error value with a - * google.rpc.Status.code of 1, corresponding to 'Code.CANCELLED'. + * Operations that have successfully been cancelled have google.longrunning.Operation.error value + * with a google.rpc.Status.code of 1, corresponding to 'Code.CANCELLED'. * @return value or {@code null} for none */ public java.lang.Boolean getRequestedCancellation() { @@ -171,8 +171,8 @@ public java.lang.Boolean getRequestedCancellation() { /** * Output only. Identifies whether the user has requested cancellation of the operation. - * Operations that have successfully been cancelled have Operation.error value with a - * google.rpc.Status.code of 1, corresponding to 'Code.CANCELLED'. + * Operations that have successfully been cancelled have google.longrunning.Operation.error value + * with a google.rpc.Status.code of 1, corresponding to 'Code.CANCELLED'. * @param requestedCancellation requestedCancellation or {@code null} for none */ public OperationMetadata setRequestedCancellation(java.lang.Boolean requestedCancellation) { diff --git a/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/RuleConfigInfo.java b/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/RuleConfigInfo.java index a210a838d15..4af07f2f7f4 100644 --- a/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/RuleConfigInfo.java +++ b/clients/google-api-services-backupdr/v1/2.0.0/com/google/api/services/backupdr/v1/model/RuleConfigInfo.java @@ -31,7 +31,7 @@ public final class RuleConfigInfo extends com.google.api.client.json.GenericJson { /** - * Output only. Output Only. google.rpc.Status object to store the last backup error. + * Output only. google.rpc.Status object to store the last backup error. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -52,14 +52,14 @@ public final class RuleConfigInfo extends com.google.api.client.json.GenericJson private String lastSuccessfulBackupConsistencyTime; /** - * Output only. Output Only. Backup Rule id fetched from backup plan. + * Output only. Backup Rule id fetched from backup plan. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String ruleId; /** - * Output only. Output Only. google.rpc.Status object to store the last backup error. + * Output only. google.rpc.Status object to store the last backup error. * @return value or {@code null} for none */ public Status getLastBackupError() { @@ -67,7 +67,7 @@ public Status getLastBackupError() { } /** - * Output only. Output Only. google.rpc.Status object to store the last backup error. + * Output only. google.rpc.Status object to store the last backup error. * @param lastBackupError lastBackupError or {@code null} for none */ public RuleConfigInfo setLastBackupError(Status lastBackupError) { @@ -110,7 +110,7 @@ public RuleConfigInfo setLastSuccessfulBackupConsistencyTime(String lastSuccessf } /** - * Output only. Output Only. Backup Rule id fetched from backup plan. + * Output only. Backup Rule id fetched from backup plan. * @return value or {@code null} for none */ public java.lang.String getRuleId() { @@ -118,7 +118,7 @@ public java.lang.String getRuleId() { } /** - * Output only. Output Only. Backup Rule id fetched from backup plan. + * Output only. Backup Rule id fetched from backup plan. * @param ruleId ruleId or {@code null} for none */ public RuleConfigInfo setRuleId(java.lang.String ruleId) { diff --git a/clients/google-api-services-backupdr/v1/2.0.0/pom.xml b/clients/google-api-services-backupdr/v1/2.0.0/pom.xml index b1a15e3687d..d09a28fac11 100644 --- a/clients/google-api-services-backupdr/v1/2.0.0/pom.xml +++ b/clients/google-api-services-backupdr/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-backupdr - v1-rev20241106-2.0.0 - Backup and DR Service API v1-rev20241106-2.0.0 + v1-rev20241204-2.0.0 + Backup and DR Service API v1-rev20241204-2.0.0 jar 2011 @@ -90,9 +90,9 @@ Backup and DR Service API ${project.version} http://docs.oracle.com/javase/7/docs/api - https://googleapis.dev/java/google-http-client/1.45.2/ - https://googleapis.dev/java/google-oauth-client/1.36.0/ - https://googleapis.dev/java/google-api-client/2.7.0/ + https://googleapis.dev/java/google-http-client/1.45.3/ + https://googleapis.dev/java/google-oauth-client/1.37.0/ + https://googleapis.dev/java/google-api-client/2.7.1/ @@ -125,7 +125,7 @@ com.google.api-client google-api-client - 2.7.0 + 2.7.1 diff --git a/clients/google-api-services-backupdr/v1/README.md b/clients/google-api-services-backupdr/v1/README.md index 86ca8ba31b7..fbece3f4633 100644 --- a/clients/google-api-services-backupdr/v1/README.md +++ b/clients/google-api-services-backupdr/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-backupdr - v1-rev20241106-2.0.0 + v1-rev20241204-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-backupdr:v1-rev20241106-2.0.0' + implementation 'com.google.apis:google-api-services-backupdr:v1-rev20241204-2.0.0' } ```