From 1bca7ee850540c93f70c43ceee7d99bdc94c9620 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sat, 23 Sep 2023 00:22:14 -0700 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#2179) --- assuredworkloads/v1/assuredworkloads-api.json | 6 +++- assuredworkloads/v1/assuredworkloads-gen.go | 2 ++ .../v1beta1/assuredworkloads-api.json | 6 +++- .../v1beta1/assuredworkloads-gen.go | 2 ++ batch/v1/batch-api.json | 10 +++++-- batch/v1/batch-gen.go | 18 +++++++++-- .../v1/containeranalysis-api.json | 16 +++++++++- containeranalysis/v1/containeranalysis-gen.go | 13 ++++++++ .../v1alpha1/containeranalysis-api.json | 12 +++++++- .../v1alpha1/containeranalysis-gen.go | 9 ++++++ .../v1beta1/containeranalysis-api.json | 25 ++++++++++++++-- .../v1beta1/containeranalysis-gen.go | 20 +++++++++++-- datamigration/v1/datamigration-api.json | 6 ++-- datamigration/v1/datamigration-gen.go | 12 ++++++-- gkehub/v1/gkehub-api.json | 9 ++++-- gkehub/v1/gkehub-gen.go | 25 ++++++++++++++++ gkehub/v1alpha/gkehub-api.json | 6 +++- gkehub/v1alpha/gkehub-gen.go | 7 +++-- gkehub/v1beta/gkehub-api.json | 6 +++- gkehub/v1beta/gkehub-gen.go | 7 +++-- .../v1alpha1/prod_tt_sasportal-api.json | 9 ++++-- .../v1alpha1/prod_tt_sasportal-gen.go | 25 ++++++++++++++++ workflows/v1/workflows-api.json | 18 +++++------ workflows/v1/workflows-gen.go | 30 +++++++++++-------- 24 files changed, 249 insertions(+), 50 deletions(-) diff --git a/assuredworkloads/v1/assuredworkloads-api.json b/assuredworkloads/v1/assuredworkloads-api.json index 0179acba706..0fa90aae316 100644 --- a/assuredworkloads/v1/assuredworkloads-api.json +++ b/assuredworkloads/v1/assuredworkloads-api.json @@ -566,7 +566,7 @@ } } }, - "revision": "20230907", + "revision": "20230914", "rootUrl": "https://assuredworkloads.googleapis.com/", "schemas": { "GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest": { @@ -655,6 +655,7 @@ "ISR_REGIONS_AND_SUPPORT", "CA_PROTECTED_B", "IL5", + "IL2", "JP_REGIONS_AND_SUPPORT" ], "enumDescriptions": [ @@ -675,6 +676,7 @@ "Assured Workloads for Israel Regions", "Assured Workloads for Canada Protected B regime", "Information protection as per DoD IL5 requirements.", + "Information protection as per DoD IL2 requirements.", "Assured Workloads for Japan Regions" ], "type": "string" @@ -1087,6 +1089,7 @@ "ISR_REGIONS_AND_SUPPORT", "CA_PROTECTED_B", "IL5", + "IL2", "JP_REGIONS_AND_SUPPORT" ], "enumDescriptions": [ @@ -1107,6 +1110,7 @@ "Assured Workloads for Israel Regions", "Assured Workloads for Canada Protected B regime", "Information protection as per DoD IL5 requirements.", + "Information protection as per DoD IL2 requirements.", "Assured Workloads for Japan Regions" ], "type": "string" diff --git a/assuredworkloads/v1/assuredworkloads-gen.go b/assuredworkloads/v1/assuredworkloads-gen.go index b141a53bda0..2e62f8015e5 100644 --- a/assuredworkloads/v1/assuredworkloads-gen.go +++ b/assuredworkloads/v1/assuredworkloads-gen.go @@ -363,6 +363,7 @@ type GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata struct { // "ISR_REGIONS_AND_SUPPORT" - Assured Workloads for Israel Regions // "CA_PROTECTED_B" - Assured Workloads for Canada Protected B regime // "IL5" - Information protection as per DoD IL5 requirements. + // "IL2" - Information protection as per DoD IL2 requirements. // "JP_REGIONS_AND_SUPPORT" - Assured Workloads for Japan Regions ComplianceRegime string `json:"complianceRegime,omitempty"` @@ -1009,6 +1010,7 @@ type GoogleCloudAssuredworkloadsV1Workload struct { // "ISR_REGIONS_AND_SUPPORT" - Assured Workloads for Israel Regions // "CA_PROTECTED_B" - Assured Workloads for Canada Protected B regime // "IL5" - Information protection as per DoD IL5 requirements. + // "IL2" - Information protection as per DoD IL2 requirements. // "JP_REGIONS_AND_SUPPORT" - Assured Workloads for Japan Regions ComplianceRegime string `json:"complianceRegime,omitempty"` diff --git a/assuredworkloads/v1beta1/assuredworkloads-api.json b/assuredworkloads/v1beta1/assuredworkloads-api.json index 369cf1f8cd5..a4641b44c40 100644 --- a/assuredworkloads/v1beta1/assuredworkloads-api.json +++ b/assuredworkloads/v1beta1/assuredworkloads-api.json @@ -563,7 +563,7 @@ } } }, - "revision": "20230831", + "revision": "20230914", "rootUrl": "https://assuredworkloads.googleapis.com/", "schemas": { "GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationRequest": { @@ -666,6 +666,7 @@ "ISR_REGIONS_AND_SUPPORT", "CA_PROTECTED_B", "IL5", + "IL2", "JP_REGIONS_AND_SUPPORT" ], "enumDescriptions": [ @@ -686,6 +687,7 @@ "Assured Workloads for Israel Regions", "Assured Workloads for Canada Protected B regime", "Information protection as per DoD IL5 requirements.", + "Information protection as per DoD IL2 requirements.", "Assured Workloads for Japan Regions" ], "type": "string" @@ -1133,6 +1135,7 @@ "ISR_REGIONS_AND_SUPPORT", "CA_PROTECTED_B", "IL5", + "IL2", "JP_REGIONS_AND_SUPPORT" ], "enumDescriptions": [ @@ -1153,6 +1156,7 @@ "Assured Workloads for Israel Regions", "Assured Workloads for Canada Protected B regime", "Information protection as per DoD IL5 requirements.", + "Information protection as per DoD IL2 requirements.", "Assured Workloads for Japan Regions" ], "type": "string" diff --git a/assuredworkloads/v1beta1/assuredworkloads-gen.go b/assuredworkloads/v1beta1/assuredworkloads-gen.go index eceacd76405..16c5369054b 100644 --- a/assuredworkloads/v1beta1/assuredworkloads-gen.go +++ b/assuredworkloads/v1beta1/assuredworkloads-gen.go @@ -374,6 +374,7 @@ type GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata struct { // "ISR_REGIONS_AND_SUPPORT" - Assured Workloads for Israel Regions // "CA_PROTECTED_B" - Assured Workloads for Canada Protected B regime // "IL5" - Information protection as per DoD IL5 requirements. + // "IL2" - Information protection as per DoD IL2 requirements. // "JP_REGIONS_AND_SUPPORT" - Assured Workloads for Japan Regions ComplianceRegime string `json:"complianceRegime,omitempty"` @@ -1028,6 +1029,7 @@ type GoogleCloudAssuredworkloadsV1beta1Workload struct { // "ISR_REGIONS_AND_SUPPORT" - Assured Workloads for Israel Regions // "CA_PROTECTED_B" - Assured Workloads for Canada Protected B regime // "IL5" - Information protection as per DoD IL5 requirements. + // "IL2" - Information protection as per DoD IL2 requirements. // "JP_REGIONS_AND_SUPPORT" - Assured Workloads for Japan Regions ComplianceRegime string `json:"complianceRegime,omitempty"` diff --git a/batch/v1/batch-api.json b/batch/v1/batch-api.json index 982ce8ced69..a299d6a8de8 100644 --- a/batch/v1/batch-api.json +++ b/batch/v1/batch-api.json @@ -561,7 +561,7 @@ } } }, - "revision": "20230826", + "revision": "20230914", "rootUrl": "https://batch.googleapis.com/", "schemas": { "Accelerator": { @@ -1073,7 +1073,7 @@ "type": "string" }, "volumes": { - "description": "Volumes to mount (bind mount) from the host machine files or directories into the container, formatted to match docker run's --volume option, e.g. /foo:/bar, or /foo:/bar:ro", + "description": "Volumes to mount (bind mount) from the host machine files or directories into the container, formatted to match docker run's --volume option, e.g. /foo:/bar, or /foo:/bar:ro If the `TaskSpec.Volumes` field is specified but this field is not, Batch will mount each volume from the host machine to the container with the same mount path by default. In this case, the default mount option for containers will be read-only (ro) for existing persistent disks and read-write (rw) for other volume types, regardless of the original mount options specified in `TaskSpec.Volumes`. If you need different mount settings, you can explicitly configure them in this field.", "items": { "type": "string" }, @@ -1091,7 +1091,7 @@ "type": "string" }, "image": { - "description": "URL for a VM image to use as the data source for this disk. For example, the following are all valid URLs: * Specify the image by its family name: projects/{project}/global/images/family/{image_family} * Specify the image version: projects/{project}/global/images/{image_version} You can also use Batch customized image in short names. The following image values are supported for a boot disk: * `batch-debian`: use Batch Debian images. * `batch-centos`: use Batch CentOS images. * `batch-cos`: use Batch Container-Optimized images. * `batch-hpc-centos`: use Batch HPC CentOS images.", + "description": "URL for a VM image to use as the data source for this disk. For example, the following are all valid URLs: * Specify the image by its family name: projects/{project}/global/images/family/{image_family} * Specify the image version: projects/{project}/global/images/{image_version} You can also use Batch customized image in short names. The following image values are supported for a boot disk: * `batch-debian`: use Batch Debian images. * `batch-centos`: use Batch CentOS images. * `batch-cos`: use Batch Container-Optimized images. * `batch-hpc-centos`: use Batch HPC CentOS images. * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.", "type": "string" }, "sizeGb": { @@ -1197,6 +1197,10 @@ "Preemptible VM (PVM). Above SPOT VM is the preferable model for preemptible VM instances: the old preemptible VM model (indicated by this field) is the older model, and has been migrated to use the SPOT model as the underlying technology. This old model will still be supported." ], "type": "string" + }, + "reservation": { + "description": "Optional. If specified, VMs will consume only the specified reservation. If not specified (default), VMs will consume any applicable reservation.", + "type": "string" } }, "type": "object" diff --git a/batch/v1/batch-gen.go b/batch/v1/batch-gen.go index 709e68b03f7..3db8aa19ca4 100644 --- a/batch/v1/batch-gen.go +++ b/batch/v1/batch-gen.go @@ -1039,7 +1039,15 @@ type Container struct { // Volumes: Volumes to mount (bind mount) from the host machine files or // directories into the container, formatted to match docker run's - // --volume option, e.g. /foo:/bar, or /foo:/bar:ro + // --volume option, e.g. /foo:/bar, or /foo:/bar:ro If the + // `TaskSpec.Volumes` field is specified but this field is not, Batch + // will mount each volume from the host machine to the container with + // the same mount path by default. In this case, the default mount + // option for containers will be read-only (ro) for existing persistent + // disks and read-write (rw) for other volume types, regardless of the + // original mount options specified in `TaskSpec.Volumes`. If you need + // different mount settings, you can explicitly configure them in this + // field. Volumes []string `json:"volumes,omitempty"` // ForceSendFields is a list of field names (e.g. @@ -1088,7 +1096,8 @@ type Disk struct { // image values are supported for a boot disk: * `batch-debian`: use // Batch Debian images. * `batch-centos`: use Batch CentOS images. * // `batch-cos`: use Batch Container-Optimized images. * - // `batch-hpc-centos`: use Batch HPC CentOS images. + // `batch-hpc-centos`: use Batch HPC CentOS images. * `batch-hpc-rocky`: + // use Batch HPC Rocky Linux images. Image string `json:"image,omitempty"` // SizeGb: Disk size in GB. **Non-Boot Disk**: If the `type` specifies a @@ -1254,6 +1263,11 @@ type InstancePolicy struct { // model will still be supported. ProvisioningModel string `json:"provisioningModel,omitempty"` + // Reservation: Optional. If specified, VMs will consume only the + // specified reservation. If not specified (default), VMs will consume + // any applicable reservation. + Reservation string `json:"reservation,omitempty"` + // ForceSendFields is a list of field names (e.g. "Accelerators") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any diff --git a/containeranalysis/v1/containeranalysis-api.json b/containeranalysis/v1/containeranalysis-api.json index 336769e0dd9..97aff4f50ae 100644 --- a/containeranalysis/v1/containeranalysis-api.json +++ b/containeranalysis/v1/containeranalysis-api.json @@ -755,7 +755,7 @@ } } }, - "revision": "20230829", + "revision": "20230915", "rootUrl": "https://containeranalysis.googleapis.com/", "schemas": { "AliasContext": { @@ -2872,6 +2872,16 @@ "readOnly": true, "type": "object" }, + "resolvedConnectedRepository": { + "$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository", + "description": "Output only. A copy of the build's `source.connected_repository`, if exists, with any revisions resolved.", + "readOnly": true + }, + "resolvedGitSource": { + "$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource", + "description": "Output only. A copy of the build's `source.git_source`, if exists, with any revisions resolved.", + "readOnly": true + }, "resolvedRepoSource": { "$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource", "description": "A copy of the build's `source.repo_source`, if exists, with any revisions resolved." @@ -5482,6 +5492,10 @@ }, "type": "array" }, + "extraDetails": { + "description": "Occurrence-specific extra details about the vulnerability.", + "type": "string" + }, "severity": { "description": "The note provider assigned severity of this vulnerability.", "enum": [ diff --git a/containeranalysis/v1/containeranalysis-gen.go b/containeranalysis/v1/containeranalysis-gen.go index 3e308ce6549..84c38a47442 100644 --- a/containeranalysis/v1/containeranalysis-gen.go +++ b/containeranalysis/v1/containeranalysis-gen.go @@ -3095,6 +3095,15 @@ type ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance struct { // for the single path to that file. FileHashes map[string]ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes `json:"fileHashes,omitempty"` + // ResolvedConnectedRepository: Output only. A copy of the build's + // `source.connected_repository`, if exists, with any revisions + // resolved. + ResolvedConnectedRepository *ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository `json:"resolvedConnectedRepository,omitempty"` + + // ResolvedGitSource: Output only. A copy of the build's + // `source.git_source`, if exists, with any revisions resolved. + ResolvedGitSource *ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource `json:"resolvedGitSource,omitempty"` + // ResolvedRepoSource: A copy of the build's `source.repo_source`, if // exists, with any revisions resolved. ResolvedRepoSource *ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource `json:"resolvedRepoSource,omitempty"` @@ -7401,6 +7410,10 @@ type VulnerabilityNote struct { // vulnerability. Details []*Detail `json:"details,omitempty"` + // ExtraDetails: Occurrence-specific extra details about the + // vulnerability. + ExtraDetails string `json:"extraDetails,omitempty"` + // Severity: The note provider assigned severity of this vulnerability. // // Possible values: diff --git a/containeranalysis/v1alpha1/containeranalysis-api.json b/containeranalysis/v1alpha1/containeranalysis-api.json index c3b2748514e..898c2434e60 100644 --- a/containeranalysis/v1alpha1/containeranalysis-api.json +++ b/containeranalysis/v1alpha1/containeranalysis-api.json @@ -1233,7 +1233,7 @@ } } }, - "revision": "20230829", + "revision": "20230915", "rootUrl": "https://containeranalysis.googleapis.com/", "schemas": { "AnalysisCompleted": { @@ -3161,6 +3161,16 @@ "readOnly": true, "type": "object" }, + "resolvedConnectedRepository": { + "$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository", + "description": "Output only. A copy of the build's `source.connected_repository`, if exists, with any revisions resolved.", + "readOnly": true + }, + "resolvedGitSource": { + "$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource", + "description": "Output only. A copy of the build's `source.git_source`, if exists, with any revisions resolved.", + "readOnly": true + }, "resolvedRepoSource": { "$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource", "description": "A copy of the build's `source.repo_source`, if exists, with any revisions resolved." diff --git a/containeranalysis/v1alpha1/containeranalysis-gen.go b/containeranalysis/v1alpha1/containeranalysis-gen.go index d6b59683791..695979baeff 100644 --- a/containeranalysis/v1alpha1/containeranalysis-gen.go +++ b/containeranalysis/v1alpha1/containeranalysis-gen.go @@ -2970,6 +2970,15 @@ type ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance struct { // for the single path to that file. FileHashes map[string]ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes `json:"fileHashes,omitempty"` + // ResolvedConnectedRepository: Output only. A copy of the build's + // `source.connected_repository`, if exists, with any revisions + // resolved. + ResolvedConnectedRepository *ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository `json:"resolvedConnectedRepository,omitempty"` + + // ResolvedGitSource: Output only. A copy of the build's + // `source.git_source`, if exists, with any revisions resolved. + ResolvedGitSource *ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource `json:"resolvedGitSource,omitempty"` + // ResolvedRepoSource: A copy of the build's `source.repo_source`, if // exists, with any revisions resolved. ResolvedRepoSource *ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource `json:"resolvedRepoSource,omitempty"` diff --git a/containeranalysis/v1beta1/containeranalysis-api.json b/containeranalysis/v1beta1/containeranalysis-api.json index 40c0df693dd..fda375b5046 100644 --- a/containeranalysis/v1beta1/containeranalysis-api.json +++ b/containeranalysis/v1beta1/containeranalysis-api.json @@ -815,7 +815,7 @@ } } }, - "revision": "20230829", + "revision": "20230915", "rootUrl": "https://containeranalysis.googleapis.com/", "schemas": { "AliasContext": { @@ -2845,6 +2845,16 @@ "readOnly": true, "type": "object" }, + "resolvedConnectedRepository": { + "$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository", + "description": "Output only. A copy of the build's `source.connected_repository`, if exists, with any revisions resolved.", + "readOnly": true + }, + "resolvedGitSource": { + "$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource", + "description": "Output only. A copy of the build's `source.git_source`, if exists, with any revisions resolved.", + "readOnly": true + }, "resolvedRepoSource": { "$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource", "description": "A copy of the build's `source.repo_source`, if exists, with any revisions resolved." @@ -3227,6 +3237,11 @@ "format": "google-datetime", "type": "string" }, + "lastScanTime": { + "description": "The last time this resource was scanned.", + "format": "google-datetime", + "type": "string" + }, "sbomStatus": { "$ref": "SBOMStatus", "description": "The status of an SBOM generation." @@ -3321,7 +3336,7 @@ "type": "object" }, "DocumentNote": { - "description": "DocumentNote represents an SPDX Document Creation Information section: https://spdx.github.io/spdx-spec/v2.3/document-creation-information/", + "description": "DocumentNote represents an SPDX Document Creation Information section: https://spdx.github.io/spdx-spec/2-document-creation-information/", "id": "DocumentNote", "properties": { "dataLicence": { @@ -3336,7 +3351,7 @@ "type": "object" }, "DocumentOccurrence": { - "description": "DocumentOccurrence represents an SPDX Document Creation Information section: https://spdx.github.io/spdx-spec/v2.3/document-creation-information/", + "description": "DocumentOccurrence represents an SPDX Document Creation Information section: https://spdx.github.io/spdx-spec/2-document-creation-information/", "id": "DocumentOccurrence", "properties": { "createTime": { @@ -5905,6 +5920,10 @@ }, "type": "array" }, + "extraDetails": { + "description": "Occurrence-specific extra details about the vulnerability.", + "type": "string" + }, "severity": { "description": "Note provider assigned impact of the vulnerability.", "enum": [ diff --git a/containeranalysis/v1beta1/containeranalysis-gen.go b/containeranalysis/v1beta1/containeranalysis-gen.go index 773cb0027cd..1873a6b25b0 100644 --- a/containeranalysis/v1beta1/containeranalysis-gen.go +++ b/containeranalysis/v1beta1/containeranalysis-gen.go @@ -2984,6 +2984,15 @@ type ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance struct { // for the single path to that file. FileHashes map[string]ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes `json:"fileHashes,omitempty"` + // ResolvedConnectedRepository: Output only. A copy of the build's + // `source.connected_repository`, if exists, with any revisions + // resolved. + ResolvedConnectedRepository *ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository `json:"resolvedConnectedRepository,omitempty"` + + // ResolvedGitSource: Output only. A copy of the build's + // `source.git_source`, if exists, with any revisions resolved. + ResolvedGitSource *ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource `json:"resolvedGitSource,omitempty"` + // ResolvedRepoSource: A copy of the build's `source.repo_source`, if // exists, with any revisions resolved. ResolvedRepoSource *ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource `json:"resolvedRepoSource,omitempty"` @@ -3577,6 +3586,9 @@ type Discovered struct { // resource. Deprecated, do not use. LastAnalysisTime string `json:"lastAnalysisTime,omitempty"` + // LastScanTime: The last time this resource was scanned. + LastScanTime string `json:"lastScanTime,omitempty"` + // SbomStatus: The status of an SBOM generation. SbomStatus *SBOMStatus `json:"sbomStatus,omitempty"` @@ -3715,7 +3727,7 @@ func (s *Distribution) MarshalJSON() ([]byte, error) { // DocumentNote: DocumentNote represents an SPDX Document Creation // Information section: -// https://spdx.github.io/spdx-spec/v2.3/document-creation-information/ +// https://spdx.github.io/spdx-spec/2-document-creation-information/ type DocumentNote struct { // DataLicence: Compliance with the SPDX specification includes // populating the SPDX fields therein with data related to such fields @@ -3751,7 +3763,7 @@ func (s *DocumentNote) MarshalJSON() ([]byte, error) { // DocumentOccurrence: DocumentOccurrence represents an SPDX Document // Creation Information section: -// https://spdx.github.io/spdx-spec/v2.3/document-creation-information/ +// https://spdx.github.io/spdx-spec/2-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 @@ -7727,6 +7739,10 @@ type Vulnerability struct { // package vulnerability has manifested in. Details []*Detail `json:"details,omitempty"` + // ExtraDetails: Occurrence-specific extra details about the + // vulnerability. + ExtraDetails string `json:"extraDetails,omitempty"` + // Severity: Note provider assigned impact of the vulnerability. // // Possible values: diff --git a/datamigration/v1/datamigration-api.json b/datamigration/v1/datamigration-api.json index 31b72edbdc1..fd690f65849 100644 --- a/datamigration/v1/datamigration-api.json +++ b/datamigration/v1/datamigration-api.json @@ -2097,7 +2097,7 @@ } } }, - "revision": "20230911", + "revision": "20230912", "rootUrl": "https://datamigration.googleapis.com/", "schemas": { "AlloyDbConnectionProfile": { @@ -2443,7 +2443,7 @@ }, "dataCacheConfig": { "$ref": "DataCacheConfig", - "description": "Optional. Configuration for data cache." + "description": "Optional. Data cache is an optional feature available for Cloud SQL for MySQL Enterprise Plus edition only. For more information on data cache, see [Data cache overview](https://cloud.google.com/sql/help/mysql-data-cache) in Cloud SQL documentation." }, "dataDiskSizeGb": { "description": "The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.", @@ -2951,7 +2951,7 @@ "type": "object" }, "DataCacheConfig": { - "description": "Data cache configurations.", + "description": "Data cache is an optional feature available for Cloud SQL for MySQL Enterprise Plus edition only. For more information on data cache, see [Data cache overview](https://cloud.google.com/sql/help/mysql-data-cache) in Cloud SQL documentation.", "id": "DataCacheConfig", "properties": { "dataCacheEnabled": { diff --git a/datamigration/v1/datamigration-gen.go b/datamigration/v1/datamigration-gen.go index 95ef9f8541d..26b205b8f58 100644 --- a/datamigration/v1/datamigration-gen.go +++ b/datamigration/v1/datamigration-gen.go @@ -814,7 +814,11 @@ type CloudSqlSettings struct { // Collation: The Cloud SQL default instance level collation. Collation string `json:"collation,omitempty"` - // DataCacheConfig: Optional. Configuration for data cache. + // DataCacheConfig: Optional. Data cache is an optional feature + // available for Cloud SQL for MySQL Enterprise Plus edition only. For + // more information on data cache, see Data cache overview + // (https://cloud.google.com/sql/help/mysql-data-cache) in Cloud SQL + // documentation. DataCacheConfig *DataCacheConfig `json:"dataCacheConfig,omitempty"` // DataDiskSizeGb: The storage capacity available to the database, in @@ -1449,7 +1453,11 @@ func (s *ConvertRowIdToColumn) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// DataCacheConfig: Data cache configurations. +// DataCacheConfig: Data cache is an optional feature available for +// Cloud SQL for MySQL Enterprise Plus edition only. For more +// information on data cache, see Data cache overview +// (https://cloud.google.com/sql/help/mysql-data-cache) in Cloud SQL +// documentation. type DataCacheConfig struct { // DataCacheEnabled: Optional. Whether data cache is enabled for the // instance. diff --git a/gkehub/v1/gkehub-api.json b/gkehub/v1/gkehub-api.json index 81255568b9c..7eebda555e8 100644 --- a/gkehub/v1/gkehub-api.json +++ b/gkehub/v1/gkehub-api.json @@ -1834,7 +1834,7 @@ } } }, - "revision": "20230901", + "revision": "20230914", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceFeatureSpec": { @@ -2009,7 +2009,12 @@ "CommonFleetDefaultMemberConfigSpec": { "description": "CommonFleetDefaultMemberConfigSpec contains default configuration information for memberships of a fleet", "id": "CommonFleetDefaultMemberConfigSpec", - "properties": {}, + "properties": { + "configmanagement": { + "$ref": "ConfigManagementMembershipSpec", + "description": "Config Management-specific spec." + } + }, "type": "object" }, "ConfigManagementConfigSync": { diff --git a/gkehub/v1/gkehub-gen.go b/gkehub/v1/gkehub-gen.go index 5967c378d25..ce1273faf94 100644 --- a/gkehub/v1/gkehub-gen.go +++ b/gkehub/v1/gkehub-gen.go @@ -686,6 +686,31 @@ func (s *CommonFeatureState) MarshalJSON() ([]byte, error) { // CommonFleetDefaultMemberConfigSpec contains default configuration // information for memberships of a fleet type CommonFleetDefaultMemberConfigSpec struct { + // Configmanagement: Config Management-specific spec. + Configmanagement *ConfigManagementMembershipSpec `json:"configmanagement,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Configmanagement") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Configmanagement") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *CommonFleetDefaultMemberConfigSpec) MarshalJSON() ([]byte, error) { + type NoMethod CommonFleetDefaultMemberConfigSpec + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } // ConfigManagementConfigSync: Configuration for Config Sync diff --git a/gkehub/v1alpha/gkehub-api.json b/gkehub/v1alpha/gkehub-api.json index 9e7fa016eaf..87f346c11fd 100644 --- a/gkehub/v1alpha/gkehub-api.json +++ b/gkehub/v1alpha/gkehub-api.json @@ -2414,7 +2414,7 @@ } } }, - "revision": "20230901", + "revision": "20230914", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AnthosObservabilityFeatureSpec": { @@ -2991,6 +2991,10 @@ "description": "CommonFleetDefaultMemberConfigSpec contains default configuration information for memberships of a fleet", "id": "CommonFleetDefaultMemberConfigSpec", "properties": { + "configmanagement": { + "$ref": "ConfigManagementMembershipSpec", + "description": "Config Management-specific spec." + }, "identityservice": { "$ref": "IdentityServiceMembershipSpec", "description": "Identity Service-specific spec." diff --git a/gkehub/v1alpha/gkehub-gen.go b/gkehub/v1alpha/gkehub-gen.go index f23c329be98..6a2a482f8f7 100644 --- a/gkehub/v1alpha/gkehub-gen.go +++ b/gkehub/v1alpha/gkehub-gen.go @@ -1422,10 +1422,13 @@ func (s *CommonFeatureState) MarshalJSON() ([]byte, error) { // CommonFleetDefaultMemberConfigSpec contains default configuration // information for memberships of a fleet type CommonFleetDefaultMemberConfigSpec struct { + // Configmanagement: Config Management-specific spec. + Configmanagement *ConfigManagementMembershipSpec `json:"configmanagement,omitempty"` + // Identityservice: Identity Service-specific spec. Identityservice *IdentityServiceMembershipSpec `json:"identityservice,omitempty"` - // ForceSendFields is a list of field names (e.g. "Identityservice") to + // ForceSendFields is a list of field names (e.g. "Configmanagement") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -1433,7 +1436,7 @@ type CommonFleetDefaultMemberConfigSpec struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Identityservice") to + // NullFields is a list of field names (e.g. "Configmanagement") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the diff --git a/gkehub/v1beta/gkehub-api.json b/gkehub/v1beta/gkehub-api.json index c7cba260548..3ea07ffa141 100644 --- a/gkehub/v1beta/gkehub-api.json +++ b/gkehub/v1beta/gkehub-api.json @@ -2100,7 +2100,7 @@ } } }, - "revision": "20230901", + "revision": "20230914", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AnthosObservabilityFeatureSpec": { @@ -2273,6 +2273,10 @@ "description": "CommonFleetDefaultMemberConfigSpec contains default configuration information for memberships of a fleet", "id": "CommonFleetDefaultMemberConfigSpec", "properties": { + "configmanagement": { + "$ref": "ConfigManagementMembershipSpec", + "description": "Config Management-specific spec." + }, "identityservice": { "$ref": "IdentityServiceMembershipSpec", "description": "Identity Service-specific spec." diff --git a/gkehub/v1beta/gkehub-gen.go b/gkehub/v1beta/gkehub-gen.go index 74329042b3f..f93d46e1953 100644 --- a/gkehub/v1beta/gkehub-gen.go +++ b/gkehub/v1beta/gkehub-gen.go @@ -705,10 +705,13 @@ func (s *CommonFeatureState) MarshalJSON() ([]byte, error) { // CommonFleetDefaultMemberConfigSpec contains default configuration // information for memberships of a fleet type CommonFleetDefaultMemberConfigSpec struct { + // Configmanagement: Config Management-specific spec. + Configmanagement *ConfigManagementMembershipSpec `json:"configmanagement,omitempty"` + // Identityservice: Identity Service-specific spec. Identityservice *IdentityServiceMembershipSpec `json:"identityservice,omitempty"` - // ForceSendFields is a list of field names (e.g. "Identityservice") to + // ForceSendFields is a list of field names (e.g. "Configmanagement") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be @@ -716,7 +719,7 @@ type CommonFleetDefaultMemberConfigSpec struct { // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Identityservice") to + // NullFields is a list of field names (e.g. "Configmanagement") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the diff --git a/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-api.json b/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-api.json index 00efe01200a..4b95d4f10fb 100644 --- a/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-api.json +++ b/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-api.json @@ -2637,7 +2637,7 @@ } } }, - "revision": "20230816", + "revision": "20230921", "rootUrl": "https://prod-tt-sasportal.googleapis.com/", "schemas": { "SasPortalAssignment": { @@ -3585,7 +3585,12 @@ "SasPortalSetupSasAnalyticsRequest": { "description": "Request for the SetupSasAnalytics rpc.", "id": "SasPortalSetupSasAnalyticsRequest", - "properties": {}, + "properties": { + "userId": { + "description": "Optional. User id to setup analytics for, if not provided the user id associated with the project is used. optional", + "type": "string" + } + }, "type": "object" }, "SasPortalSetupSasAnalyticsResponse": { diff --git a/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go b/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go index 13b3ba9b4e1..b38bc0fbc12 100644 --- a/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go +++ b/prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go @@ -2008,6 +2008,31 @@ type SasPortalSetupSasAnalyticsMetadata struct { // SasPortalSetupSasAnalyticsRequest: Request for the SetupSasAnalytics // rpc. type SasPortalSetupSasAnalyticsRequest struct { + // UserId: Optional. User id to setup analytics for, if not provided the + // user id associated with the project is used. optional + UserId string `json:"userId,omitempty"` + + // ForceSendFields is a list of field names (e.g. "UserId") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "UserId") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *SasPortalSetupSasAnalyticsRequest) MarshalJSON() ([]byte, error) { + type NoMethod SasPortalSetupSasAnalyticsRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } // SasPortalSetupSasAnalyticsResponse: Response returned by the long diff --git a/workflows/v1/workflows-api.json b/workflows/v1/workflows-api.json index 5f28e77e676..9728e752551 100644 --- a/workflows/v1/workflows-api.json +++ b/workflows/v1/workflows-api.json @@ -418,14 +418,14 @@ ], "parameters": { "name": { - "description": "Required. Workflow from which the revisions should be listed. Format: projects/{project}/locations/{location}/workflows/{workflow}", + "description": "Required. Workflow for which the revisions should be listed. Format: projects/{project}/locations/{location}/workflows/{workflow}", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/workflows/[^/]+$", "required": true, "type": "string" }, "pageSize": { - "description": "The maximum number of revisions to return per page. If a value is not specified, a default value of 20 is used. The maximum permitted value is 100 and values greater than 100 coerced down to 100.", + "description": "The maximum number of revisions to return per page. If a value is not specified, a default value of 20 is used. The maximum permitted value is 100. Values greater than 100 are coerced down to 100.", "format": "int32", "location": "query", "type": "integer" @@ -454,7 +454,7 @@ ], "parameters": { "name": { - "description": "The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}", + "description": "The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}. This is a workflow-wide field and is not tied to a specific revision.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/workflows/[^/]+$", "required": true, @@ -485,7 +485,7 @@ } } }, - "revision": "20230906", + "revision": "20230913", "rootUrl": "https://workflows.googleapis.com/", "schemas": { "Empty": { @@ -742,7 +742,7 @@ "type": "string" }, "createTime": { - "description": "Output only. The timestamp for when the workflow was created.", + "description": "Output only. The timestamp for when the workflow was created. This is a workflow-wide field and is not tied to a specific revision.", "format": "google-datetime", "readOnly": true, "type": "string" @@ -752,18 +752,18 @@ "type": "string" }, "description": { - "description": "Description of the workflow provided by the user. Must be at most 1000 unicode characters long.", + "description": "Description of the workflow provided by the user. Must be at most 1000 Unicode characters long. This is a workflow-wide field and is not tied to a specific revision.", "type": "string" }, "labels": { "additionalProperties": { "type": "string" }, - "description": "Labels associated with this workflow. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, and dashes. Label keys must start with a letter. International characters are allowed.", + "description": "Labels associated with this workflow. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, and dashes. Label keys must start with a letter. International characters are allowed. This is a workflow-wide field and is not tied to a specific revision.", "type": "object" }, "name": { - "description": "The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}", + "description": "The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}. This is a workflow-wide field and is not tied to a specific revision.", "type": "string" }, "revisionCreateTime": { @@ -806,7 +806,7 @@ "readOnly": true }, "updateTime": { - "description": "Output only. The timestamp for when the workflow was last updated.", + "description": "Output only. The timestamp for when the workflow was last updated. This is a workflow-wide field and is not tied to a specific revision.", "format": "google-datetime", "readOnly": true, "type": "string" diff --git a/workflows/v1/workflows-gen.go b/workflows/v1/workflows-gen.go index 9fcfe6143e5..57f292f4553 100644 --- a/workflows/v1/workflows-gen.go +++ b/workflows/v1/workflows-gen.go @@ -610,7 +610,8 @@ type Workflow struct { CallLogLevel string `json:"callLogLevel,omitempty"` // CreateTime: Output only. The timestamp for when the workflow was - // created. + // created. This is a workflow-wide field and is not tied to a specific + // revision. CreateTime string `json:"createTime,omitempty"` // CryptoKeyName: Optional. The resource name of a KMS crypto key used @@ -623,18 +624,21 @@ type Workflow struct { CryptoKeyName string `json:"cryptoKeyName,omitempty"` // Description: Description of the workflow provided by the user. Must - // be at most 1000 unicode characters long. + // be at most 1000 Unicode characters long. This is a workflow-wide + // field and is not tied to a specific revision. Description string `json:"description,omitempty"` // Labels: Labels associated with this workflow. Labels can contain at // most 64 entries. Keys and values can be no longer than 63 characters // and can only contain lowercase letters, numeric characters, // underscores, and dashes. Label keys must start with a letter. - // International characters are allowed. + // International characters are allowed. This is a workflow-wide field + // and is not tied to a specific revision. Labels map[string]string `json:"labels,omitempty"` // Name: The resource name of the workflow. Format: - // projects/{project}/locations/{location}/workflows/{workflow} + // projects/{project}/locations/{location}/workflows/{workflow}. This is + // a workflow-wide field and is not tied to a specific revision. Name string `json:"name,omitempty"` // RevisionCreateTime: Output only. The timestamp for the latest @@ -681,7 +685,8 @@ type Workflow struct { StateError *StateError `json:"stateError,omitempty"` // UpdateTime: Output only. The timestamp for when the workflow was last - // updated. + // updated. This is a workflow-wide field and is not tied to a specific + // revision. UpdateTime string `json:"updateTime,omitempty"` // UserEnvVars: Optional. User-defined environment variables associated @@ -2259,7 +2264,7 @@ type ProjectsLocationsWorkflowsListRevisionsCall struct { // ListRevisions: Lists revisions for a given workflow. // -// - name: Workflow from which the revisions should be listed. Format: +// - name: Workflow for which the revisions should be listed. Format: // projects/{project}/locations/{location}/workflows/{workflow}. func (r *ProjectsLocationsWorkflowsService) ListRevisions(name string) *ProjectsLocationsWorkflowsListRevisionsCall { c := &ProjectsLocationsWorkflowsListRevisionsCall{s: r.s, urlParams_: make(gensupport.URLParams)} @@ -2269,8 +2274,8 @@ func (r *ProjectsLocationsWorkflowsService) ListRevisions(name string) *Projects // PageSize sets the optional parameter "pageSize": The maximum number // of revisions to return per page. If a value is not specified, a -// default value of 20 is used. The maximum permitted value is 100 and -// values greater than 100 coerced down to 100. +// default value of 20 is used. The maximum permitted value is 100. +// Values greater than 100 are coerced down to 100. func (c *ProjectsLocationsWorkflowsListRevisionsCall) PageSize(pageSize int64) *ProjectsLocationsWorkflowsListRevisionsCall { c.urlParams_.Set("pageSize", fmt.Sprint(pageSize)) return c @@ -2392,14 +2397,14 @@ func (c *ProjectsLocationsWorkflowsListRevisionsCall) Do(opts ...googleapi.CallO // ], // "parameters": { // "name": { - // "description": "Required. Workflow from which the revisions should be listed. Format: projects/{project}/locations/{location}/workflows/{workflow}", + // "description": "Required. Workflow for which the revisions should be listed. Format: projects/{project}/locations/{location}/workflows/{workflow}", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/workflows/[^/]+$", // "required": true, // "type": "string" // }, // "pageSize": { - // "description": "The maximum number of revisions to return per page. If a value is not specified, a default value of 20 is used. The maximum permitted value is 100 and values greater than 100 coerced down to 100.", + // "description": "The maximum number of revisions to return per page. If a value is not specified, a default value of 20 is used. The maximum permitted value is 100. Values greater than 100 are coerced down to 100.", // "format": "int32", // "location": "query", // "type": "integer" @@ -2460,7 +2465,8 @@ type ProjectsLocationsWorkflowsPatchCall struct { // executions. // // - name: The resource name of the workflow. Format: -// projects/{project}/locations/{location}/workflows/{workflow}. +// projects/{project}/locations/{location}/workflows/{workflow}. This +// is a workflow-wide field and is not tied to a specific revision. func (r *ProjectsLocationsWorkflowsService) Patch(name string, workflow *Workflow) *ProjectsLocationsWorkflowsPatchCall { c := &ProjectsLocationsWorkflowsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)} c.name = name @@ -2575,7 +2581,7 @@ func (c *ProjectsLocationsWorkflowsPatchCall) Do(opts ...googleapi.CallOption) ( // ], // "parameters": { // "name": { - // "description": "The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}", + // "description": "The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}. This is a workflow-wide field and is not tied to a specific revision.", // "location": "path", // "pattern": "^projects/[^/]+/locations/[^/]+/workflows/[^/]+$", // "required": true,