From caf7af030c55a39723c92c3d9ee66b7c6c1e5a04 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 21 Nov 2022 07:38:18 -0800 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#1755) --- .../v1beta1/containeranalysis-api.json | 6 ++--- .../v1beta1/containeranalysis-gen.go | 4 +-- file/v1/file-api.json | 10 +++---- file/v1/file-gen.go | 23 ++++++++-------- file/v1beta1/file-api.json | 14 +++++----- file/v1beta1/file-gen.go | 26 +++++++++---------- spanner/v1/spanner-api.json | 4 +-- spanner/v1/spanner-gen.go | 4 +-- 8 files changed, 46 insertions(+), 45 deletions(-) diff --git a/containeranalysis/v1beta1/containeranalysis-api.json b/containeranalysis/v1beta1/containeranalysis-api.json index 908f62fd585..2bac5252920 100644 --- a/containeranalysis/v1beta1/containeranalysis-api.json +++ b/containeranalysis/v1beta1/containeranalysis-api.json @@ -755,7 +755,7 @@ } } }, - "revision": "20221107", + "revision": "20221112", "rootUrl": "https://containeranalysis.googleapis.com/", "schemas": { "AliasContext": { @@ -3006,7 +3006,7 @@ "type": "object" }, "DocumentNote": { - "description": "DocumentNote represents an SPDX Document Creation Information section: https://spdx.github.io/spdx-spec/2-document-creation-information/", + "description": "DocumentNote represents an SPDX Document Creation Information section: https://spdx.github.io/spdx-spec/v2.3/document-creation-information/", "id": "DocumentNote", "properties": { "dataLicence": { @@ -3021,7 +3021,7 @@ "type": "object" }, "DocumentOccurrence": { - "description": "DocumentOccurrence represents an SPDX Document Creation Information section: https://spdx.github.io/spdx-spec/2-document-creation-information/", + "description": "DocumentOccurrence represents an SPDX Document Creation Information section: https://spdx.github.io/spdx-spec/v2.3/document-creation-information/", "id": "DocumentOccurrence", "properties": { "createTime": { diff --git a/containeranalysis/v1beta1/containeranalysis-gen.go b/containeranalysis/v1beta1/containeranalysis-gen.go index 2b4d1835ebb..8301b8c9d77 100644 --- a/containeranalysis/v1beta1/containeranalysis-gen.go +++ b/containeranalysis/v1beta1/containeranalysis-gen.go @@ -3344,7 +3344,7 @@ func (s *Distribution) MarshalJSON() ([]byte, error) { // DocumentNote: DocumentNote represents an SPDX Document Creation // Information section: -// https://spdx.github.io/spdx-spec/2-document-creation-information/ +// https://spdx.github.io/spdx-spec/v2.3/document-creation-information/ type DocumentNote struct { // DataLicence: Compliance with the SPDX specification includes // populating the SPDX fields therein with data related to such fields @@ -3380,7 +3380,7 @@ func (s *DocumentNote) MarshalJSON() ([]byte, error) { // DocumentOccurrence: DocumentOccurrence represents an SPDX Document // Creation Information section: -// https://spdx.github.io/spdx-spec/2-document-creation-information/ +// https://spdx.github.io/spdx-spec/v2.3/document-creation-information/ type DocumentOccurrence struct { // CreateTime: Identify when the SPDX file was originally created. The // date is to be specified according to combined date and time in UTC diff --git a/file/v1/file-api.json b/file/v1/file-api.json index b0e283f647f..3ffc50742f9 100644 --- a/file/v1/file-api.json +++ b/file/v1/file-api.json @@ -199,7 +199,7 @@ "type": "string" }, "parent": { - "description": "Required. The backup's project and location, in the format `projects/{project_number}/locations/{location}`. In Filestore, backup locations map to GCP regions, for example **us-west1**.", + "description": "Required. The backup's project and location, in the format `projects/{project_number}/locations/{location}`. In Filestore, backup locations map to Google Cloud regions, for example **us-west1**.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -298,7 +298,7 @@ "type": "string" }, "parent": { - "description": "Required. The project and location for which to retrieve backup information, in the format `projects/{project_number}/locations/{location}`. In Filestore, backup locations map to GCP regions, for example **us-west1**. To retrieve backup information for all locations, use \"-\" for the `{location}` value.", + "description": "Required. The project and location for which to retrieve backup information, in the format `projects/{project_number}/locations/{location}`. In Filestore, backup locations map to Google Cloud regions, for example **us-west1**. To retrieve backup information for all locations, use \"-\" for the `{location}` value.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -366,7 +366,7 @@ "type": "string" }, "parent": { - "description": "Required. The instance's project and location, in the format `projects/{project_id}/locations/{location}`. In Filestore, locations map to GCP zones, for example **us-west1-b**.", + "description": "Required. The instance's project and location, in the format `projects/{project_id}/locations/{location}`. In Filestore, locations map to Google Cloud zones, for example **us-west1-b**.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -470,7 +470,7 @@ "type": "string" }, "parent": { - "description": "Required. The project and location for which to retrieve instance information, in the format `projects/{project_id}/locations/{location}`. In Cloud Filestore, locations map to GCP zones, for example **us-west1-b**. To retrieve instance information for all locations, use \"-\" for the `{location}` value.", + "description": "Required. The project and location for which to retrieve instance information, in the format `projects/{project_id}/locations/{location}`. In Cloud Filestore, locations map to Google Cloud zones, for example **us-west1-b**. To retrieve instance information for all locations, use \"-\" for the `{location}` value.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -846,7 +846,7 @@ } } }, - "revision": "20221026", + "revision": "20221111", "rootUrl": "https://file.googleapis.com/", "schemas": { "Backup": { diff --git a/file/v1/file-gen.go b/file/v1/file-gen.go index 90c16f85aea..55c03366795 100644 --- a/file/v1/file-gen.go +++ b/file/v1/file-gen.go @@ -2358,7 +2358,8 @@ type ProjectsLocationsBackupsCreateCall struct { // // - parent: The backup's project and location, in the format // `projects/{project_number}/locations/{location}`. In Filestore, -// backup locations map to GCP regions, for example **us-west1**. +// backup locations map to Google Cloud regions, for example +// **us-west1**. func (r *ProjectsLocationsBackupsService) Create(parent string, backup *Backup) *ProjectsLocationsBackupsCreateCall { c := &ProjectsLocationsBackupsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -2482,7 +2483,7 @@ func (c *ProjectsLocationsBackupsCreateCall) Do(opts ...googleapi.CallOption) (* // "type": "string" // }, // "parent": { - // "description": "Required. The backup's project and location, in the format `projects/{project_number}/locations/{location}`. In Filestore, backup locations map to GCP regions, for example **us-west1**.", + // "description": "Required. The backup's project and location, in the format `projects/{project_number}/locations/{location}`. In Filestore, backup locations map to Google Cloud regions, for example **us-west1**.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+$", // "required": true, @@ -2801,9 +2802,9 @@ type ProjectsLocationsBackupsListCall struct { // - parent: The project and location for which to retrieve backup // information, in the format // `projects/{project_number}/locations/{location}`. In Filestore, -// backup locations map to GCP regions, for example **us-west1**. To -// retrieve backup information for all locations, use "-" for the -// `{location}` value. +// backup locations map to Google Cloud regions, for example +// **us-west1**. To retrieve backup information for all locations, use +// "-" for the `{location}` value. func (r *ProjectsLocationsBackupsService) List(parent string) *ProjectsLocationsBackupsListCall { c := &ProjectsLocationsBackupsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -2967,7 +2968,7 @@ func (c *ProjectsLocationsBackupsListCall) Do(opts ...googleapi.CallOption) (*Li // "type": "string" // }, // "parent": { - // "description": "Required. The project and location for which to retrieve backup information, in the format `projects/{project_number}/locations/{location}`. In Filestore, backup locations map to GCP regions, for example **us-west1**. To retrieve backup information for all locations, use \"-\" for the `{location}` value.", + // "description": "Required. The project and location for which to retrieve backup information, in the format `projects/{project_number}/locations/{location}`. In Filestore, backup locations map to Google Cloud regions, for example **us-west1**. To retrieve backup information for all locations, use \"-\" for the `{location}` value.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+$", // "required": true, @@ -3182,7 +3183,7 @@ type ProjectsLocationsInstancesCreateCall struct { // // - parent: The instance's project and location, in the format // `projects/{project_id}/locations/{location}`. In Filestore, -// locations map to GCP zones, for example **us-west1-b**. +// locations map to Google Cloud zones, for example **us-west1-b**. func (r *ProjectsLocationsInstancesService) Create(parent string, instance *Instance) *ProjectsLocationsInstancesCreateCall { c := &ProjectsLocationsInstancesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -3303,7 +3304,7 @@ func (c *ProjectsLocationsInstancesCreateCall) Do(opts ...googleapi.CallOption) // "type": "string" // }, // "parent": { - // "description": "Required. The instance's project and location, in the format `projects/{project_id}/locations/{location}`. In Filestore, locations map to GCP zones, for example **us-west1-b**.", + // "description": "Required. The instance's project and location, in the format `projects/{project_id}/locations/{location}`. In Filestore, locations map to Google Cloud zones, for example **us-west1-b**.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+$", // "required": true, @@ -3635,8 +3636,8 @@ type ProjectsLocationsInstancesListCall struct { // - parent: The project and location for which to retrieve instance // information, in the format // `projects/{project_id}/locations/{location}`. In Cloud Filestore, -// locations map to GCP zones, for example **us-west1-b**. To retrieve -// instance information for all locations, use "-" for the +// locations map to Google Cloud zones, for example **us-west1-b**. To +// retrieve instance information for all locations, use "-" for the // `{location}` value. func (r *ProjectsLocationsInstancesService) List(parent string) *ProjectsLocationsInstancesListCall { c := &ProjectsLocationsInstancesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} @@ -3801,7 +3802,7 @@ func (c *ProjectsLocationsInstancesListCall) Do(opts ...googleapi.CallOption) (* // "type": "string" // }, // "parent": { - // "description": "Required. The project and location for which to retrieve instance information, in the format `projects/{project_id}/locations/{location}`. In Cloud Filestore, locations map to GCP zones, for example **us-west1-b**. To retrieve instance information for all locations, use \"-\" for the `{location}` value.", + // "description": "Required. The project and location for which to retrieve instance information, in the format `projects/{project_id}/locations/{location}`. In Cloud Filestore, locations map to Google Cloud zones, for example **us-west1-b**. To retrieve instance information for all locations, use \"-\" for the `{location}` value.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+$", // "required": true, diff --git a/file/v1beta1/file-api.json b/file/v1beta1/file-api.json index 1a902ee9803..8ad2b624d10 100644 --- a/file/v1beta1/file-api.json +++ b/file/v1beta1/file-api.json @@ -199,7 +199,7 @@ "type": "string" }, "parent": { - "description": "Required. The backup's project and location, in the format `projects/{project_id}/locations/{location}`. In Filestore, backup locations map to GCP regions, for example **us-west1**.", + "description": "Required. The backup's project and location, in the format `projects/{project_id}/locations/{location}`. In Filestore, backup locations map to Google Cloud regions, for example **us-west1**.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -298,7 +298,7 @@ "type": "string" }, "parent": { - "description": "Required. The project and location for which to retrieve backup information, in the format `projects/{project_id}/locations/{location}`. In Filestore, backup locations map to GCP regions, for example **us-west1**. To retrieve backup information for all locations, use \"-\" for the `{location}` value.", + "description": "Required. The project and location for which to retrieve backup information, in the format `projects/{project_id}/locations/{location}`. In Filestore, backup locations map to Google Cloud regions, for example **us-west1**. To retrieve backup information for all locations, use \"-\" for the `{location}` value.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -366,7 +366,7 @@ "type": "string" }, "parent": { - "description": "Required. The instance's project and location, in the format `projects/{project_id}/locations/{location}`. In Filestore, locations map to GCP zones, for example **us-west1-b**.", + "description": "Required. The instance's project and location, in the format `projects/{project_id}/locations/{location}`. In Filestore, locations map to Google Cloud zones, for example **us-west1-b**.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -470,7 +470,7 @@ "type": "string" }, "parent": { - "description": "Required. The project and location for which to retrieve instance information, in the format `projects/{project_id}/locations/{location}`. In Cloud Filestore, locations map to GCP zones, for example **us-west1-b**. To retrieve instance information for all locations, use \"-\" for the `{location}` value.", + "description": "Required. The project and location for which to retrieve instance information, in the format `projects/{project_id}/locations/{location}`. In Cloud Filestore, locations map to Google Cloud zones, for example **us-west1-b**. To retrieve instance information for all locations, use \"-\" for the `{location}` value.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -1041,7 +1041,7 @@ } } }, - "revision": "20221026", + "revision": "20221111", "rootUrl": "https://file.googleapis.com/", "schemas": { "Backup": { @@ -2088,11 +2088,11 @@ "type": "object" }, "RestoreInstanceRequest": { - "description": "RestoreInstanceRequest restores an existing instance's file share from a snapshot or backup.", + "description": "RestoreInstanceRequest restores an existing instance's file share from a backup.", "id": "RestoreInstanceRequest", "properties": { "fileShare": { - "description": "Required. Name of the file share in the Filestore instance that the snapshot is being restored to.", + "description": "Required. Name of the file share in the Filestore instance that the backup is being restored to.", "type": "string" }, "sourceBackup": { diff --git a/file/v1beta1/file-gen.go b/file/v1beta1/file-gen.go index 0977dfe0369..7806e0037a3 100644 --- a/file/v1beta1/file-gen.go +++ b/file/v1beta1/file-gen.go @@ -1743,10 +1743,10 @@ func (s *OperationMetadata) MarshalJSON() ([]byte, error) { } // RestoreInstanceRequest: RestoreInstanceRequest restores an existing -// instance's file share from a snapshot or backup. +// instance's file share from a backup. type RestoreInstanceRequest struct { // FileShare: Required. Name of the file share in the Filestore instance - // that the snapshot is being restored to. + // that the backup is being restored to. FileShare string `json:"fileShare,omitempty"` // SourceBackup: The resource name of the backup, in the format @@ -2540,7 +2540,7 @@ type ProjectsLocationsBackupsCreateCall struct { // // - parent: The backup's project and location, in the format // `projects/{project_id}/locations/{location}`. In Filestore, backup -// locations map to GCP regions, for example **us-west1**. +// locations map to Google Cloud regions, for example **us-west1**. func (r *ProjectsLocationsBackupsService) Create(parent string, backup *Backup) *ProjectsLocationsBackupsCreateCall { c := &ProjectsLocationsBackupsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -2663,7 +2663,7 @@ func (c *ProjectsLocationsBackupsCreateCall) Do(opts ...googleapi.CallOption) (* // "type": "string" // }, // "parent": { - // "description": "Required. The backup's project and location, in the format `projects/{project_id}/locations/{location}`. In Filestore, backup locations map to GCP regions, for example **us-west1**.", + // "description": "Required. The backup's project and location, in the format `projects/{project_id}/locations/{location}`. In Filestore, backup locations map to Google Cloud regions, for example **us-west1**.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+$", // "required": true, @@ -2981,9 +2981,9 @@ type ProjectsLocationsBackupsListCall struct { // - parent: The project and location for which to retrieve backup // information, in the format // `projects/{project_id}/locations/{location}`. In Filestore, backup -// locations map to GCP regions, for example **us-west1**. To retrieve -// backup information for all locations, use "-" for the `{location}` -// value. +// locations map to Google Cloud regions, for example **us-west1**. To +// retrieve backup information for all locations, use "-" for the +// `{location}` value. func (r *ProjectsLocationsBackupsService) List(parent string) *ProjectsLocationsBackupsListCall { c := &ProjectsLocationsBackupsListCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -3147,7 +3147,7 @@ func (c *ProjectsLocationsBackupsListCall) Do(opts ...googleapi.CallOption) (*Li // "type": "string" // }, // "parent": { - // "description": "Required. The project and location for which to retrieve backup information, in the format `projects/{project_id}/locations/{location}`. In Filestore, backup locations map to GCP regions, for example **us-west1**. To retrieve backup information for all locations, use \"-\" for the `{location}` value.", + // "description": "Required. The project and location for which to retrieve backup information, in the format `projects/{project_id}/locations/{location}`. In Filestore, backup locations map to Google Cloud regions, for example **us-west1**. To retrieve backup information for all locations, use \"-\" for the `{location}` value.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+$", // "required": true, @@ -3361,7 +3361,7 @@ type ProjectsLocationsInstancesCreateCall struct { // // - parent: The instance's project and location, in the format // `projects/{project_id}/locations/{location}`. In Filestore, -// locations map to GCP zones, for example **us-west1-b**. +// locations map to Google Cloud zones, for example **us-west1-b**. func (r *ProjectsLocationsInstancesService) Create(parent string, instance *Instance) *ProjectsLocationsInstancesCreateCall { c := &ProjectsLocationsInstancesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.parent = parent @@ -3484,7 +3484,7 @@ func (c *ProjectsLocationsInstancesCreateCall) Do(opts ...googleapi.CallOption) // "type": "string" // }, // "parent": { - // "description": "Required. The instance's project and location, in the format `projects/{project_id}/locations/{location}`. In Filestore, locations map to GCP zones, for example **us-west1-b**.", + // "description": "Required. The instance's project and location, in the format `projects/{project_id}/locations/{location}`. In Filestore, locations map to Google Cloud zones, for example **us-west1-b**.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+$", // "required": true, @@ -3816,8 +3816,8 @@ type ProjectsLocationsInstancesListCall struct { // - parent: The project and location for which to retrieve instance // information, in the format // `projects/{project_id}/locations/{location}`. In Cloud Filestore, -// locations map to GCP zones, for example **us-west1-b**. To retrieve -// instance information for all locations, use "-" for the +// locations map to Google Cloud zones, for example **us-west1-b**. To +// retrieve instance information for all locations, use "-" for the // `{location}` value. func (r *ProjectsLocationsInstancesService) List(parent string) *ProjectsLocationsInstancesListCall { c := &ProjectsLocationsInstancesListCall{s: r.s, urlParams_: make(gensupport.URLParams)} @@ -3982,7 +3982,7 @@ func (c *ProjectsLocationsInstancesListCall) Do(opts ...googleapi.CallOption) (* // "type": "string" // }, // "parent": { - // "description": "Required. The project and location for which to retrieve instance information, in the format `projects/{project_id}/locations/{location}`. In Cloud Filestore, locations map to GCP zones, for example **us-west1-b**. To retrieve instance information for all locations, use \"-\" for the `{location}` value.", + // "description": "Required. The project and location for which to retrieve instance information, in the format `projects/{project_id}/locations/{location}`. In Cloud Filestore, locations map to Google Cloud zones, for example **us-west1-b**. To retrieve instance information for all locations, use \"-\" for the `{location}` value.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+$", // "required": true, diff --git a/spanner/v1/spanner-api.json b/spanner/v1/spanner-api.json index 4d2367d225f..595fd2293af 100644 --- a/spanner/v1/spanner-api.json +++ b/spanner/v1/spanner-api.json @@ -2402,7 +2402,7 @@ } } }, - "revision": "20221102", + "revision": "20221116", "rootUrl": "https://spanner.googleapis.com/", "schemas": { "Backup": { @@ -2436,7 +2436,7 @@ }, "encryptionInfo": { "$ref": "EncryptionInfo", - "description": "Output only. Output only. The encryption information for the backup. .", + "description": "Output only. The encryption information for the backup.", "readOnly": true }, "expireTime": { diff --git a/spanner/v1/spanner-gen.go b/spanner/v1/spanner-gen.go index 5d26336cbf8..77d111a6cbf 100644 --- a/spanner/v1/spanner-gen.go +++ b/spanner/v1/spanner-gen.go @@ -351,8 +351,8 @@ type Backup struct { // "POSTGRESQL" - PostgreSQL supported SQL. DatabaseDialect string `json:"databaseDialect,omitempty"` - // EncryptionInfo: Output only. Output only. The encryption information - // for the backup. . + // EncryptionInfo: Output only. The encryption information for the + // backup. EncryptionInfo *EncryptionInfo `json:"encryptionInfo,omitempty"` // ExpireTime: Required for the CreateBackup operation. The expiration