From 94cd85e27ae0862be7c60c4a8e44d067860e0882 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 14 Sep 2025 07:14:15 +0000 Subject: [PATCH] feat(all): auto-regenerate discovery clients --- .../v1beta1/containeranalysis-api.json | 123 +++++++++++++++++- .../v1beta1/containeranalysis-gen.go | 120 +++++++++++++++++ documentai/v1/documentai-api.json | 4 +- documentai/v1/documentai-gen.go | 6 +- .../v1alpha/firebaseappdistribution-api.json | 4 +- .../v1alpha/firebaseappdistribution-gen.go | 2 +- gkehub/v2alpha/gkehub-api.json | 4 +- gkehub/v2alpha/gkehub-gen.go | 6 +- trafficdirector/v2/trafficdirector-api.json | 4 +- trafficdirector/v2/trafficdirector-gen.go | 6 +- trafficdirector/v3/trafficdirector-api.json | 4 +- trafficdirector/v3/trafficdirector-gen.go | 6 +- 12 files changed, 259 insertions(+), 30 deletions(-) diff --git a/containeranalysis/v1beta1/containeranalysis-api.json b/containeranalysis/v1beta1/containeranalysis-api.json index b53ce06aa8a..e9a38ebfd8f 100644 --- a/containeranalysis/v1beta1/containeranalysis-api.json +++ b/containeranalysis/v1beta1/containeranalysis-api.json @@ -1771,7 +1771,7 @@ } } }, - "revision": "20250829", + "revision": "20250905", "rootUrl": "https://containeranalysis.googleapis.com/", "schemas": { "AliasContext": { @@ -4458,7 +4458,8 @@ "SPDX_FILE", "SPDX_RELATIONSHIP", "VULNERABILITY_ASSESSMENT", - "SBOM_REFERENCE" + "SBOM_REFERENCE", + "SECRET" ], "enumDescriptions": [ "Default value. This value is unused.", @@ -4475,7 +4476,8 @@ "This represents an SPDX File.", "This represents an SPDX Relationship.", "This represents a Vulnerability Assessment.", - "This represents an SBOM Reference." + "This represents an SBOM Reference.", + "This represents a secret." ], "type": "string" } @@ -4746,6 +4748,17 @@ }, "type": "object" }, + "FileLocation": { + "description": "Indicates the location at which a package was found.", + "id": "FileLocation", + "properties": { + "filePath": { + "description": "For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.", + "type": "string" + } + }, + "type": "object" + }, "FileNote": { "description": "FileNote represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/", "id": "FileNote", @@ -5698,7 +5711,8 @@ "SPDX_FILE", "SPDX_RELATIONSHIP", "VULNERABILITY_ASSESSMENT", - "SBOM_REFERENCE" + "SBOM_REFERENCE", + "SECRET" ], "enumDescriptions": [ "Default value. This value is unused.", @@ -5715,7 +5729,8 @@ "This represents an SPDX File.", "This represents an SPDX Relationship.", "This represents a Vulnerability Assessment.", - "This represents an SBOM Reference." + "This represents an SBOM Reference.", + "This represents a secret." ], "type": "string" }, @@ -5753,6 +5768,10 @@ "$ref": "SBOMReferenceNote", "description": "A note describing an SBOM reference." }, + "secret": { + "$ref": "SecretNote", + "description": "A note describing a secret." + }, "shortDescription": { "description": "A one sentence description of this note.", "type": "string" @@ -5843,7 +5862,8 @@ "SPDX_FILE", "SPDX_RELATIONSHIP", "VULNERABILITY_ASSESSMENT", - "SBOM_REFERENCE" + "SBOM_REFERENCE", + "SECRET" ], "enumDescriptions": [ "Default value. This value is unused.", @@ -5860,7 +5880,8 @@ "This represents an SPDX File.", "This represents an SPDX Relationship.", "This represents a Vulnerability Assessment.", - "This represents an SBOM Reference." + "This represents an SBOM Reference.", + "This represents a secret." ], "type": "string" }, @@ -5888,6 +5909,10 @@ "$ref": "SBOMReferenceOccurrence", "description": "Describes a specific SBOM reference occurrences." }, + "secret": { + "$ref": "SecretOccurrence", + "description": "Describes a secret." + }, "spdxFile": { "$ref": "FileOccurrence", "description": "Describes a specific SPDX File." @@ -6770,6 +6795,90 @@ }, "type": "object" }, + "SecretLocation": { + "description": "The location of the secret.", + "id": "SecretLocation", + "properties": { + "fileLocation": { + "$ref": "FileLocation", + "description": "The secret is found from a file." + } + }, + "type": "object" + }, + "SecretNote": { + "description": "The note representing a secret.", + "id": "SecretNote", + "properties": {}, + "type": "object" + }, + "SecretOccurrence": { + "description": "The occurrence provides details of a secret.", + "id": "SecretOccurrence", + "properties": { + "kind": { + "description": "Required. Type of secret.", + "enum": [ + "SECRET_KIND_UNSPECIFIED", + "SECRET_KIND_UNKNOWN", + "SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY" + ], + "enumDescriptions": [ + "Unspecified", + "The secret kind is unknown.", + "A GCP service account key per: https://cloud.google.com/iam/docs/creating-managing-service-account-keys" + ], + "type": "string" + }, + "locations": { + "description": "Optional. Locations where the secret is detected.", + "items": { + "$ref": "SecretLocation" + }, + "type": "array" + }, + "statuses": { + "description": "Optional. Status of the secret.", + "items": { + "$ref": "SecretStatus" + }, + "type": "array" + } + }, + "type": "object" + }, + "SecretStatus": { + "description": "The status of the secret with a timestamp.", + "id": "SecretStatus", + "properties": { + "message": { + "description": "Optional. Optional message about the status code.", + "type": "string" + }, + "status": { + "description": "Optional. The status of the secret.", + "enum": [ + "STATUS_UNSPECIFIED", + "UNKNOWN", + "VALID", + "INVALID" + ], + "enumDescriptions": [ + "Unspecified", + "The status of the secret is unknown.", + "The secret is valid.", + "The secret is invalid." + ], + "type": "string" + }, + "updateTime": { + "description": "Optional. The time the secret status was last updated.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, "SetIamPolicyRequest": { "description": "Request message for `SetIamPolicy` method.", "id": "SetIamPolicyRequest", diff --git a/containeranalysis/v1beta1/containeranalysis-gen.go b/containeranalysis/v1beta1/containeranalysis-gen.go index 16e5efbdd99..480186b40d4 100644 --- a/containeranalysis/v1beta1/containeranalysis-gen.go +++ b/containeranalysis/v1beta1/containeranalysis-gen.go @@ -3308,6 +3308,7 @@ type Discovery struct { // "SPDX_RELATIONSHIP" - This represents an SPDX Relationship. // "VULNERABILITY_ASSESSMENT" - This represents a Vulnerability Assessment. // "SBOM_REFERENCE" - This represents an SBOM Reference. + // "SECRET" - This represents a secret. AnalysisKind string `json:"analysisKind,omitempty"` // ForceSendFields is a list of field names (e.g. "AnalysisKind") to // unconditionally include in API requests. By default, fields with empty or @@ -3691,6 +3692,29 @@ func (s FileHashes) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// FileLocation: Indicates the location at which a package was found. +type FileLocation struct { + // FilePath: For jars that are contained inside .war files, this filepath can + // indicate the path to war file combined with the path to jar file. + FilePath string `json:"filePath,omitempty"` + // ForceSendFields is a list of field names (e.g. "FilePath") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "FilePath") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s FileLocation) MarshalJSON() ([]byte, error) { + type NoMethod FileLocation + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // FileNote: FileNote represents an SPDX File Information section: // https://spdx.github.io/spdx-spec/4-file-information/ type FileNote struct { @@ -4875,6 +4899,7 @@ type Note struct { // "SPDX_RELATIONSHIP" - This represents an SPDX Relationship. // "VULNERABILITY_ASSESSMENT" - This represents a Vulnerability Assessment. // "SBOM_REFERENCE" - This represents an SBOM Reference. + // "SECRET" - This represents a secret. Kind string `json:"kind,omitempty"` // LongDescription: A detailed description of this note. LongDescription string `json:"longDescription,omitempty"` @@ -4891,6 +4916,8 @@ type Note struct { Sbom *DocumentNote `json:"sbom,omitempty"` // SbomReference: A note describing an SBOM reference. SbomReference *SBOMReferenceNote `json:"sbomReference,omitempty"` + // Secret: A note describing a secret. + Secret *SecretNote `json:"secret,omitempty"` // ShortDescription: A one sentence description of this note. ShortDescription string `json:"shortDescription,omitempty"` // SpdxFile: A note describing an SPDX File. @@ -4972,6 +4999,7 @@ type Occurrence struct { // "SPDX_RELATIONSHIP" - This represents an SPDX Relationship. // "VULNERABILITY_ASSESSMENT" - This represents a Vulnerability Assessment. // "SBOM_REFERENCE" - This represents an SBOM Reference. + // "SECRET" - This represents a secret. Kind string `json:"kind,omitempty"` // Name: Output only. The name of the occurrence in the form of // `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. @@ -4989,6 +5017,8 @@ type Occurrence struct { Sbom *DocumentOccurrence `json:"sbom,omitempty"` // SbomReference: Describes a specific SBOM reference occurrences. SbomReference *SBOMReferenceOccurrence `json:"sbomReference,omitempty"` + // Secret: Describes a secret. + Secret *SecretOccurrence `json:"secret,omitempty"` // SpdxFile: Describes a specific SPDX File. SpdxFile *FileOccurrence `json:"spdxFile,omitempty"` // SpdxPackage: Describes a specific SPDX Package. @@ -6051,6 +6081,96 @@ func (s SbomReferenceIntotoPredicate) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } +// SecretLocation: The location of the secret. +type SecretLocation struct { + // FileLocation: The secret is found from a file. + FileLocation *FileLocation `json:"fileLocation,omitempty"` + // ForceSendFields is a list of field names (e.g. "FileLocation") to + // unconditionally include in API requests. By default, fields with empty or + // default values are omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "FileLocation") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s SecretLocation) MarshalJSON() ([]byte, error) { + type NoMethod SecretLocation + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// SecretNote: The note representing a secret. +type SecretNote struct { +} + +// SecretOccurrence: The occurrence provides details of a secret. +type SecretOccurrence struct { + // Kind: Required. Type of secret. + // + // Possible values: + // "SECRET_KIND_UNSPECIFIED" - Unspecified + // "SECRET_KIND_UNKNOWN" - The secret kind is unknown. + // "SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY" - A GCP service account key per: + // https://cloud.google.com/iam/docs/creating-managing-service-account-keys + Kind string `json:"kind,omitempty"` + // Locations: Optional. Locations where the secret is detected. + Locations []*SecretLocation `json:"locations,omitempty"` + // Statuses: Optional. Status of the secret. + Statuses []*SecretStatus `json:"statuses,omitempty"` + // ForceSendFields is a list of field names (e.g. "Kind") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Kind") to include in API requests + // with the JSON null value. By default, fields with empty values are omitted + // from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s SecretOccurrence) MarshalJSON() ([]byte, error) { + type NoMethod SecretOccurrence + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + +// SecretStatus: The status of the secret with a timestamp. +type SecretStatus struct { + // Message: Optional. Optional message about the status code. + Message string `json:"message,omitempty"` + // Status: Optional. The status of the secret. + // + // Possible values: + // "STATUS_UNSPECIFIED" - Unspecified + // "UNKNOWN" - The status of the secret is unknown. + // "VALID" - The secret is valid. + // "INVALID" - The secret is invalid. + Status string `json:"status,omitempty"` + // UpdateTime: Optional. The time the secret status was last updated. + UpdateTime string `json:"updateTime,omitempty"` + // ForceSendFields is a list of field names (e.g. "Message") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more + // details. + ForceSendFields []string `json:"-"` + // NullFields is a list of field names (e.g. "Message") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See + // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. + NullFields []string `json:"-"` +} + +func (s SecretStatus) MarshalJSON() ([]byte, error) { + type NoMethod SecretStatus + return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) +} + // SetIamPolicyRequest: Request message for `SetIamPolicy` method. type SetIamPolicyRequest struct { // Policy: REQUIRED: The complete policy to be applied to the `resource`. The diff --git a/documentai/v1/documentai-api.json b/documentai/v1/documentai-api.json index 85e42d69e15..e45a050d4f0 100644 --- a/documentai/v1/documentai-api.json +++ b/documentai/v1/documentai-api.json @@ -198,7 +198,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", + "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -1048,7 +1048,7 @@ } } }, - "revision": "20250820", + "revision": "20250908", "rootUrl": "https://documentai.googleapis.com/", "schemas": { "CloudAiDocumentaiLabHifiaToolsValidationValidatorInput": { diff --git a/documentai/v1/documentai-gen.go b/documentai/v1/documentai-gen.go index e0acb76628e..f107f4a9d0d 100644 --- a/documentai/v1/documentai-gen.go +++ b/documentai/v1/documentai-gen.go @@ -7931,9 +7931,9 @@ func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall return c } -// ExtraLocationTypes sets the optional parameter "extraLocationTypes": Do not -// use this field. It is unsupported and is ignored unless explicitly -// documented otherwise. This is primarily for internal usage. +// ExtraLocationTypes sets the optional parameter "extraLocationTypes": Unless +// explicitly documented otherwise, don't use this unsupported field which is +// primarily intended for internal usage. func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall { c.urlParams_.SetMulti("extraLocationTypes", append([]string{}, extraLocationTypes...)) return c diff --git a/firebaseappdistribution/v1alpha/firebaseappdistribution-api.json b/firebaseappdistribution/v1alpha/firebaseappdistribution-api.json index 32148c2572e..2b1183d33cf 100644 --- a/firebaseappdistribution/v1alpha/firebaseappdistribution-api.json +++ b/firebaseappdistribution/v1alpha/firebaseappdistribution-api.json @@ -807,7 +807,7 @@ } } }, - "revision": "20250902", + "revision": "20250912", "rootUrl": "https://firebaseappdistribution.googleapis.com/", "schemas": { "AndroidxCrawlerOutputPoint": { @@ -1995,7 +1995,7 @@ "type": "string" }, "dependentTestCases": { - "description": "Output only. Other test cases that depend on this test cse as a prerequisite.", + "description": "Output only. Other test cases that depend on this test case as a prerequisite.", "items": { "type": "string" }, diff --git a/firebaseappdistribution/v1alpha/firebaseappdistribution-gen.go b/firebaseappdistribution/v1alpha/firebaseappdistribution-gen.go index 9dc15c7da4e..987d412b9f0 100644 --- a/firebaseappdistribution/v1alpha/firebaseappdistribution-gen.go +++ b/firebaseappdistribution/v1alpha/firebaseappdistribution-gen.go @@ -1629,7 +1629,7 @@ type GoogleFirebaseAppdistroV1alphaTestCase struct { // CreateTime: Output only. Timestamp when the test case was created CreateTime string `json:"createTime,omitempty"` // DependentTestCases: Output only. Other test cases that depend on this test - // cse as a prerequisite. + // case as a prerequisite. DependentTestCases []string `json:"dependentTestCases,omitempty"` // DisplayName: Required. Display name of the test case. DisplayName string `json:"displayName,omitempty"` diff --git a/gkehub/v2alpha/gkehub-api.json b/gkehub/v2alpha/gkehub-api.json index bb646e62103..2cfd44bac77 100644 --- a/gkehub/v2alpha/gkehub-api.json +++ b/gkehub/v2alpha/gkehub-api.json @@ -144,7 +144,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", + "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -477,7 +477,7 @@ } } }, - "revision": "20250829", + "revision": "20250907", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceState": { diff --git a/gkehub/v2alpha/gkehub-gen.go b/gkehub/v2alpha/gkehub-gen.go index b4a405a3b0d..a8455241032 100644 --- a/gkehub/v2alpha/gkehub-gen.go +++ b/gkehub/v2alpha/gkehub-gen.go @@ -3733,9 +3733,9 @@ func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall return c } -// ExtraLocationTypes sets the optional parameter "extraLocationTypes": Do not -// use this field. It is unsupported and is ignored unless explicitly -// documented otherwise. This is primarily for internal usage. +// ExtraLocationTypes sets the optional parameter "extraLocationTypes": Unless +// explicitly documented otherwise, don't use this unsupported field which is +// primarily intended for internal usage. func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall { c.urlParams_.SetMulti("extraLocationTypes", append([]string{}, extraLocationTypes...)) return c diff --git a/trafficdirector/v2/trafficdirector-api.json b/trafficdirector/v2/trafficdirector-api.json index 2183641ffd7..2c3b76ce4e3 100644 --- a/trafficdirector/v2/trafficdirector-api.json +++ b/trafficdirector/v2/trafficdirector-api.json @@ -128,7 +128,7 @@ } } }, - "revision": "20230711", + "revision": "20250908", "rootUrl": "https://trafficdirector.googleapis.com/", "schemas": { "Address": { @@ -918,7 +918,7 @@ "type": "object" }, "ValueMatcher": { - "description": "Specifies the way to match a ProtobufWkt::Value. Primitive values and ListValue are supported. StructValue is not supported and is always not matched. [#next-free-field: 7]", + "description": "Specifies the way to match a Protobuf::Value. Primitive values and ListValue are supported. StructValue is not supported and is always not matched. [#next-free-field: 7]", "id": "ValueMatcher", "properties": { "boolMatch": { diff --git a/trafficdirector/v2/trafficdirector-gen.go b/trafficdirector/v2/trafficdirector-gen.go index f7b87a4d2d0..20da7c0cece 100644 --- a/trafficdirector/v2/trafficdirector-gen.go +++ b/trafficdirector/v2/trafficdirector-gen.go @@ -1269,9 +1269,9 @@ func (s UpdateFailureState) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } -// ValueMatcher: Specifies the way to match a ProtobufWkt::Value. Primitive -// values and ListValue are supported. StructValue is not supported and is -// always not matched. [#next-free-field: 7] +// ValueMatcher: Specifies the way to match a Protobuf::Value. Primitive values +// and ListValue are supported. StructValue is not supported and is always not +// matched. [#next-free-field: 7] type ValueMatcher struct { // BoolMatch: If specified, a match occurs if and only if the target value is a // bool value and is equal to this field. diff --git a/trafficdirector/v3/trafficdirector-api.json b/trafficdirector/v3/trafficdirector-api.json index 88d43a996b4..d43ee9e97b2 100644 --- a/trafficdirector/v3/trafficdirector-api.json +++ b/trafficdirector/v3/trafficdirector-api.json @@ -128,7 +128,7 @@ } } }, - "revision": "20250827", + "revision": "20250908", "rootUrl": "https://trafficdirector.googleapis.com/", "schemas": { "Address": { @@ -1321,7 +1321,7 @@ "type": "object" }, "ValueMatcher": { - "description": "Specifies the way to match a ProtobufWkt::Value. Primitive values and ListValue are supported. StructValue is not supported and is always not matched. [#next-free-field: 8]", + "description": "Specifies the way to match a Protobuf::Value. Primitive values and ListValue are supported. StructValue is not supported and is always not matched. [#next-free-field: 8]", "id": "ValueMatcher", "properties": { "boolMatch": { diff --git a/trafficdirector/v3/trafficdirector-gen.go b/trafficdirector/v3/trafficdirector-gen.go index f48c3d0ff79..7bf1b0d7edd 100644 --- a/trafficdirector/v3/trafficdirector-gen.go +++ b/trafficdirector/v3/trafficdirector-gen.go @@ -1731,9 +1731,9 @@ func (s UpdateFailureState) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } -// ValueMatcher: Specifies the way to match a ProtobufWkt::Value. Primitive -// values and ListValue are supported. StructValue is not supported and is -// always not matched. [#next-free-field: 8] +// ValueMatcher: Specifies the way to match a Protobuf::Value. Primitive values +// and ListValue are supported. StructValue is not supported and is always not +// matched. [#next-free-field: 8] type ValueMatcher struct { // BoolMatch: If specified, a match occurs if and only if the target value is a // bool value and is equal to this field.