Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#1553)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed May 23, 2022
1 parent 0e22eae commit 97794a9
Show file tree
Hide file tree
Showing 10 changed files with 97 additions and 40 deletions.
12 changes: 10 additions & 2 deletions baremetalsolution/v2/baremetalsolution-api.json
Expand Up @@ -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"
Expand Down Expand Up @@ -999,7 +999,7 @@
}
}
},
"revision": "20220501",
"revision": "20220506",
"rootUrl": "https://baremetalsolution.googleapis.com/",
"schemas": {
"AllowedClient": {
Expand Down Expand Up @@ -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": [
Expand Down Expand Up @@ -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",
Expand Down
14 changes: 11 additions & 3 deletions baremetalsolution/v2/baremetalsolution-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions clouderrorreporting/v1beta1/clouderrorreporting-api.json
Expand Up @@ -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,
Expand Down Expand Up @@ -430,7 +430,7 @@
}
}
},
"revision": "20220420",
"revision": "20220511",
"rootUrl": "https://clouderrorreporting.googleapis.com/",
"schemas": {
"DeleteEventsResponse": {
Expand Down
4 changes: 2 additions & 2 deletions clouderrorreporting/v1beta1/clouderrorreporting-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 18 additions & 2 deletions compute/v1/compute-api.json
Expand Up @@ -31157,7 +31157,7 @@
}
}
},
"revision": "20220506",
"revision": "20220510",
"rootUrl": "https://compute.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down Expand Up @@ -35000,6 +35000,7 @@
"GENERAL_PURPOSE_N2D",
"GENERAL_PURPOSE_T2D",
"MEMORY_OPTIMIZED",
"MEMORY_OPTIMIZED_M3",
"TYPE_UNSPECIFIED"
],
"enumDescriptions": [
Expand All @@ -35012,6 +35013,7 @@
"",
"",
"",
"",
""
],
"type": "string"
Expand Down Expand Up @@ -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"
],
Expand Down Expand Up @@ -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"
Expand Down
21 changes: 20 additions & 1 deletion compute/v1/compute-gen.go
Expand Up @@ -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"`

Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions speech/v1/speech-api.json
Expand Up @@ -524,7 +524,7 @@
}
}
},
"revision": "20220419",
"revision": "20220511",
"rootUrl": "https://speech.googleapis.com/",
"schemas": {
"ClassItem": {
Expand Down Expand Up @@ -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": {
Expand Down
27 changes: 15 additions & 12 deletions speech/v1/speech-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions speech/v1p1beta1/speech-api.json
Expand Up @@ -524,7 +524,7 @@
}
}
},
"revision": "20220419",
"revision": "20220511",
"rootUrl": "https://speech.googleapis.com/",
"schemas": {
"ClassItem": {
Expand Down Expand Up @@ -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": {
Expand Down
27 changes: 15 additions & 12 deletions speech/v1p1beta1/speech-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 97794a9

Please sign in to comment.