From 97794a9d28332961669d74a8112969b290fad113 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 23 May 2022 08:09:27 -0700 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#1553) --- .../v2/baremetalsolution-api.json | 12 +++++++-- baremetalsolution/v2/baremetalsolution-gen.go | 14 +++++++--- .../v1beta1/clouderrorreporting-api.json | 4 +-- .../v1beta1/clouderrorreporting-gen.go | 4 +-- compute/v1/compute-api.json | 20 ++++++++++++-- compute/v1/compute-gen.go | 21 ++++++++++++++- speech/v1/speech-api.json | 4 +-- speech/v1/speech-gen.go | 27 ++++++++++--------- speech/v1p1beta1/speech-api.json | 4 +-- speech/v1p1beta1/speech-gen.go | 27 ++++++++++--------- 10 files changed, 97 insertions(+), 40 deletions(-) diff --git a/baremetalsolution/v2/baremetalsolution-api.json b/baremetalsolution/v2/baremetalsolution-api.json index bd146ca78f2..c6edeb28912 100644 --- a/baremetalsolution/v2/baremetalsolution-api.json +++ b/baremetalsolution/v2/baremetalsolution-api.json @@ -318,7 +318,7 @@ "type": "string" }, "updateMask": { - "description": "The list of fields to update. The only currently supported fields are: `labels` `hyperthreading_enabled`", + "description": "The list of fields to update. The currently supported fields are: `labels` `hyperthreading_enabled` `os_image`", "format": "google-fieldmask", "location": "query", "type": "string" @@ -999,7 +999,7 @@ } } }, - "revision": "20220501", + "revision": "20220506", "rootUrl": "https://baremetalsolution.googleapis.com/", "schemas": { "AllowedClient": { @@ -1128,6 +1128,10 @@ "description": "The OS image currently installed on the server.", "type": "string" }, + "pod": { + "description": "Immutable. Pod name. Pod is an independent part of infrastructure. Instance can be connected to the assets (networks, volumes) allocated in the same pod only.", + "type": "string" + }, "state": { "description": "The state of the server.", "enum": [ @@ -2334,6 +2338,10 @@ "readOnly": true, "type": "string" }, + "pod": { + "description": "Immutable. Pod name.", + "type": "string" + }, "remainingSpaceGib": { "description": "The space remaining in the storage volume for new LUNs, in GiB, excluding space reserved for snapshots.", "format": "int64", diff --git a/baremetalsolution/v2/baremetalsolution-gen.go b/baremetalsolution/v2/baremetalsolution-gen.go index 85d7fb5842f..514d383b328 100644 --- a/baremetalsolution/v2/baremetalsolution-gen.go +++ b/baremetalsolution/v2/baremetalsolution-gen.go @@ -409,6 +409,11 @@ type Instance struct { // OsImage: The OS image currently installed on the server. OsImage string `json:"osImage,omitempty"` + // Pod: Immutable. Pod name. Pod is an independent part of + // infrastructure. Instance can be connected to the assets (networks, + // volumes) allocated in the same pod only. + Pod string `json:"pod,omitempty"` + // State: The state of the server. // // Possible values: @@ -2056,6 +2061,9 @@ type Volume struct { // `projects/{project}/locations/{location}/volumes/{volume}` Name string `json:"name,omitempty"` + // Pod: Immutable. Pod name. + Pod string `json:"pod,omitempty"` + // RemainingSpaceGib: The space remaining in the storage volume for new // LUNs, in GiB, excluding space reserved for snapshots. RemainingSpaceGib int64 `json:"remainingSpaceGib,omitempty,string"` @@ -3228,8 +3236,8 @@ func (r *ProjectsLocationsInstancesService) Patch(name string, instance *Instanc } // UpdateMask sets the optional parameter "updateMask": The list of -// fields to update. The only currently supported fields are: `labels` -// `hyperthreading_enabled` +// fields to update. The currently supported fields are: `labels` +// `hyperthreading_enabled` `os_image` func (c *ProjectsLocationsInstancesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsInstancesPatchCall { c.urlParams_.Set("updateMask", updateMask) return c @@ -3342,7 +3350,7 @@ func (c *ProjectsLocationsInstancesPatchCall) Do(opts ...googleapi.CallOption) ( // "type": "string" // }, // "updateMask": { - // "description": "The list of fields to update. The only currently supported fields are: `labels` `hyperthreading_enabled`", + // "description": "The list of fields to update. The currently supported fields are: `labels` `hyperthreading_enabled` `os_image`", // "format": "google-fieldmask", // "location": "query", // "type": "string" diff --git a/clouderrorreporting/v1beta1/clouderrorreporting-api.json b/clouderrorreporting/v1beta1/clouderrorreporting-api.json index ddb28ccbfd3..03f58b2424f 100644 --- a/clouderrorreporting/v1beta1/clouderrorreporting-api.json +++ b/clouderrorreporting/v1beta1/clouderrorreporting-api.json @@ -311,7 +311,7 @@ "type": "string" }, "projectName": { - "description": "Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID}` or `projects/{projectNumber}`, where `{projectID}` and `{projectNumber}` can be found in the [Google Cloud Console](https://support.google.com/cloud/answer/6158840). Examples: `projects/my-project-123`, `projects/5551234`.", + "description": "Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID}` or `projects/{projectNumber}`, where `{projectID}` and `{projectNumber}` can be found in the [Google Cloud console](https://support.google.com/cloud/answer/6158840). Examples: `projects/my-project-123`, `projects/5551234`.", "location": "path", "pattern": "^projects/[^/]+$", "required": true, @@ -430,7 +430,7 @@ } } }, - "revision": "20220420", + "revision": "20220511", "rootUrl": "https://clouderrorreporting.googleapis.com/", "schemas": { "DeleteEventsResponse": { diff --git a/clouderrorreporting/v1beta1/clouderrorreporting-gen.go b/clouderrorreporting/v1beta1/clouderrorreporting-gen.go index d0d8ba34266..39832b0571e 100644 --- a/clouderrorreporting/v1beta1/clouderrorreporting-gen.go +++ b/clouderrorreporting/v1beta1/clouderrorreporting-gen.go @@ -1418,7 +1418,7 @@ type ProjectsGroupStatsListCall struct { // - projectName: The resource name of the Google Cloud Platform // project. Written as `projects/{projectID}` or // `projects/{projectNumber}`, where `{projectID}` and -// `{projectNumber}` can be found in the Google Cloud Console +// `{projectNumber}` can be found in the Google Cloud console // (https://support.google.com/cloud/answer/6158840). Examples: // `projects/my-project-123`, `projects/5551234`. func (r *ProjectsGroupStatsService) List(projectName string) *ProjectsGroupStatsListCall { @@ -1720,7 +1720,7 @@ func (c *ProjectsGroupStatsListCall) Do(opts ...googleapi.CallOption) (*ListGrou // "type": "string" // }, // "projectName": { - // "description": "Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID}` or `projects/{projectNumber}`, where `{projectID}` and `{projectNumber}` can be found in the [Google Cloud Console](https://support.google.com/cloud/answer/6158840). Examples: `projects/my-project-123`, `projects/5551234`.", + // "description": "Required. The resource name of the Google Cloud Platform project. Written as `projects/{projectID}` or `projects/{projectNumber}`, where `{projectID}` and `{projectNumber}` can be found in the [Google Cloud console](https://support.google.com/cloud/answer/6158840). Examples: `projects/my-project-123`, `projects/5551234`.", // "location": "path", // "pattern": "^projects/[^/]+$", // "required": true, diff --git a/compute/v1/compute-api.json b/compute/v1/compute-api.json index 196dcc9022e..ae4d579c67a 100644 --- a/compute/v1/compute-api.json +++ b/compute/v1/compute-api.json @@ -31157,7 +31157,7 @@ } } }, - "revision": "20220506", + "revision": "20220510", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -35000,6 +35000,7 @@ "GENERAL_PURPOSE_N2D", "GENERAL_PURPOSE_T2D", "MEMORY_OPTIMIZED", + "MEMORY_OPTIMIZED_M3", "TYPE_UNSPECIFIED" ], "enumDescriptions": [ @@ -35012,6 +35013,7 @@ "", "", "", + "", "" ], "type": "string" @@ -40501,7 +40503,7 @@ }, "sourceType": { "default": "RAW", - "description": "The type of the image used to create this disk. The default and only value is RAW", + "description": "The type of the image used to create this disk. The default and only valid value is RAW.", "enum": [ "RAW" ], @@ -45361,6 +45363,20 @@ }, "description": "Location configurations mapped by location name. Currently only zone names are supported and must be represented as valid internal URLs, such as zones/us-central1-a.", "type": "object" + }, + "targetShape": { + "description": "Strategy for distributing VMs across zones in a region.", + "enum": [ + "ANY", + "ANY_SINGLE_ZONE", + "BALANCED" + ], + "enumDescriptions": [ + "GCE picks zones for creating VM instances to fulfill the requested number of VMs within present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads that do not require high availability.", + "GCE always selects a single zone for all the VMs, optimizing for resource quotas, available reservations and general capacity. Recommended for batch workloads that cannot tollerate distribution over multiple zones. This the default shape in Bulk Insert and Capacity Advisor APIs.", + "GCE prioritizes acquisition of resources, scheduling VMs in zones where resources are available while distributing VMs as evenly as possible across allowed zones to minimize the impact of zonal failure. Recommended for highly available serving workloads." + ], + "type": "string" } }, "type": "object" diff --git a/compute/v1/compute-gen.go b/compute/v1/compute-gen.go index 4a71e1efe15..fc5f29a289d 100644 --- a/compute/v1/compute-gen.go +++ b/compute/v1/compute-gen.go @@ -7436,6 +7436,7 @@ type Commitment struct { // "GENERAL_PURPOSE_N2D" // "GENERAL_PURPOSE_T2D" // "MEMORY_OPTIMIZED" + // "MEMORY_OPTIMIZED_M3" // "TYPE_UNSPECIFIED" Type string `json:"type,omitempty"` @@ -16282,7 +16283,7 @@ type Image struct { SourceSnapshotId string `json:"sourceSnapshotId,omitempty"` // SourceType: The type of the image used to create this disk. The - // default and only value is RAW + // default and only valid value is RAW. // // Possible values: // "RAW" (default) @@ -23942,6 +23943,24 @@ type LocationPolicy struct { // internal URLs, such as zones/us-central1-a. Locations map[string]LocationPolicyLocation `json:"locations,omitempty"` + // TargetShape: Strategy for distributing VMs across zones in a region. + // + // Possible values: + // "ANY" - GCE picks zones for creating VM instances to fulfill the + // requested number of VMs within present resource constraints and to + // maximize utilization of unused zonal reservations. Recommended for + // batch workloads that do not require high availability. + // "ANY_SINGLE_ZONE" - GCE always selects a single zone for all the + // VMs, optimizing for resource quotas, available reservations and + // general capacity. Recommended for batch workloads that cannot + // tollerate distribution over multiple zones. This the default shape in + // Bulk Insert and Capacity Advisor APIs. + // "BALANCED" - GCE prioritizes acquisition of resources, scheduling + // VMs in zones where resources are available while distributing VMs as + // evenly as possible across allowed zones to minimize the impact of + // zonal failure. Recommended for highly available serving workloads. + TargetShape string `json:"targetShape,omitempty"` + // ForceSendFields is a list of field names (e.g. "Locations") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any diff --git a/speech/v1/speech-api.json b/speech/v1/speech-api.json index bd9321e8f67..2af601ae98f 100644 --- a/speech/v1/speech-api.json +++ b/speech/v1/speech-api.json @@ -524,7 +524,7 @@ } } }, - "revision": "20220419", + "revision": "20220511", "rootUrl": "https://speech.googleapis.com/", "schemas": { "ClassItem": { @@ -901,7 +901,7 @@ "description": "Metadata regarding this request." }, "model": { - "description": "Which model to select for the given request. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then we auto-select a model based on the parameters in the RecognitionConfig. *Model* *Description* command_and_search Best for short queries such as voice commands or voice search. phone_call Best for audio that originated from a phone call (typically recorded at an 8khz sampling rate). video Best for audio that originated from video or includes multiple speakers. Ideally the audio is recorded at a 16khz or greater sampling rate. This is a premium model that costs more than the standard rate. default Best for audio that is not one of the specific audio models. For example, long-form audio. Ideally the audio is high-fidelity, recorded at a 16khz or greater sampling rate. medical_conversation Best for audio that originated from a conversation between a medical provider and patient. medical_dictation Best for audio that originated from dictation notes by a medical provider. ", + "description": "Which model to select for the given request. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then we auto-select a model based on the parameters in the RecognitionConfig. *Model* *Description* latest_long Best for long form content like media or conversation. latest_short Best for short form content like commands or single shot directed speech. command_and_search Best for short queries such as voice commands or voice search. phone_call Best for audio that originated from a phone call (typically recorded at an 8khz sampling rate). video Best for audio that originated from video or includes multiple speakers. Ideally the audio is recorded at a 16khz or greater sampling rate. This is a premium model that costs more than the standard rate. default Best for audio that is not one of the specific audio models. For example, long-form audio. Ideally the audio is high-fidelity, recorded at a 16khz or greater sampling rate. medical_conversation Best for audio that originated from a conversation between a medical provider and patient. medical_dictation Best for audio that originated from dictation notes by a medical provider. ", "type": "string" }, "profanityFilter": { diff --git a/speech/v1/speech-gen.go b/speech/v1/speech-gen.go index 710e4d7ddbd..034e8772085 100644 --- a/speech/v1/speech-gen.go +++ b/speech/v1/speech-gen.go @@ -997,18 +997,21 @@ type RecognitionConfig struct { // best suited to your domain to get best results. If a model is not // explicitly specified, then we auto-select a model based on the // parameters in the RecognitionConfig. *Model* *Description* - // command_and_search Best for short queries such as voice commands or - // voice search. phone_call Best for audio that originated from a phone - // call (typically recorded at an 8khz sampling rate). video Best for - // audio that originated from video or includes multiple speakers. - // Ideally the audio is recorded at a 16khz or greater sampling rate. - // This is a premium model that costs more than the standard rate. - // default Best for audio that is not one of the specific audio models. - // For example, long-form audio. Ideally the audio is high-fidelity, - // recorded at a 16khz or greater sampling rate. medical_conversation - // Best for audio that originated from a conversation between a medical - // provider and patient. medical_dictation Best for audio that - // originated from dictation notes by a medical provider. + // latest_long Best for long form content like media or conversation. + // latest_short Best for short form content like commands or single shot + // directed speech. command_and_search Best for short queries such as + // voice commands or voice search. phone_call Best for audio that + // originated from a phone call (typically recorded at an 8khz sampling + // rate). video Best for audio that originated from video or includes + // multiple speakers. Ideally the audio is recorded at a 16khz or + // greater sampling rate. This is a premium model that costs more than + // the standard rate. default Best for audio that is not one of the + // specific audio models. For example, long-form audio. Ideally the + // audio is high-fidelity, recorded at a 16khz or greater sampling rate. + // medical_conversation Best for audio that originated from a + // conversation between a medical provider and patient. + // medical_dictation Best for audio that originated from dictation notes + // by a medical provider. Model string `json:"model,omitempty"` // ProfanityFilter: If set to `true`, the server will attempt to filter diff --git a/speech/v1p1beta1/speech-api.json b/speech/v1p1beta1/speech-api.json index bf0c9fc1729..0196b8670ed 100644 --- a/speech/v1p1beta1/speech-api.json +++ b/speech/v1p1beta1/speech-api.json @@ -524,7 +524,7 @@ } } }, - "revision": "20220419", + "revision": "20220511", "rootUrl": "https://speech.googleapis.com/", "schemas": { "ClassItem": { @@ -936,7 +936,7 @@ "description": "Metadata regarding this request." }, "model": { - "description": "Which model to select for the given request. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then we auto-select a model based on the parameters in the RecognitionConfig. *Model* *Description* command_and_search Best for short queries such as voice commands or voice search. phone_call Best for audio that originated from a phone call (typically recorded at an 8khz sampling rate). video Best for audio that originated from video or includes multiple speakers. Ideally the audio is recorded at a 16khz or greater sampling rate. This is a premium model that costs more than the standard rate. default Best for audio that is not one of the specific audio models. For example, long-form audio. Ideally the audio is high-fidelity, recorded at a 16khz or greater sampling rate. medical_conversation Best for audio that originated from a conversation between a medical provider and patient. medical_dictation Best for audio that originated from dictation notes by a medical provider. ", + "description": "Which model to select for the given request. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then we auto-select a model based on the parameters in the RecognitionConfig. *Model* *Description* latest_long Best for long form content like media or conversation. latest_short Best for short form content like commands or single shot directed speech. command_and_search Best for short queries such as voice commands or voice search. phone_call Best for audio that originated from a phone call (typically recorded at an 8khz sampling rate). video Best for audio that originated from video or includes multiple speakers. Ideally the audio is recorded at a 16khz or greater sampling rate. This is a premium model that costs more than the standard rate. default Best for audio that is not one of the specific audio models. For example, long-form audio. Ideally the audio is high-fidelity, recorded at a 16khz or greater sampling rate. medical_conversation Best for audio that originated from a conversation between a medical provider and patient. medical_dictation Best for audio that originated from dictation notes by a medical provider. ", "type": "string" }, "profanityFilter": { diff --git a/speech/v1p1beta1/speech-gen.go b/speech/v1p1beta1/speech-gen.go index 88d4a3220b5..9dea2aa9387 100644 --- a/speech/v1p1beta1/speech-gen.go +++ b/speech/v1p1beta1/speech-gen.go @@ -1052,18 +1052,21 @@ type RecognitionConfig struct { // best suited to your domain to get best results. If a model is not // explicitly specified, then we auto-select a model based on the // parameters in the RecognitionConfig. *Model* *Description* - // command_and_search Best for short queries such as voice commands or - // voice search. phone_call Best for audio that originated from a phone - // call (typically recorded at an 8khz sampling rate). video Best for - // audio that originated from video or includes multiple speakers. - // Ideally the audio is recorded at a 16khz or greater sampling rate. - // This is a premium model that costs more than the standard rate. - // default Best for audio that is not one of the specific audio models. - // For example, long-form audio. Ideally the audio is high-fidelity, - // recorded at a 16khz or greater sampling rate. medical_conversation - // Best for audio that originated from a conversation between a medical - // provider and patient. medical_dictation Best for audio that - // originated from dictation notes by a medical provider. + // latest_long Best for long form content like media or conversation. + // latest_short Best for short form content like commands or single shot + // directed speech. command_and_search Best for short queries such as + // voice commands or voice search. phone_call Best for audio that + // originated from a phone call (typically recorded at an 8khz sampling + // rate). video Best for audio that originated from video or includes + // multiple speakers. Ideally the audio is recorded at a 16khz or + // greater sampling rate. This is a premium model that costs more than + // the standard rate. default Best for audio that is not one of the + // specific audio models. For example, long-form audio. Ideally the + // audio is high-fidelity, recorded at a 16khz or greater sampling rate. + // medical_conversation Best for audio that originated from a + // conversation between a medical provider and patient. + // medical_dictation Best for audio that originated from dictation notes + // by a medical provider. Model string `json:"model,omitempty"` // ProfanityFilter: If set to `true`, the server will attempt to filter