diff --git a/apis/Google.Cloud.Batch.V1/Google.Cloud.Batch.V1/Batch.g.cs b/apis/Google.Cloud.Batch.V1/Google.Cloud.Batch.V1/Batch.g.cs index e54a2442afcb..01c0eae95102 100644 --- a/apis/Google.Cloud.Batch.V1/Google.Cloud.Batch.V1/Batch.g.cs +++ b/apis/Google.Cloud.Batch.V1/Google.Cloud.Batch.V1/Batch.g.cs @@ -172,8 +172,9 @@ public string Parent { private string jobId_ = ""; /// /// ID used to uniquely identify the Job within its parent scope. - /// This field should contain at most 63 characters. - /// Only alphanumeric characters or '-' are accepted. + /// This field should contain at most 63 characters and must start with + /// lowercase characters. + /// Only lowercase characters, numbers and '-' are accepted. /// The '-' character cannot be the first or the last one. /// A system generated ID will be used if the field is not set. /// diff --git a/apis/Google.Cloud.Batch.V1/Google.Cloud.Batch.V1/BatchServiceClient.g.cs b/apis/Google.Cloud.Batch.V1/Google.Cloud.Batch.V1/BatchServiceClient.g.cs index 9ca2a9b22cae..63ebd73e5648 100644 --- a/apis/Google.Cloud.Batch.V1/Google.Cloud.Batch.V1/BatchServiceClient.g.cs +++ b/apis/Google.Cloud.Batch.V1/Google.Cloud.Batch.V1/BatchServiceClient.g.cs @@ -375,8 +375,9 @@ public virtual Job CreateJob(CreateJobRequest request, gaxgrpc::CallSettings cal /// /// /// ID used to uniquely identify the Job within its parent scope. - /// This field should contain at most 63 characters. - /// Only alphanumeric characters or '-' are accepted. + /// This field should contain at most 63 characters and must start with + /// lowercase characters. + /// Only lowercase characters, numbers and '-' are accepted. /// The '-' character cannot be the first or the last one. /// A system generated ID will be used if the field is not set. /// @@ -405,8 +406,9 @@ public virtual Job CreateJob(string parent, Job job, string jobId, gaxgrpc::Call /// /// /// ID used to uniquely identify the Job within its parent scope. - /// This field should contain at most 63 characters. - /// Only alphanumeric characters or '-' are accepted. + /// This field should contain at most 63 characters and must start with + /// lowercase characters. + /// Only lowercase characters, numbers and '-' are accepted. /// The '-' character cannot be the first or the last one. /// A system generated ID will be used if the field is not set. /// @@ -435,8 +437,9 @@ public virtual Job CreateJob(string parent, Job job, string jobId, gaxgrpc::Call /// /// /// ID used to uniquely identify the Job within its parent scope. - /// This field should contain at most 63 characters. - /// Only alphanumeric characters or '-' are accepted. + /// This field should contain at most 63 characters and must start with + /// lowercase characters. + /// Only lowercase characters, numbers and '-' are accepted. /// The '-' character cannot be the first or the last one. /// A system generated ID will be used if the field is not set. /// @@ -460,8 +463,9 @@ public virtual Job CreateJob(string parent, Job job, string jobId, gaxgrpc::Call /// /// /// ID used to uniquely identify the Job within its parent scope. - /// This field should contain at most 63 characters. - /// Only alphanumeric characters or '-' are accepted. + /// This field should contain at most 63 characters and must start with + /// lowercase characters. + /// Only lowercase characters, numbers and '-' are accepted. /// The '-' character cannot be the first or the last one. /// A system generated ID will be used if the field is not set. /// @@ -490,8 +494,9 @@ public virtual Job CreateJob(gagr::LocationName parent, Job job, string jobId, g /// /// /// ID used to uniquely identify the Job within its parent scope. - /// This field should contain at most 63 characters. - /// Only alphanumeric characters or '-' are accepted. + /// This field should contain at most 63 characters and must start with + /// lowercase characters. + /// Only lowercase characters, numbers and '-' are accepted. /// The '-' character cannot be the first or the last one. /// A system generated ID will be used if the field is not set. /// @@ -520,8 +525,9 @@ public virtual Job CreateJob(gagr::LocationName parent, Job job, string jobId, g /// /// /// ID used to uniquely identify the Job within its parent scope. - /// This field should contain at most 63 characters. - /// Only alphanumeric characters or '-' are accepted. + /// This field should contain at most 63 characters and must start with + /// lowercase characters. + /// Only lowercase characters, numbers and '-' are accepted. /// The '-' character cannot be the first or the last one. /// A system generated ID will be used if the field is not set. /// diff --git a/apis/Google.Cloud.Batch.V1/Google.Cloud.Batch.V1/Job.g.cs b/apis/Google.Cloud.Batch.V1/Google.Cloud.Batch.V1/Job.g.cs index 3c81e796b68c..22843c5a11be 100644 --- a/apis/Google.Cloud.Batch.V1/Google.Cloud.Batch.V1/Job.g.cs +++ b/apis/Google.Cloud.Batch.V1/Google.Cloud.Batch.V1/Job.g.cs @@ -3409,7 +3409,7 @@ public void MergeFrom(pb::CodedInputStream input) { } /// - /// A new or an existing persistent disk or a local ssd attached to a VM + /// A new or an existing persistent disk (PD) or a local ssd attached to a VM /// instance. /// public sealed partial class AttachedDisk : pb::IMessage @@ -3731,7 +3731,7 @@ public void MergeFrom(pb::CodedInputStream input) { } /// - /// Accelerator describes Compute Engine accelerators to be attached to VMs. + /// Accelerator describes Compute Engine accelerators to be attached to the VM. /// public sealed partial class Accelerator : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -4114,7 +4114,6 @@ public string MinCpuPlatform { private readonly pbc::RepeatedField accelerators_ = new pbc::RepeatedField(); /// /// The accelerators attached to each VM instance. - /// Not yet implemented. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -4129,7 +4128,7 @@ public string MinCpuPlatform { private readonly pbc::RepeatedField disks_ = new pbc::RepeatedField(); /// /// Non-boot disks to be attached for each VM created by this InstancePolicy. - /// New disks will be deleted when the attached VM is deleted. + /// New disks will be deleted when the VM is deleted. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] diff --git a/apis/Google.Cloud.Batch.V1/Google.Cloud.Batch.V1/Task.g.cs b/apis/Google.Cloud.Batch.V1/Google.Cloud.Batch.V1/Task.g.cs index 6c63246de792..3f9e6cb4e26f 100644 --- a/apis/Google.Cloud.Batch.V1/Google.Cloud.Batch.V1/Task.g.cs +++ b/apis/Google.Cloud.Batch.V1/Google.Cloud.Batch.V1/Task.g.cs @@ -1907,7 +1907,7 @@ public bool BlockExternalNetwork { private string username_ = ""; /// /// Optional username for logging in to a docker registry. If username - /// matches `projects/*/secrets/*/versions/*` then Batch will read the + /// matches "projects/*/secrets/*/versions/*" then Batch will read the /// username from the Secret Manager. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -1924,7 +1924,7 @@ public string Username { private string password_ = ""; /// /// Optional password for logging in to a docker registry. If password - /// matches `projects/*/secrets/*/versions/*` then Batch will read the + /// matches "projects/*/secrets/*/versions/*" then Batch will read the /// password from the Secret Manager; /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] diff --git a/apis/Google.Cloud.Batch.V1/Google.Cloud.Batch.V1/Volume.g.cs b/apis/Google.Cloud.Batch.V1/Google.Cloud.Batch.V1/Volume.g.cs index 5caaee8e8923..7c9216a69c65 100644 --- a/apis/Google.Cloud.Batch.V1/Google.Cloud.Batch.V1/Volume.g.cs +++ b/apis/Google.Cloud.Batch.V1/Google.Cloud.Batch.V1/Volume.g.cs @@ -49,9 +49,7 @@ static VolumeReflection() { } #region Messages /// - /// Volume and mount parameters to be associated with a TaskSpec. A TaskSpec - /// might describe zero, one, or multiple volumes to be mounted as part of the - /// task. + /// Volume describes a volume and parameters for it to be mounted to a VM. /// public sealed partial class Volume : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -113,7 +111,8 @@ public Volume Clone() { /// Field number for the "nfs" field. public const int NfsFieldNumber = 1; /// - /// An NFS source for the volume (could be a Filestore, for example). + /// A Network File System (NFS) volume. For example, a + /// Filestore file share. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -128,7 +127,7 @@ public Volume Clone() { /// Field number for the "gcs" field. public const int GcsFieldNumber = 3; /// - /// A Google Cloud Storage source for the volume. + /// A Google Cloud Storage (GCS) volume. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -143,7 +142,11 @@ public Volume Clone() { /// Field number for the "device_name" field. public const int DeviceNameFieldNumber = 6; /// - /// Device name of an attached disk + /// Device name of an attached disk volume, which should align with a + /// device_name specified by + /// job.allocation_policy.instances[0].policy.disks[i].device_name or + /// defined by the given instance template in + /// job.allocation_policy.instances[0].instance_template. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -159,7 +162,7 @@ public string DeviceName { public const int MountPathFieldNumber = 4; private string mountPath_ = ""; /// - /// Mount path for the volume, e.g. /mnt/share + /// The mount path for the volume, e.g. /mnt/disks/share. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -176,14 +179,15 @@ public string MountPath { = pb::FieldCodec.ForString(42); private readonly pbc::RepeatedField mountOptions_ = new pbc::RepeatedField(); /// - /// Mount options - /// For Google Cloud Storage, mount options are the global options supported by - /// gcsfuse tool. Batch will use them to mount the volume with the following - /// command: - /// "gcsfuse [global options] bucket mountpoint". - /// For PD, NFS, mount options are these supported by /etc/fstab. Batch will - /// use Fstab to mount such volumes. - /// https://help.ubuntu.com/community/Fstab + /// For Google Cloud Storage (GCS), mount options are the options supported by + /// the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse). + /// For existing persistent disks, mount options provided by the + /// mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except + /// writing are supported. This is due to restrictions of multi-writer mode + /// (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms). + /// For other attached disks and Network File System (NFS), mount options are + /// these supported by the mount command + /// (https://man7.org/linux/man-pages/man8/mount.8.html). /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -464,7 +468,7 @@ public void MergeFrom(pb::CodedInputStream input) { } /// - /// Represents an NFS server and remote path: <server>:<remote_path> + /// Represents an NFS volume. /// public sealed partial class NFS : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE @@ -515,7 +519,7 @@ public NFS Clone() { public const int ServerFieldNumber = 1; private string server_ = ""; /// - /// URI of the NFS server, e.g. an IP address. + /// The IP address of the NFS. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -530,7 +534,7 @@ public string Server { public const int RemotePathFieldNumber = 2; private string remotePath_ = ""; /// - /// Remote source path exported from NFS, e.g., "/share". + /// Remote source path exported from the NFS, e.g., "/share". /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -699,7 +703,7 @@ public void MergeFrom(pb::CodedInputStream input) { } /// - /// Represents a Google Cloud Storage volume source config. + /// Represents a Google Cloud Storage volume. /// public sealed partial class GCS : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE