diff --git a/generation_config.yaml b/generation_config.yaml
index 38c8a12c4264..384924d16e84 100644
--- a/generation_config.yaml
+++ b/generation_config.yaml
@@ -1,6 +1,6 @@
gapic_generator_version: 2.64.2
-googleapis_commitish: b60f5a5783d5ec0e8a8d254f73ad00316b9b646f
-libraries_bom_version: 26.72.0
+googleapis_commitish: 1496716325adf01af70ffca9161dd62d7bebbd50
+libraries_bom_version: 26.73.0
# the libraries are ordered with respect to library name, which is
# java-{library.library_name} or java-{library.api-shortname} when
diff --git a/java-accessapproval/README.md b/java-accessapproval/README.md
index f7226320f927..9db0fa24a520 100644
--- a/java-accessapproval/README.md
+++ b/java-accessapproval/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
+ * Represents a mount configuration for Lustre file system. + *+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.LustreMount} + */ +public final class LustreMount extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.aiplatform.v1beta1.LustreMount) + LustreMountOrBuilder { + private static final long serialVersionUID = 0L; + + // Use LustreMount.newBuilder() to construct. + private LustreMount(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private LustreMount() { + instanceIp_ = ""; + volumeHandle_ = ""; + filesystem_ = ""; + mountPoint_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new LustreMount(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.aiplatform.v1beta1.MachineResourcesProto + .internal_static_google_cloud_aiplatform_v1beta1_LustreMount_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.aiplatform.v1beta1.MachineResourcesProto + .internal_static_google_cloud_aiplatform_v1beta1_LustreMount_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.aiplatform.v1beta1.LustreMount.class, + com.google.cloud.aiplatform.v1beta1.LustreMount.Builder.class); + } + + public static final int INSTANCE_IP_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object instanceIp_ = ""; + + /** + * + * + *
+ * Required. IP address of the Lustre instance. + *+ * + *
string instance_ip = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The instanceIp.
+ */
+ @java.lang.Override
+ public java.lang.String getInstanceIp() {
+ java.lang.Object ref = instanceIp_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ instanceIp_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Required. IP address of the Lustre instance. + *+ * + *
string instance_ip = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for instanceIp.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getInstanceIpBytes() {
+ java.lang.Object ref = instanceIp_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ instanceIp_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int VOLUME_HANDLE_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object volumeHandle_ = "";
+
+ /**
+ *
+ *
+ * + * Required. The unique identifier of the Lustre volume. + *+ * + *
string volume_handle = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The volumeHandle.
+ */
+ @java.lang.Override
+ public java.lang.String getVolumeHandle() {
+ java.lang.Object ref = volumeHandle_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ volumeHandle_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Required. The unique identifier of the Lustre volume. + *+ * + *
string volume_handle = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for volumeHandle.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getVolumeHandleBytes() {
+ java.lang.Object ref = volumeHandle_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ volumeHandle_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int FILESYSTEM_FIELD_NUMBER = 3;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object filesystem_ = "";
+
+ /**
+ *
+ *
+ * + * Required. The name of the Lustre filesystem. + *+ * + *
string filesystem = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The filesystem.
+ */
+ @java.lang.Override
+ public java.lang.String getFilesystem() {
+ java.lang.Object ref = filesystem_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ filesystem_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Required. The name of the Lustre filesystem. + *+ * + *
string filesystem = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for filesystem.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getFilesystemBytes() {
+ java.lang.Object ref = filesystem_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ filesystem_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int MOUNT_POINT_FIELD_NUMBER = 4;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object mountPoint_ = "";
+
+ /**
+ *
+ *
+ * + * Required. Destination mount path. The Lustre file system will be mounted + * for the user under /mnt/lustre/<mount_point> + *+ * + *
string mount_point = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The mountPoint.
+ */
+ @java.lang.Override
+ public java.lang.String getMountPoint() {
+ java.lang.Object ref = mountPoint_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ mountPoint_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Required. Destination mount path. The Lustre file system will be mounted + * for the user under /mnt/lustre/<mount_point> + *+ * + *
string mount_point = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for mountPoint.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getMountPointBytes() {
+ java.lang.Object ref = mountPoint_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ mountPoint_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceIp_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceIp_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(volumeHandle_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, volumeHandle_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filesystem_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, filesystem_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mountPoint_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, mountPoint_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(instanceIp_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instanceIp_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(volumeHandle_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, volumeHandle_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filesystem_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filesystem_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mountPoint_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, mountPoint_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.aiplatform.v1beta1.LustreMount)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.aiplatform.v1beta1.LustreMount other =
+ (com.google.cloud.aiplatform.v1beta1.LustreMount) obj;
+
+ if (!getInstanceIp().equals(other.getInstanceIp())) return false;
+ if (!getVolumeHandle().equals(other.getVolumeHandle())) return false;
+ if (!getFilesystem().equals(other.getFilesystem())) return false;
+ if (!getMountPoint().equals(other.getMountPoint())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + INSTANCE_IP_FIELD_NUMBER;
+ hash = (53 * hash) + getInstanceIp().hashCode();
+ hash = (37 * hash) + VOLUME_HANDLE_FIELD_NUMBER;
+ hash = (53 * hash) + getVolumeHandle().hashCode();
+ hash = (37 * hash) + FILESYSTEM_FIELD_NUMBER;
+ hash = (53 * hash) + getFilesystem().hashCode();
+ hash = (37 * hash) + MOUNT_POINT_FIELD_NUMBER;
+ hash = (53 * hash) + getMountPoint().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.LustreMount parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.LustreMount parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.LustreMount parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.LustreMount parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.LustreMount parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.LustreMount parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.LustreMount parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.LustreMount parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.LustreMount parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.LustreMount parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.LustreMount parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.LustreMount parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(com.google.cloud.aiplatform.v1beta1.LustreMount prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ * + * Represents a mount configuration for Lustre file system. + *+ * + * Protobuf type {@code google.cloud.aiplatform.v1beta1.LustreMount} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Required. IP address of the Lustre instance. + *+ * + *
string instance_ip = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The instanceIp.
+ */
+ public java.lang.String getInstanceIp() {
+ java.lang.Object ref = instanceIp_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ instanceIp_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Required. IP address of the Lustre instance. + *+ * + *
string instance_ip = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for instanceIp.
+ */
+ public com.google.protobuf.ByteString getInstanceIpBytes() {
+ java.lang.Object ref = instanceIp_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ instanceIp_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Required. IP address of the Lustre instance. + *+ * + *
string instance_ip = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The instanceIp to set.
+ * @return This builder for chaining.
+ */
+ public Builder setInstanceIp(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ instanceIp_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Required. IP address of the Lustre instance. + *+ * + *
string instance_ip = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearInstanceIp() {
+ instanceIp_ = getDefaultInstance().getInstanceIp();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Required. IP address of the Lustre instance. + *+ * + *
string instance_ip = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for instanceIp to set.
+ * @return This builder for chaining.
+ */
+ public Builder setInstanceIpBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ instanceIp_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object volumeHandle_ = "";
+
+ /**
+ *
+ *
+ * + * Required. The unique identifier of the Lustre volume. + *+ * + *
string volume_handle = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The volumeHandle.
+ */
+ public java.lang.String getVolumeHandle() {
+ java.lang.Object ref = volumeHandle_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ volumeHandle_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Required. The unique identifier of the Lustre volume. + *+ * + *
string volume_handle = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for volumeHandle.
+ */
+ public com.google.protobuf.ByteString getVolumeHandleBytes() {
+ java.lang.Object ref = volumeHandle_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ volumeHandle_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Required. The unique identifier of the Lustre volume. + *+ * + *
string volume_handle = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The volumeHandle to set.
+ * @return This builder for chaining.
+ */
+ public Builder setVolumeHandle(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ volumeHandle_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Required. The unique identifier of the Lustre volume. + *+ * + *
string volume_handle = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearVolumeHandle() {
+ volumeHandle_ = getDefaultInstance().getVolumeHandle();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Required. The unique identifier of the Lustre volume. + *+ * + *
string volume_handle = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for volumeHandle to set.
+ * @return This builder for chaining.
+ */
+ public Builder setVolumeHandleBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ volumeHandle_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object filesystem_ = "";
+
+ /**
+ *
+ *
+ * + * Required. The name of the Lustre filesystem. + *+ * + *
string filesystem = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The filesystem.
+ */
+ public java.lang.String getFilesystem() {
+ java.lang.Object ref = filesystem_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ filesystem_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Required. The name of the Lustre filesystem. + *+ * + *
string filesystem = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for filesystem.
+ */
+ public com.google.protobuf.ByteString getFilesystemBytes() {
+ java.lang.Object ref = filesystem_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ filesystem_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Required. The name of the Lustre filesystem. + *+ * + *
string filesystem = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The filesystem to set.
+ * @return This builder for chaining.
+ */
+ public Builder setFilesystem(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ filesystem_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Required. The name of the Lustre filesystem. + *+ * + *
string filesystem = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearFilesystem() {
+ filesystem_ = getDefaultInstance().getFilesystem();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Required. The name of the Lustre filesystem. + *+ * + *
string filesystem = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for filesystem to set.
+ * @return This builder for chaining.
+ */
+ public Builder setFilesystemBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ filesystem_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object mountPoint_ = "";
+
+ /**
+ *
+ *
+ * + * Required. Destination mount path. The Lustre file system will be mounted + * for the user under /mnt/lustre/<mount_point> + *+ * + *
string mount_point = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The mountPoint.
+ */
+ public java.lang.String getMountPoint() {
+ java.lang.Object ref = mountPoint_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ mountPoint_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Required. Destination mount path. The Lustre file system will be mounted + * for the user under /mnt/lustre/<mount_point> + *+ * + *
string mount_point = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for mountPoint.
+ */
+ public com.google.protobuf.ByteString getMountPointBytes() {
+ java.lang.Object ref = mountPoint_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ mountPoint_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Required. Destination mount path. The Lustre file system will be mounted + * for the user under /mnt/lustre/<mount_point> + *+ * + *
string mount_point = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The mountPoint to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMountPoint(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ mountPoint_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Required. Destination mount path. The Lustre file system will be mounted + * for the user under /mnt/lustre/<mount_point> + *+ * + *
string mount_point = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearMountPoint() {
+ mountPoint_ = getDefaultInstance().getMountPoint();
+ bitField0_ = (bitField0_ & ~0x00000008);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Required. Destination mount path. The Lustre file system will be mounted + * for the user under /mnt/lustre/<mount_point> + *+ * + *
string mount_point = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for mountPoint to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMountPointBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ mountPoint_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.aiplatform.v1beta1.LustreMount)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.aiplatform.v1beta1.LustreMount)
+ private static final com.google.cloud.aiplatform.v1beta1.LustreMount DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.aiplatform.v1beta1.LustreMount();
+ }
+
+ public static com.google.cloud.aiplatform.v1beta1.LustreMount getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Required. IP address of the Lustre instance. + *+ * + *
string instance_ip = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The instanceIp.
+ */
+ java.lang.String getInstanceIp();
+
+ /**
+ *
+ *
+ * + * Required. IP address of the Lustre instance. + *+ * + *
string instance_ip = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for instanceIp.
+ */
+ com.google.protobuf.ByteString getInstanceIpBytes();
+
+ /**
+ *
+ *
+ * + * Required. The unique identifier of the Lustre volume. + *+ * + *
string volume_handle = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The volumeHandle.
+ */
+ java.lang.String getVolumeHandle();
+
+ /**
+ *
+ *
+ * + * Required. The unique identifier of the Lustre volume. + *+ * + *
string volume_handle = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for volumeHandle.
+ */
+ com.google.protobuf.ByteString getVolumeHandleBytes();
+
+ /**
+ *
+ *
+ * + * Required. The name of the Lustre filesystem. + *+ * + *
string filesystem = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The filesystem.
+ */
+ java.lang.String getFilesystem();
+
+ /**
+ *
+ *
+ * + * Required. The name of the Lustre filesystem. + *+ * + *
string filesystem = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for filesystem.
+ */
+ com.google.protobuf.ByteString getFilesystemBytes();
+
+ /**
+ *
+ *
+ * + * Required. Destination mount path. The Lustre file system will be mounted + * for the user under /mnt/lustre/<mount_point> + *+ * + *
string mount_point = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The mountPoint.
+ */
+ java.lang.String getMountPoint();
+
+ /**
+ *
+ *
+ * + * Required. Destination mount path. The Lustre file system will be mounted + * for the user under /mnt/lustre/<mount_point> + *+ * + *
string mount_point = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for mountPoint.
+ */
+ com.google.protobuf.ByteString getMountPointBytes();
+}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MachineResourcesProto.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MachineResourcesProto.java
index 406ad3f25531..3f59f81327c7 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MachineResourcesProto.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/MachineResourcesProto.java
@@ -68,6 +68,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_aiplatform_v1beta1_NfsMount_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_aiplatform_v1beta1_NfsMount_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_aiplatform_v1beta1_LustreMount_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_aiplatform_v1beta1_LustreMount_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_aiplatform_v1beta1_AutoscalingMetricSpec_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -158,7 +162,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\010NfsMount\022\023\n"
+ "\006server\030\001 \001(\tB\003\340A\002\022\021\n"
+ "\004path\030\002 \001(\tB\003\340A\002\022\030\n"
- + "\013mount_point\030\003 \001(\tB\003\340A\002\"\376\001\n"
+ + "\013mount_point\030\003 \001(\tB\003\340A\002\"v\n"
+ + "\013LustreMount\022\030\n"
+ + "\013instance_ip\030\001 \001(\tB\003\340A\002\022\032\n\r"
+ + "volume_handle\030\002 \001(\tB\003\340A\002\022\027\n\n"
+ + "filesystem\030\003 \001(\tB\003\340A\002\022\030\n"
+ + "\013mount_point\030\004 \001(\tB\003\340A\002\"\376\001\n"
+ "\025AutoscalingMetricSpec\022\030\n"
+ "\013metric_name\030\001 \001(\tB\003\340A\002\022\016\n"
+ "\006target\030\002 \001(\005\022{\n"
@@ -284,8 +293,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"Server", "Path", "MountPoint",
});
- internal_static_google_cloud_aiplatform_v1beta1_AutoscalingMetricSpec_descriptor =
+ internal_static_google_cloud_aiplatform_v1beta1_LustreMount_descriptor =
getDescriptor().getMessageTypes().get(9);
+ internal_static_google_cloud_aiplatform_v1beta1_LustreMount_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_aiplatform_v1beta1_LustreMount_descriptor,
+ new java.lang.String[] {
+ "InstanceIp", "VolumeHandle", "Filesystem", "MountPoint",
+ });
+ internal_static_google_cloud_aiplatform_v1beta1_AutoscalingMetricSpec_descriptor =
+ getDescriptor().getMessageTypes().get(10);
internal_static_google_cloud_aiplatform_v1beta1_AutoscalingMetricSpec_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_AutoscalingMetricSpec_descriptor,
@@ -303,7 +320,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Key", "Value",
});
internal_static_google_cloud_aiplatform_v1beta1_ShieldedVmConfig_descriptor =
- getDescriptor().getMessageTypes().get(10);
+ getDescriptor().getMessageTypes().get(11);
internal_static_google_cloud_aiplatform_v1beta1_ShieldedVmConfig_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_ShieldedVmConfig_descriptor,
@@ -311,7 +328,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"EnableSecureBoot",
});
internal_static_google_cloud_aiplatform_v1beta1_FlexStart_descriptor =
- getDescriptor().getMessageTypes().get(11);
+ getDescriptor().getMessageTypes().get(12);
internal_static_google_cloud_aiplatform_v1beta1_FlexStart_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_aiplatform_v1beta1_FlexStart_descriptor,
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Scheduling.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Scheduling.java
index fb25bab4fc0d..54c2d460fcbd 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Scheduling.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/Scheduling.java
@@ -306,7 +306,7 @@ private Strategy(int value) {
*
*
*
- * The maximum job running time. The default is 7 days.
+ * Optional. The maximum job running time. The default is 7 days.
*
*
* .google.protobuf.Duration timeout = 1;
@@ -322,7 +322,7 @@ public boolean hasTimeout() {
*
*
*
- * The maximum job running time. The default is 7 days.
+ * Optional. The maximum job running time. The default is 7 days.
*
*
* .google.protobuf.Duration timeout = 1;
@@ -338,7 +338,7 @@ public com.google.protobuf.Duration getTimeout() {
*
*
*
- * The maximum job running time. The default is 7 days.
+ * Optional. The maximum job running time. The default is 7 days.
*
*
* .google.protobuf.Duration timeout = 1;
@@ -355,7 +355,7 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
*
*
*
- * Restarts the entire CustomJob if a worker gets restarted.
+ * Optional. Restarts the entire CustomJob if a worker gets restarted.
* This feature can be used by distributed training jobs that are not
* resilient to workers leaving and joining a job.
*
@@ -977,7 +977,7 @@ public Builder mergeFrom(
*
*
*
- * The maximum job running time. The default is 7 days.
+ * Optional. The maximum job running time. The default is 7 days.
*
*
* .google.protobuf.Duration timeout = 1;
@@ -992,7 +992,7 @@ public boolean hasTimeout() {
*
*
*
- * The maximum job running time. The default is 7 days.
+ * Optional. The maximum job running time. The default is 7 days.
*
*
* .google.protobuf.Duration timeout = 1;
@@ -1011,7 +1011,7 @@ public com.google.protobuf.Duration getTimeout() {
*
*
*
- * The maximum job running time. The default is 7 days.
+ * Optional. The maximum job running time. The default is 7 days.
*
*
* .google.protobuf.Duration timeout = 1;
@@ -1034,7 +1034,7 @@ public Builder setTimeout(com.google.protobuf.Duration value) {
*
*
*
- * The maximum job running time. The default is 7 days.
+ * Optional. The maximum job running time. The default is 7 days.
*
*
* .google.protobuf.Duration timeout = 1;
@@ -1054,7 +1054,7 @@ public Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue)
*
*
*
- * The maximum job running time. The default is 7 days.
+ * Optional. The maximum job running time. The default is 7 days.
*
*
* .google.protobuf.Duration timeout = 1;
@@ -1082,7 +1082,7 @@ public Builder mergeTimeout(com.google.protobuf.Duration value) {
*
*
*
- * The maximum job running time. The default is 7 days.
+ * Optional. The maximum job running time. The default is 7 days.
*
*
* .google.protobuf.Duration timeout = 1;
@@ -1102,7 +1102,7 @@ public Builder clearTimeout() {
*
*
*
- * The maximum job running time. The default is 7 days.
+ * Optional. The maximum job running time. The default is 7 days.
*
*
* .google.protobuf.Duration timeout = 1;
@@ -1117,7 +1117,7 @@ public com.google.protobuf.Duration.Builder getTimeoutBuilder() {
*
*
*
- * The maximum job running time. The default is 7 days.
+ * Optional. The maximum job running time. The default is 7 days.
*
*
* .google.protobuf.Duration timeout = 1;
@@ -1134,7 +1134,7 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
*
*
*
- * The maximum job running time. The default is 7 days.
+ * Optional. The maximum job running time. The default is 7 days.
*
*
* .google.protobuf.Duration timeout = 1;
@@ -1162,7 +1162,7 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
*
*
*
- * Restarts the entire CustomJob if a worker gets restarted.
+ * Optional. Restarts the entire CustomJob if a worker gets restarted.
* This feature can be used by distributed training jobs that are not
* resilient to workers leaving and joining a job.
*
@@ -1180,7 +1180,7 @@ public boolean getRestartJobOnWorkerRestart() {
*
*
*
- * Restarts the entire CustomJob if a worker gets restarted.
+ * Optional. Restarts the entire CustomJob if a worker gets restarted.
* This feature can be used by distributed training jobs that are not
* resilient to workers leaving and joining a job.
*
@@ -1202,7 +1202,7 @@ public Builder setRestartJobOnWorkerRestart(boolean value) {
*
*
*
- * Restarts the entire CustomJob if a worker gets restarted.
+ * Optional. Restarts the entire CustomJob if a worker gets restarted.
* This feature can be used by distributed training jobs that are not
* resilient to workers leaving and joining a job.
*
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SchedulingOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SchedulingOrBuilder.java
index 55321eea4ebd..a79b727e8fb4 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SchedulingOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/SchedulingOrBuilder.java
@@ -28,7 +28,7 @@ public interface SchedulingOrBuilder
*
*
*
- * The maximum job running time. The default is 7 days.
+ * Optional. The maximum job running time. The default is 7 days.
*
*
* .google.protobuf.Duration timeout = 1;
@@ -41,7 +41,7 @@ public interface SchedulingOrBuilder
*
*
*
- * The maximum job running time. The default is 7 days.
+ * Optional. The maximum job running time. The default is 7 days.
*
*
* .google.protobuf.Duration timeout = 1;
@@ -54,7 +54,7 @@ public interface SchedulingOrBuilder
*
*
*
- * The maximum job running time. The default is 7 days.
+ * Optional. The maximum job running time. The default is 7 days.
*
*
* .google.protobuf.Duration timeout = 1;
@@ -65,7 +65,7 @@ public interface SchedulingOrBuilder
*
*
*
- * Restarts the entire CustomJob if a worker gets restarted.
+ * Optional. Restarts the entire CustomJob if a worker gets restarted.
* This feature can be used by distributed training jobs that are not
* resilient to workers leaving and joining a job.
*
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WorkerPoolSpec.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WorkerPoolSpec.java
index 832cb69aa7ea..d477e96bbcf0 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WorkerPoolSpec.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WorkerPoolSpec.java
@@ -41,6 +41,7 @@ private WorkerPoolSpec(com.google.protobuf.GeneratedMessageV3.Builder> builder
private WorkerPoolSpec() {
nfsMounts_ = java.util.Collections.emptyList();
+ lustreMounts_ = java.util.Collections.emptyList();
}
@java.lang.Override
@@ -388,6 +389,93 @@ public com.google.cloud.aiplatform.v1beta1.NfsMountOrBuilder getNfsMountsOrBuild
return nfsMounts_.get(index);
}
+ public static final int LUSTRE_MOUNTS_FIELD_NUMBER = 9;
+
+ @SuppressWarnings("serial")
+ private java.util.List+ * Optional. List of Lustre mounts. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.util.List+ * Optional. List of Lustre mounts. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.cloud.aiplatform.v1beta1.LustreMountOrBuilder>
+ getLustreMountsOrBuilderList() {
+ return lustreMounts_;
+ }
+
+ /**
+ *
+ *
+ * + * Optional. List of Lustre mounts. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public int getLustreMountsCount() {
+ return lustreMounts_.size();
+ }
+
+ /**
+ *
+ *
+ * + * Optional. List of Lustre mounts. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.LustreMount getLustreMounts(int index) {
+ return lustreMounts_.get(index);
+ }
+
+ /**
+ *
+ *
+ * + * Optional. List of Lustre mounts. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.aiplatform.v1beta1.LustreMountOrBuilder getLustreMountsOrBuilder(
+ int index) {
+ return lustreMounts_.get(index);
+ }
+
public static final int DISK_SPEC_FIELD_NUMBER = 5;
private com.google.cloud.aiplatform.v1beta1.DiskSpec diskSpec_;
@@ -473,6 +561,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (taskCase_ == 7) {
output.writeMessage(7, (com.google.cloud.aiplatform.v1beta1.PythonPackageSpec) task_);
}
+ for (int i = 0; i < lustreMounts_.size(); i++) {
+ output.writeMessage(9, lustreMounts_.get(i));
+ }
getUnknownFields().writeTo(output);
}
@@ -504,6 +595,9 @@ public int getSerializedSize() {
com.google.protobuf.CodedOutputStream.computeMessageSize(
7, (com.google.cloud.aiplatform.v1beta1.PythonPackageSpec) task_);
}
+ for (int i = 0; i < lustreMounts_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, lustreMounts_.get(i));
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -526,6 +620,7 @@ public boolean equals(final java.lang.Object obj) {
}
if (getReplicaCount() != other.getReplicaCount()) return false;
if (!getNfsMountsList().equals(other.getNfsMountsList())) return false;
+ if (!getLustreMountsList().equals(other.getLustreMountsList())) return false;
if (hasDiskSpec() != other.hasDiskSpec()) return false;
if (hasDiskSpec()) {
if (!getDiskSpec().equals(other.getDiskSpec())) return false;
@@ -562,6 +657,10 @@ public int hashCode() {
hash = (37 * hash) + NFS_MOUNTS_FIELD_NUMBER;
hash = (53 * hash) + getNfsMountsList().hashCode();
}
+ if (getLustreMountsCount() > 0) {
+ hash = (37 * hash) + LUSTRE_MOUNTS_FIELD_NUMBER;
+ hash = (53 * hash) + getLustreMountsList().hashCode();
+ }
if (hasDiskSpec()) {
hash = (37 * hash) + DISK_SPEC_FIELD_NUMBER;
hash = (53 * hash) + getDiskSpec().hashCode();
@@ -721,6 +820,7 @@ private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
getMachineSpecFieldBuilder();
getNfsMountsFieldBuilder();
+ getLustreMountsFieldBuilder();
getDiskSpecFieldBuilder();
}
}
@@ -748,6 +848,13 @@ public Builder clear() {
nfsMountsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
+ if (lustreMountsBuilder_ == null) {
+ lustreMounts_ = java.util.Collections.emptyList();
+ } else {
+ lustreMounts_ = null;
+ lustreMountsBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000020);
diskSpec_ = null;
if (diskSpecBuilder_ != null) {
diskSpecBuilder_.dispose();
@@ -802,6 +909,15 @@ private void buildPartialRepeatedFields(
} else {
result.nfsMounts_ = nfsMountsBuilder_.build();
}
+ if (lustreMountsBuilder_ == null) {
+ if (((bitField0_ & 0x00000020) != 0)) {
+ lustreMounts_ = java.util.Collections.unmodifiableList(lustreMounts_);
+ bitField0_ = (bitField0_ & ~0x00000020);
+ }
+ result.lustreMounts_ = lustreMounts_;
+ } else {
+ result.lustreMounts_ = lustreMountsBuilder_.build();
+ }
}
private void buildPartial0(com.google.cloud.aiplatform.v1beta1.WorkerPoolSpec result) {
@@ -815,7 +931,7 @@ private void buildPartial0(com.google.cloud.aiplatform.v1beta1.WorkerPoolSpec re
if (((from_bitField0_ & 0x00000008) != 0)) {
result.replicaCount_ = replicaCount_;
}
- if (((from_bitField0_ & 0x00000020) != 0)) {
+ if (((from_bitField0_ & 0x00000040) != 0)) {
result.diskSpec_ = diskSpecBuilder_ == null ? diskSpec_ : diskSpecBuilder_.build();
to_bitField0_ |= 0x00000002;
}
@@ -912,6 +1028,33 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.WorkerPoolSpec othe
}
}
}
+ if (lustreMountsBuilder_ == null) {
+ if (!other.lustreMounts_.isEmpty()) {
+ if (lustreMounts_.isEmpty()) {
+ lustreMounts_ = other.lustreMounts_;
+ bitField0_ = (bitField0_ & ~0x00000020);
+ } else {
+ ensureLustreMountsIsMutable();
+ lustreMounts_.addAll(other.lustreMounts_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.lustreMounts_.isEmpty()) {
+ if (lustreMountsBuilder_.isEmpty()) {
+ lustreMountsBuilder_.dispose();
+ lustreMountsBuilder_ = null;
+ lustreMounts_ = other.lustreMounts_;
+ bitField0_ = (bitField0_ & ~0x00000020);
+ lustreMountsBuilder_ =
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+ ? getLustreMountsFieldBuilder()
+ : null;
+ } else {
+ lustreMountsBuilder_.addAllMessages(other.lustreMounts_);
+ }
+ }
+ }
if (other.hasDiskSpec()) {
mergeDiskSpec(other.getDiskSpec());
}
@@ -985,7 +1128,7 @@ public Builder mergeFrom(
case 42:
{
input.readMessage(getDiskSpecFieldBuilder().getBuilder(), extensionRegistry);
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000040;
break;
} // case 42
case 50:
@@ -1001,6 +1144,20 @@ public Builder mergeFrom(
taskCase_ = 7;
break;
} // case 58
+ case 74:
+ {
+ com.google.cloud.aiplatform.v1beta1.LustreMount m =
+ input.readMessage(
+ com.google.cloud.aiplatform.v1beta1.LustreMount.parser(),
+ extensionRegistry);
+ if (lustreMountsBuilder_ == null) {
+ ensureLustreMountsIsMutable();
+ lustreMounts_.add(m);
+ } else {
+ lustreMountsBuilder_.addMessage(m);
+ }
+ break;
+ } // case 74
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -2149,6 +2306,415 @@ public com.google.cloud.aiplatform.v1beta1.NfsMount.Builder addNfsMountsBuilder(
return nfsMountsBuilder_;
}
+ private java.util.List+ * Optional. List of Lustre mounts. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List+ * Optional. List of Lustre mounts. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public int getLustreMountsCount() {
+ if (lustreMountsBuilder_ == null) {
+ return lustreMounts_.size();
+ } else {
+ return lustreMountsBuilder_.getCount();
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Optional. List of Lustre mounts. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.LustreMount getLustreMounts(int index) {
+ if (lustreMountsBuilder_ == null) {
+ return lustreMounts_.get(index);
+ } else {
+ return lustreMountsBuilder_.getMessage(index);
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Optional. List of Lustre mounts. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setLustreMounts(
+ int index, com.google.cloud.aiplatform.v1beta1.LustreMount value) {
+ if (lustreMountsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureLustreMountsIsMutable();
+ lustreMounts_.set(index, value);
+ onChanged();
+ } else {
+ lustreMountsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Optional. List of Lustre mounts. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setLustreMounts(
+ int index, com.google.cloud.aiplatform.v1beta1.LustreMount.Builder builderForValue) {
+ if (lustreMountsBuilder_ == null) {
+ ensureLustreMountsIsMutable();
+ lustreMounts_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ lustreMountsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Optional. List of Lustre mounts. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addLustreMounts(com.google.cloud.aiplatform.v1beta1.LustreMount value) {
+ if (lustreMountsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureLustreMountsIsMutable();
+ lustreMounts_.add(value);
+ onChanged();
+ } else {
+ lustreMountsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Optional. List of Lustre mounts. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addLustreMounts(
+ int index, com.google.cloud.aiplatform.v1beta1.LustreMount value) {
+ if (lustreMountsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureLustreMountsIsMutable();
+ lustreMounts_.add(index, value);
+ onChanged();
+ } else {
+ lustreMountsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Optional. List of Lustre mounts. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addLustreMounts(
+ com.google.cloud.aiplatform.v1beta1.LustreMount.Builder builderForValue) {
+ if (lustreMountsBuilder_ == null) {
+ ensureLustreMountsIsMutable();
+ lustreMounts_.add(builderForValue.build());
+ onChanged();
+ } else {
+ lustreMountsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Optional. List of Lustre mounts. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addLustreMounts(
+ int index, com.google.cloud.aiplatform.v1beta1.LustreMount.Builder builderForValue) {
+ if (lustreMountsBuilder_ == null) {
+ ensureLustreMountsIsMutable();
+ lustreMounts_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ lustreMountsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Optional. List of Lustre mounts. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder addAllLustreMounts(
+ java.lang.Iterable extends com.google.cloud.aiplatform.v1beta1.LustreMount> values) {
+ if (lustreMountsBuilder_ == null) {
+ ensureLustreMountsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, lustreMounts_);
+ onChanged();
+ } else {
+ lustreMountsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Optional. List of Lustre mounts. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearLustreMounts() {
+ if (lustreMountsBuilder_ == null) {
+ lustreMounts_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000020);
+ onChanged();
+ } else {
+ lustreMountsBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Optional. List of Lustre mounts. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder removeLustreMounts(int index) {
+ if (lustreMountsBuilder_ == null) {
+ ensureLustreMountsIsMutable();
+ lustreMounts_.remove(index);
+ onChanged();
+ } else {
+ lustreMountsBuilder_.remove(index);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Optional. List of Lustre mounts. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.LustreMount.Builder getLustreMountsBuilder(
+ int index) {
+ return getLustreMountsFieldBuilder().getBuilder(index);
+ }
+
+ /**
+ *
+ *
+ * + * Optional. List of Lustre mounts. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.LustreMountOrBuilder getLustreMountsOrBuilder(
+ int index) {
+ if (lustreMountsBuilder_ == null) {
+ return lustreMounts_.get(index);
+ } else {
+ return lustreMountsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Optional. List of Lustre mounts. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List extends com.google.cloud.aiplatform.v1beta1.LustreMountOrBuilder>
+ getLustreMountsOrBuilderList() {
+ if (lustreMountsBuilder_ != null) {
+ return lustreMountsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(lustreMounts_);
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Optional. List of Lustre mounts. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.LustreMount.Builder addLustreMountsBuilder() {
+ return getLustreMountsFieldBuilder()
+ .addBuilder(com.google.cloud.aiplatform.v1beta1.LustreMount.getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ * + * Optional. List of Lustre mounts. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.cloud.aiplatform.v1beta1.LustreMount.Builder addLustreMountsBuilder(
+ int index) {
+ return getLustreMountsFieldBuilder()
+ .addBuilder(index, com.google.cloud.aiplatform.v1beta1.LustreMount.getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ * + * Optional. List of Lustre mounts. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public java.util.List.google.cloud.aiplatform.v1beta1.DiskSpec disk_spec = 5;
*/
public Builder clearDiskSpec() {
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000040);
diskSpec_ = null;
if (diskSpecBuilder_ != null) {
diskSpecBuilder_.dispose();
@@ -2294,7 +2860,7 @@ public Builder clearDiskSpec() {
* .google.cloud.aiplatform.v1beta1.DiskSpec disk_spec = 5;
*/
public com.google.cloud.aiplatform.v1beta1.DiskSpec.Builder getDiskSpecBuilder() {
- bitField0_ |= 0x00000020;
+ bitField0_ |= 0x00000040;
onChanged();
return getDiskSpecFieldBuilder().getBuilder();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WorkerPoolSpecOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WorkerPoolSpecOrBuilder.java
index ebe451a2d9d9..a58f948a5ee7 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WorkerPoolSpecOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/WorkerPoolSpecOrBuilder.java
@@ -220,6 +220,72 @@ public interface WorkerPoolSpecOrBuilder
*/
com.google.cloud.aiplatform.v1beta1.NfsMountOrBuilder getNfsMountsOrBuilder(int index);
+ /**
+ *
+ *
+ * + * Optional. List of Lustre mounts. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ java.util.List+ * Optional. List of Lustre mounts. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.LustreMount getLustreMounts(int index);
+
+ /**
+ *
+ *
+ * + * Optional. List of Lustre mounts. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ int getLustreMountsCount();
+
+ /**
+ *
+ *
+ * + * Optional. List of Lustre mounts. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ java.util.List extends com.google.cloud.aiplatform.v1beta1.LustreMountOrBuilder>
+ getLustreMountsOrBuilderList();
+
+ /**
+ *
+ *
+ * + * Optional. List of Lustre mounts. + *+ * + *
+ * repeated .google.cloud.aiplatform.v1beta1.LustreMount lustre_mounts = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.cloud.aiplatform.v1beta1.LustreMountOrBuilder getLustreMountsOrBuilder(int index);
+
/**
*
*
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/custom_job.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/custom_job.proto
index 04798e4b9503..d52dc962bbc8 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/custom_job.proto
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/custom_job.proto
@@ -312,6 +312,10 @@ message WorkerPoolSpec {
// Optional. List of NFS mount spec.
repeated NfsMount nfs_mounts = 4 [(google.api.field_behavior) = OPTIONAL];
+ // Optional. List of Lustre mounts.
+ repeated LustreMount lustre_mounts = 9
+ [(google.api.field_behavior) = OPTIONAL];
+
// Disk spec.
DiskSpec disk_spec = 5;
}
@@ -387,10 +391,10 @@ message Scheduling {
FLEX_START = 6;
}
- // The maximum job running time. The default is 7 days.
+ // Optional. The maximum job running time. The default is 7 days.
google.protobuf.Duration timeout = 1;
- // Restarts the entire CustomJob if a worker gets restarted.
+ // Optional. Restarts the entire CustomJob if a worker gets restarted.
// This feature can be used by distributed training jobs that are not
// resilient to workers leaving and joining a job.
bool restart_job_on_worker_restart = 3;
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/machine_resources.proto b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/machine_resources.proto
index afcb059e53e0..3e8466499fb5 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/machine_resources.proto
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/proto/google/cloud/aiplatform/v1beta1/machine_resources.proto
@@ -355,6 +355,22 @@ message NfsMount {
string mount_point = 3 [(google.api.field_behavior) = REQUIRED];
}
+// Represents a mount configuration for Lustre file system.
+message LustreMount {
+ // Required. IP address of the Lustre instance.
+ string instance_ip = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The unique identifier of the Lustre volume.
+ string volume_handle = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The name of the Lustre filesystem.
+ string filesystem = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Destination mount path. The Lustre file system will be mounted
+ // for the user under /mnt/lustre/ListMessages
Lists messages in a space that the caller is a member of, including messages from blocked members and spaces. If you list messages from a space with no messages, the response is an empty object. When using a REST/HTTP interface, the response contains an empty JSON object, `{}`. For an example, see [List messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list). - *
Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - *
- `https://www.googleapis.com/auth/chat.messages.readonly` - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only)
Lists messages in a space that the caller is a member of, including messages from blocked members and spaces. System messages, like those announcing new space members, aren't included. If you list messages from a space with no messages, the response is an empty object. When using a REST/HTTP interface, the response contains an empty JSON object, `{}`. For an example, see [List messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list). + *
Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): + *
- [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer Preview](https://developers.google.com/workspace/preview) with the authorization scope: - `https://www.googleapis.com/auth/chat.app.messages.readonly`. When using this authentication scope, this method only returns public messages in a space. It doesn't include private messages. + *
- [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.messages.readonly` - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.import` (import mode spaces only)
Request object method variants only take one parameter, a request object, which must be constructed before the call.
*GetMessage
Returns details about a message. For an example, see [Get details about a message](https://developers.google.com/workspace/chat/get-messages). *
Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - *
- [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` + *
- [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.bot`: When using this authorization scope, this method returns details about a message the Chat app has access to, like direct messages and [slash commands](https://developers.google.com/workspace/chat/slash-commands) that invoke the Chat app. - `https://www.googleapis.com/auth/chat.app.messages.readonly` with [administrator approval](https://support.google.com/a?p=chat-app-auth) (available in [Developer Preview](https://developers.google.com/workspace/preview)). When using this authentication scope, this method returns details about a public message in a space. *
- [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.messages.readonly` - `https://www.googleapis.com/auth/chat.messages` *
Note: Might return a message from a blocked member or space.
SearchSpaces
Returns a list of spaces in a Google Workspace organization based on an administrator's search. + *
Returns a list of spaces in a Google Workspace organization based on an administrator's search. In the request, set `use_admin_access` to `true`. For an example, see [Search for and manage spaces](https://developers.google.com/workspace/chat/search-manage-admin). *
Requires [user authentication with administrator privileges](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user#admin-privileges) and one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - *
- `https://www.googleapis.com/auth/chat.admin.spaces.readonly` - `https://www.googleapis.com/auth/chat.admin.spaces` - *
In the request, set `use_admin_access` to `true`.
- `https://www.googleapis.com/auth/chat.admin.spaces.readonly` - `https://www.googleapis.com/auth/chat.admin.spaces` *
Request object method variants only take one parameter, a request object, which must be constructed before the call.
*GetSpaceEvent
Returns an event from a Google Chat space. The [event payload](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.spaceEvents#SpaceEvent.FIELDS.oneof_payload) contains the most recent version of the resource that changed. For example, if you request an event about a new message but the message was later updated, the server returns the updated `Message` resource in the event payload. *
Note: The `permissionSettings` field is not returned in the Space object of the Space event data for this request. - *
Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with an [authorization scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes) appropriate for reading the requested data: - *
- `https://www.googleapis.com/auth/chat.spaces.readonly` - `https://www.googleapis.com/auth/chat.spaces` - `https://www.googleapis.com/auth/chat.messages.readonly` - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.messages.reactions.readonly` - `https://www.googleapis.com/auth/chat.messages.reactions` - `https://www.googleapis.com/auth/chat.memberships.readonly` - `https://www.googleapis.com/auth/chat.memberships` - *
To get an event, the authenticated user must be a member of the space. + *
Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize) with an [authorization scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes) appropriate for reading the requested data: + *
- [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer Preview](https://developers.google.com/workspace/preview) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.app.spaces` - `https://www.googleapis.com/auth/chat.app.messages.readonly` - `https://www.googleapis.com/auth/chat.app.memberships` + *
- [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.spaces.readonly` - `https://www.googleapis.com/auth/chat.spaces` - `https://www.googleapis.com/auth/chat.messages.readonly` - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.messages.reactions.readonly` - `https://www.googleapis.com/auth/chat.messages.reactions` - `https://www.googleapis.com/auth/chat.memberships.readonly` - `https://www.googleapis.com/auth/chat.memberships` + *
To get an event, the authenticated caller must be a member of the space. *
For an example, see [Get details about an event from a Google Chat space](https://developers.google.com/workspace/chat/get-space-event).
Request object method variants only take one parameter, a request object, which must be constructed before the call.
@@ -782,9 +783,10 @@ *ListSpaceEvents
Lists events from a Google Chat space. For each event, the [payload](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.spaceEvents#SpaceEvent.FIELDS.oneof_payload) contains the most recent version of the Chat resource. For example, if you list events about new space members, the server returns `Membership` resources that contain the latest membership details. If new members were removed during the requested period, the event payload contains an empty `Membership` resource. - *
Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with an [authorization scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes) appropriate for reading the requested data: - *
- `https://www.googleapis.com/auth/chat.spaces.readonly` - `https://www.googleapis.com/auth/chat.spaces` - `https://www.googleapis.com/auth/chat.messages.readonly` - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.messages.reactions.readonly` - `https://www.googleapis.com/auth/chat.messages.reactions` - `https://www.googleapis.com/auth/chat.memberships.readonly` - `https://www.googleapis.com/auth/chat.memberships` - *
To list events, the authenticated user must be a member of the space. + *
Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize) with an [authorization scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes) appropriate for reading the requested data: + *
- [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer Preview](https://developers.google.com/workspace/preview) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.app.spaces` - `https://www.googleapis.com/auth/chat.app.messages.readonly` - `https://www.googleapis.com/auth/chat.app.memberships` + *
- [User authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.spaces.readonly` - `https://www.googleapis.com/auth/chat.spaces` - `https://www.googleapis.com/auth/chat.messages.readonly` - `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.messages.reactions.readonly` - `https://www.googleapis.com/auth/chat.messages.reactions` - `https://www.googleapis.com/auth/chat.memberships.readonly` - `https://www.googleapis.com/auth/chat.memberships` + *
To list events, the authenticated caller must be a member of the space. *
For an example, see [List events from a Google Chat space](https://developers.google.com/workspace/chat/list-space-events).
Request object method variants only take one parameter, a request object, which must be constructed before the call.
@@ -1253,17 +1255,26 @@ public final UnaryCallableRequires [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * with one of the following [authorization - * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + *
Supports the following types of + * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): * - *
- `https://www.googleapis.com/auth/chat.messages.readonly` - + *
- [App + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) + * with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer + * Preview](https://developers.google.com/workspace/preview) with the authorization scope: - + * `https://www.googleapis.com/auth/chat.app.messages.readonly`. When using this authentication + * scope, this method only returns public messages in a space. It doesn't include private + * messages. + * + *
- [User + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.messages.readonly` - * `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.import` * (import mode spaces only) * @@ -1298,17 +1309,26 @@ public final ListMessagesPagedResponse listMessages(SpaceName parent) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Lists messages in a space that the caller is a member of, including messages from blocked - * members and spaces. If you list messages from a space with no messages, the response is an - * empty object. When using a REST/HTTP interface, the response contains an empty JSON object, - * `{}`. For an example, see [List - * messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list). + * members and spaces. System messages, like those announcing new space members, aren't included. + * If you list messages from a space with no messages, the response is an empty object. When using + * a REST/HTTP interface, the response contains an empty JSON object, `{}`. For an example, see + * [List messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list). * - *
Requires [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * with one of the following [authorization - * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + *
Supports the following types of + * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): + * + *
- [App + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) + * with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer + * Preview](https://developers.google.com/workspace/preview) with the authorization scope: - + * `https://www.googleapis.com/auth/chat.app.messages.readonly`. When using this authentication + * scope, this method only returns public messages in a space. It doesn't include private + * messages. * - *
- `https://www.googleapis.com/auth/chat.messages.readonly` - + *
- [User + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.messages.readonly` - * `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.import` * (import mode spaces only) * @@ -1340,17 +1360,26 @@ public final ListMessagesPagedResponse listMessages(String parent) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Lists messages in a space that the caller is a member of, including messages from blocked - * members and spaces. If you list messages from a space with no messages, the response is an - * empty object. When using a REST/HTTP interface, the response contains an empty JSON object, - * `{}`. For an example, see [List - * messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list). + * members and spaces. System messages, like those announcing new space members, aren't included. + * If you list messages from a space with no messages, the response is an empty object. When using + * a REST/HTTP interface, the response contains an empty JSON object, `{}`. For an example, see + * [List messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list). * - *
Requires [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * with one of the following [authorization - * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + *
Supports the following types of + * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): + * + *
- [App + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) + * with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer + * Preview](https://developers.google.com/workspace/preview) with the authorization scope: - + * `https://www.googleapis.com/auth/chat.app.messages.readonly`. When using this authentication + * scope, this method only returns public messages in a space. It doesn't include private + * messages. * - *
- `https://www.googleapis.com/auth/chat.messages.readonly` - + *
- [User + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.messages.readonly` - * `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.import` * (import mode spaces only) * @@ -1388,17 +1417,26 @@ public final ListMessagesPagedResponse listMessages(ListMessagesRequest request) // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Lists messages in a space that the caller is a member of, including messages from blocked - * members and spaces. If you list messages from a space with no messages, the response is an - * empty object. When using a REST/HTTP interface, the response contains an empty JSON object, - * `{}`. For an example, see [List - * messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list). + * members and spaces. System messages, like those announcing new space members, aren't included. + * If you list messages from a space with no messages, the response is an empty object. When using + * a REST/HTTP interface, the response contains an empty JSON object, `{}`. For an example, see + * [List messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list). * - *
Requires [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * with one of the following [authorization - * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + *
Supports the following types of + * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): * - *
- `https://www.googleapis.com/auth/chat.messages.readonly` - + *
- [App + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) + * with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer + * Preview](https://developers.google.com/workspace/preview) with the authorization scope: - + * `https://www.googleapis.com/auth/chat.app.messages.readonly`. When using this authentication + * scope, this method only returns public messages in a space. It doesn't include private + * messages. + * + *
- [User + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.messages.readonly` - * `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.import` * (import mode spaces only) * @@ -1436,17 +1474,26 @@ public final ListMessagesPagedResponse listMessages(ListMessagesRequest request) // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Lists messages in a space that the caller is a member of, including messages from blocked - * members and spaces. If you list messages from a space with no messages, the response is an - * empty object. When using a REST/HTTP interface, the response contains an empty JSON object, - * `{}`. For an example, see [List - * messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list). + * members and spaces. System messages, like those announcing new space members, aren't included. + * If you list messages from a space with no messages, the response is an empty object. When using + * a REST/HTTP interface, the response contains an empty JSON object, `{}`. For an example, see + * [List messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list). * - *
Requires [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * with one of the following [authorization - * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + *
Supports the following types of + * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): * - *
- `https://www.googleapis.com/auth/chat.messages.readonly` - + *
- [App + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) + * with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer + * Preview](https://developers.google.com/workspace/preview) with the authorization scope: - + * `https://www.googleapis.com/auth/chat.app.messages.readonly`. When using this authentication + * scope, this method only returns public messages in a space. It doesn't include private + * messages. + * + *
- [User
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * with one of the following authorization scopes: -
+ * `https://www.googleapis.com/auth/chat.messages.readonly` -
* `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.import`
* (import mode spaces only)
*
@@ -2014,7 +2061,14 @@ public final UnaryCallable - [App
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
- * with the authorization scope: - `https://www.googleapis.com/auth/chat.bot`
+ * with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.bot`:
+ * When using this authorization scope, this method returns details about a message the Chat app
+ * has access to, like direct messages and [slash
+ * commands](https://developers.google.com/workspace/chat/slash-commands) that invoke the Chat
+ * app. - `https://www.googleapis.com/auth/chat.app.messages.readonly` with [administrator
+ * approval](https://support.google.com/a?p=chat-app-auth) (available in [Developer
+ * Preview](https://developers.google.com/workspace/preview)). When using this authentication
+ * scope, this method returns details about a public message in a space.
*
* - [User
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
@@ -2061,7 +2115,14 @@ public final Message getMessage(MessageName name) {
*
* - [App
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
- * with the authorization scope: - `https://www.googleapis.com/auth/chat.bot`
+ * with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.bot`:
+ * When using this authorization scope, this method returns details about a message the Chat app
+ * has access to, like direct messages and [slash
+ * commands](https://developers.google.com/workspace/chat/slash-commands) that invoke the Chat
+ * app. - `https://www.googleapis.com/auth/chat.app.messages.readonly` with [administrator
+ * approval](https://support.google.com/a?p=chat-app-auth) (available in [Developer
+ * Preview](https://developers.google.com/workspace/preview)). When using this authentication
+ * scope, this method returns details about a public message in a space.
*
* - [User
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
@@ -2107,7 +2168,14 @@ public final Message getMessage(String name) {
*
* - [App
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
- * with the authorization scope: - `https://www.googleapis.com/auth/chat.bot`
+ * with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.bot`:
+ * When using this authorization scope, this method returns details about a message the Chat app
+ * has access to, like direct messages and [slash
+ * commands](https://developers.google.com/workspace/chat/slash-commands) that invoke the Chat
+ * app. - `https://www.googleapis.com/auth/chat.app.messages.readonly` with [administrator
+ * approval](https://support.google.com/a?p=chat-app-auth) (available in [Developer
+ * Preview](https://developers.google.com/workspace/preview)). When using this authentication
+ * scope, this method returns details about a public message in a space.
*
* - [User
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
@@ -2151,7 +2219,14 @@ public final Message getMessage(GetMessageRequest request) {
*
* - [App
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
- * with the authorization scope: - `https://www.googleapis.com/auth/chat.bot`
+ * with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.bot`:
+ * When using this authorization scope, this method returns details about a message the Chat app
+ * has access to, like direct messages and [slash
+ * commands](https://developers.google.com/workspace/chat/slash-commands) that invoke the Chat
+ * app. - `https://www.googleapis.com/auth/chat.app.messages.readonly` with [administrator
+ * approval](https://support.google.com/a?p=chat-app-auth) (available in [Developer
+ * Preview](https://developers.google.com/workspace/preview)). When using this authentication
+ * scope, this method returns details about a public message in a space.
*
* - [User
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
@@ -2968,6 +3043,8 @@ public final UnaryCallable Requires [user authentication with administrator
* privileges](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user#admin-privileges)
@@ -2977,8 +3054,6 @@ public final UnaryCallable - `https://www.googleapis.com/auth/chat.admin.spaces.readonly` -
* `https://www.googleapis.com/auth/chat.admin.spaces`
*
- * In the request, set `use_admin_access` to `true`.
- *
* Sample code:
*
* Requires [user authentication with administrator
* privileges](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user#admin-privileges)
@@ -3014,8 +3091,6 @@ public final SearchSpacesPagedResponse searchSpaces() {
* - `https://www.googleapis.com/auth/chat.admin.spaces.readonly` -
* `https://www.googleapis.com/auth/chat.admin.spaces`
*
- * In the request, set `use_admin_access` to `true`.
- *
* Sample code:
*
* Requires [user authentication with administrator
* privileges](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user#admin-privileges)
@@ -3058,8 +3135,6 @@ public final SearchSpacesPagedResponse searchSpaces(SearchSpacesRequest request)
* - `https://www.googleapis.com/auth/chat.admin.spaces.readonly` -
* `https://www.googleapis.com/auth/chat.admin.spaces`
*
- * In the request, set `use_admin_access` to `true`.
- *
* Sample code:
*
* Requires [user authentication with administrator
* privileges](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user#admin-privileges)
@@ -3102,8 +3179,6 @@ public final SearchSpacesPagedResponse searchSpaces(SearchSpacesRequest request)
* - `https://www.googleapis.com/auth/chat.admin.spaces.readonly` -
* `https://www.googleapis.com/auth/chat.admin.spaces`
*
- * In the request, set `use_admin_access` to `true`.
- *
* Sample code:
*
* You can update the following fields for a space:
- * `space_details`: Updates the space's description. Supports up to 150 characters.
+ * `space_details`: Updates the space's description and guidelines. You must pass both
+ * description and guidelines in the update request as
+ * [`SpaceDetails`][google.chat.v1.Space.SpaceDetails]. If you only want to update one of the
+ * fields, pass the existing value for the other field.
* `display_name`: Only supports updating the display name for spaces where `spaceType`
* field is `SPACE`. If you receive the error message `ALREADY_EXISTS`, try a different value.
* An existing space within the Google Workspace organization might already use this display
@@ -3793,8 +3871,7 @@ public final UnaryCallable `permission_settings`: Supports changing the [permission
* settings](https://support.google.com/chat/answer/13340792) of a space. When updating
* permission settings, you can only specify `permissionSettings` field masks; you cannot
- * update other field masks at the same time. `permissionSettings` is not supported with
- * `useAdminAccess`. The supported field masks include:
+ * update other field masks at the same time. The supported field masks include:
* - `permission_settings.manageMembersAndGroups` -
* `permission_settings.modifySpaceDetails` - `permission_settings.toggleHistory` -
* `permission_settings.useAtMentionAll` - `permission_settings.manageApps` -
@@ -6664,13 +6741,24 @@ public final ThreadReadState getThreadReadState(GetThreadReadStateRequest reques
* Note: The `permissionSettings` field is not returned in the Space object of the Space event
* data for this request.
*
- * Requires [user
- * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
- * with an [authorization
+ * Supports the following types of
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize) with an
+ * [authorization
* scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes)
* appropriate for reading the requested data:
*
- * - `https://www.googleapis.com/auth/chat.spaces.readonly` -
+ * - [App
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer
+ * Preview](https://developers.google.com/workspace/preview) with one of the following
+ * authorization scopes: - `https://www.googleapis.com/auth/chat.app.spaces` -
+ * `https://www.googleapis.com/auth/chat.app.messages.readonly` -
+ * `https://www.googleapis.com/auth/chat.app.memberships`
+ *
+ * - [User
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * with one of the following authorization scopes: -
+ * `https://www.googleapis.com/auth/chat.spaces.readonly` -
* `https://www.googleapis.com/auth/chat.spaces` -
* `https://www.googleapis.com/auth/chat.messages.readonly` -
* `https://www.googleapis.com/auth/chat.messages` -
@@ -6679,7 +6767,7 @@ public final ThreadReadState getThreadReadState(GetThreadReadStateRequest reques
* `https://www.googleapis.com/auth/chat.memberships.readonly` -
* `https://www.googleapis.com/auth/chat.memberships`
*
- * To get an event, the authenticated user must be a member of the space.
+ * To get an event, the authenticated caller must be a member of the space.
*
* For an example, see [Get details about an event from a Google Chat
* space](https://developers.google.com/workspace/chat/get-space-event).
@@ -6719,13 +6807,24 @@ public final SpaceEvent getSpaceEvent(SpaceEventName name) {
* Note: The `permissionSettings` field is not returned in the Space object of the Space event
* data for this request.
*
- * Requires [user
- * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
- * with an [authorization
+ * Supports the following types of
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize) with an
+ * [authorization
* scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes)
* appropriate for reading the requested data:
*
- * - `https://www.googleapis.com/auth/chat.spaces.readonly` -
+ * - [App
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer
+ * Preview](https://developers.google.com/workspace/preview) with one of the following
+ * authorization scopes: - `https://www.googleapis.com/auth/chat.app.spaces` -
+ * `https://www.googleapis.com/auth/chat.app.messages.readonly` -
+ * `https://www.googleapis.com/auth/chat.app.memberships`
+ *
+ * - [User
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * with one of the following authorization scopes: -
+ * `https://www.googleapis.com/auth/chat.spaces.readonly` -
* `https://www.googleapis.com/auth/chat.spaces` -
* `https://www.googleapis.com/auth/chat.messages.readonly` -
* `https://www.googleapis.com/auth/chat.messages` -
@@ -6734,7 +6833,7 @@ public final SpaceEvent getSpaceEvent(SpaceEventName name) {
* `https://www.googleapis.com/auth/chat.memberships.readonly` -
* `https://www.googleapis.com/auth/chat.memberships`
*
- * To get an event, the authenticated user must be a member of the space.
+ * To get an event, the authenticated caller must be a member of the space.
*
* For an example, see [Get details about an event from a Google Chat
* space](https://developers.google.com/workspace/chat/get-space-event).
@@ -6773,13 +6872,24 @@ public final SpaceEvent getSpaceEvent(String name) {
* Note: The `permissionSettings` field is not returned in the Space object of the Space event
* data for this request.
*
- * Requires [user
- * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
- * with an [authorization
+ * Supports the following types of
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize) with an
+ * [authorization
* scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes)
* appropriate for reading the requested data:
*
- * - `https://www.googleapis.com/auth/chat.spaces.readonly` -
+ * - [App
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer
+ * Preview](https://developers.google.com/workspace/preview) with one of the following
+ * authorization scopes: - `https://www.googleapis.com/auth/chat.app.spaces` -
+ * `https://www.googleapis.com/auth/chat.app.messages.readonly` -
+ * `https://www.googleapis.com/auth/chat.app.memberships`
+ *
+ * - [User
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * with one of the following authorization scopes: -
+ * `https://www.googleapis.com/auth/chat.spaces.readonly` -
* `https://www.googleapis.com/auth/chat.spaces` -
* `https://www.googleapis.com/auth/chat.messages.readonly` -
* `https://www.googleapis.com/auth/chat.messages` -
@@ -6788,7 +6898,7 @@ public final SpaceEvent getSpaceEvent(String name) {
* `https://www.googleapis.com/auth/chat.memberships.readonly` -
* `https://www.googleapis.com/auth/chat.memberships`
*
- * To get an event, the authenticated user must be a member of the space.
+ * To get an event, the authenticated caller must be a member of the space.
*
* For an example, see [Get details about an event from a Google Chat
* space](https://developers.google.com/workspace/chat/get-space-event).
@@ -6828,13 +6938,24 @@ public final SpaceEvent getSpaceEvent(GetSpaceEventRequest request) {
* Note: The `permissionSettings` field is not returned in the Space object of the Space event
* data for this request.
*
- * Requires [user
- * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
- * with an [authorization
+ * Supports the following types of
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize) with an
+ * [authorization
* scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes)
* appropriate for reading the requested data:
*
- * - `https://www.googleapis.com/auth/chat.spaces.readonly` -
+ * - [App
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer
+ * Preview](https://developers.google.com/workspace/preview) with one of the following
+ * authorization scopes: - `https://www.googleapis.com/auth/chat.app.spaces` -
+ * `https://www.googleapis.com/auth/chat.app.messages.readonly` -
+ * `https://www.googleapis.com/auth/chat.app.memberships`
+ *
+ * - [User
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * with one of the following authorization scopes: -
+ * `https://www.googleapis.com/auth/chat.spaces.readonly` -
* `https://www.googleapis.com/auth/chat.spaces` -
* `https://www.googleapis.com/auth/chat.messages.readonly` -
* `https://www.googleapis.com/auth/chat.messages` -
@@ -6843,7 +6964,7 @@ public final SpaceEvent getSpaceEvent(GetSpaceEventRequest request) {
* `https://www.googleapis.com/auth/chat.memberships.readonly` -
* `https://www.googleapis.com/auth/chat.memberships`
*
- * To get an event, the authenticated user must be a member of the space.
+ * To get an event, the authenticated caller must be a member of the space.
*
* For an example, see [Get details about an event from a Google Chat
* space](https://developers.google.com/workspace/chat/get-space-event).
@@ -6880,13 +7001,24 @@ public final UnaryCallable Requires [user
- * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
- * with an [authorization
+ * Supports the following types of
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize) with an
+ * [authorization
* scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes)
* appropriate for reading the requested data:
*
- * - `https://www.googleapis.com/auth/chat.spaces.readonly` -
+ * - [App
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer
+ * Preview](https://developers.google.com/workspace/preview) with one of the following
+ * authorization scopes: - `https://www.googleapis.com/auth/chat.app.spaces` -
+ * `https://www.googleapis.com/auth/chat.app.messages.readonly` -
+ * `https://www.googleapis.com/auth/chat.app.memberships`
+ *
+ * - [User
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * with one of the following authorization scopes: -
+ * `https://www.googleapis.com/auth/chat.spaces.readonly` -
* `https://www.googleapis.com/auth/chat.spaces` -
* `https://www.googleapis.com/auth/chat.messages.readonly` -
* `https://www.googleapis.com/auth/chat.messages` -
@@ -6895,7 +7027,7 @@ public final UnaryCallable To list events, the authenticated user must be a member of the space.
+ * To list events, the authenticated caller must be a member of the space.
*
* For an example, see [List events from a Google Chat
* space](https://developers.google.com/workspace/chat/list-space-events).
@@ -6970,13 +7102,24 @@ public final ListSpaceEventsPagedResponse listSpaceEvents(SpaceName parent, Stri
* details. If new members were removed during the requested period, the event payload contains an
* empty `Membership` resource.
*
- * Requires [user
- * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
- * with an [authorization
+ * Supports the following types of
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize) with an
+ * [authorization
* scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes)
* appropriate for reading the requested data:
*
- * - `https://www.googleapis.com/auth/chat.spaces.readonly` -
+ * - [App
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer
+ * Preview](https://developers.google.com/workspace/preview) with one of the following
+ * authorization scopes: - `https://www.googleapis.com/auth/chat.app.spaces` -
+ * `https://www.googleapis.com/auth/chat.app.messages.readonly` -
+ * `https://www.googleapis.com/auth/chat.app.memberships`
+ *
+ * - [User
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * with one of the following authorization scopes: -
+ * `https://www.googleapis.com/auth/chat.spaces.readonly` -
* `https://www.googleapis.com/auth/chat.spaces` -
* `https://www.googleapis.com/auth/chat.messages.readonly` -
* `https://www.googleapis.com/auth/chat.messages` -
@@ -6985,7 +7128,7 @@ public final ListSpaceEventsPagedResponse listSpaceEvents(SpaceName parent, Stri
* `https://www.googleapis.com/auth/chat.memberships.readonly` -
* `https://www.googleapis.com/auth/chat.memberships`
*
- * To list events, the authenticated user must be a member of the space.
+ * To list events, the authenticated caller must be a member of the space.
*
* For an example, see [List events from a Google Chat
* space](https://developers.google.com/workspace/chat/list-space-events).
@@ -7057,13 +7200,24 @@ public final ListSpaceEventsPagedResponse listSpaceEvents(String parent, String
* details. If new members were removed during the requested period, the event payload contains an
* empty `Membership` resource.
*
- * Requires [user
- * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
- * with an [authorization
+ * Supports the following types of
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize) with an
+ * [authorization
* scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes)
* appropriate for reading the requested data:
*
- * - `https://www.googleapis.com/auth/chat.spaces.readonly` -
+ * - [App
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer
+ * Preview](https://developers.google.com/workspace/preview) with one of the following
+ * authorization scopes: - `https://www.googleapis.com/auth/chat.app.spaces` -
+ * `https://www.googleapis.com/auth/chat.app.messages.readonly` -
+ * `https://www.googleapis.com/auth/chat.app.memberships`
+ *
+ * - [User
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * with one of the following authorization scopes: -
+ * `https://www.googleapis.com/auth/chat.spaces.readonly` -
* `https://www.googleapis.com/auth/chat.spaces` -
* `https://www.googleapis.com/auth/chat.messages.readonly` -
* `https://www.googleapis.com/auth/chat.messages` -
@@ -7072,7 +7226,7 @@ public final ListSpaceEventsPagedResponse listSpaceEvents(String parent, String
* `https://www.googleapis.com/auth/chat.memberships.readonly` -
* `https://www.googleapis.com/auth/chat.memberships`
*
- * To list events, the authenticated user must be a member of the space.
+ * To list events, the authenticated caller must be a member of the space.
*
* For an example, see [List events from a Google Chat
* space](https://developers.google.com/workspace/chat/list-space-events).
@@ -7115,13 +7269,24 @@ public final ListSpaceEventsPagedResponse listSpaceEvents(ListSpaceEventsRequest
* details. If new members were removed during the requested period, the event payload contains an
* empty `Membership` resource.
*
- * Requires [user
- * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
- * with an [authorization
+ * Supports the following types of
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize) with an
+ * [authorization
* scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes)
* appropriate for reading the requested data:
*
- * - `https://www.googleapis.com/auth/chat.spaces.readonly` -
+ * - [App
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer
+ * Preview](https://developers.google.com/workspace/preview) with one of the following
+ * authorization scopes: - `https://www.googleapis.com/auth/chat.app.spaces` -
+ * `https://www.googleapis.com/auth/chat.app.messages.readonly` -
+ * `https://www.googleapis.com/auth/chat.app.memberships`
+ *
+ * - [User
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * with one of the following authorization scopes: -
+ * `https://www.googleapis.com/auth/chat.spaces.readonly` -
* `https://www.googleapis.com/auth/chat.spaces` -
* `https://www.googleapis.com/auth/chat.messages.readonly` -
* `https://www.googleapis.com/auth/chat.messages` -
@@ -7130,7 +7295,7 @@ public final ListSpaceEventsPagedResponse listSpaceEvents(ListSpaceEventsRequest
* `https://www.googleapis.com/auth/chat.memberships.readonly` -
* `https://www.googleapis.com/auth/chat.memberships`
*
- * To list events, the authenticated user must be a member of the space.
+ * To list events, the authenticated caller must be a member of the space.
*
* For an example, see [List events from a Google Chat
* space](https://developers.google.com/workspace/chat/list-space-events).
@@ -7174,13 +7339,24 @@ public final ListSpaceEventsPagedResponse listSpaceEvents(ListSpaceEventsRequest
* details. If new members were removed during the requested period, the event payload contains an
* empty `Membership` resource.
*
- * Requires [user
- * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
- * with an [authorization
+ * Supports the following types of
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize) with an
+ * [authorization
* scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes)
* appropriate for reading the requested data:
*
- * - `https://www.googleapis.com/auth/chat.spaces.readonly` -
+ * - [App
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer
+ * Preview](https://developers.google.com/workspace/preview) with one of the following
+ * authorization scopes: - `https://www.googleapis.com/auth/chat.app.spaces` -
+ * `https://www.googleapis.com/auth/chat.app.messages.readonly` -
+ * `https://www.googleapis.com/auth/chat.app.memberships`
+ *
+ * - [User
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * with one of the following authorization scopes: -
+ * `https://www.googleapis.com/auth/chat.spaces.readonly` -
* `https://www.googleapis.com/auth/chat.spaces` -
* `https://www.googleapis.com/auth/chat.messages.readonly` -
* `https://www.googleapis.com/auth/chat.messages` -
@@ -7189,7 +7365,7 @@ public final ListSpaceEventsPagedResponse listSpaceEvents(ListSpaceEventsRequest
* `https://www.googleapis.com/auth/chat.memberships.readonly` -
* `https://www.googleapis.com/auth/chat.memberships`
*
- * To list events, the authenticated user must be a member of the space.
+ * To list events, the authenticated caller must be a member of the space.
*
* For an example, see [List events from a Google Chat
* space](https://developers.google.com/workspace/chat/list-space-events).
diff --git a/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/stub/ChatServiceStubSettings.java b/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/stub/ChatServiceStubSettings.java
index 202dfb4effbb..035f193b38d2 100644
--- a/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/stub/ChatServiceStubSettings.java
+++ b/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/stub/ChatServiceStubSettings.java
@@ -176,6 +176,7 @@ public class ChatServiceStubSettings extends StubSettings{@code
@@ -3005,6 +3080,8 @@ public final SearchSpacesPagedResponse searchSpaces() {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Returns a list of spaces in a Google Workspace organization based on an administrator's search.
+ * In the request, set `use_admin_access` to `true`. For an example, see [Search for and manage
+ * spaces](https://developers.google.com/workspace/chat/search-manage-admin).
*
*
@@ -5050,19 +5197,31 @@ public com.google.chat.v1.Message createMessage(
*
* {@code
@@ -3049,6 +3124,8 @@ public final SearchSpacesPagedResponse searchSpaces(SearchSpacesRequest request)
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Returns a list of spaces in a Google Workspace organization based on an administrator's search.
+ * In the request, set `use_admin_access` to `true`. For an example, see [Search for and manage
+ * spaces](https://developers.google.com/workspace/chat/search-manage-admin).
*
*
@@ -3942,19 +4040,31 @@ public com.google.chat.v1.Message createMessage(com.google.chat.v1.CreateMessage
*
* {@code
@@ -3093,6 +3168,8 @@ public final SearchSpacesPagedResponse searchSpaces(SearchSpacesRequest request)
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Returns a list of spaces in a Google Workspace organization based on an administrator's search.
+ * In the request, set `use_admin_access` to `true`. For an example, see [Search for and manage
+ * spaces](https://developers.google.com/workspace/chat/search-manage-admin).
*
*
@@ -2741,19 +2790,31 @@ public void createMessage(
*
* {@code
@@ -3762,7 +3837,10 @@ public final UnaryCallable
*/
default void listMessages(
@@ -1696,8 +1708,18 @@ default void getMembership(
* [authentication](https://developers.google.com/workspace/chat/authenticate-authorize):
* - [App
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
- * with the authorization scope:
- * - `https://www.googleapis.com/auth/chat.bot`
+ * with one of the following authorization scopes:
+ * - `https://www.googleapis.com/auth/chat.bot`: When using this
+ * authorization scope, this method returns details about a message the
+ * Chat app has access to, like direct messages and [slash
+ * commands](https://developers.google.com/workspace/chat/slash-commands)
+ * that invoke the Chat app.
+ * - `https://www.googleapis.com/auth/chat.app.messages.readonly`
+ * with [administrator
+ * approval](https://support.google.com/a?p=chat-app-auth) (available in
+ * [Developer Preview](https://developers.google.com/workspace/preview)).
+ * When using this authentication scope,
+ * this method returns details about a public message in a space.
* - [User
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
* with one of the following authorization scopes:
@@ -1860,7 +1882,9 @@ default void listSpaces(
*
*
* Returns a list of spaces in a Google Workspace organization based on an
- * administrator's search.
+ * administrator's search. In the request, set `use_admin_access` to `true`.
+ * For an example, see [Search for and manage
+ * spaces](https://developers.google.com/workspace/chat/search-manage-admin).
* Requires [user
* authentication with administrator
* privileges](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user#admin-privileges)
@@ -1868,7 +1892,6 @@ default void listSpaces(
* scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
* - `https://www.googleapis.com/auth/chat.admin.spaces.readonly`
* - `https://www.googleapis.com/auth/chat.admin.spaces`
- * In the request, set `use_admin_access` to `true`.
*
*/
default void searchSpaces(
@@ -2545,20 +2568,33 @@ default void getThreadReadState(
* payload.
* Note: The `permissionSettings` field is not returned in the Space
* object of the Space event data for this request.
- * Requires [user
- * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
- * with an [authorization
+ * Supports the following types of
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize)
+ * with an
+ * [authorization
* scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes)
* appropriate for reading the requested data:
- * - `https://www.googleapis.com/auth/chat.spaces.readonly`
- * - `https://www.googleapis.com/auth/chat.spaces`
- * - `https://www.googleapis.com/auth/chat.messages.readonly`
- * - `https://www.googleapis.com/auth/chat.messages`
- * - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
- * - `https://www.googleapis.com/auth/chat.messages.reactions`
- * - `https://www.googleapis.com/auth/chat.memberships.readonly`
- * - `https://www.googleapis.com/auth/chat.memberships`
- * To get an event, the authenticated user must be a member of the space.
+ * - [App
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * with [administrator
+ * approval](https://support.google.com/a?p=chat-app-auth) in
+ * [Developer Preview](https://developers.google.com/workspace/preview)
+ * with one of the following authorization scopes:
+ * - `https://www.googleapis.com/auth/chat.app.spaces`
+ * - `https://www.googleapis.com/auth/chat.app.messages.readonly`
+ * - `https://www.googleapis.com/auth/chat.app.memberships`
+ * - [User
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * with one of the following authorization scopes:
+ * - `https://www.googleapis.com/auth/chat.spaces.readonly`
+ * - `https://www.googleapis.com/auth/chat.spaces`
+ * - `https://www.googleapis.com/auth/chat.messages.readonly`
+ * - `https://www.googleapis.com/auth/chat.messages`
+ * - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
+ * - `https://www.googleapis.com/auth/chat.messages.reactions`
+ * - `https://www.googleapis.com/auth/chat.memberships.readonly`
+ * - `https://www.googleapis.com/auth/chat.memberships`
+ * To get an event, the authenticated caller must be a member of the space.
* For an example, see [Get details about an
* event from a Google Chat
* space](https://developers.google.com/workspace/chat/get-space-event).
@@ -2582,20 +2618,33 @@ default void getSpaceEvent(
* resources that contain the latest membership details. If new members were
* removed during the requested period, the event payload contains an empty
* `Membership` resource.
- * Requires [user
- * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
- * with an [authorization
+ * Supports the following types of
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize)
+ * with an
+ * [authorization
* scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes)
* appropriate for reading the requested data:
- * - `https://www.googleapis.com/auth/chat.spaces.readonly`
- * - `https://www.googleapis.com/auth/chat.spaces`
- * - `https://www.googleapis.com/auth/chat.messages.readonly`
- * - `https://www.googleapis.com/auth/chat.messages`
- * - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
- * - `https://www.googleapis.com/auth/chat.messages.reactions`
- * - `https://www.googleapis.com/auth/chat.memberships.readonly`
- * - `https://www.googleapis.com/auth/chat.memberships`
- * To list events, the authenticated user must be a member of the space.
+ * - [App
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * with [administrator
+ * approval](https://support.google.com/a?p=chat-app-auth) in
+ * [Developer Preview](https://developers.google.com/workspace/preview)
+ * with one of the following authorization scopes:
+ * - `https://www.googleapis.com/auth/chat.app.spaces`
+ * - `https://www.googleapis.com/auth/chat.app.messages.readonly`
+ * - `https://www.googleapis.com/auth/chat.app.memberships`
+ * - [User
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * with one of the following authorization scopes:
+ * - `https://www.googleapis.com/auth/chat.spaces.readonly`
+ * - `https://www.googleapis.com/auth/chat.spaces`
+ * - `https://www.googleapis.com/auth/chat.messages.readonly`
+ * - `https://www.googleapis.com/auth/chat.messages`
+ * - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
+ * - `https://www.googleapis.com/auth/chat.messages.reactions`
+ * - `https://www.googleapis.com/auth/chat.memberships.readonly`
+ * - `https://www.googleapis.com/auth/chat.memberships`
+ * To list events, the authenticated caller must be a member of the space.
* For an example, see [List events from a Google Chat
* space](https://developers.google.com/workspace/chat/list-space-events).
*
* Lists messages in a space that the caller is a member of, including
- * messages from blocked members and spaces. If you list messages from a
+ * messages from blocked members and spaces. System messages, like those
+ * announcing new space members, aren't included. If you list messages from a
* space with no messages, the response is an empty object. When using a
* REST/HTTP interface, the response contains an empty JSON object, `{}`.
* For an example, see
* [List
* messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list).
- * Requires [user
+ * Supports the following types of
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize):
+ * - [App
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * with [administrator
+ * approval](https://support.google.com/a?p=chat-app-auth) in
+ * [Developer Preview](https://developers.google.com/workspace/preview)
+ * with the authorization scope:
+ * - `https://www.googleapis.com/auth/chat.app.messages.readonly`. When
+ * using this authentication scope, this method only returns public
+ * messages in a space. It doesn't include private messages.
+ * - [User
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
- * with one of the following [authorization
- * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
- * - `https://www.googleapis.com/auth/chat.messages.readonly`
- * - `https://www.googleapis.com/auth/chat.messages`
- * - `https://www.googleapis.com/auth/chat.import` (import mode spaces only)
+ * with one of the following authorization scopes:
+ * - `https://www.googleapis.com/auth/chat.messages.readonly`
+ * - `https://www.googleapis.com/auth/chat.messages`
+ * - `https://www.googleapis.com/auth/chat.import` (import mode spaces
+ * only)
*
*/
public void listMessages(
@@ -2858,8 +2919,18 @@ public void getMembership(
* [authentication](https://developers.google.com/workspace/chat/authenticate-authorize):
* - [App
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
- * with the authorization scope:
- * - `https://www.googleapis.com/auth/chat.bot`
+ * with one of the following authorization scopes:
+ * - `https://www.googleapis.com/auth/chat.bot`: When using this
+ * authorization scope, this method returns details about a message the
+ * Chat app has access to, like direct messages and [slash
+ * commands](https://developers.google.com/workspace/chat/slash-commands)
+ * that invoke the Chat app.
+ * - `https://www.googleapis.com/auth/chat.app.messages.readonly`
+ * with [administrator
+ * approval](https://support.google.com/a?p=chat-app-auth) (available in
+ * [Developer Preview](https://developers.google.com/workspace/preview)).
+ * When using this authentication scope,
+ * this method returns details about a public message in a space.
* - [User
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
* with one of the following authorization scopes:
@@ -3032,7 +3103,9 @@ public void listSpaces(
*
*
* Returns a list of spaces in a Google Workspace organization based on an
- * administrator's search.
+ * administrator's search. In the request, set `use_admin_access` to `true`.
+ * For an example, see [Search for and manage
+ * spaces](https://developers.google.com/workspace/chat/search-manage-admin).
* Requires [user
* authentication with administrator
* privileges](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user#admin-privileges)
@@ -3040,7 +3113,6 @@ public void listSpaces(
* scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
* - `https://www.googleapis.com/auth/chat.admin.spaces.readonly`
* - `https://www.googleapis.com/auth/chat.admin.spaces`
- * In the request, set `use_admin_access` to `true`.
*
*/
public void searchSpaces(
@@ -3757,20 +3829,33 @@ public void getThreadReadState(
* payload.
* Note: The `permissionSettings` field is not returned in the Space
* object of the Space event data for this request.
- * Requires [user
- * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
- * with an [authorization
+ * Supports the following types of
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize)
+ * with an
+ * [authorization
* scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes)
* appropriate for reading the requested data:
- * - `https://www.googleapis.com/auth/chat.spaces.readonly`
- * - `https://www.googleapis.com/auth/chat.spaces`
- * - `https://www.googleapis.com/auth/chat.messages.readonly`
- * - `https://www.googleapis.com/auth/chat.messages`
- * - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
- * - `https://www.googleapis.com/auth/chat.messages.reactions`
- * - `https://www.googleapis.com/auth/chat.memberships.readonly`
- * - `https://www.googleapis.com/auth/chat.memberships`
- * To get an event, the authenticated user must be a member of the space.
+ * - [App
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * with [administrator
+ * approval](https://support.google.com/a?p=chat-app-auth) in
+ * [Developer Preview](https://developers.google.com/workspace/preview)
+ * with one of the following authorization scopes:
+ * - `https://www.googleapis.com/auth/chat.app.spaces`
+ * - `https://www.googleapis.com/auth/chat.app.messages.readonly`
+ * - `https://www.googleapis.com/auth/chat.app.memberships`
+ * - [User
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * with one of the following authorization scopes:
+ * - `https://www.googleapis.com/auth/chat.spaces.readonly`
+ * - `https://www.googleapis.com/auth/chat.spaces`
+ * - `https://www.googleapis.com/auth/chat.messages.readonly`
+ * - `https://www.googleapis.com/auth/chat.messages`
+ * - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
+ * - `https://www.googleapis.com/auth/chat.messages.reactions`
+ * - `https://www.googleapis.com/auth/chat.memberships.readonly`
+ * - `https://www.googleapis.com/auth/chat.memberships`
+ * To get an event, the authenticated caller must be a member of the space.
* For an example, see [Get details about an
* event from a Google Chat
* space](https://developers.google.com/workspace/chat/get-space-event).
@@ -3796,20 +3881,33 @@ public void getSpaceEvent(
* resources that contain the latest membership details. If new members were
* removed during the requested period, the event payload contains an empty
* `Membership` resource.
- * Requires [user
- * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
- * with an [authorization
+ * Supports the following types of
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize)
+ * with an
+ * [authorization
* scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes)
* appropriate for reading the requested data:
- * - `https://www.googleapis.com/auth/chat.spaces.readonly`
- * - `https://www.googleapis.com/auth/chat.spaces`
- * - `https://www.googleapis.com/auth/chat.messages.readonly`
- * - `https://www.googleapis.com/auth/chat.messages`
- * - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
- * - `https://www.googleapis.com/auth/chat.messages.reactions`
- * - `https://www.googleapis.com/auth/chat.memberships.readonly`
- * - `https://www.googleapis.com/auth/chat.memberships`
- * To list events, the authenticated user must be a member of the space.
+ * - [App
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * with [administrator
+ * approval](https://support.google.com/a?p=chat-app-auth) in
+ * [Developer Preview](https://developers.google.com/workspace/preview)
+ * with one of the following authorization scopes:
+ * - `https://www.googleapis.com/auth/chat.app.spaces`
+ * - `https://www.googleapis.com/auth/chat.app.messages.readonly`
+ * - `https://www.googleapis.com/auth/chat.app.memberships`
+ * - [User
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * with one of the following authorization scopes:
+ * - `https://www.googleapis.com/auth/chat.spaces.readonly`
+ * - `https://www.googleapis.com/auth/chat.spaces`
+ * - `https://www.googleapis.com/auth/chat.messages.readonly`
+ * - `https://www.googleapis.com/auth/chat.messages`
+ * - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
+ * - `https://www.googleapis.com/auth/chat.messages.reactions`
+ * - `https://www.googleapis.com/auth/chat.memberships.readonly`
+ * - `https://www.googleapis.com/auth/chat.memberships`
+ * To list events, the authenticated caller must be a member of the space.
* For an example, see [List events from a Google Chat
* space](https://developers.google.com/workspace/chat/list-space-events).
*
* Lists messages in a space that the caller is a member of, including
- * messages from blocked members and spaces. If you list messages from a
+ * messages from blocked members and spaces. System messages, like those
+ * announcing new space members, aren't included. If you list messages from a
* space with no messages, the response is an empty object. When using a
* REST/HTTP interface, the response contains an empty JSON object, `{}`.
* For an example, see
* [List
* messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list).
- * Requires [user
+ * Supports the following types of
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize):
+ * - [App
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * with [administrator
+ * approval](https://support.google.com/a?p=chat-app-auth) in
+ * [Developer Preview](https://developers.google.com/workspace/preview)
+ * with the authorization scope:
+ * - `https://www.googleapis.com/auth/chat.app.messages.readonly`. When
+ * using this authentication scope, this method only returns public
+ * messages in a space. It doesn't include private messages.
+ * - [User
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
- * with one of the following [authorization
- * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
- * - `https://www.googleapis.com/auth/chat.messages.readonly`
- * - `https://www.googleapis.com/auth/chat.messages`
- * - `https://www.googleapis.com/auth/chat.import` (import mode spaces only)
+ * with one of the following authorization scopes:
+ * - `https://www.googleapis.com/auth/chat.messages.readonly`
+ * - `https://www.googleapis.com/auth/chat.messages`
+ * - `https://www.googleapis.com/auth/chat.import` (import mode spaces
+ * only)
*
*/
public com.google.chat.v1.ListMessagesResponse listMessages(
@@ -4050,8 +4160,18 @@ public com.google.chat.v1.Membership getMembership(
* [authentication](https://developers.google.com/workspace/chat/authenticate-authorize):
* - [App
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
- * with the authorization scope:
- * - `https://www.googleapis.com/auth/chat.bot`
+ * with one of the following authorization scopes:
+ * - `https://www.googleapis.com/auth/chat.bot`: When using this
+ * authorization scope, this method returns details about a message the
+ * Chat app has access to, like direct messages and [slash
+ * commands](https://developers.google.com/workspace/chat/slash-commands)
+ * that invoke the Chat app.
+ * - `https://www.googleapis.com/auth/chat.app.messages.readonly`
+ * with [administrator
+ * approval](https://support.google.com/a?p=chat-app-auth) (available in
+ * [Developer Preview](https://developers.google.com/workspace/preview)).
+ * When using this authentication scope,
+ * this method returns details about a public message in a space.
* - [User
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
* with one of the following authorization scopes:
@@ -4210,7 +4330,9 @@ public com.google.chat.v1.ListSpacesResponse listSpaces(
*
*
* Returns a list of spaces in a Google Workspace organization based on an
- * administrator's search.
+ * administrator's search. In the request, set `use_admin_access` to `true`.
+ * For an example, see [Search for and manage
+ * spaces](https://developers.google.com/workspace/chat/search-manage-admin).
* Requires [user
* authentication with administrator
* privileges](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user#admin-privileges)
@@ -4218,7 +4340,6 @@ public com.google.chat.v1.ListSpacesResponse listSpaces(
* scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
* - `https://www.googleapis.com/auth/chat.admin.spaces.readonly`
* - `https://www.googleapis.com/auth/chat.admin.spaces`
- * In the request, set `use_admin_access` to `true`.
*
*/
public com.google.chat.v1.SearchSpacesResponse searchSpaces(
@@ -4875,20 +4996,33 @@ public com.google.chat.v1.ThreadReadState getThreadReadState(
* payload.
* Note: The `permissionSettings` field is not returned in the Space
* object of the Space event data for this request.
- * Requires [user
- * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
- * with an [authorization
+ * Supports the following types of
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize)
+ * with an
+ * [authorization
* scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes)
* appropriate for reading the requested data:
- * - `https://www.googleapis.com/auth/chat.spaces.readonly`
- * - `https://www.googleapis.com/auth/chat.spaces`
- * - `https://www.googleapis.com/auth/chat.messages.readonly`
- * - `https://www.googleapis.com/auth/chat.messages`
- * - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
- * - `https://www.googleapis.com/auth/chat.messages.reactions`
- * - `https://www.googleapis.com/auth/chat.memberships.readonly`
- * - `https://www.googleapis.com/auth/chat.memberships`
- * To get an event, the authenticated user must be a member of the space.
+ * - [App
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * with [administrator
+ * approval](https://support.google.com/a?p=chat-app-auth) in
+ * [Developer Preview](https://developers.google.com/workspace/preview)
+ * with one of the following authorization scopes:
+ * - `https://www.googleapis.com/auth/chat.app.spaces`
+ * - `https://www.googleapis.com/auth/chat.app.messages.readonly`
+ * - `https://www.googleapis.com/auth/chat.app.memberships`
+ * - [User
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * with one of the following authorization scopes:
+ * - `https://www.googleapis.com/auth/chat.spaces.readonly`
+ * - `https://www.googleapis.com/auth/chat.spaces`
+ * - `https://www.googleapis.com/auth/chat.messages.readonly`
+ * - `https://www.googleapis.com/auth/chat.messages`
+ * - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
+ * - `https://www.googleapis.com/auth/chat.messages.reactions`
+ * - `https://www.googleapis.com/auth/chat.memberships.readonly`
+ * - `https://www.googleapis.com/auth/chat.memberships`
+ * To get an event, the authenticated caller must be a member of the space.
* For an example, see [Get details about an
* event from a Google Chat
* space](https://developers.google.com/workspace/chat/get-space-event).
@@ -4911,20 +5045,33 @@ public com.google.chat.v1.SpaceEvent getSpaceEvent(
* resources that contain the latest membership details. If new members were
* removed during the requested period, the event payload contains an empty
* `Membership` resource.
- * Requires [user
- * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
- * with an [authorization
+ * Supports the following types of
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize)
+ * with an
+ * [authorization
* scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes)
* appropriate for reading the requested data:
- * - `https://www.googleapis.com/auth/chat.spaces.readonly`
- * - `https://www.googleapis.com/auth/chat.spaces`
- * - `https://www.googleapis.com/auth/chat.messages.readonly`
- * - `https://www.googleapis.com/auth/chat.messages`
- * - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
- * - `https://www.googleapis.com/auth/chat.messages.reactions`
- * - `https://www.googleapis.com/auth/chat.memberships.readonly`
- * - `https://www.googleapis.com/auth/chat.memberships`
- * To list events, the authenticated user must be a member of the space.
+ * - [App
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * with [administrator
+ * approval](https://support.google.com/a?p=chat-app-auth) in
+ * [Developer Preview](https://developers.google.com/workspace/preview)
+ * with one of the following authorization scopes:
+ * - `https://www.googleapis.com/auth/chat.app.spaces`
+ * - `https://www.googleapis.com/auth/chat.app.messages.readonly`
+ * - `https://www.googleapis.com/auth/chat.app.memberships`
+ * - [User
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * with one of the following authorization scopes:
+ * - `https://www.googleapis.com/auth/chat.spaces.readonly`
+ * - `https://www.googleapis.com/auth/chat.spaces`
+ * - `https://www.googleapis.com/auth/chat.messages.readonly`
+ * - `https://www.googleapis.com/auth/chat.messages`
+ * - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
+ * - `https://www.googleapis.com/auth/chat.messages.reactions`
+ * - `https://www.googleapis.com/auth/chat.memberships.readonly`
+ * - `https://www.googleapis.com/auth/chat.memberships`
+ * To list events, the authenticated caller must be a member of the space.
* For an example, see [List events from a Google Chat
* space](https://developers.google.com/workspace/chat/list-space-events).
*
* Lists messages in a space that the caller is a member of, including
- * messages from blocked members and spaces. If you list messages from a
+ * messages from blocked members and spaces. System messages, like those
+ * announcing new space members, aren't included. If you list messages from a
* space with no messages, the response is an empty object. When using a
* REST/HTTP interface, the response contains an empty JSON object, `{}`.
* For an example, see
* [List
* messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list).
- * Requires [user
+ * Supports the following types of
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize):
+ * - [App
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * with [administrator
+ * approval](https://support.google.com/a?p=chat-app-auth) in
+ * [Developer Preview](https://developers.google.com/workspace/preview)
+ * with the authorization scope:
+ * - `https://www.googleapis.com/auth/chat.app.messages.readonly`. When
+ * using this authentication scope, this method only returns public
+ * messages in a space. It doesn't include private messages.
+ * - [User
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
- * with one of the following [authorization
- * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
- * - `https://www.googleapis.com/auth/chat.messages.readonly`
- * - `https://www.googleapis.com/auth/chat.messages`
- * - `https://www.googleapis.com/auth/chat.import` (import mode spaces only)
+ * with one of the following authorization scopes:
+ * - `https://www.googleapis.com/auth/chat.messages.readonly`
+ * - `https://www.googleapis.com/auth/chat.messages`
+ * - `https://www.googleapis.com/auth/chat.import` (import mode spaces
+ * only)
*
*/
public com.google.chat.v1.ListMessagesResponse listMessages(
@@ -5158,8 +5317,18 @@ public com.google.chat.v1.Membership getMembership(
* [authentication](https://developers.google.com/workspace/chat/authenticate-authorize):
* - [App
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
- * with the authorization scope:
- * - `https://www.googleapis.com/auth/chat.bot`
+ * with one of the following authorization scopes:
+ * - `https://www.googleapis.com/auth/chat.bot`: When using this
+ * authorization scope, this method returns details about a message the
+ * Chat app has access to, like direct messages and [slash
+ * commands](https://developers.google.com/workspace/chat/slash-commands)
+ * that invoke the Chat app.
+ * - `https://www.googleapis.com/auth/chat.app.messages.readonly`
+ * with [administrator
+ * approval](https://support.google.com/a?p=chat-app-auth) (available in
+ * [Developer Preview](https://developers.google.com/workspace/preview)).
+ * When using this authentication scope,
+ * this method returns details about a public message in a space.
* - [User
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
* with one of the following authorization scopes:
@@ -5317,7 +5486,9 @@ public com.google.chat.v1.ListSpacesResponse listSpaces(
*
*
* Returns a list of spaces in a Google Workspace organization based on an
- * administrator's search.
+ * administrator's search. In the request, set `use_admin_access` to `true`.
+ * For an example, see [Search for and manage
+ * spaces](https://developers.google.com/workspace/chat/search-manage-admin).
* Requires [user
* authentication with administrator
* privileges](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user#admin-privileges)
@@ -5325,7 +5496,6 @@ public com.google.chat.v1.ListSpacesResponse listSpaces(
* scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
* - `https://www.googleapis.com/auth/chat.admin.spaces.readonly`
* - `https://www.googleapis.com/auth/chat.admin.spaces`
- * In the request, set `use_admin_access` to `true`.
*
*/
public com.google.chat.v1.SearchSpacesResponse searchSpaces(
@@ -5977,20 +6147,33 @@ public com.google.chat.v1.ThreadReadState getThreadReadState(
* payload.
* Note: The `permissionSettings` field is not returned in the Space
* object of the Space event data for this request.
- * Requires [user
- * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
- * with an [authorization
+ * Supports the following types of
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize)
+ * with an
+ * [authorization
* scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes)
* appropriate for reading the requested data:
- * - `https://www.googleapis.com/auth/chat.spaces.readonly`
- * - `https://www.googleapis.com/auth/chat.spaces`
- * - `https://www.googleapis.com/auth/chat.messages.readonly`
- * - `https://www.googleapis.com/auth/chat.messages`
- * - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
- * - `https://www.googleapis.com/auth/chat.messages.reactions`
- * - `https://www.googleapis.com/auth/chat.memberships.readonly`
- * - `https://www.googleapis.com/auth/chat.memberships`
- * To get an event, the authenticated user must be a member of the space.
+ * - [App
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * with [administrator
+ * approval](https://support.google.com/a?p=chat-app-auth) in
+ * [Developer Preview](https://developers.google.com/workspace/preview)
+ * with one of the following authorization scopes:
+ * - `https://www.googleapis.com/auth/chat.app.spaces`
+ * - `https://www.googleapis.com/auth/chat.app.messages.readonly`
+ * - `https://www.googleapis.com/auth/chat.app.memberships`
+ * - [User
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * with one of the following authorization scopes:
+ * - `https://www.googleapis.com/auth/chat.spaces.readonly`
+ * - `https://www.googleapis.com/auth/chat.spaces`
+ * - `https://www.googleapis.com/auth/chat.messages.readonly`
+ * - `https://www.googleapis.com/auth/chat.messages`
+ * - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
+ * - `https://www.googleapis.com/auth/chat.messages.reactions`
+ * - `https://www.googleapis.com/auth/chat.memberships.readonly`
+ * - `https://www.googleapis.com/auth/chat.memberships`
+ * To get an event, the authenticated caller must be a member of the space.
* For an example, see [Get details about an
* event from a Google Chat
* space](https://developers.google.com/workspace/chat/get-space-event).
@@ -6013,20 +6196,33 @@ public com.google.chat.v1.SpaceEvent getSpaceEvent(
* resources that contain the latest membership details. If new members were
* removed during the requested period, the event payload contains an empty
* `Membership` resource.
- * Requires [user
- * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
- * with an [authorization
+ * Supports the following types of
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize)
+ * with an
+ * [authorization
* scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes)
* appropriate for reading the requested data:
- * - `https://www.googleapis.com/auth/chat.spaces.readonly`
- * - `https://www.googleapis.com/auth/chat.spaces`
- * - `https://www.googleapis.com/auth/chat.messages.readonly`
- * - `https://www.googleapis.com/auth/chat.messages`
- * - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
- * - `https://www.googleapis.com/auth/chat.messages.reactions`
- * - `https://www.googleapis.com/auth/chat.memberships.readonly`
- * - `https://www.googleapis.com/auth/chat.memberships`
- * To list events, the authenticated user must be a member of the space.
+ * - [App
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * with [administrator
+ * approval](https://support.google.com/a?p=chat-app-auth) in
+ * [Developer Preview](https://developers.google.com/workspace/preview)
+ * with one of the following authorization scopes:
+ * - `https://www.googleapis.com/auth/chat.app.spaces`
+ * - `https://www.googleapis.com/auth/chat.app.messages.readonly`
+ * - `https://www.googleapis.com/auth/chat.app.memberships`
+ * - [User
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * with one of the following authorization scopes:
+ * - `https://www.googleapis.com/auth/chat.spaces.readonly`
+ * - `https://www.googleapis.com/auth/chat.spaces`
+ * - `https://www.googleapis.com/auth/chat.messages.readonly`
+ * - `https://www.googleapis.com/auth/chat.messages`
+ * - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
+ * - `https://www.googleapis.com/auth/chat.messages.reactions`
+ * - `https://www.googleapis.com/auth/chat.memberships.readonly`
+ * - `https://www.googleapis.com/auth/chat.memberships`
+ * To list events, the authenticated caller must be a member of the space.
* For an example, see [List events from a Google Chat
* space](https://developers.google.com/workspace/chat/list-space-events).
*
@@ -6150,19 +6346,31 @@ protected ChatServiceFutureStub build(
*
*
* Lists messages in a space that the caller is a member of, including
- * messages from blocked members and spaces. If you list messages from a
+ * messages from blocked members and spaces. System messages, like those
+ * announcing new space members, aren't included. If you list messages from a
* space with no messages, the response is an empty object. When using a
* REST/HTTP interface, the response contains an empty JSON object, `{}`.
* For an example, see
* [List
* messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list).
- * Requires [user
+ * Supports the following types of
+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize):
+ * - [App
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ * with [administrator
+ * approval](https://support.google.com/a?p=chat-app-auth) in
+ * [Developer Preview](https://developers.google.com/workspace/preview)
+ * with the authorization scope:
+ * - `https://www.googleapis.com/auth/chat.app.messages.readonly`. When
+ * using this authentication scope, this method only returns public
+ * messages in a space. It doesn't include private messages.
+ * - [User
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
- * with one of the following [authorization
- * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
- * - `https://www.googleapis.com/auth/chat.messages.readonly`
- * - `https://www.googleapis.com/auth/chat.messages`
- * - `https://www.googleapis.com/auth/chat.import` (import mode spaces only)
+ * with one of the following authorization scopes:
+ * - `https://www.googleapis.com/auth/chat.messages.readonly`
+ * - `https://www.googleapis.com/auth/chat.messages`
+ * - `https://www.googleapis.com/auth/chat.import` (import mode spaces
+ * only)
*
*/
public com.google.common.util.concurrent.ListenableFuture<
@@ -6260,8 +6468,18 @@ protected ChatServiceFutureStub build(
* [authentication](https://developers.google.com/workspace/chat/authenticate-authorize):
* - [App
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
- * with the authorization scope:
- * - `https://www.googleapis.com/auth/chat.bot`
+ * with one of the following authorization scopes:
+ * - `https://www.googleapis.com/auth/chat.bot`: When using this
+ * authorization scope, this method returns details about a message the
+ * Chat app has access to, like direct messages and [slash
+ * commands](https://developers.google.com/workspace/chat/slash-commands)
+ * that invoke the Chat app.
+ * - `https://www.googleapis.com/auth/chat.app.messages.readonly`
+ * with [administrator
+ * approval](https://support.google.com/a?p=chat-app-auth) (available in
+ * [Developer Preview](https://developers.google.com/workspace/preview)).
+ * When using this authentication scope,
+ * this method returns details about a public message in a space.
* - [User
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
* with one of the following authorization scopes:
@@ -6421,7 +6639,9 @@ protected ChatServiceFutureStub build(
*
*
* Returns a list of spaces in a Google Workspace organization based on an
- * administrator's search.
+ * administrator's search. In the request, set `use_admin_access` to `true`.
+ * For an example, see [Search for and manage
+ * spaces](https://developers.google.com/workspace/chat/search-manage-admin).
* Requires [user
* authentication with administrator
* privileges](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user#admin-privileges)
@@ -6429,7 +6649,6 @@ protected ChatServiceFutureStub build(
* scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
* - `https://www.googleapis.com/auth/chat.admin.spaces.readonly`
* - `https://www.googleapis.com/auth/chat.admin.spaces`
- * In the request, set `use_admin_access` to `true`.
*
*/
public com.google.common.util.concurrent.ListenableFuture<
@@ -7090,20 +7309,33 @@ public com.google.common.util.concurrent.ListenableFuture
- * Optional. Resource name of the attachment, in the form
- * `spaces/{space}/messages/{message}/attachments/{attachment}`.
+ * Identifier. Resource name of the attachment.
+ *
+ * Format: `spaces/{space}/messages/{message}/attachments/{attachment}`.
*
*
- * string name = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
*
* @return The name.
*/
@@ -310,11 +311,12 @@ public java.lang.String getName() {
*
*
*
- * Optional. Resource name of the attachment, in the form
- * `spaces/{space}/messages/{message}/attachments/{attachment}`.
+ * Identifier. Resource name of the attachment.
+ *
+ * Format: `spaces/{space}/messages/{message}/attachments/{attachment}`.
*
*
- * string name = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
*
* @return The bytes for name.
*/
@@ -1285,11 +1287,12 @@ public Builder clearDataRef() {
*
*
*
- * Optional. Resource name of the attachment, in the form
- * `spaces/{space}/messages/{message}/attachments/{attachment}`.
+ * Identifier. Resource name of the attachment.
+ *
+ * Format: `spaces/{space}/messages/{message}/attachments/{attachment}`.
*
*
- * string name = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
*
* @return The name.
*/
@@ -1309,11 +1312,12 @@ public java.lang.String getName() {
*
*
*
- * Optional. Resource name of the attachment, in the form
- * `spaces/{space}/messages/{message}/attachments/{attachment}`.
+ * Identifier. Resource name of the attachment.
+ *
+ * Format: `spaces/{space}/messages/{message}/attachments/{attachment}`.
*
*
- * string name = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
*
* @return The bytes for name.
*/
@@ -1333,11 +1337,12 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
*
- * Optional. Resource name of the attachment, in the form
- * `spaces/{space}/messages/{message}/attachments/{attachment}`.
+ * Identifier. Resource name of the attachment.
+ *
+ * Format: `spaces/{space}/messages/{message}/attachments/{attachment}`.
*
*
- * string name = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
*
* @param value The name to set.
* @return This builder for chaining.
@@ -1356,11 +1361,12 @@ public Builder setName(java.lang.String value) {
*
*
*
- * Optional. Resource name of the attachment, in the form
- * `spaces/{space}/messages/{message}/attachments/{attachment}`.
+ * Identifier. Resource name of the attachment.
+ *
+ * Format: `spaces/{space}/messages/{message}/attachments/{attachment}`.
*
*
- * string name = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
*
* @return This builder for chaining.
*/
@@ -1375,11 +1381,12 @@ public Builder clearName() {
*
*
*
- * Optional. Resource name of the attachment, in the form
- * `spaces/{space}/messages/{message}/attachments/{attachment}`.
+ * Identifier. Resource name of the attachment.
+ *
+ * Format: `spaces/{space}/messages/{message}/attachments/{attachment}`.
*
*
- * string name = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
*
* @param value The bytes for name to set.
* @return This builder for chaining.
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/AttachmentOrBuilder.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/AttachmentOrBuilder.java
index 7002148a323f..39158077b081 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/AttachmentOrBuilder.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/AttachmentOrBuilder.java
@@ -28,11 +28,12 @@ public interface AttachmentOrBuilder
*
*
*
- * Optional. Resource name of the attachment, in the form
- * `spaces/{space}/messages/{message}/attachments/{attachment}`.
+ * Identifier. Resource name of the attachment.
+ *
+ * Format: `spaces/{space}/messages/{message}/attachments/{attachment}`.
*
*
- * string name = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
*
* @return The name.
*/
@@ -42,11 +43,12 @@ public interface AttachmentOrBuilder
*
*
*
- * Optional. Resource name of the attachment, in the form
- * `spaces/{space}/messages/{message}/attachments/{attachment}`.
+ * Identifier. Resource name of the attachment.
+ *
+ * Format: `spaces/{space}/messages/{message}/attachments/{attachment}`.
*
*
- * string name = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
*
* @return The bytes for name.
*/
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/AttachmentProto.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/AttachmentProto.java
index 27da618ba759..9f0eeac75890 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/AttachmentProto.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/AttachmentProto.java
@@ -65,7 +65,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\037google/chat/v1/attachment.proto\022\016googl"
+ "e.chat.v1\032\037google/api/field_behavior.proto\032\031google/api/resource.proto\"\375\003\n\n"
+ "Attachment\022\021\n"
- + "\004name\030\001 \001(\tB\003\340A\001\022\031\n"
+ + "\004name\030\001 \001(\tB\003\340A\010\022\031\n"
+ "\014content_name\030\002 \001(\tB\003\340A\003\022\031\n"
+ "\014content_type\030\003 \001(\tB\003\340A\003\022E\n"
+ "\023attachment_data_ref\030\004"
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ChatServiceProto.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ChatServiceProto.java
index 65ee63ff18f0..b68160ed35b7 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ChatServiceProto.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/ChatServiceProto.java
@@ -48,7 +48,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "/space_read_state.proto\032 google/chat/v1/"
+ "space_setup.proto\032&google/chat/v1/thread"
+ "_read_state.proto\032\033google/protobuf/empty"
- + ".proto2\2055\n\013ChatService\022\233\001\n\rCreateMessage"
+ + ".proto2\3005\n\013ChatService\022\233\001\n\rCreateMessage"
+ "\022$.google.chat.v1.CreateMessageRequest\032\027"
+ ".google.chat.v1.Message\"K\332A\031parent,messa"
+ "ge,message_id\202\323\344\223\002)\"\036/v1/{parent=spaces/"
@@ -178,8 +178,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "pace_notification_setting,update_mask\202\323\344"
+ "\223\002m2O/v1/{space_notification_setting.nam"
+ "e=users/*/spaces/*/spaceNotificationSett"
- + "ing}:\032space_notification_setting\032\233\014\312A\023ch"
- + "at.googleapis.com\322A\201\014https://www.googlea"
+ + "ing}:\032space_notification_setting\032\326\014\312A\023ch"
+ + "at.googleapis.com\322A\274\014https://www.googlea"
+ "pis.com/auth/chat.admin.delete,https://w"
+ "ww.googleapis.com/auth/chat.admin.member"
+ "ships,https://www.googleapis.com/auth/ch"
@@ -190,39 +190,40 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "s.com/auth/chat.app.delete,https://www.g"
+ "oogleapis.com/auth/chat.app.memberships,"
+ "https://www.googleapis.com/auth/chat.app"
- + ".spaces,https://www.googleapis.com/auth/"
- + "chat.app.spaces.create,https://www.googl"
- + "eapis.com/auth/chat.bot,https://www.goog"
- + "leapis.com/auth/chat.customemojis,https:"
- + "//www.googleapis.com/auth/chat.customemo"
- + "jis.readonly,https://www.googleapis.com/"
- + "auth/chat.delete,https://www.googleapis."
- + "com/auth/chat.import,https://www.googlea"
- + "pis.com/auth/chat.memberships,https://ww"
- + "w.googleapis.com/auth/chat.memberships.a"
- + "pp,https://www.googleapis.com/auth/chat."
- + "memberships.readonly,https://www.googlea"
- + "pis.com/auth/chat.messages,https://www.g"
- + "oogleapis.com/auth/chat.messages.create,"
+ + ".messages.readonly,https://www.googleapi"
+ + "s.com/auth/chat.app.spaces,https://www.g"
+ + "oogleapis.com/auth/chat.app.spaces.creat"
+ + "e,https://www.googleapis.com/auth/chat.b"
+ + "ot,https://www.googleapis.com/auth/chat."
+ + "customemojis,https://www.googleapis.com/"
+ + "auth/chat.customemojis.readonly,https://"
+ + "www.googleapis.com/auth/chat.delete,http"
+ + "s://www.googleapis.com/auth/chat.import,"
+ + "https://www.googleapis.com/auth/chat.mem"
+ + "berships,https://www.googleapis.com/auth"
+ + "/chat.memberships.app,https://www.google"
+ + "apis.com/auth/chat.memberships.readonly,"
+ "https://www.googleapis.com/auth/chat.mes"
- + "sages.reactions,https://www.googleapis.c"
- + "om/auth/chat.messages.reactions.create,h"
- + "ttps://www.googleapis.com/auth/chat.mess"
- + "ages.reactions.readonly,https://www.goog"
- + "leapis.com/auth/chat.messages.readonly,h"
- + "ttps://www.googleapis.com/auth/chat.spac"
- + "es,https://www.googleapis.com/auth/chat."
- + "spaces.create,https://www.googleapis.com"
- + "/auth/chat.spaces.readonly,https://www.g"
- + "oogleapis.com/auth/chat.users.readstate,"
- + "https://www.googleapis.com/auth/chat.use"
- + "rs.readstate.readonly,https://www.google"
- + "apis.com/auth/chat.users.spacesettingsB\251"
- + "\001\n\022com.google.chat.v1B\020ChatServiceProtoP"
- + "\001Z,cloud.google.com/go/chat/apiv1/chatpb"
- + ";chatpb\242\002\013DYNAPIProto\252\002\023Google.Apps.Chat"
- + ".V1\312\002\023Google\\Apps\\Chat\\V1\352\002\026Google::Apps"
- + "::Chat::V1b\006proto3"
+ + "sages,https://www.googleapis.com/auth/ch"
+ + "at.messages.create,https://www.googleapi"
+ + "s.com/auth/chat.messages.reactions,https"
+ + "://www.googleapis.com/auth/chat.messages"
+ + ".reactions.create,https://www.googleapis"
+ + ".com/auth/chat.messages.reactions.readon"
+ + "ly,https://www.googleapis.com/auth/chat."
+ + "messages.readonly,https://www.googleapis"
+ + ".com/auth/chat.spaces,https://www.google"
+ + "apis.com/auth/chat.spaces.create,https:/"
+ + "/www.googleapis.com/auth/chat.spaces.rea"
+ + "donly,https://www.googleapis.com/auth/ch"
+ + "at.users.readstate,https://www.googleapi"
+ + "s.com/auth/chat.users.readstate.readonly"
+ + ",https://www.googleapis.com/auth/chat.us"
+ + "ers.spacesettingsB\251\001\n\022com.google.chat.v1"
+ + "B\020ChatServiceProtoP\001Z,cloud.google.com/g"
+ + "o/chat/apiv1/chatpb;chatpb\242\002\013DYNAPIProto"
+ + "\252\002\023Google.Apps.Chat.V1\312\002\023Google\\Apps\\Cha"
+ + "t\\V1\352\002\026Google::Apps::Chat::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Message.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Message.java
index e7868137b3d0..daca8283fd2b 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Message.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Message.java
@@ -508,6 +508,8 @@ public com.google.protobuf.ByteString getTextBytes() {
* This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning
* face emoji.
*
+ * * Bullet list items using asterisks (`*`)—for example, `* item`.
+ *
* For more information, see [View text formatting sent in a
* message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message)
*
@@ -554,6 +556,8 @@ public java.lang.String getFormattedText() {
* This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning
* face emoji.
*
+ * * Bullet list items using asterisks (`*`)—for example, `* item`.
+ *
* For more information, see [View text formatting sent in a
* message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message)
*
@@ -1593,8 +1597,6 @@ public com.google.chat.v1.EmojiReactionSummaryOrBuilder getEmojiReactionSummarie
* and omit the following:
*
* * [Attachments](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments)
- * * [Accessory
- * widgets](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages#Message.AccessoryWidget)
*
* For details, see [Send a message
* privately](https://developers.google.com/workspace/chat/create-messages#private).
@@ -1623,8 +1625,6 @@ public boolean hasPrivateMessageViewer() {
* and omit the following:
*
* * [Attachments](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments)
- * * [Accessory
- * widgets](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages#Message.AccessoryWidget)
*
* For details, see [Send a message
* privately](https://developers.google.com/workspace/chat/create-messages#private).
@@ -1655,8 +1655,6 @@ public com.google.chat.v1.User getPrivateMessageViewer() {
* and omit the following:
*
* * [Attachments](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments)
- * * [Accessory
- * widgets](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages#Message.AccessoryWidget)
*
* For details, see [Send a message
* privately](https://developers.google.com/workspace/chat/create-messages#private).
@@ -4717,6 +4715,8 @@ public Builder setTextBytes(com.google.protobuf.ByteString value) {
* This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning
* face emoji.
*
+ * * Bullet list items using asterisks (`*`)—for example, `* item`.
+ *
* For more information, see [View text formatting sent in a
* message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message)
*
@@ -4762,6 +4762,8 @@ public java.lang.String getFormattedText() {
* This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning
* face emoji.
*
+ * * Bullet list items using asterisks (`*`)—for example, `* item`.
+ *
* For more information, see [View text formatting sent in a
* message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message)
*
@@ -4807,6 +4809,8 @@ public com.google.protobuf.ByteString getFormattedTextBytes() {
* This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning
* face emoji.
*
+ * * Bullet list items using asterisks (`*`)—for example, `* item`.
+ *
* For more information, see [View text formatting sent in a
* message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message)
*
@@ -4851,6 +4855,8 @@ public Builder setFormattedText(java.lang.String value) {
* This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning
* face emoji.
*
+ * * Bullet list items using asterisks (`*`)—for example, `* item`.
+ *
* For more information, see [View text formatting sent in a
* message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message)
*
@@ -4891,6 +4897,8 @@ public Builder clearFormattedText() {
* This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning
* face emoji.
*
+ * * Bullet list items using asterisks (`*`)—for example, `* item`.
+ *
* For more information, see [View text formatting sent in a
* message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message)
*
@@ -8789,8 +8797,6 @@ public com.google.chat.v1.EmojiReactionSummary.Builder addEmojiReactionSummaries
* and omit the following:
*
* * [Attachments](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments)
- * * [Accessory
- * widgets](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages#Message.AccessoryWidget)
*
* For details, see [Send a message
* privately](https://developers.google.com/workspace/chat/create-messages#private).
@@ -8818,8 +8824,6 @@ public boolean hasPrivateMessageViewer() {
* and omit the following:
*
* * [Attachments](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments)
- * * [Accessory
- * widgets](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages#Message.AccessoryWidget)
*
* For details, see [Send a message
* privately](https://developers.google.com/workspace/chat/create-messages#private).
@@ -8853,8 +8857,6 @@ public com.google.chat.v1.User getPrivateMessageViewer() {
* and omit the following:
*
* * [Attachments](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments)
- * * [Accessory
- * widgets](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages#Message.AccessoryWidget)
*
* For details, see [Send a message
* privately](https://developers.google.com/workspace/chat/create-messages#private).
@@ -8890,8 +8892,6 @@ public Builder setPrivateMessageViewer(com.google.chat.v1.User value) {
* and omit the following:
*
* * [Attachments](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments)
- * * [Accessory
- * widgets](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages#Message.AccessoryWidget)
*
* For details, see [Send a message
* privately](https://developers.google.com/workspace/chat/create-messages#private).
@@ -8924,8 +8924,6 @@ public Builder setPrivateMessageViewer(com.google.chat.v1.User.Builder builderFo
* and omit the following:
*
* * [Attachments](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments)
- * * [Accessory
- * widgets](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages#Message.AccessoryWidget)
*
* For details, see [Send a message
* privately](https://developers.google.com/workspace/chat/create-messages#private).
@@ -8966,8 +8964,6 @@ public Builder mergePrivateMessageViewer(com.google.chat.v1.User value) {
* and omit the following:
*
* * [Attachments](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments)
- * * [Accessory
- * widgets](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages#Message.AccessoryWidget)
*
* For details, see [Send a message
* privately](https://developers.google.com/workspace/chat/create-messages#private).
@@ -9000,8 +8996,6 @@ public Builder clearPrivateMessageViewer() {
* and omit the following:
*
* * [Attachments](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments)
- * * [Accessory
- * widgets](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages#Message.AccessoryWidget)
*
* For details, see [Send a message
* privately](https://developers.google.com/workspace/chat/create-messages#private).
@@ -9029,8 +9023,6 @@ public com.google.chat.v1.User.Builder getPrivateMessageViewerBuilder() {
* and omit the following:
*
* * [Attachments](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments)
- * * [Accessory
- * widgets](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages#Message.AccessoryWidget)
*
* For details, see [Send a message
* privately](https://developers.google.com/workspace/chat/create-messages#private).
@@ -9062,8 +9054,6 @@ public com.google.chat.v1.UserOrBuilder getPrivateMessageViewerOrBuilder() {
* and omit the following:
*
* * [Attachments](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments)
- * * [Accessory
- * widgets](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages#Message.AccessoryWidget)
*
* For details, see [Send a message
* privately](https://developers.google.com/workspace/chat/create-messages#private).
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/MessageDeletedEventData.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/MessageDeletedEventData.java
index 858247f67a02..ddb592562397 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/MessageDeletedEventData.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/MessageDeletedEventData.java
@@ -72,7 +72,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * The deleted message. Only the `name`, `createTime`, `deleteTime`, and
+ * The deleted message. Only the `name`, `createTime`, and
* `deletionMetadata` fields are populated.
*
*
@@ -89,7 +89,7 @@ public boolean hasMessage() {
*
*
*
- * The deleted message. Only the `name`, `createTime`, `deleteTime`, and
+ * The deleted message. Only the `name`, `createTime`, and
* `deletionMetadata` fields are populated.
*
*
@@ -106,7 +106,7 @@ public com.google.chat.v1.Message getMessage() {
*
*
*
- * The deleted message. Only the `name`, `createTime`, `deleteTime`, and
+ * The deleted message. Only the `name`, `createTime`, and
* `deletionMetadata` fields are populated.
*
*
@@ -491,7 +491,7 @@ public Builder mergeFrom(
*
*
*
- * The deleted message. Only the `name`, `createTime`, `deleteTime`, and
+ * The deleted message. Only the `name`, `createTime`, and
* `deletionMetadata` fields are populated.
*
*
@@ -507,7 +507,7 @@ public boolean hasMessage() {
*
*
*
- * The deleted message. Only the `name`, `createTime`, `deleteTime`, and
+ * The deleted message. Only the `name`, `createTime`, and
* `deletionMetadata` fields are populated.
*
*
@@ -527,7 +527,7 @@ public com.google.chat.v1.Message getMessage() {
*
*
*
- * The deleted message. Only the `name`, `createTime`, `deleteTime`, and
+ * The deleted message. Only the `name`, `createTime`, and
* `deletionMetadata` fields are populated.
*
*
@@ -551,7 +551,7 @@ public Builder setMessage(com.google.chat.v1.Message value) {
*
*
*
- * The deleted message. Only the `name`, `createTime`, `deleteTime`, and
+ * The deleted message. Only the `name`, `createTime`, and
* `deletionMetadata` fields are populated.
*
*
@@ -572,7 +572,7 @@ public Builder setMessage(com.google.chat.v1.Message.Builder builderForValue) {
*
*
*
- * The deleted message. Only the `name`, `createTime`, `deleteTime`, and
+ * The deleted message. Only the `name`, `createTime`, and
* `deletionMetadata` fields are populated.
*
*
@@ -601,7 +601,7 @@ public Builder mergeMessage(com.google.chat.v1.Message value) {
*
*
*
- * The deleted message. Only the `name`, `createTime`, `deleteTime`, and
+ * The deleted message. Only the `name`, `createTime`, and
* `deletionMetadata` fields are populated.
*
*
@@ -622,7 +622,7 @@ public Builder clearMessage() {
*
*
*
- * The deleted message. Only the `name`, `createTime`, `deleteTime`, and
+ * The deleted message. Only the `name`, `createTime`, and
* `deletionMetadata` fields are populated.
*
*
@@ -638,7 +638,7 @@ public com.google.chat.v1.Message.Builder getMessageBuilder() {
*
*
*
- * The deleted message. Only the `name`, `createTime`, `deleteTime`, and
+ * The deleted message. Only the `name`, `createTime`, and
* `deletionMetadata` fields are populated.
*
*
@@ -656,7 +656,7 @@ public com.google.chat.v1.MessageOrBuilder getMessageOrBuilder() {
*
*
*
- * The deleted message. Only the `name`, `createTime`, `deleteTime`, and
+ * The deleted message. Only the `name`, `createTime`, and
* `deletionMetadata` fields are populated.
*
*
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/MessageDeletedEventDataOrBuilder.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/MessageDeletedEventDataOrBuilder.java
index 0f15053acc0d..b8ecaed29d88 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/MessageDeletedEventDataOrBuilder.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/MessageDeletedEventDataOrBuilder.java
@@ -28,7 +28,7 @@ public interface MessageDeletedEventDataOrBuilder
*
*
*
- * The deleted message. Only the `name`, `createTime`, `deleteTime`, and
+ * The deleted message. Only the `name`, `createTime`, and
* `deletionMetadata` fields are populated.
*
*
@@ -42,7 +42,7 @@ public interface MessageDeletedEventDataOrBuilder
*
*
*
- * The deleted message. Only the `name`, `createTime`, `deleteTime`, and
+ * The deleted message. Only the `name`, `createTime`, and
* `deletionMetadata` fields are populated.
*
*
@@ -56,7 +56,7 @@ public interface MessageDeletedEventDataOrBuilder
*
*
*
- * The deleted message. Only the `name`, `createTime`, `deleteTime`, and
+ * The deleted message. Only the `name`, `createTime`, and
* `deletionMetadata` fields are populated.
*
*
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/MessageOrBuilder.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/MessageOrBuilder.java
index 77d886f180ff..faadc1858b70 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/MessageOrBuilder.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/MessageOrBuilder.java
@@ -347,6 +347,8 @@ public interface MessageOrBuilder
* This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning
* face emoji.
*
+ * * Bullet list items using asterisks (`*`)—for example, `* item`.
+ *
* For more information, see [View text formatting sent in a
* message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message)
*
@@ -382,6 +384,8 @@ public interface MessageOrBuilder
* This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning
* face emoji.
*
+ * * Bullet list items using asterisks (`*`)—for example, `* item`.
+ *
* For more information, see [View text formatting sent in a
* message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message)
*
@@ -1148,8 +1152,6 @@ public interface MessageOrBuilder
* and omit the following:
*
* * [Attachments](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments)
- * * [Accessory
- * widgets](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages#Message.AccessoryWidget)
*
* For details, see [Send a message
* privately](https://developers.google.com/workspace/chat/create-messages#private).
@@ -1175,8 +1177,6 @@ public interface MessageOrBuilder
* and omit the following:
*
* * [Attachments](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments)
- * * [Accessory
- * widgets](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages#Message.AccessoryWidget)
*
* For details, see [Send a message
* privately](https://developers.google.com/workspace/chat/create-messages#private).
@@ -1202,8 +1202,6 @@ public interface MessageOrBuilder
* and omit the following:
*
* * [Attachments](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments)
- * * [Accessory
- * widgets](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages#Message.AccessoryWidget)
*
* For details, see [Send a message
* privately](https://developers.google.com/workspace/chat/create-messages#private).
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Space.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Space.java
index a8782b1beaba..e924db3ae95d 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Space.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Space.java
@@ -8621,7 +8621,8 @@ public com.google.chat.v1.Space.AccessSettingsOrBuilder getAccessSettingsOrBuild
* Private apps can also use the `customers/my_customer` alias to create
* the space in the same Google Workspace organization as the app.
*
- * For DMs, this field isn't populated.
+ * This field isn't populated for direct messages (DMs) or when the space is
+ * created by non-Google Workspace users.
*
*
*
@@ -8650,7 +8651,8 @@ public boolean hasCustomer() {
* Private apps can also use the `customers/my_customer` alias to create
* the space in the same Google Workspace organization as the app.
*
- * For DMs, this field isn't populated.
+ * This field isn't populated for direct messages (DMs) or when the space is
+ * created by non-Google Workspace users.
*
*
*
@@ -8687,7 +8689,8 @@ public java.lang.String getCustomer() {
* Private apps can also use the `customers/my_customer` alias to create
* the space in the same Google Workspace organization as the app.
*
- * For DMs, this field isn't populated.
+ * This field isn't populated for direct messages (DMs) or when the space is
+ * created by non-Google Workspace users.
*
*
*
@@ -12267,7 +12270,8 @@ public com.google.chat.v1.Space.AccessSettingsOrBuilder getAccessSettingsOrBuild
* Private apps can also use the `customers/my_customer` alias to create
* the space in the same Google Workspace organization as the app.
*
- * For DMs, this field isn't populated.
+ * This field isn't populated for direct messages (DMs) or when the space is
+ * created by non-Google Workspace users.
*
*
*
@@ -12295,7 +12299,8 @@ public boolean hasCustomer() {
* Private apps can also use the `customers/my_customer` alias to create
* the space in the same Google Workspace organization as the app.
*
- * For DMs, this field isn't populated.
+ * This field isn't populated for direct messages (DMs) or when the space is
+ * created by non-Google Workspace users.
*
*
*
@@ -12331,7 +12336,8 @@ public java.lang.String getCustomer() {
* Private apps can also use the `customers/my_customer` alias to create
* the space in the same Google Workspace organization as the app.
*
- * For DMs, this field isn't populated.
+ * This field isn't populated for direct messages (DMs) or when the space is
+ * created by non-Google Workspace users.
*
*
*
@@ -12367,7 +12373,8 @@ public com.google.protobuf.ByteString getCustomerBytes() {
* Private apps can also use the `customers/my_customer` alias to create
* the space in the same Google Workspace organization as the app.
*
- * For DMs, this field isn't populated.
+ * This field isn't populated for direct messages (DMs) or when the space is
+ * created by non-Google Workspace users.
*
*
*
@@ -12402,7 +12409,8 @@ public Builder setCustomer(java.lang.String value) {
* Private apps can also use the `customers/my_customer` alias to create
* the space in the same Google Workspace organization as the app.
*
- * For DMs, this field isn't populated.
+ * This field isn't populated for direct messages (DMs) or when the space is
+ * created by non-Google Workspace users.
*
*
*
@@ -12433,7 +12441,8 @@ public Builder clearCustomer() {
* Private apps can also use the `customers/my_customer` alias to create
* the space in the same Google Workspace organization as the app.
*
- * For DMs, this field isn't populated.
+ * This field isn't populated for direct messages (DMs) or when the space is
+ * created by non-Google Workspace users.
*
*
*
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/SpaceOrBuilder.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/SpaceOrBuilder.java
index 194b084dd894..25b813ee41d9 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/SpaceOrBuilder.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/SpaceOrBuilder.java
@@ -592,7 +592,8 @@ public interface SpaceOrBuilder
* Private apps can also use the `customers/my_customer` alias to create
* the space in the same Google Workspace organization as the app.
*
- * For DMs, this field isn't populated.
+ * This field isn't populated for direct messages (DMs) or when the space is
+ * created by non-Google Workspace users.
*
*
*
@@ -618,7 +619,8 @@ public interface SpaceOrBuilder
* Private apps can also use the `customers/my_customer` alias to create
* the space in the same Google Workspace organization as the app.
*
- * For DMs, this field isn't populated.
+ * This field isn't populated for direct messages (DMs) or when the space is
+ * created by non-Google Workspace users.
*
*
*
@@ -644,7 +646,8 @@ public interface SpaceOrBuilder
* Private apps can also use the `customers/my_customer` alias to create
* the space in the same Google Workspace organization as the app.
*
- * For DMs, this field isn't populated.
+ * This field isn't populated for direct messages (DMs) or when the space is
+ * created by non-Google Workspace users.
*
*
*
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/UpdateSpaceRequest.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/UpdateSpaceRequest.java
index ec7a42a708a3..d54f9dff12fb 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/UpdateSpaceRequest.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/UpdateSpaceRequest.java
@@ -130,8 +130,10 @@ public com.google.chat.v1.SpaceOrBuilder getSpaceOrBuilder() {
*
* You can update the following fields for a space:
*
- * `space_details`: Updates the space's description. Supports up to 150
- * characters.
+ * `space_details`: Updates the space's description and guidelines. You must
+ * pass both description and guidelines in the update request as
+ * [`SpaceDetails`][google.chat.v1.Space.SpaceDetails]. If you only want to
+ * update one of the fields, pass the existing value for the other field.
*
* `display_name`: Only supports updating the display name for spaces where
* `spaceType` field is `SPACE`.
@@ -175,8 +177,7 @@ public com.google.chat.v1.SpaceOrBuilder getSpaceOrBuilder() {
* of a space.
* When updating permission settings, you can only specify
* `permissionSettings` field masks; you cannot update other field masks
- * at the same time. `permissionSettings` is not supported with
- * `useAdminAccess`.
+ * at the same time.
* The supported field masks include:
*
* - `permission_settings.manageMembersAndGroups`
@@ -207,8 +208,10 @@ public boolean hasUpdateMask() {
*
* You can update the following fields for a space:
*
- * `space_details`: Updates the space's description. Supports up to 150
- * characters.
+ * `space_details`: Updates the space's description and guidelines. You must
+ * pass both description and guidelines in the update request as
+ * [`SpaceDetails`][google.chat.v1.Space.SpaceDetails]. If you only want to
+ * update one of the fields, pass the existing value for the other field.
*
* `display_name`: Only supports updating the display name for spaces where
* `spaceType` field is `SPACE`.
@@ -252,8 +255,7 @@ public boolean hasUpdateMask() {
* of a space.
* When updating permission settings, you can only specify
* `permissionSettings` field masks; you cannot update other field masks
- * at the same time. `permissionSettings` is not supported with
- * `useAdminAccess`.
+ * at the same time.
* The supported field masks include:
*
* - `permission_settings.manageMembersAndGroups`
@@ -284,8 +286,10 @@ public com.google.protobuf.FieldMask getUpdateMask() {
*
* You can update the following fields for a space:
*
- * `space_details`: Updates the space's description. Supports up to 150
- * characters.
+ * `space_details`: Updates the space's description and guidelines. You must
+ * pass both description and guidelines in the update request as
+ * [`SpaceDetails`][google.chat.v1.Space.SpaceDetails]. If you only want to
+ * update one of the fields, pass the existing value for the other field.
*
* `display_name`: Only supports updating the display name for spaces where
* `spaceType` field is `SPACE`.
@@ -329,8 +333,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
* of a space.
* When updating permission settings, you can only specify
* `permissionSettings` field masks; you cannot update other field masks
- * at the same time. `permissionSettings` is not supported with
- * `useAdminAccess`.
+ * at the same time.
* The supported field masks include:
*
* - `permission_settings.manageMembersAndGroups`
@@ -1017,8 +1020,10 @@ public com.google.chat.v1.SpaceOrBuilder getSpaceOrBuilder() {
*
* You can update the following fields for a space:
*
- * `space_details`: Updates the space's description. Supports up to 150
- * characters.
+ * `space_details`: Updates the space's description and guidelines. You must
+ * pass both description and guidelines in the update request as
+ * [`SpaceDetails`][google.chat.v1.Space.SpaceDetails]. If you only want to
+ * update one of the fields, pass the existing value for the other field.
*
* `display_name`: Only supports updating the display name for spaces where
* `spaceType` field is `SPACE`.
@@ -1062,8 +1067,7 @@ public com.google.chat.v1.SpaceOrBuilder getSpaceOrBuilder() {
* of a space.
* When updating permission settings, you can only specify
* `permissionSettings` field masks; you cannot update other field masks
- * at the same time. `permissionSettings` is not supported with
- * `useAdminAccess`.
+ * at the same time.
* The supported field masks include:
*
* - `permission_settings.manageMembersAndGroups`
@@ -1093,8 +1097,10 @@ public boolean hasUpdateMask() {
*
* You can update the following fields for a space:
*
- * `space_details`: Updates the space's description. Supports up to 150
- * characters.
+ * `space_details`: Updates the space's description and guidelines. You must
+ * pass both description and guidelines in the update request as
+ * [`SpaceDetails`][google.chat.v1.Space.SpaceDetails]. If you only want to
+ * update one of the fields, pass the existing value for the other field.
*
* `display_name`: Only supports updating the display name for spaces where
* `spaceType` field is `SPACE`.
@@ -1138,8 +1144,7 @@ public boolean hasUpdateMask() {
* of a space.
* When updating permission settings, you can only specify
* `permissionSettings` field masks; you cannot update other field masks
- * at the same time. `permissionSettings` is not supported with
- * `useAdminAccess`.
+ * at the same time.
* The supported field masks include:
*
* - `permission_settings.manageMembersAndGroups`
@@ -1175,8 +1180,10 @@ public com.google.protobuf.FieldMask getUpdateMask() {
*
* You can update the following fields for a space:
*
- * `space_details`: Updates the space's description. Supports up to 150
- * characters.
+ * `space_details`: Updates the space's description and guidelines. You must
+ * pass both description and guidelines in the update request as
+ * [`SpaceDetails`][google.chat.v1.Space.SpaceDetails]. If you only want to
+ * update one of the fields, pass the existing value for the other field.
*
* `display_name`: Only supports updating the display name for spaces where
* `spaceType` field is `SPACE`.
@@ -1220,8 +1227,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
* of a space.
* When updating permission settings, you can only specify
* `permissionSettings` field masks; you cannot update other field masks
- * at the same time. `permissionSettings` is not supported with
- * `useAdminAccess`.
+ * at the same time.
* The supported field masks include:
*
* - `permission_settings.manageMembersAndGroups`
@@ -1259,8 +1265,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
*
* You can update the following fields for a space:
*
- * `space_details`: Updates the space's description. Supports up to 150
- * characters.
+ * `space_details`: Updates the space's description and guidelines. You must
+ * pass both description and guidelines in the update request as
+ * [`SpaceDetails`][google.chat.v1.Space.SpaceDetails]. If you only want to
+ * update one of the fields, pass the existing value for the other field.
*
* `display_name`: Only supports updating the display name for spaces where
* `spaceType` field is `SPACE`.
@@ -1304,8 +1312,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
* of a space.
* When updating permission settings, you can only specify
* `permissionSettings` field masks; you cannot update other field masks
- * at the same time. `permissionSettings` is not supported with
- * `useAdminAccess`.
+ * at the same time.
* The supported field masks include:
*
* - `permission_settings.manageMembersAndGroups`
@@ -1340,8 +1347,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
*
* You can update the following fields for a space:
*
- * `space_details`: Updates the space's description. Supports up to 150
- * characters.
+ * `space_details`: Updates the space's description and guidelines. You must
+ * pass both description and guidelines in the update request as
+ * [`SpaceDetails`][google.chat.v1.Space.SpaceDetails]. If you only want to
+ * update one of the fields, pass the existing value for the other field.
*
* `display_name`: Only supports updating the display name for spaces where
* `spaceType` field is `SPACE`.
@@ -1385,8 +1394,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
* of a space.
* When updating permission settings, you can only specify
* `permissionSettings` field masks; you cannot update other field masks
- * at the same time. `permissionSettings` is not supported with
- * `useAdminAccess`.
+ * at the same time.
* The supported field masks include:
*
* - `permission_settings.manageMembersAndGroups`
@@ -1429,8 +1437,10 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
*
* You can update the following fields for a space:
*
- * `space_details`: Updates the space's description. Supports up to 150
- * characters.
+ * `space_details`: Updates the space's description and guidelines. You must
+ * pass both description and guidelines in the update request as
+ * [`SpaceDetails`][google.chat.v1.Space.SpaceDetails]. If you only want to
+ * update one of the fields, pass the existing value for the other field.
*
* `display_name`: Only supports updating the display name for spaces where
* `spaceType` field is `SPACE`.
@@ -1474,8 +1484,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
* of a space.
* When updating permission settings, you can only specify
* `permissionSettings` field masks; you cannot update other field masks
- * at the same time. `permissionSettings` is not supported with
- * `useAdminAccess`.
+ * at the same time.
* The supported field masks include:
*
* - `permission_settings.manageMembersAndGroups`
@@ -1510,8 +1519,10 @@ public Builder clearUpdateMask() {
*
* You can update the following fields for a space:
*
- * `space_details`: Updates the space's description. Supports up to 150
- * characters.
+ * `space_details`: Updates the space's description and guidelines. You must
+ * pass both description and guidelines in the update request as
+ * [`SpaceDetails`][google.chat.v1.Space.SpaceDetails]. If you only want to
+ * update one of the fields, pass the existing value for the other field.
*
* `display_name`: Only supports updating the display name for spaces where
* `spaceType` field is `SPACE`.
@@ -1555,8 +1566,7 @@ public Builder clearUpdateMask() {
* of a space.
* When updating permission settings, you can only specify
* `permissionSettings` field masks; you cannot update other field masks
- * at the same time. `permissionSettings` is not supported with
- * `useAdminAccess`.
+ * at the same time.
* The supported field masks include:
*
* - `permission_settings.manageMembersAndGroups`
@@ -1586,8 +1596,10 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
*
* You can update the following fields for a space:
*
- * `space_details`: Updates the space's description. Supports up to 150
- * characters.
+ * `space_details`: Updates the space's description and guidelines. You must
+ * pass both description and guidelines in the update request as
+ * [`SpaceDetails`][google.chat.v1.Space.SpaceDetails]. If you only want to
+ * update one of the fields, pass the existing value for the other field.
*
* `display_name`: Only supports updating the display name for spaces where
* `spaceType` field is `SPACE`.
@@ -1631,8 +1643,7 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
* of a space.
* When updating permission settings, you can only specify
* `permissionSettings` field masks; you cannot update other field masks
- * at the same time. `permissionSettings` is not supported with
- * `useAdminAccess`.
+ * at the same time.
* The supported field masks include:
*
* - `permission_settings.manageMembersAndGroups`
@@ -1666,8 +1677,10 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
*
* You can update the following fields for a space:
*
- * `space_details`: Updates the space's description. Supports up to 150
- * characters.
+ * `space_details`: Updates the space's description and guidelines. You must
+ * pass both description and guidelines in the update request as
+ * [`SpaceDetails`][google.chat.v1.Space.SpaceDetails]. If you only want to
+ * update one of the fields, pass the existing value for the other field.
*
* `display_name`: Only supports updating the display name for spaces where
* `spaceType` field is `SPACE`.
@@ -1711,8 +1724,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
* of a space.
* When updating permission settings, you can only specify
* `permissionSettings` field masks; you cannot update other field masks
- * at the same time. `permissionSettings` is not supported with
- * `useAdminAccess`.
+ * at the same time.
* The supported field masks include:
*
* - `permission_settings.manageMembersAndGroups`
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/UpdateSpaceRequestOrBuilder.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/UpdateSpaceRequestOrBuilder.java
index ac87b7ae2d3a..18430c3cf872 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/UpdateSpaceRequestOrBuilder.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/UpdateSpaceRequestOrBuilder.java
@@ -76,8 +76,10 @@ public interface UpdateSpaceRequestOrBuilder
*
* You can update the following fields for a space:
*
- * `space_details`: Updates the space's description. Supports up to 150
- * characters.
+ * `space_details`: Updates the space's description and guidelines. You must
+ * pass both description and guidelines in the update request as
+ * [`SpaceDetails`][google.chat.v1.Space.SpaceDetails]. If you only want to
+ * update one of the fields, pass the existing value for the other field.
*
* `display_name`: Only supports updating the display name for spaces where
* `spaceType` field is `SPACE`.
@@ -121,8 +123,7 @@ public interface UpdateSpaceRequestOrBuilder
* of a space.
* When updating permission settings, you can only specify
* `permissionSettings` field masks; you cannot update other field masks
- * at the same time. `permissionSettings` is not supported with
- * `useAdminAccess`.
+ * at the same time.
* The supported field masks include:
*
* - `permission_settings.manageMembersAndGroups`
@@ -150,8 +151,10 @@ public interface UpdateSpaceRequestOrBuilder
*
* You can update the following fields for a space:
*
- * `space_details`: Updates the space's description. Supports up to 150
- * characters.
+ * `space_details`: Updates the space's description and guidelines. You must
+ * pass both description and guidelines in the update request as
+ * [`SpaceDetails`][google.chat.v1.Space.SpaceDetails]. If you only want to
+ * update one of the fields, pass the existing value for the other field.
*
* `display_name`: Only supports updating the display name for spaces where
* `spaceType` field is `SPACE`.
@@ -195,8 +198,7 @@ public interface UpdateSpaceRequestOrBuilder
* of a space.
* When updating permission settings, you can only specify
* `permissionSettings` field masks; you cannot update other field masks
- * at the same time. `permissionSettings` is not supported with
- * `useAdminAccess`.
+ * at the same time.
* The supported field masks include:
*
* - `permission_settings.manageMembersAndGroups`
@@ -224,8 +226,10 @@ public interface UpdateSpaceRequestOrBuilder
*
* You can update the following fields for a space:
*
- * `space_details`: Updates the space's description. Supports up to 150
- * characters.
+ * `space_details`: Updates the space's description and guidelines. You must
+ * pass both description and guidelines in the update request as
+ * [`SpaceDetails`][google.chat.v1.Space.SpaceDetails]. If you only want to
+ * update one of the fields, pass the existing value for the other field.
*
* `display_name`: Only supports updating the display name for spaces where
* `spaceType` field is `SPACE`.
@@ -269,8 +273,7 @@ public interface UpdateSpaceRequestOrBuilder
* of a space.
* When updating permission settings, you can only specify
* `permissionSettings` field masks; you cannot update other field masks
- * at the same time. `permissionSettings` is not supported with
- * `useAdminAccess`.
+ * at the same time.
* The supported field masks include:
*
* - `permission_settings.manageMembersAndGroups`
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/attachment.proto b/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/attachment.proto
index 996d178c5125..f7ea949d8fa8 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/attachment.proto
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/attachment.proto
@@ -47,9 +47,10 @@ message Attachment {
UPLOADED_CONTENT = 2;
}
- // Optional. Resource name of the attachment, in the form
- // `spaces/{space}/messages/{message}/attachments/{attachment}`.
- string name = 1 [(google.api.field_behavior) = OPTIONAL];
+ // Identifier. Resource name of the attachment.
+ //
+ // Format: `spaces/{space}/messages/{message}/attachments/{attachment}`.
+ string name = 1 [(google.api.field_behavior) = IDENTIFIER];
// Output only. The original file name for the content, not the full path.
string content_name = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/chat_service.proto b/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/chat_service.proto
index 0f5939a0fa32..9bd027c25760 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/chat_service.proto
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/chat_service.proto
@@ -51,6 +51,7 @@ service ChatService {
"https://www.googleapis.com/auth/chat.admin.spaces.readonly,"
"https://www.googleapis.com/auth/chat.app.delete,"
"https://www.googleapis.com/auth/chat.app.memberships,"
+ "https://www.googleapis.com/auth/chat.app.messages.readonly,"
"https://www.googleapis.com/auth/chat.app.spaces,"
"https://www.googleapis.com/auth/chat.app.spaces.create,"
"https://www.googleapis.com/auth/chat.bot,"
@@ -127,21 +128,34 @@ service ChatService {
}
// Lists messages in a space that the caller is a member of, including
- // messages from blocked members and spaces. If you list messages from a
+ // messages from blocked members and spaces. System messages, like those
+ // announcing new space members, aren't included. If you list messages from a
// space with no messages, the response is an empty object. When using a
// REST/HTTP interface, the response contains an empty JSON object, `{}`.
// For an example, see
// [List
// messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list).
//
- // Requires [user
- // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
- // with one of the following [authorization
- // scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ // Supports the following types of
+ // [authentication](https://developers.google.com/workspace/chat/authenticate-authorize):
//
- // - `https://www.googleapis.com/auth/chat.messages.readonly`
- // - `https://www.googleapis.com/auth/chat.messages`
- // - `https://www.googleapis.com/auth/chat.import` (import mode spaces only)
+ // - [App
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ // with [administrator
+ // approval](https://support.google.com/a?p=chat-app-auth) in
+ // [Developer Preview](https://developers.google.com/workspace/preview)
+ // with the authorization scope:
+ // - `https://www.googleapis.com/auth/chat.app.messages.readonly`. When
+ // using this authentication scope, this method only returns public
+ // messages in a space. It doesn't include private messages.
+ //
+ // - [User
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ // with one of the following authorization scopes:
+ // - `https://www.googleapis.com/auth/chat.messages.readonly`
+ // - `https://www.googleapis.com/auth/chat.messages`
+ // - `https://www.googleapis.com/auth/chat.import` (import mode spaces
+ // only)
rpc ListMessages(ListMessagesRequest) returns (ListMessagesResponse) {
option (google.api.http) = {
get: "/v1/{parent=spaces/*}/messages"
@@ -231,8 +245,18 @@ service ChatService {
//
// - [App
// authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
- // with the authorization scope:
- // - `https://www.googleapis.com/auth/chat.bot`
+ // with one of the following authorization scopes:
+ // - `https://www.googleapis.com/auth/chat.bot`: When using this
+ // authorization scope, this method returns details about a message the
+ // Chat app has access to, like direct messages and [slash
+ // commands](https://developers.google.com/workspace/chat/slash-commands)
+ // that invoke the Chat app.
+ // - `https://www.googleapis.com/auth/chat.app.messages.readonly`
+ // with [administrator
+ // approval](https://support.google.com/a?p=chat-app-auth) (available in
+ // [Developer Preview](https://developers.google.com/workspace/preview)).
+ // When using this authentication scope,
+ // this method returns details about a public message in a space.
//
// - [User
// authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
@@ -386,7 +410,9 @@ service ChatService {
}
// Returns a list of spaces in a Google Workspace organization based on an
- // administrator's search.
+ // administrator's search. In the request, set `use_admin_access` to `true`.
+ // For an example, see [Search for and manage
+ // spaces](https://developers.google.com/workspace/chat/search-manage-admin).
//
// Requires [user
// authentication with administrator
@@ -396,8 +422,6 @@ service ChatService {
//
// - `https://www.googleapis.com/auth/chat.admin.spaces.readonly`
// - `https://www.googleapis.com/auth/chat.admin.spaces`
- //
- // In the request, set `use_admin_access` to `true`.
rpc SearchSpaces(SearchSpacesRequest) returns (SearchSpacesResponse) {
option (google.api.http) = {
get: "/v1/spaces:search"
@@ -1040,22 +1064,36 @@ service ChatService {
// Note: The `permissionSettings` field is not returned in the Space
// object of the Space event data for this request.
//
- // Requires [user
- // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
- // with an [authorization
+ // Supports the following types of
+ // [authentication](https://developers.google.com/workspace/chat/authenticate-authorize)
+ // with an
+ // [authorization
// scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes)
// appropriate for reading the requested data:
//
- // - `https://www.googleapis.com/auth/chat.spaces.readonly`
- // - `https://www.googleapis.com/auth/chat.spaces`
- // - `https://www.googleapis.com/auth/chat.messages.readonly`
- // - `https://www.googleapis.com/auth/chat.messages`
- // - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
- // - `https://www.googleapis.com/auth/chat.messages.reactions`
- // - `https://www.googleapis.com/auth/chat.memberships.readonly`
- // - `https://www.googleapis.com/auth/chat.memberships`
+ // - [App
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ // with [administrator
+ // approval](https://support.google.com/a?p=chat-app-auth) in
+ // [Developer Preview](https://developers.google.com/workspace/preview)
+ // with one of the following authorization scopes:
+ // - `https://www.googleapis.com/auth/chat.app.spaces`
+ // - `https://www.googleapis.com/auth/chat.app.messages.readonly`
+ // - `https://www.googleapis.com/auth/chat.app.memberships`
+ //
+ // - [User
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ // with one of the following authorization scopes:
+ // - `https://www.googleapis.com/auth/chat.spaces.readonly`
+ // - `https://www.googleapis.com/auth/chat.spaces`
+ // - `https://www.googleapis.com/auth/chat.messages.readonly`
+ // - `https://www.googleapis.com/auth/chat.messages`
+ // - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
+ // - `https://www.googleapis.com/auth/chat.messages.reactions`
+ // - `https://www.googleapis.com/auth/chat.memberships.readonly`
+ // - `https://www.googleapis.com/auth/chat.memberships`
//
- // To get an event, the authenticated user must be a member of the space.
+ // To get an event, the authenticated caller must be a member of the space.
//
// For an example, see [Get details about an
// event from a Google Chat
@@ -1075,22 +1113,36 @@ service ChatService {
// removed during the requested period, the event payload contains an empty
// `Membership` resource.
//
- // Requires [user
- // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
- // with an [authorization
+ // Supports the following types of
+ // [authentication](https://developers.google.com/workspace/chat/authenticate-authorize)
+ // with an
+ // [authorization
// scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes)
// appropriate for reading the requested data:
//
- // - `https://www.googleapis.com/auth/chat.spaces.readonly`
- // - `https://www.googleapis.com/auth/chat.spaces`
- // - `https://www.googleapis.com/auth/chat.messages.readonly`
- // - `https://www.googleapis.com/auth/chat.messages`
- // - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
- // - `https://www.googleapis.com/auth/chat.messages.reactions`
- // - `https://www.googleapis.com/auth/chat.memberships.readonly`
- // - `https://www.googleapis.com/auth/chat.memberships`
+ // - [App
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
+ // with [administrator
+ // approval](https://support.google.com/a?p=chat-app-auth) in
+ // [Developer Preview](https://developers.google.com/workspace/preview)
+ // with one of the following authorization scopes:
+ // - `https://www.googleapis.com/auth/chat.app.spaces`
+ // - `https://www.googleapis.com/auth/chat.app.messages.readonly`
+ // - `https://www.googleapis.com/auth/chat.app.memberships`
+ //
+ // - [User
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ // with one of the following authorization scopes:
+ // - `https://www.googleapis.com/auth/chat.spaces.readonly`
+ // - `https://www.googleapis.com/auth/chat.spaces`
+ // - `https://www.googleapis.com/auth/chat.messages.readonly`
+ // - `https://www.googleapis.com/auth/chat.messages`
+ // - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
+ // - `https://www.googleapis.com/auth/chat.messages.reactions`
+ // - `https://www.googleapis.com/auth/chat.memberships.readonly`
+ // - `https://www.googleapis.com/auth/chat.memberships`
//
- // To list events, the authenticated user must be a member of the space.
+ // To list events, the authenticated caller must be a member of the space.
//
// For an example, see [List events from a Google Chat
// space](https://developers.google.com/workspace/chat/list-space-events).
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/event_payload.proto b/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/event_payload.proto
index 2ee6aa13e2c2..74503275ab35 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/event_payload.proto
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/event_payload.proto
@@ -99,7 +99,7 @@ message MessageUpdatedEventData {
//
// Event type: `google.workspace.chat.message.v1.deleted`
message MessageDeletedEventData {
- // The deleted message. Only the `name`, `createTime`, `deleteTime`, and
+ // The deleted message. Only the `name`, `createTime`, and
// `deletionMetadata` fields are populated.
Message message = 1;
}
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/message.proto b/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/message.proto
index 9505139c64f9..47b1d66de202 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/message.proto
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/message.proto
@@ -127,6 +127,8 @@ message Message {
// This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning
// face emoji.
//
+ // * Bullet list items using asterisks (`*`)—for example, `* item`.
+ //
// For more information, see [View text formatting sent in a
// message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message)
string formatted_text = 43 [(google.api.field_behavior) = OUTPUT_ONLY];
@@ -223,8 +225,6 @@ message Message {
// and omit the following:
//
// * [Attachments](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages.attachments)
- // * [Accessory
- // widgets](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.messages#Message.AccessoryWidget)
//
// For details, see [Send a message
// privately](https://developers.google.com/workspace/chat/create-messages#private).
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/space.proto b/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/space.proto
index a2d010d58c06..01873a3f99c8 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/space.proto
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/space.proto
@@ -370,7 +370,8 @@ message Space {
// Private apps can also use the `customers/my_customer` alias to create
// the space in the same Google Workspace organization as the app.
//
- // For DMs, this field isn't populated.
+ // This field isn't populated for direct messages (DMs) or when the space is
+ // created by non-Google Workspace users.
optional string customer = 24 [
(google.api.field_behavior) = IMMUTABLE,
(google.api.field_behavior) = OPTIONAL
@@ -563,8 +564,10 @@ message UpdateSpaceRequest {
//
// You can update the following fields for a space:
//
- // `space_details`: Updates the space's description. Supports up to 150
- // characters.
+ // `space_details`: Updates the space's description and guidelines. You must
+ // pass both description and guidelines in the update request as
+ // [`SpaceDetails`][google.chat.v1.Space.SpaceDetails]. If you only want to
+ // update one of the fields, pass the existing value for the other field.
//
// `display_name`: Only supports updating the display name for spaces where
// `spaceType` field is `SPACE`.
@@ -608,8 +611,7 @@ message UpdateSpaceRequest {
// of a space.
// When updating permission settings, you can only specify
// `permissionSettings` field masks; you cannot update other field masks
- // at the same time. `permissionSettings` is not supported with
- // `useAdminAccess`.
+ // at the same time.
// The supported field masks include:
//
// - `permission_settings.manageMembersAndGroups`
diff --git a/java-chronicle/README.md b/java-chronicle/README.md
index ee6e14c8be69..3d0a65cccec8 100644
--- a/java-chronicle/README.md
+++ b/java-chronicle/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
* Identifier. Format:
- * `projects/{project}/locations/{location}/defaultServiceAccount
+ * `projects/{project}/locations/{location}/defaultServiceAccount`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -100,7 +100,7 @@ public java.lang.String getName() {
*
*
* Identifier. Format:
- * `projects/{project}/locations/{location}/defaultServiceAccount
+ * `projects/{project}/locations/{location}/defaultServiceAccount`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -568,7 +568,7 @@ public Builder mergeFrom(
*
*
* Identifier. Format:
- * `projects/{project}/locations/{location}/defaultServiceAccount
+ * `projects/{project}/locations/{location}/defaultServiceAccount`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -592,7 +592,7 @@ public java.lang.String getName() {
*
*
* Identifier. Format:
- * `projects/{project}/locations/{location}/defaultServiceAccount
+ * `projects/{project}/locations/{location}/defaultServiceAccount`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -616,7 +616,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* Identifier. Format:
- * `projects/{project}/locations/{location}/defaultServiceAccount
+ * `projects/{project}/locations/{location}/defaultServiceAccount`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -639,7 +639,7 @@ public Builder setName(java.lang.String value) {
*
*
* Identifier. Format:
- * `projects/{project}/locations/{location}/defaultServiceAccount
+ * `projects/{project}/locations/{location}/defaultServiceAccount`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -658,7 +658,7 @@ public Builder clearName() {
*
*
* Identifier. Format:
- * `projects/{project}/locations/{location}/defaultServiceAccount
+ * `projects/{project}/locations/{location}/defaultServiceAccount`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
diff --git a/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/DefaultServiceAccountOrBuilder.java b/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/DefaultServiceAccountOrBuilder.java
index 56b6ca1b0b6e..5c8988bb87a1 100644
--- a/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/DefaultServiceAccountOrBuilder.java
+++ b/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/DefaultServiceAccountOrBuilder.java
@@ -29,7 +29,7 @@ public interface DefaultServiceAccountOrBuilder
*
*
* Identifier. Format:
- * `projects/{project}/locations/{location}/defaultServiceAccount
+ * `projects/{project}/locations/{location}/defaultServiceAccount`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
@@ -43,7 +43,7 @@ public interface DefaultServiceAccountOrBuilder
*
*
* Identifier. Format:
- * `projects/{project}/locations/{location}/defaultServiceAccount
+ * `projects/{project}/locations/{location}/defaultServiceAccount`
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
diff --git a/java-cloudbuild/proto-google-cloud-build-v1/src/main/proto/google/devtools/cloudbuild/v1/cloudbuild.proto b/java-cloudbuild/proto-google-cloud-build-v1/src/main/proto/google/devtools/cloudbuild/v1/cloudbuild.proto
index 72a7cfa562a4..c819535153a3 100644
--- a/java-cloudbuild/proto-google-cloud-build-v1/src/main/proto/google/devtools/cloudbuild/v1/cloudbuild.proto
+++ b/java-cloudbuild/proto-google-cloud-build-v1/src/main/proto/google/devtools/cloudbuild/v1/cloudbuild.proto
@@ -520,7 +520,7 @@ message DefaultServiceAccount {
};
// Identifier. Format:
- // `projects/{project}/locations/{location}/defaultServiceAccount
+ // `projects/{project}/locations/{location}/defaultServiceAccount`
string name = 1 [(google.api.field_behavior) = IDENTIFIER];
// Output only. The email address of the service account identity that will be
diff --git a/java-cloudcommerceconsumerprocurement/README.md b/java-cloudcommerceconsumerprocurement/README.md
index 7283c9bb4b4f..decafb9545df 100644
--- a/java-cloudcommerceconsumerprocurement/README.md
+++ b/java-cloudcommerceconsumerprocurement/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
* Message representing reference to an AlloyDB database and agent context.
+ * Only supported for the `QueryData` method.
*
*
* Protobuf type {@code google.cloud.geminidataanalytics.v1beta.AlloyDbReference}
@@ -374,6 +375,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
* Message representing reference to an AlloyDB database and agent context.
+ * Only supported for the `QueryData` method.
*
*
* Protobuf type {@code google.cloud.geminidataanalytics.v1beta.AlloyDbReference}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/BigQueryTableReferences.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/BigQueryTableReferences.java
index 770e1c410e81..7b2e3c423cdb 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/BigQueryTableReferences.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/BigQueryTableReferences.java
@@ -23,7 +23,9 @@
*
*
*
- * Message representing references to BigQuery tables.
+ * Message representing references to BigQuery tables and property graphs.
+ * At least one of `table_references` or `property_graph_references` must be
+ * populated.
*
*
* Protobuf type {@code google.cloud.geminidataanalytics.v1beta.BigQueryTableReferences}
@@ -74,11 +76,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Required. References to BigQuery tables.
+ * Optional. References to BigQuery tables.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
@java.lang.Override
@@ -91,11 +93,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Required. References to BigQuery tables.
+ * Optional. References to BigQuery tables.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
@java.lang.Override
@@ -109,11 +111,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Required. References to BigQuery tables.
+ * Optional. References to BigQuery tables.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
@java.lang.Override
@@ -125,11 +127,11 @@ public int getTableReferencesCount() {
*
*
*
- * Required. References to BigQuery tables.
+ * Optional. References to BigQuery tables.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
@java.lang.Override
@@ -142,11 +144,11 @@ public com.google.cloud.geminidataanalytics.v1beta.BigQueryTableReference getTab
*
*
*
- * Required. References to BigQuery tables.
+ * Optional. References to BigQuery tables.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
@java.lang.Override
@@ -323,7 +325,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * Message representing references to BigQuery tables.
+ * Message representing references to BigQuery tables and property graphs.
+ * At least one of `table_references` or `property_graph_references` must be
+ * populated.
*
*
* Protobuf type {@code google.cloud.geminidataanalytics.v1beta.BigQueryTableReferences}
@@ -579,11 +583,11 @@ private void ensureTableReferencesIsMutable() {
*
*
*
- * Required. References to BigQuery tables.
+ * Optional. References to BigQuery tables.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public java.util.List
- * Required. References to BigQuery tables.
+ * Optional. References to BigQuery tables.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public int getTableReferencesCount() {
@@ -618,11 +622,11 @@ public int getTableReferencesCount() {
*
*
*
- * Required. References to BigQuery tables.
+ * Optional. References to BigQuery tables.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public com.google.cloud.geminidataanalytics.v1beta.BigQueryTableReference getTableReferences(
@@ -638,11 +642,11 @@ public com.google.cloud.geminidataanalytics.v1beta.BigQueryTableReference getTab
*
*
*
- * Required. References to BigQuery tables.
+ * Optional. References to BigQuery tables.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public Builder setTableReferences(
@@ -664,11 +668,11 @@ public Builder setTableReferences(
*
*
*
- * Required. References to BigQuery tables.
+ * Optional. References to BigQuery tables.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public Builder setTableReferences(
@@ -689,11 +693,11 @@ public Builder setTableReferences(
*
*
*
- * Required. References to BigQuery tables.
+ * Optional. References to BigQuery tables.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public Builder addTableReferences(
@@ -715,11 +719,11 @@ public Builder addTableReferences(
*
*
*
- * Required. References to BigQuery tables.
+ * Optional. References to BigQuery tables.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public Builder addTableReferences(
@@ -741,11 +745,11 @@ public Builder addTableReferences(
*
*
*
- * Required. References to BigQuery tables.
+ * Optional. References to BigQuery tables.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public Builder addTableReferences(
@@ -765,11 +769,11 @@ public Builder addTableReferences(
*
*
*
- * Required. References to BigQuery tables.
+ * Optional. References to BigQuery tables.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public Builder addTableReferences(
@@ -790,11 +794,11 @@ public Builder addTableReferences(
*
*
*
- * Required. References to BigQuery tables.
+ * Optional. References to BigQuery tables.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public Builder addAllTableReferences(
@@ -815,11 +819,11 @@ public Builder addAllTableReferences(
*
*
*
- * Required. References to BigQuery tables.
+ * Optional. References to BigQuery tables.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public Builder clearTableReferences() {
@@ -837,11 +841,11 @@ public Builder clearTableReferences() {
*
*
*
- * Required. References to BigQuery tables.
+ * Optional. References to BigQuery tables.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public Builder removeTableReferences(int index) {
@@ -859,11 +863,11 @@ public Builder removeTableReferences(int index) {
*
*
*
- * Required. References to BigQuery tables.
+ * Optional. References to BigQuery tables.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public com.google.cloud.geminidataanalytics.v1beta.BigQueryTableReference.Builder
@@ -875,11 +879,11 @@ public Builder removeTableReferences(int index) {
*
*
*
- * Required. References to BigQuery tables.
+ * Optional. References to BigQuery tables.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public com.google.cloud.geminidataanalytics.v1beta.BigQueryTableReferenceOrBuilder
@@ -895,11 +899,11 @@ public Builder removeTableReferences(int index) {
*
*
*
- * Required. References to BigQuery tables.
+ * Optional. References to BigQuery tables.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public java.util.List<
@@ -916,11 +920,11 @@ public Builder removeTableReferences(int index) {
*
*
*
- * Required. References to BigQuery tables.
+ * Optional. References to BigQuery tables.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public com.google.cloud.geminidataanalytics.v1beta.BigQueryTableReference.Builder
@@ -935,11 +939,11 @@ public Builder removeTableReferences(int index) {
*
*
*
- * Required. References to BigQuery tables.
+ * Optional. References to BigQuery tables.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public com.google.cloud.geminidataanalytics.v1beta.BigQueryTableReference.Builder
@@ -955,11 +959,11 @@ public Builder removeTableReferences(int index) {
*
*
*
- * Required. References to BigQuery tables.
+ * Optional. References to BigQuery tables.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public java.util.List<
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/BigQueryTableReferencesOrBuilder.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/BigQueryTableReferencesOrBuilder.java
index 78fe684a991c..9de73fd99530 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/BigQueryTableReferencesOrBuilder.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/BigQueryTableReferencesOrBuilder.java
@@ -28,11 +28,11 @@ public interface BigQueryTableReferencesOrBuilder
*
*
*
- * Required. References to BigQuery tables.
+ * Optional. References to BigQuery tables.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
java.util.List
- * Required. References to BigQuery tables.
+ * Optional. References to BigQuery tables.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
com.google.cloud.geminidataanalytics.v1beta.BigQueryTableReference getTableReferences(int index);
@@ -55,11 +55,11 @@ public interface BigQueryTableReferencesOrBuilder
*
*
*
- * Required. References to BigQuery tables.
+ * Optional. References to BigQuery tables.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
int getTableReferencesCount();
@@ -68,11 +68,11 @@ public interface BigQueryTableReferencesOrBuilder
*
*
*
- * Required. References to BigQuery tables.
+ * Optional. References to BigQuery tables.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
java.util.List<
@@ -83,11 +83,11 @@ public interface BigQueryTableReferencesOrBuilder
*
*
*
- * Required. References to BigQuery tables.
+ * Optional. References to BigQuery tables.
*
*
*
- * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = REQUIRED];
+ * repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*/
com.google.cloud.geminidataanalytics.v1beta.BigQueryTableReferenceOrBuilder
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/CloudSqlReference.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/CloudSqlReference.java
index 25f367ccf999..b4432c3a6bd3 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/CloudSqlReference.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/CloudSqlReference.java
@@ -24,6 +24,7 @@
*
*
* Message representing reference to a CloudSQL database and agent context.
+ * Only supported for the `QueryData` method.
*
*
* Protobuf type {@code google.cloud.geminidataanalytics.v1beta.CloudSqlReference}
@@ -374,6 +375,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
* Message representing reference to a CloudSQL database and agent context.
+ * Only supported for the `QueryData` method.
*
*
* Protobuf type {@code google.cloud.geminidataanalytics.v1beta.CloudSqlReference}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DatasourceProto.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DatasourceProto.java
index 06dd9e94d424..aff91c8f3b78 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DatasourceProto.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DatasourceProto.java
@@ -131,7 +131,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "references\"y\n"
+ "\027BigQueryTableReferences\022^\n"
+ "\020table_references\030\001 \003"
- + "(\0132?.google.cloud.geminidataanalytics.v1beta.BigQueryTableReferenceB\003\340A\002\"\247\001\n"
+ + "(\0132?.google.cloud.geminidataanalytics.v1beta.BigQueryTableReferenceB\003\340A\001\"\247\001\n"
+ "\026BigQueryTableReference\022\027\n\n"
+ "project_id\030\001 \001(\tB\003\340A\002\022\027\n\n"
+ "dataset_id\030\003 \001(\tB\003\340A\002\022\025\n"
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DatasourceReferences.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DatasourceReferences.java
index 8eaeefc7d8b7..70c2f4e7603f 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DatasourceReferences.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DatasourceReferences.java
@@ -297,7 +297,8 @@ public com.google.cloud.geminidataanalytics.v1beta.LookerExploreReferences getLo
*
*
*
- * Reference to an AlloyDB database.
+ * Reference to an AlloyDB database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.AlloyDbReference alloydb = 8;
@@ -313,7 +314,8 @@ public boolean hasAlloydb() {
*
*
*
- * Reference to an AlloyDB database.
+ * Reference to an AlloyDB database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.AlloyDbReference alloydb = 8;
@@ -332,7 +334,8 @@ public com.google.cloud.geminidataanalytics.v1beta.AlloyDbReference getAlloydb()
*
*
*
- * Reference to an AlloyDB database.
+ * Reference to an AlloyDB database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.AlloyDbReference alloydb = 8;
@@ -352,7 +355,8 @@ public com.google.cloud.geminidataanalytics.v1beta.AlloyDbReference getAlloydb()
*
*
*
- * Reference to a Spanner database.
+ * Reference to a Spanner database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.SpannerReference spanner_reference = 9;
@@ -368,7 +372,8 @@ public boolean hasSpannerReference() {
*
*
*
- * Reference to a Spanner database.
+ * Reference to a Spanner database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.SpannerReference spanner_reference = 9;
@@ -387,7 +392,8 @@ public com.google.cloud.geminidataanalytics.v1beta.SpannerReference getSpannerRe
*
*
*
- * Reference to a Spanner database.
+ * Reference to a Spanner database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.SpannerReference spanner_reference = 9;
@@ -407,7 +413,8 @@ public com.google.cloud.geminidataanalytics.v1beta.SpannerReference getSpannerRe
*
*
*
- * Reference to a CloudSql database.
+ * Reference to a CloudSql database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.CloudSqlReference cloud_sql_reference = 10;
@@ -424,7 +431,8 @@ public boolean hasCloudSqlReference() {
*
*
*
- * Reference to a CloudSql database.
+ * Reference to a CloudSql database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.CloudSqlReference cloud_sql_reference = 10;
@@ -444,7 +452,8 @@ public com.google.cloud.geminidataanalytics.v1beta.CloudSqlReference getCloudSql
*
*
*
- * Reference to a CloudSql database.
+ * Reference to a CloudSql database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.CloudSqlReference cloud_sql_reference = 10;
@@ -1728,7 +1737,8 @@ public Builder clearLooker() {
*
*
*
- * Reference to an AlloyDB database.
+ * Reference to an AlloyDB database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.AlloyDbReference alloydb = 8;
@@ -1744,7 +1754,8 @@ public boolean hasAlloydb() {
*
*
*
- * Reference to an AlloyDB database.
+ * Reference to an AlloyDB database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.AlloyDbReference alloydb = 8;
@@ -1770,7 +1781,8 @@ public com.google.cloud.geminidataanalytics.v1beta.AlloyDbReference getAlloydb()
*
*
*
- * Reference to an AlloyDB database.
+ * Reference to an AlloyDB database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.AlloyDbReference alloydb = 8;
@@ -1793,7 +1805,8 @@ public Builder setAlloydb(com.google.cloud.geminidataanalytics.v1beta.AlloyDbRef
*
*
*
- * Reference to an AlloyDB database.
+ * Reference to an AlloyDB database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.AlloyDbReference alloydb = 8;
@@ -1814,7 +1827,8 @@ public Builder setAlloydb(
*
*
*
- * Reference to an AlloyDB database.
+ * Reference to an AlloyDB database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.AlloyDbReference alloydb = 8;
@@ -1850,7 +1864,8 @@ public Builder mergeAlloydb(
*
*
*
- * Reference to an AlloyDB database.
+ * Reference to an AlloyDB database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.AlloyDbReference alloydb = 8;
@@ -1876,7 +1891,8 @@ public Builder clearAlloydb() {
*
*
*
- * Reference to an AlloyDB database.
+ * Reference to an AlloyDB database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.AlloyDbReference alloydb = 8;
@@ -1890,7 +1906,8 @@ public Builder clearAlloydb() {
*
*
*
- * Reference to an AlloyDB database.
+ * Reference to an AlloyDB database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.AlloyDbReference alloydb = 8;
@@ -1912,7 +1929,8 @@ public Builder clearAlloydb() {
*
*
*
- * Reference to an AlloyDB database.
+ * Reference to an AlloyDB database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.AlloyDbReference alloydb = 8;
@@ -1952,7 +1970,8 @@ public Builder clearAlloydb() {
*
*
*
- * Reference to a Spanner database.
+ * Reference to a Spanner database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.SpannerReference spanner_reference = 9;
@@ -1968,7 +1987,8 @@ public boolean hasSpannerReference() {
*
*
*
- * Reference to a Spanner database.
+ * Reference to a Spanner database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.SpannerReference spanner_reference = 9;
@@ -1994,7 +2014,8 @@ public com.google.cloud.geminidataanalytics.v1beta.SpannerReference getSpannerRe
*
*
*
- * Reference to a Spanner database.
+ * Reference to a Spanner database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.SpannerReference spanner_reference = 9;
@@ -2018,7 +2039,8 @@ public Builder setSpannerReference(
*
*
*
- * Reference to a Spanner database.
+ * Reference to a Spanner database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.SpannerReference spanner_reference = 9;
@@ -2039,7 +2061,8 @@ public Builder setSpannerReference(
*
*
*
- * Reference to a Spanner database.
+ * Reference to a Spanner database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.SpannerReference spanner_reference = 9;
@@ -2075,7 +2098,8 @@ public Builder mergeSpannerReference(
*
*
*
- * Reference to a Spanner database.
+ * Reference to a Spanner database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.SpannerReference spanner_reference = 9;
@@ -2101,7 +2125,8 @@ public Builder clearSpannerReference() {
*
*
*
- * Reference to a Spanner database.
+ * Reference to a Spanner database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.SpannerReference spanner_reference = 9;
@@ -2115,7 +2140,8 @@ public Builder clearSpannerReference() {
*
*
*
- * Reference to a Spanner database.
+ * Reference to a Spanner database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.SpannerReference spanner_reference = 9;
@@ -2137,7 +2163,8 @@ public Builder clearSpannerReference() {
*
*
*
- * Reference to a Spanner database.
+ * Reference to a Spanner database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.SpannerReference spanner_reference = 9;
@@ -2177,7 +2204,8 @@ public Builder clearSpannerReference() {
*
*
*
- * Reference to a CloudSql database.
+ * Reference to a CloudSql database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.CloudSqlReference cloud_sql_reference = 10;
@@ -2194,7 +2222,8 @@ public boolean hasCloudSqlReference() {
*
*
*
- * Reference to a CloudSql database.
+ * Reference to a CloudSql database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.CloudSqlReference cloud_sql_reference = 10;
@@ -2221,7 +2250,8 @@ public com.google.cloud.geminidataanalytics.v1beta.CloudSqlReference getCloudSql
*
*
*
- * Reference to a CloudSql database.
+ * Reference to a CloudSql database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.CloudSqlReference cloud_sql_reference = 10;
@@ -2246,7 +2276,8 @@ public Builder setCloudSqlReference(
*
*
*
- * Reference to a CloudSql database.
+ * Reference to a CloudSql database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.CloudSqlReference cloud_sql_reference = 10;
@@ -2268,7 +2299,8 @@ public Builder setCloudSqlReference(
*
*
*
- * Reference to a CloudSql database.
+ * Reference to a CloudSql database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.CloudSqlReference cloud_sql_reference = 10;
@@ -2305,7 +2337,8 @@ public Builder mergeCloudSqlReference(
*
*
*
- * Reference to a CloudSql database.
+ * Reference to a CloudSql database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.CloudSqlReference cloud_sql_reference = 10;
@@ -2332,7 +2365,8 @@ public Builder clearCloudSqlReference() {
*
*
*
- * Reference to a CloudSql database.
+ * Reference to a CloudSql database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.CloudSqlReference cloud_sql_reference = 10;
@@ -2347,7 +2381,8 @@ public Builder clearCloudSqlReference() {
*
*
*
- * Reference to a CloudSql database.
+ * Reference to a CloudSql database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.CloudSqlReference cloud_sql_reference = 10;
@@ -2370,7 +2405,8 @@ public Builder clearCloudSqlReference() {
*
*
*
- * Reference to a CloudSql database.
+ * Reference to a CloudSql database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.CloudSqlReference cloud_sql_reference = 10;
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DatasourceReferencesOrBuilder.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DatasourceReferencesOrBuilder.java
index df88fb24eb70..90d9c827234f 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DatasourceReferencesOrBuilder.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/DatasourceReferencesOrBuilder.java
@@ -140,7 +140,8 @@ public interface DatasourceReferencesOrBuilder
*
*
*
- * Reference to an AlloyDB database.
+ * Reference to an AlloyDB database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.AlloyDbReference alloydb = 8;
@@ -153,7 +154,8 @@ public interface DatasourceReferencesOrBuilder
*
*
*
- * Reference to an AlloyDB database.
+ * Reference to an AlloyDB database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.AlloyDbReference alloydb = 8;
@@ -166,7 +168,8 @@ public interface DatasourceReferencesOrBuilder
*
*
*
- * Reference to an AlloyDB database.
+ * Reference to an AlloyDB database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.AlloyDbReference alloydb = 8;
@@ -177,7 +180,8 @@ public interface DatasourceReferencesOrBuilder
*
*
*
- * Reference to a Spanner database.
+ * Reference to a Spanner database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.SpannerReference spanner_reference = 9;
@@ -190,7 +194,8 @@ public interface DatasourceReferencesOrBuilder
*
*
*
- * Reference to a Spanner database.
+ * Reference to a Spanner database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.SpannerReference spanner_reference = 9;
@@ -203,7 +208,8 @@ public interface DatasourceReferencesOrBuilder
*
*
*
- * Reference to a Spanner database.
+ * Reference to a Spanner database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.SpannerReference spanner_reference = 9;
@@ -215,7 +221,8 @@ public interface DatasourceReferencesOrBuilder
*
*
*
- * Reference to a CloudSql database.
+ * Reference to a CloudSql database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.CloudSqlReference cloud_sql_reference = 10;
@@ -229,7 +236,8 @@ public interface DatasourceReferencesOrBuilder
*
*
*
- * Reference to a CloudSql database.
+ * Reference to a CloudSql database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.CloudSqlReference cloud_sql_reference = 10;
@@ -243,7 +251,8 @@ public interface DatasourceReferencesOrBuilder
*
*
*
- * Reference to a CloudSql database.
+ * Reference to a CloudSql database. Only supported for the `QueryData`
+ * method.
*
*
* .google.cloud.geminidataanalytics.v1beta.CloudSqlReference cloud_sql_reference = 10;
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/SpannerReference.java b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/SpannerReference.java
index 3f0af5b2c9c7..d6c8bf7efaee 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/SpannerReference.java
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/java/com/google/cloud/geminidataanalytics/v1beta/SpannerReference.java
@@ -24,6 +24,7 @@
*
*
* Message representing reference to a Spanner database and agent context.
+ * Only supported for the `QueryData` method.
*
*
* Protobuf type {@code google.cloud.geminidataanalytics.v1beta.SpannerReference}
@@ -374,6 +375,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
* Message representing reference to a Spanner database and agent context.
+ * Only supported for the `QueryData` method.
*
*
* Protobuf type {@code google.cloud.geminidataanalytics.v1beta.SpannerReference}
diff --git a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/proto/google/cloud/geminidataanalytics/v1beta/datasource.proto b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/proto/google/cloud/geminidataanalytics/v1beta/datasource.proto
index 8b3e388a4d42..62d9a0c53ee0 100644
--- a/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/proto/google/cloud/geminidataanalytics/v1beta/datasource.proto
+++ b/java-geminidataanalytics/proto-google-cloud-geminidataanalytics-v1beta/src/main/proto/google/cloud/geminidataanalytics/v1beta/datasource.proto
@@ -53,22 +53,27 @@ message DatasourceReferences {
// References to Looker Explores.
LookerExploreReferences looker = 3;
- // Reference to an AlloyDB database.
+ // Reference to an AlloyDB database. Only supported for the `QueryData`
+ // method.
AlloyDbReference alloydb = 8;
- // Reference to a Spanner database.
+ // Reference to a Spanner database. Only supported for the `QueryData`
+ // method.
SpannerReference spanner_reference = 9;
- // Reference to a CloudSql database.
+ // Reference to a CloudSql database. Only supported for the `QueryData`
+ // method.
CloudSqlReference cloud_sql_reference = 10;
}
}
-// Message representing references to BigQuery tables.
+// Message representing references to BigQuery tables and property graphs.
+// At least one of `table_references` or `property_graph_references` must be
+// populated.
message BigQueryTableReferences {
- // Required. References to BigQuery tables.
+ // Optional. References to BigQuery tables.
repeated BigQueryTableReference table_references = 1
- [(google.api.field_behavior) = REQUIRED];
+ [(google.api.field_behavior) = OPTIONAL];
}
// Message representing a reference to a single BigQuery table.
@@ -99,6 +104,7 @@ message StudioDatasourceReference {
}
// Message representing reference to an AlloyDB database and agent context.
+// Only supported for the `QueryData` method.
message AlloyDbReference {
// Required. Singular proto that supports specifying which database and tables
// to include.
@@ -132,6 +138,7 @@ message AlloyDbDatabaseReference {
}
// Message representing reference to a Spanner database and agent context.
+// Only supported for the `QueryData` method.
message SpannerReference {
// Required. Singular proto that supports specifying which database and tables
// to include.
@@ -177,6 +184,7 @@ message SpannerDatabaseReference {
}
// Message representing reference to a CloudSQL database and agent context.
+// Only supported for the `QueryData` method.
message CloudSqlReference {
// Required. Singular proto that supports specifying which database and tables
// to include.
diff --git a/java-gke-backup/README.md b/java-gke-backup/README.md
index 5ce522eb3226..d0f430717568 100644
--- a/java-gke-backup/README.md
+++ b/java-gke-backup/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: