From d75cd726eb9c6654b803d9aa6eda623bc0121234 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Sat, 9 Sep 2023 22:12:13 -0400 Subject: [PATCH] chore: regenerate memcache client (#18051) Generated in GitHub action: https://togithub.com/googleapis/googleapis/google-api-java-client-services/actions/workflows/codegen.yaml --- .../v1/2.0.0/README.md | 4 +- .../v1/CloudMemorystoreforMemcached.java | 145 ++++++++++++++++++ ...CloudMemcacheV1UpgradeInstanceRequest.java | 67 ++++++++ .../api/services/memcache/v1/model/Node.java | 48 ++++++ .../v1/2.0.0/pom.xml | 4 +- .../v1beta2/2.0.0/README.md | 4 +- .../v1beta2/CloudMemorystoreforMemcached.java | 145 ++++++++++++++++++ ...MemcacheV1beta2UpgradeInstanceRequest.java | 67 ++++++++ .../services/memcache/v1beta2/model/Node.java | 48 ++++++ .../v1beta2/2.0.0/pom.xml | 4 +- 10 files changed, 528 insertions(+), 8 deletions(-) create mode 100644 clients/google-api-services-memcache/v1/2.0.0/com/google/api/services/memcache/v1/model/GoogleCloudMemcacheV1UpgradeInstanceRequest.java create mode 100644 clients/google-api-services-memcache/v1beta2/2.0.0/com/google/api/services/memcache/v1beta2/model/GoogleCloudMemcacheV1beta2UpgradeInstanceRequest.java diff --git a/clients/google-api-services-memcache/v1/2.0.0/README.md b/clients/google-api-services-memcache/v1/2.0.0/README.md index 44d914e472a..b3b135571dd 100644 --- a/clients/google-api-services-memcache/v1/2.0.0/README.md +++ b/clients/google-api-services-memcache/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-memcache - v1-rev20230803-2.0.0 + v1-rev20230907-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-memcache:v1-rev20230803-2.0.0' + implementation 'com.google.apis:google-api-services-memcache:v1-rev20230907-2.0.0' } ``` diff --git a/clients/google-api-services-memcache/v1/2.0.0/com/google/api/services/memcache/v1/CloudMemorystoreforMemcached.java b/clients/google-api-services-memcache/v1/2.0.0/com/google/api/services/memcache/v1/CloudMemorystoreforMemcached.java index 527f6376400..8e05c7cf7f5 100644 --- a/clients/google-api-services-memcache/v1/2.0.0/com/google/api/services/memcache/v1/CloudMemorystoreforMemcached.java +++ b/clients/google-api-services-memcache/v1/2.0.0/com/google/api/services/memcache/v1/CloudMemorystoreforMemcached.java @@ -1838,6 +1838,151 @@ public UpdateParameters set(String parameterName, Object value) { return (UpdateParameters) super.set(parameterName, value); } } + /** + * Upgrades the Memcache instance to a newer memcached engine version specified in the request. + * + * Create a request for the method "instances.upgrade". + * + * This request holds the parameters needed by the memcache server. After setting any optional + * parameters, call the {@link Upgrade#execute()} method to invoke the remote operation. + * + * @param name Required. Memcache instance resource name using the form: + * `projects/{project}/locations/{location}/instances/{instance}` where `location_id` refers + * to a GCP region. + * @param content the {@link com.google.api.services.memcache.v1.model.GoogleCloudMemcacheV1UpgradeInstanceRequest} + * @return the request + */ + public Upgrade upgrade(java.lang.String name, com.google.api.services.memcache.v1.model.GoogleCloudMemcacheV1UpgradeInstanceRequest content) throws java.io.IOException { + Upgrade result = new Upgrade(name, content); + initialize(result); + return result; + } + + public class Upgrade extends CloudMemorystoreforMemcachedRequest { + + private static final String REST_PATH = "v1/{+name}:upgrade"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/instances/[^/]+$"); + + /** + * Upgrades the Memcache instance to a newer memcached engine version specified in the request. + * + * Create a request for the method "instances.upgrade". + * + * This request holds the parameters needed by the the memcache server. After setting any + * optional parameters, call the {@link Upgrade#execute()} method to invoke the remote operation. + *

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

+ * + * @param name Required. Memcache instance resource name using the form: + * `projects/{project}/locations/{location}/instances/{instance}` where `location_id` refers + * to a GCP region. + * @param content the {@link com.google.api.services.memcache.v1.model.GoogleCloudMemcacheV1UpgradeInstanceRequest} + * @since 1.13 + */ + protected Upgrade(java.lang.String name, com.google.api.services.memcache.v1.model.GoogleCloudMemcacheV1UpgradeInstanceRequest content) { + super(CloudMemorystoreforMemcached.this, "POST", REST_PATH, content, com.google.api.services.memcache.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/[^/]+/instances/[^/]+$"); + } + } + + @Override + public Upgrade set$Xgafv(java.lang.String $Xgafv) { + return (Upgrade) super.set$Xgafv($Xgafv); + } + + @Override + public Upgrade setAccessToken(java.lang.String accessToken) { + return (Upgrade) super.setAccessToken(accessToken); + } + + @Override + public Upgrade setAlt(java.lang.String alt) { + return (Upgrade) super.setAlt(alt); + } + + @Override + public Upgrade setCallback(java.lang.String callback) { + return (Upgrade) super.setCallback(callback); + } + + @Override + public Upgrade setFields(java.lang.String fields) { + return (Upgrade) super.setFields(fields); + } + + @Override + public Upgrade setKey(java.lang.String key) { + return (Upgrade) super.setKey(key); + } + + @Override + public Upgrade setOauthToken(java.lang.String oauthToken) { + return (Upgrade) super.setOauthToken(oauthToken); + } + + @Override + public Upgrade setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Upgrade) super.setPrettyPrint(prettyPrint); + } + + @Override + public Upgrade setQuotaUser(java.lang.String quotaUser) { + return (Upgrade) super.setQuotaUser(quotaUser); + } + + @Override + public Upgrade setUploadType(java.lang.String uploadType) { + return (Upgrade) super.setUploadType(uploadType); + } + + @Override + public Upgrade setUploadProtocol(java.lang.String uploadProtocol) { + return (Upgrade) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Memcache instance resource name using the form: + * `projects/{project}/locations/{location}/instances/{instance}` where `location_id` + * refers to a GCP region. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. Memcache instance resource name using the form: + `projects/{project}/locations/{location}/instances/{instance}` where `location_id` refers to a GCP + region. + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. Memcache instance resource name using the form: + * `projects/{project}/locations/{location}/instances/{instance}` where `location_id` + * refers to a GCP region. + */ + public Upgrade 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/[^/]+/instances/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Upgrade set(String parameterName, Object value) { + return (Upgrade) super.set(parameterName, value); + } + } } /** diff --git a/clients/google-api-services-memcache/v1/2.0.0/com/google/api/services/memcache/v1/model/GoogleCloudMemcacheV1UpgradeInstanceRequest.java b/clients/google-api-services-memcache/v1/2.0.0/com/google/api/services/memcache/v1/model/GoogleCloudMemcacheV1UpgradeInstanceRequest.java new file mode 100644 index 00000000000..c62bd4f0d68 --- /dev/null +++ b/clients/google-api-services-memcache/v1/2.0.0/com/google/api/services/memcache/v1/model/GoogleCloudMemcacheV1UpgradeInstanceRequest.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.memcache.v1.model; + +/** + * Request for UpgradeInstance. + * + *

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 Cloud Memorystore for Memcached 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 GoogleCloudMemcacheV1UpgradeInstanceRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. Specifies the target version of memcached engine to upgrade to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String memcacheVersion; + + /** + * Required. Specifies the target version of memcached engine to upgrade to. + * @return value or {@code null} for none + */ + public java.lang.String getMemcacheVersion() { + return memcacheVersion; + } + + /** + * Required. Specifies the target version of memcached engine to upgrade to. + * @param memcacheVersion memcacheVersion or {@code null} for none + */ + public GoogleCloudMemcacheV1UpgradeInstanceRequest setMemcacheVersion(java.lang.String memcacheVersion) { + this.memcacheVersion = memcacheVersion; + return this; + } + + @Override + public GoogleCloudMemcacheV1UpgradeInstanceRequest set(String fieldName, Object value) { + return (GoogleCloudMemcacheV1UpgradeInstanceRequest) super.set(fieldName, value); + } + + @Override + public GoogleCloudMemcacheV1UpgradeInstanceRequest clone() { + return (GoogleCloudMemcacheV1UpgradeInstanceRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-memcache/v1/2.0.0/com/google/api/services/memcache/v1/model/Node.java b/clients/google-api-services-memcache/v1/2.0.0/com/google/api/services/memcache/v1/model/Node.java index 4561da1bd9a..27fdaae368b 100644 --- a/clients/google-api-services-memcache/v1/2.0.0/com/google/api/services/memcache/v1/model/Node.java +++ b/clients/google-api-services-memcache/v1/2.0.0/com/google/api/services/memcache/v1/model/Node.java @@ -38,6 +38,20 @@ public final class Node extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String host; + /** + * Output only. The full version of memcached server running on this node. e.g. - memcached-1.5.16 + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String memcacheFullVersion; + + /** + * Output only. Major version of memcached server running on this node, e.g. MEMCACHE_1_5 + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String memcacheVersion; + /** * Output only. Identifier of the Memcached node. The node id does not include project or location * like the Memcached instance name. @@ -93,6 +107,40 @@ public Node setHost(java.lang.String host) { return this; } + /** + * Output only. The full version of memcached server running on this node. e.g. - memcached-1.5.16 + * @return value or {@code null} for none + */ + public java.lang.String getMemcacheFullVersion() { + return memcacheFullVersion; + } + + /** + * Output only. The full version of memcached server running on this node. e.g. - memcached-1.5.16 + * @param memcacheFullVersion memcacheFullVersion or {@code null} for none + */ + public Node setMemcacheFullVersion(java.lang.String memcacheFullVersion) { + this.memcacheFullVersion = memcacheFullVersion; + return this; + } + + /** + * Output only. Major version of memcached server running on this node, e.g. MEMCACHE_1_5 + * @return value or {@code null} for none + */ + public java.lang.String getMemcacheVersion() { + return memcacheVersion; + } + + /** + * Output only. Major version of memcached server running on this node, e.g. MEMCACHE_1_5 + * @param memcacheVersion memcacheVersion or {@code null} for none + */ + public Node setMemcacheVersion(java.lang.String memcacheVersion) { + this.memcacheVersion = memcacheVersion; + return this; + } + /** * Output only. Identifier of the Memcached node. The node id does not include project or location * like the Memcached instance name. diff --git a/clients/google-api-services-memcache/v1/2.0.0/pom.xml b/clients/google-api-services-memcache/v1/2.0.0/pom.xml index 96eb866a995..df1090165cc 100644 --- a/clients/google-api-services-memcache/v1/2.0.0/pom.xml +++ b/clients/google-api-services-memcache/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-memcache - v1-rev20230803-2.0.0 - Cloud Memorystore for Memcached API v1-rev20230803-2.0.0 + v1-rev20230907-2.0.0 + Cloud Memorystore for Memcached API v1-rev20230907-2.0.0 jar 2011 diff --git a/clients/google-api-services-memcache/v1beta2/2.0.0/README.md b/clients/google-api-services-memcache/v1beta2/2.0.0/README.md index 4d124947824..a4c16037ff7 100644 --- a/clients/google-api-services-memcache/v1beta2/2.0.0/README.md +++ b/clients/google-api-services-memcache/v1beta2/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-memcache - v1beta2-rev20230803-2.0.0 + v1beta2-rev20230907-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-memcache:v1beta2-rev20230803-2.0.0' + implementation 'com.google.apis:google-api-services-memcache:v1beta2-rev20230907-2.0.0' } ``` diff --git a/clients/google-api-services-memcache/v1beta2/2.0.0/com/google/api/services/memcache/v1beta2/CloudMemorystoreforMemcached.java b/clients/google-api-services-memcache/v1beta2/2.0.0/com/google/api/services/memcache/v1beta2/CloudMemorystoreforMemcached.java index 25156245d16..c70f12c4f83 100644 --- a/clients/google-api-services-memcache/v1beta2/2.0.0/com/google/api/services/memcache/v1beta2/CloudMemorystoreforMemcached.java +++ b/clients/google-api-services-memcache/v1beta2/2.0.0/com/google/api/services/memcache/v1beta2/CloudMemorystoreforMemcached.java @@ -1975,6 +1975,151 @@ public UpdateParameters set(String parameterName, Object value) { return (UpdateParameters) super.set(parameterName, value); } } + /** + * Upgrades the Memcache instance to a newer memcached engine version specified in the request. + * + * Create a request for the method "instances.upgrade". + * + * This request holds the parameters needed by the memcache server. After setting any optional + * parameters, call the {@link Upgrade#execute()} method to invoke the remote operation. + * + * @param name Required. Memcache instance resource name using the form: + * `projects/{project}/locations/{location}/instances/{instance}` where `location_id` refers + * to a GCP region. + * @param content the {@link com.google.api.services.memcache.v1beta2.model.GoogleCloudMemcacheV1beta2UpgradeInstanceRequest} + * @return the request + */ + public Upgrade upgrade(java.lang.String name, com.google.api.services.memcache.v1beta2.model.GoogleCloudMemcacheV1beta2UpgradeInstanceRequest content) throws java.io.IOException { + Upgrade result = new Upgrade(name, content); + initialize(result); + return result; + } + + public class Upgrade extends CloudMemorystoreforMemcachedRequest { + + private static final String REST_PATH = "v1beta2/{+name}:upgrade"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/instances/[^/]+$"); + + /** + * Upgrades the Memcache instance to a newer memcached engine version specified in the request. + * + * Create a request for the method "instances.upgrade". + * + * This request holds the parameters needed by the the memcache server. After setting any + * optional parameters, call the {@link Upgrade#execute()} method to invoke the remote operation. + *

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

+ * + * @param name Required. Memcache instance resource name using the form: + * `projects/{project}/locations/{location}/instances/{instance}` where `location_id` refers + * to a GCP region. + * @param content the {@link com.google.api.services.memcache.v1beta2.model.GoogleCloudMemcacheV1beta2UpgradeInstanceRequest} + * @since 1.13 + */ + protected Upgrade(java.lang.String name, com.google.api.services.memcache.v1beta2.model.GoogleCloudMemcacheV1beta2UpgradeInstanceRequest content) { + super(CloudMemorystoreforMemcached.this, "POST", REST_PATH, content, com.google.api.services.memcache.v1beta2.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/[^/]+/instances/[^/]+$"); + } + } + + @Override + public Upgrade set$Xgafv(java.lang.String $Xgafv) { + return (Upgrade) super.set$Xgafv($Xgafv); + } + + @Override + public Upgrade setAccessToken(java.lang.String accessToken) { + return (Upgrade) super.setAccessToken(accessToken); + } + + @Override + public Upgrade setAlt(java.lang.String alt) { + return (Upgrade) super.setAlt(alt); + } + + @Override + public Upgrade setCallback(java.lang.String callback) { + return (Upgrade) super.setCallback(callback); + } + + @Override + public Upgrade setFields(java.lang.String fields) { + return (Upgrade) super.setFields(fields); + } + + @Override + public Upgrade setKey(java.lang.String key) { + return (Upgrade) super.setKey(key); + } + + @Override + public Upgrade setOauthToken(java.lang.String oauthToken) { + return (Upgrade) super.setOauthToken(oauthToken); + } + + @Override + public Upgrade setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Upgrade) super.setPrettyPrint(prettyPrint); + } + + @Override + public Upgrade setQuotaUser(java.lang.String quotaUser) { + return (Upgrade) super.setQuotaUser(quotaUser); + } + + @Override + public Upgrade setUploadType(java.lang.String uploadType) { + return (Upgrade) super.setUploadType(uploadType); + } + + @Override + public Upgrade setUploadProtocol(java.lang.String uploadProtocol) { + return (Upgrade) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Memcache instance resource name using the form: + * `projects/{project}/locations/{location}/instances/{instance}` where `location_id` + * refers to a GCP region. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. Memcache instance resource name using the form: + `projects/{project}/locations/{location}/instances/{instance}` where `location_id` refers to a GCP + region. + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. Memcache instance resource name using the form: + * `projects/{project}/locations/{location}/instances/{instance}` where `location_id` + * refers to a GCP region. + */ + public Upgrade 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/[^/]+/instances/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Upgrade set(String parameterName, Object value) { + return (Upgrade) super.set(parameterName, value); + } + } } /** diff --git a/clients/google-api-services-memcache/v1beta2/2.0.0/com/google/api/services/memcache/v1beta2/model/GoogleCloudMemcacheV1beta2UpgradeInstanceRequest.java b/clients/google-api-services-memcache/v1beta2/2.0.0/com/google/api/services/memcache/v1beta2/model/GoogleCloudMemcacheV1beta2UpgradeInstanceRequest.java new file mode 100644 index 00000000000..d217cdec527 --- /dev/null +++ b/clients/google-api-services-memcache/v1beta2/2.0.0/com/google/api/services/memcache/v1beta2/model/GoogleCloudMemcacheV1beta2UpgradeInstanceRequest.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.memcache.v1beta2.model; + +/** + * Request for UpgradeInstance. + * + *

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 Cloud Memorystore for Memcached 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 GoogleCloudMemcacheV1beta2UpgradeInstanceRequest extends com.google.api.client.json.GenericJson { + + /** + * Required. Specifies the target version of memcached engine to upgrade to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String memcacheVersion; + + /** + * Required. Specifies the target version of memcached engine to upgrade to. + * @return value or {@code null} for none + */ + public java.lang.String getMemcacheVersion() { + return memcacheVersion; + } + + /** + * Required. Specifies the target version of memcached engine to upgrade to. + * @param memcacheVersion memcacheVersion or {@code null} for none + */ + public GoogleCloudMemcacheV1beta2UpgradeInstanceRequest setMemcacheVersion(java.lang.String memcacheVersion) { + this.memcacheVersion = memcacheVersion; + return this; + } + + @Override + public GoogleCloudMemcacheV1beta2UpgradeInstanceRequest set(String fieldName, Object value) { + return (GoogleCloudMemcacheV1beta2UpgradeInstanceRequest) super.set(fieldName, value); + } + + @Override + public GoogleCloudMemcacheV1beta2UpgradeInstanceRequest clone() { + return (GoogleCloudMemcacheV1beta2UpgradeInstanceRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-memcache/v1beta2/2.0.0/com/google/api/services/memcache/v1beta2/model/Node.java b/clients/google-api-services-memcache/v1beta2/2.0.0/com/google/api/services/memcache/v1beta2/model/Node.java index fef4215198d..6226776ace3 100644 --- a/clients/google-api-services-memcache/v1beta2/2.0.0/com/google/api/services/memcache/v1beta2/model/Node.java +++ b/clients/google-api-services-memcache/v1beta2/2.0.0/com/google/api/services/memcache/v1beta2/model/Node.java @@ -38,6 +38,20 @@ public final class Node extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String host; + /** + * Output only. The full version of memcached server running on this node. e.g. - memcached-1.5.16 + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String memcacheFullVersion; + + /** + * Output only. Major version of memcached server running on this node, e.g. MEMCACHE_1_5 + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String memcacheVersion; + /** * Output only. Identifier of the Memcached node. The node id does not include project or location * like the Memcached instance name. @@ -100,6 +114,40 @@ public Node setHost(java.lang.String host) { return this; } + /** + * Output only. The full version of memcached server running on this node. e.g. - memcached-1.5.16 + * @return value or {@code null} for none + */ + public java.lang.String getMemcacheFullVersion() { + return memcacheFullVersion; + } + + /** + * Output only. The full version of memcached server running on this node. e.g. - memcached-1.5.16 + * @param memcacheFullVersion memcacheFullVersion or {@code null} for none + */ + public Node setMemcacheFullVersion(java.lang.String memcacheFullVersion) { + this.memcacheFullVersion = memcacheFullVersion; + return this; + } + + /** + * Output only. Major version of memcached server running on this node, e.g. MEMCACHE_1_5 + * @return value or {@code null} for none + */ + public java.lang.String getMemcacheVersion() { + return memcacheVersion; + } + + /** + * Output only. Major version of memcached server running on this node, e.g. MEMCACHE_1_5 + * @param memcacheVersion memcacheVersion or {@code null} for none + */ + public Node setMemcacheVersion(java.lang.String memcacheVersion) { + this.memcacheVersion = memcacheVersion; + return this; + } + /** * Output only. Identifier of the Memcached node. The node id does not include project or location * like the Memcached instance name. diff --git a/clients/google-api-services-memcache/v1beta2/2.0.0/pom.xml b/clients/google-api-services-memcache/v1beta2/2.0.0/pom.xml index 642963d719a..b23af6775f0 100644 --- a/clients/google-api-services-memcache/v1beta2/2.0.0/pom.xml +++ b/clients/google-api-services-memcache/v1beta2/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-memcache - v1beta2-rev20230803-2.0.0 - Cloud Memorystore for Memcached API v1beta2-rev20230803-2.0.0 + v1beta2-rev20230907-2.0.0 + Cloud Memorystore for Memcached API v1beta2-rev20230907-2.0.0 jar 2011