From 33863bf9a68ec56ad0ebac93e614d3628b81416c Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 12 Nov 2023 00:24:14 -0800 Subject: [PATCH] feat(all): auto-regenerate discovery clients (#2259) --- alloydb/v1/alloydb-api.json | 23 ++- alloydb/v1/alloydb-gen.go | 3 + artifactregistry/v1/artifactregistry-api.json | 8 +- artifactregistry/v1/artifactregistry-gen.go | 1 + clouddeploy/v1/clouddeploy-api.json | 23 ++- clouddeploy/v1/clouddeploy-gen.go | 14 +- datamigration/v1/datamigration-api.json | 54 ++++- datamigration/v1/datamigration-gen.go | 168 +++++++++++++++ firestore/v1/firestore-api.json | 4 +- firestore/v1/firestore-gen.go | 12 +- gkehub/v1/gkehub-api.json | 132 +++++++++--- gkehub/v1/gkehub-gen.go | 95 +++++++++ gkehub/v1alpha/gkehub-api.json | 193 +++++++++++++++--- gkehub/v1alpha/gkehub-gen.go | 164 +++++++++++++++ gkehub/v1beta/gkehub-api.json | 138 ++++++++++--- gkehub/v1beta/gkehub-gen.go | 96 +++++++++ gkeonprem/v1/gkeonprem-api.json | 22 +- gkeonprem/v1/gkeonprem-gen.go | 43 +++- redis/v1/redis-api.json | 7 +- redis/v1/redis-gen.go | 5 + redis/v1beta1/redis-api.json | 7 +- redis/v1beta1/redis-gen.go | 5 + tpu/v2alpha1/tpu-api.json | 6 +- tpu/v2alpha1/tpu-gen.go | 3 + 24 files changed, 1105 insertions(+), 121 deletions(-) diff --git a/alloydb/v1/alloydb-api.json b/alloydb/v1/alloydb-api.json index 50786099c31..21c3a82e13f 100644 --- a/alloydb/v1/alloydb-api.json +++ b/alloydb/v1/alloydb-api.json @@ -1489,7 +1489,7 @@ } } }, - "revision": "20231025", + "revision": "20231031", "rootUrl": "https://alloydb.googleapis.com/", "schemas": { "AutomatedBackupPolicy": { @@ -1566,17 +1566,20 @@ "enum": [ "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_13", - "POSTGRES_14" + "POSTGRES_14", + "POSTGRES_15" ], "enumDeprecated": [ false, true, + false, false ], "enumDescriptions": [ "This is an unknown database version.", "DEPRECATED - The database version is Postgres 13.", - "The database version is Postgres 14." + "The database version is Postgres 14.", + "The database version is Postgres 15." ], "readOnly": true, "type": "string" @@ -1814,17 +1817,20 @@ "enum": [ "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_13", - "POSTGRES_14" + "POSTGRES_14", + "POSTGRES_15" ], "enumDeprecated": [ false, true, + false, false ], "enumDescriptions": [ "This is an unknown database version.", "DEPRECATED - The database version is Postgres 13.", - "The database version is Postgres 14." + "The database version is Postgres 14.", + "The database version is Postgres 15." ], "type": "string" }, @@ -3691,17 +3697,20 @@ "enum": [ "DATABASE_VERSION_UNSPECIFIED", "POSTGRES_13", - "POSTGRES_14" + "POSTGRES_14", + "POSTGRES_15" ], "enumDeprecated": [ false, true, + false, false ], "enumDescriptions": [ "This is an unknown database version.", "DEPRECATED - The database version is Postgres 13.", - "The database version is Postgres 14." + "The database version is Postgres 14.", + "The database version is Postgres 15." ], "type": "string" }, diff --git a/alloydb/v1/alloydb-gen.go b/alloydb/v1/alloydb-gen.go index 2a4c3e09d89..571c4e487bf 100644 --- a/alloydb/v1/alloydb-gen.go +++ b/alloydb/v1/alloydb-gen.go @@ -335,6 +335,7 @@ type Backup struct { // version. // "POSTGRES_13" - DEPRECATED - The database version is Postgres 13. // "POSTGRES_14" - The database version is Postgres 14. + // "POSTGRES_15" - The database version is Postgres 15. DatabaseVersion string `json:"databaseVersion,omitempty"` // DeleteTime: Output only. Delete time stamp @@ -620,6 +621,7 @@ type Cluster struct { // version. // "POSTGRES_13" - DEPRECATED - The database version is Postgres 13. // "POSTGRES_14" - The database version is Postgres 14. + // "POSTGRES_15" - The database version is Postgres 15. DatabaseVersion string `json:"databaseVersion,omitempty"` // DeleteTime: Output only. Delete time stamp @@ -3348,6 +3350,7 @@ type SupportedDatabaseFlag struct { // version. // "POSTGRES_13" - DEPRECATED - The database version is Postgres 13. // "POSTGRES_14" - The database version is Postgres 14. + // "POSTGRES_15" - The database version is Postgres 15. SupportedDbVersions []string `json:"supportedDbVersions,omitempty"` // Possible values: diff --git a/artifactregistry/v1/artifactregistry-api.json b/artifactregistry/v1/artifactregistry-api.json index c94fbb7c69e..aed0f843ccd 100644 --- a/artifactregistry/v1/artifactregistry-api.json +++ b/artifactregistry/v1/artifactregistry-api.json @@ -1713,7 +1713,7 @@ } } }, - "revision": "20231102", + "revision": "20231108", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "AptArtifact": { @@ -2150,12 +2150,14 @@ "enum": [ "REPOSITORY_BASE_UNSPECIFIED", "DEBIAN", - "UBUNTU" + "UBUNTU", + "DEBIAN_SNAPSHOT" ], "enumDescriptions": [ "Unspecified repository base.", "Debian.", - "Ubuntu LTS/Pro." + "Ubuntu LTS/Pro.", + "Archived Debian." ], "type": "string" }, diff --git a/artifactregistry/v1/artifactregistry-gen.go b/artifactregistry/v1/artifactregistry-gen.go index 368d10ecc00..85c14d8da79 100644 --- a/artifactregistry/v1/artifactregistry-gen.go +++ b/artifactregistry/v1/artifactregistry-gen.go @@ -1072,6 +1072,7 @@ type GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRe // "REPOSITORY_BASE_UNSPECIFIED" - Unspecified repository base. // "DEBIAN" - Debian. // "UBUNTU" - Ubuntu LTS/Pro. + // "DEBIAN_SNAPSHOT" - Archived Debian. RepositoryBase string `json:"repositoryBase,omitempty"` // RepositoryPath: A custom field to define a path to a specific diff --git a/clouddeploy/v1/clouddeploy-api.json b/clouddeploy/v1/clouddeploy-api.json index 7e7b6beb0b4..faf3c558c2a 100644 --- a/clouddeploy/v1/clouddeploy-api.json +++ b/clouddeploy/v1/clouddeploy-api.json @@ -1794,7 +1794,7 @@ } } }, - "revision": "20231027", + "revision": "20231101", "rootUrl": "https://clouddeploy.googleapis.com/", "schemas": { "AbandonReleaseRequest": { @@ -4249,7 +4249,23 @@ "type": "string" }, "release": { - "description": "The name of the `Release`.", + "description": "The name of the release.", + "type": "string" + }, + "releaseRenderState": { + "description": "The state of the release render.", + "enum": [ + "RENDER_STATE_UNSPECIFIED", + "SUCCEEDED", + "FAILED", + "IN_PROGRESS" + ], + "enumDescriptions": [ + "The render state is unspecified.", + "All rendering operations have completed successfully.", + "All rendering operations have completed, and one or more have failed.", + "Rendering has started and is not complete." + ], "type": "string" } }, @@ -4890,7 +4906,7 @@ "type": "string" }, "rolloutUpdateType": { - "description": "Output only. The type of the rollout update.", + "description": "The type of the rollout update.", "enum": [ "ROLLOUT_UPDATE_TYPE_UNSPECIFIED", "PENDING", @@ -4923,7 +4939,6 @@ "Rollout requires advance to the next phase.", "Rollout has been advanced." ], - "readOnly": true, "type": "string" }, "targetId": { diff --git a/clouddeploy/v1/clouddeploy-gen.go b/clouddeploy/v1/clouddeploy-gen.go index 8a7a87b4b60..07ca5112246 100644 --- a/clouddeploy/v1/clouddeploy-gen.go +++ b/clouddeploy/v1/clouddeploy-gen.go @@ -4054,9 +4054,19 @@ type ReleaseRenderEvent struct { // further details as rendering progresses through render states. Message string `json:"message,omitempty"` - // Release: The name of the `Release`. + // Release: The name of the release. Release string `json:"release,omitempty"` + // ReleaseRenderState: The state of the release render. + // + // Possible values: + // "RENDER_STATE_UNSPECIFIED" - The render state is unspecified. + // "SUCCEEDED" - All rendering operations have completed successfully. + // "FAILED" - All rendering operations have completed, and one or more + // have failed. + // "IN_PROGRESS" - Rendering has started and is not complete. + ReleaseRenderState string `json:"releaseRenderState,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. However, any @@ -4883,7 +4893,7 @@ type RolloutUpdateEvent struct { // Rollout: The name of the rollout. Rollout string `json:"rollout,omitempty"` - // RolloutUpdateType: Output only. The type of the rollout update. + // RolloutUpdateType: The type of the rollout update. // // Possible values: // "ROLLOUT_UPDATE_TYPE_UNSPECIFIED" - Rollout update type diff --git a/datamigration/v1/datamigration-api.json b/datamigration/v1/datamigration-api.json index 8399b0a0138..ef354cef24d 100644 --- a/datamigration/v1/datamigration-api.json +++ b/datamigration/v1/datamigration-api.json @@ -1311,6 +1311,34 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "demoteDestination": { + "description": "Demotes the destination database to become a read replica of the source. This is applicable for the following migrations: 1. MySQL to Cloud SQL (for MySQL) 2. PostgreSQL to Cloud SQL (for PostgreSQL) 3. PostgreSQL to AlloyDB.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/migrationJobs/{migrationJobsId}:demoteDestination", + "httpMethod": "POST", + "id": "datamigration.projects.locations.migrationJobs.demoteDestination", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Name of the migration job resource to demote its destination.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/migrationJobs/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:demoteDestination", + "request": { + "$ref": "DemoteDestinationRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "generateSshScript": { "description": "Generate a SSH configuration script to configure the reverse SSH connectivity.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/migrationJobs/{migrationJobsId}:generateSshScript", @@ -2097,7 +2125,7 @@ } } }, - "revision": "20231031", + "revision": "20231106", "rootUrl": "https://datamigration.googleapis.com/", "schemas": { "AlloyDbConnectionProfile": { @@ -2478,6 +2506,15 @@ "MYSQL_5_6", "MYSQL_5_7", "MYSQL_8_0", + "MYSQL_8_0_18", + "MYSQL_8_0_26", + "MYSQL_8_0_27", + "MYSQL_8_0_28", + "MYSQL_8_0_30", + "MYSQL_8_0_31", + "MYSQL_8_0_32", + "MYSQL_8_0_33", + "MYSQL_8_0_34", "POSTGRES_9_6", "POSTGRES_11", "POSTGRES_10", @@ -2491,6 +2528,15 @@ "MySQL 5.6.", "MySQL 5.7.", "MySQL 8.0.", + "The database major version is MySQL 8.0 and the minor version is 18.", + "The database major version is MySQL 8.0 and the minor version is 26.", + "The database major version is MySQL 8.0 and the minor version is 27.", + "The database major version is MySQL 8.0 and the minor version is 28.", + "The database major version is MySQL 8.0 and the minor version is 30.", + "The database major version is MySQL 8.0 and the minor version is 31.", + "The database major version is MySQL 8.0 and the minor version is 32.", + "The database major version is MySQL 8.0 and the minor version is 33.", + "The database major version is MySQL 8.0 and the minor version is 34.", "PostgreSQL 9.6.", "PostgreSQL 11.", "PostgreSQL 10.", @@ -3180,6 +3226,12 @@ }, "type": "object" }, + "DemoteDestinationRequest": { + "description": "Request message for 'DemoteDestination' request.", + "id": "DemoteDestinationRequest", + "properties": {}, + "type": "object" + }, "DescribeConversionWorkspaceRevisionsResponse": { "description": "Response message for 'DescribeConversionWorkspaceRevisions' request.", "id": "DescribeConversionWorkspaceRevisionsResponse", diff --git a/datamigration/v1/datamigration-gen.go b/datamigration/v1/datamigration-gen.go index f53d6a23f75..56ec89ce173 100644 --- a/datamigration/v1/datamigration-gen.go +++ b/datamigration/v1/datamigration-gen.go @@ -845,6 +845,24 @@ type CloudSqlSettings struct { // "MYSQL_5_6" - MySQL 5.6. // "MYSQL_5_7" - MySQL 5.7. // "MYSQL_8_0" - MySQL 8.0. + // "MYSQL_8_0_18" - The database major version is MySQL 8.0 and the + // minor version is 18. + // "MYSQL_8_0_26" - The database major version is MySQL 8.0 and the + // minor version is 26. + // "MYSQL_8_0_27" - The database major version is MySQL 8.0 and the + // minor version is 27. + // "MYSQL_8_0_28" - The database major version is MySQL 8.0 and the + // minor version is 28. + // "MYSQL_8_0_30" - The database major version is MySQL 8.0 and the + // minor version is 30. + // "MYSQL_8_0_31" - The database major version is MySQL 8.0 and the + // minor version is 31. + // "MYSQL_8_0_32" - The database major version is MySQL 8.0 and the + // minor version is 32. + // "MYSQL_8_0_33" - The database major version is MySQL 8.0 and the + // minor version is 33. + // "MYSQL_8_0_34" - The database major version is MySQL 8.0 and the + // minor version is 34. // "POSTGRES_9_6" - PostgreSQL 9.6. // "POSTGRES_11" - PostgreSQL 11. // "POSTGRES_10" - PostgreSQL 10. @@ -1717,6 +1735,11 @@ func (s *DatabaseType) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// DemoteDestinationRequest: Request message for 'DemoteDestination' +// request. +type DemoteDestinationRequest struct { +} + // DescribeConversionWorkspaceRevisionsResponse: Response message for // 'DescribeConversionWorkspaceRevisions' request. type DescribeConversionWorkspaceRevisionsResponse struct { @@ -11841,6 +11864,151 @@ func (c *ProjectsLocationsMigrationJobsDeleteCall) Do(opts ...googleapi.CallOpti } +// method id "datamigration.projects.locations.migrationJobs.demoteDestination": + +type ProjectsLocationsMigrationJobsDemoteDestinationCall struct { + s *Service + name string + demotedestinationrequest *DemoteDestinationRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// DemoteDestination: Demotes the destination database to become a read +// replica of the source. This is applicable for the following +// migrations: 1. MySQL to Cloud SQL (for MySQL) 2. PostgreSQL to Cloud +// SQL (for PostgreSQL) 3. PostgreSQL to AlloyDB. +// +// - name: Name of the migration job resource to demote its destination. +func (r *ProjectsLocationsMigrationJobsService) DemoteDestination(name string, demotedestinationrequest *DemoteDestinationRequest) *ProjectsLocationsMigrationJobsDemoteDestinationCall { + c := &ProjectsLocationsMigrationJobsDemoteDestinationCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.name = name + c.demotedestinationrequest = demotedestinationrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *ProjectsLocationsMigrationJobsDemoteDestinationCall) Fields(s ...googleapi.Field) *ProjectsLocationsMigrationJobsDemoteDestinationCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *ProjectsLocationsMigrationJobsDemoteDestinationCall) Context(ctx context.Context) *ProjectsLocationsMigrationJobsDemoteDestinationCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *ProjectsLocationsMigrationJobsDemoteDestinationCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *ProjectsLocationsMigrationJobsDemoteDestinationCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.demotedestinationrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:demoteDestination") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "name": c.name, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "datamigration.projects.locations.migrationJobs.demoteDestination" call. +// Exactly one of *Operation or error will be non-nil. Any non-2xx +// status code is an error. Response headers are in either +// *Operation.ServerResponse.Header or (if a response was returned at +// all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified +// to check whether the returned error was because +// http.StatusNotModified was returned. +func (c *ProjectsLocationsMigrationJobsDemoteDestinationCall) Do(opts ...googleapi.CallOption) (*Operation, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &Operation{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Demotes the destination database to become a read replica of the source. This is applicable for the following migrations: 1. MySQL to Cloud SQL (for MySQL) 2. PostgreSQL to Cloud SQL (for PostgreSQL) 3. PostgreSQL to AlloyDB.", + // "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/migrationJobs/{migrationJobsId}:demoteDestination", + // "httpMethod": "POST", + // "id": "datamigration.projects.locations.migrationJobs.demoteDestination", + // "parameterOrder": [ + // "name" + // ], + // "parameters": { + // "name": { + // "description": "Name of the migration job resource to demote its destination.", + // "location": "path", + // "pattern": "^projects/[^/]+/locations/[^/]+/migrationJobs/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1/{+name}:demoteDestination", + // "request": { + // "$ref": "DemoteDestinationRequest" + // }, + // "response": { + // "$ref": "Operation" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform" + // ] + // } + +} + // method id "datamigration.projects.locations.migrationJobs.generateSshScript": type ProjectsLocationsMigrationJobsGenerateSshScriptCall struct { diff --git a/firestore/v1/firestore-api.json b/firestore/v1/firestore-api.json index aba7a07e60a..6e5b23277e7 100644 --- a/firestore/v1/firestore-api.json +++ b/firestore/v1/firestore-api.json @@ -1672,7 +1672,7 @@ } } }, - "revision": "20231031", + "revision": "20231103", "rootUrl": "https://firestore.googleapis.com/", "schemas": { "Aggregation": { @@ -2627,7 +2627,7 @@ "type": "string" }, "snapshotTime": { - "description": "The timestamp that corresponds to the version of the database to be exported. The timestamp must be rounded to the minute, in the past, and not older than 5 days. Please choose a reasonable timestamp based on prior knowledge on how long exports take as data at provided snapshot timestamp can expire during export. If specified, then the exported documents will represent a consistent view of the database at the provided time. Otherwise, there are no guarantees about the consistency of the exported documents.", + "description": "The timestamp that corresponds to the version of the database to be exported. The timestamp must be in the past, rounded to the minute and not older than earliestVersionTime. If specified, then the exported documents will represent a consistent view of the database at the provided time. Otherwise, there are no guarantees about the consistency of the exported documents.", "format": "google-datetime", "type": "string" } diff --git a/firestore/v1/firestore-gen.go b/firestore/v1/firestore-gen.go index 20030d0a27d..d627a7f38b2 100644 --- a/firestore/v1/firestore-gen.go +++ b/firestore/v1/firestore-gen.go @@ -1896,13 +1896,11 @@ type GoogleFirestoreAdminV1ExportDocumentsRequest struct { OutputUriPrefix string `json:"outputUriPrefix,omitempty"` // SnapshotTime: The timestamp that corresponds to the version of the - // database to be exported. The timestamp must be rounded to the minute, - // in the past, and not older than 5 days. Please choose a reasonable - // timestamp based on prior knowledge on how long exports take as data - // at provided snapshot timestamp can expire during export. If - // specified, then the exported documents will represent a consistent - // view of the database at the provided time. Otherwise, there are no - // guarantees about the consistency of the exported documents. + // database to be exported. The timestamp must be in the past, rounded + // to the minute and not older than earliestVersionTime. If specified, + // then the exported documents will represent a consistent view of the + // database at the provided time. Otherwise, there are no guarantees + // about the consistency of the exported documents. SnapshotTime string `json:"snapshotTime,omitempty"` // ForceSendFields is a list of field names (e.g. "CollectionIds") to diff --git a/gkehub/v1/gkehub-api.json b/gkehub/v1/gkehub-api.json index de097f27e04..e5d78ee13c6 100644 --- a/gkehub/v1/gkehub-api.json +++ b/gkehub/v1/gkehub-api.json @@ -1834,7 +1834,7 @@ } } }, - "revision": "20231030", + "revision": "20231103", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceFeatureSpec": { @@ -2079,13 +2079,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" }, @@ -2095,13 +2097,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" }, @@ -2111,13 +2115,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" }, @@ -2127,13 +2133,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" }, @@ -2143,13 +2151,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" }, @@ -2159,13 +2169,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" }, @@ -2175,13 +2187,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" } @@ -2293,13 +2307,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" }, @@ -2309,13 +2325,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" }, @@ -2325,13 +2343,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" } @@ -2426,13 +2446,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" }, @@ -2442,13 +2464,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" } @@ -2606,13 +2630,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" }, @@ -2856,6 +2882,17 @@ }, "type": "object" }, + "DefaultClusterConfig": { + "description": "DefaultClusterConfig describes the default cluster configurations to be applied to all clusters born-in-fleet.", + "id": "DefaultClusterConfig", + "properties": { + "securityPostureConfig": { + "$ref": "SecurityPostureConfig", + "description": "Enable/Disable Security Posture features for the cluster." + } + }, + "type": "object" + }, "EdgeCluster": { "description": "EdgeCluster contains information specific to Google Edge Clusters.", "id": "EdgeCluster", @@ -3050,6 +3087,10 @@ "readOnly": true, "type": "string" }, + "defaultClusterConfig": { + "$ref": "DefaultClusterConfig", + "description": "Optional. The default cluster configurations to apply across the fleet." + }, "deleteTime": { "description": "Output only. When the Fleet was deleted.", "format": "google-datetime", @@ -4966,6 +5007,43 @@ }, "type": "object" }, + "SecurityPostureConfig": { + "description": "SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API.", + "id": "SecurityPostureConfig", + "properties": { + "mode": { + "description": "Sets which mode to use for Security Posture features.", + "enum": [ + "MODE_UNSPECIFIED", + "DISABLED", + "BASIC" + ], + "enumDescriptions": [ + "Default value not specified.", + "Disables Security Posture features on the cluster.", + "Applies Security Posture features on the cluster." + ], + "type": "string" + }, + "vulnerabilityMode": { + "description": "Sets which mode to use for vulnerability scanning.", + "enum": [ + "VULNERABILITY_MODE_UNSPECIFIED", + "VULNERABILITY_DISABLED", + "VULNERABILITY_BASIC", + "VULNERABILITY_ENTERPRISE" + ], + "enumDescriptions": [ + "Default value not specified.", + "Disables vulnerability scanning on the cluster.", + "Applies basic vulnerability scanning on the cluster.", + "Applies the Security Posture's vulnerability on cluster Enterprise level features." + ], + "type": "string" + } + }, + "type": "object" + }, "ServiceMeshControlPlaneManagement": { "description": "Status of control plane management.", "id": "ServiceMeshControlPlaneManagement", diff --git a/gkehub/v1/gkehub-gen.go b/gkehub/v1/gkehub-gen.go index 9b6ddeb46b7..2b5f8c86750 100644 --- a/gkehub/v1/gkehub-gen.go +++ b/gkehub/v1/gkehub-gen.go @@ -802,6 +802,7 @@ type ConfigManagementConfigSyncDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating AdmissionWebhook string `json:"admissionWebhook,omitempty"` // GitSync: Deployment state of the git-sync pod @@ -812,6 +813,7 @@ type ConfigManagementConfigSyncDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating GitSync string `json:"gitSync,omitempty"` // Importer: Deployment state of the importer pod @@ -822,6 +824,7 @@ type ConfigManagementConfigSyncDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating Importer string `json:"importer,omitempty"` // Monitor: Deployment state of the monitor pod @@ -832,6 +835,7 @@ type ConfigManagementConfigSyncDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating Monitor string `json:"monitor,omitempty"` // ReconcilerManager: Deployment state of reconciler-manager pod @@ -842,6 +846,7 @@ type ConfigManagementConfigSyncDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating ReconcilerManager string `json:"reconcilerManager,omitempty"` // RootReconciler: Deployment state of root-reconciler @@ -852,6 +857,7 @@ type ConfigManagementConfigSyncDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating RootReconciler string `json:"rootReconciler,omitempty"` // Syncer: Deployment state of the syncer pod @@ -862,6 +868,7 @@ type ConfigManagementConfigSyncDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating Syncer string `json:"syncer,omitempty"` // ForceSendFields is a list of field names (e.g. "AdmissionWebhook") to @@ -1056,6 +1063,7 @@ type ConfigManagementGatekeeperDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating GatekeeperAudit string `json:"gatekeeperAudit,omitempty"` // GatekeeperControllerManagerState: Status of @@ -1067,6 +1075,7 @@ type ConfigManagementGatekeeperDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating GatekeeperControllerManagerState string `json:"gatekeeperControllerManagerState,omitempty"` // GatekeeperMutation: Status of the pod serving the mutation webhook. @@ -1077,6 +1086,7 @@ type ConfigManagementGatekeeperDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating GatekeeperMutation string `json:"gatekeeperMutation,omitempty"` // ForceSendFields is a list of field names (e.g. "GatekeeperAudit") to @@ -1249,6 +1259,7 @@ type ConfigManagementHierarchyControllerDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating Extension string `json:"extension,omitempty"` // Hnc: The deployment state for open source HNC (e.g. v0.7.0-hc.0) @@ -1259,6 +1270,7 @@ type ConfigManagementHierarchyControllerDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating Hnc string `json:"hnc,omitempty"` // ForceSendFields is a list of field names (e.g. "Extension") to @@ -1543,6 +1555,7 @@ type ConfigManagementOperatorState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating DeploymentState string `json:"deploymentState,omitempty"` // Errors: Install errors. @@ -1916,6 +1929,38 @@ func (s *ConnectAgentResource) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// DefaultClusterConfig: DefaultClusterConfig describes the default +// cluster configurations to be applied to all clusters born-in-fleet. +type DefaultClusterConfig struct { + // SecurityPostureConfig: Enable/Disable Security Posture features for + // the cluster. + SecurityPostureConfig *SecurityPostureConfig `json:"securityPostureConfig,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "SecurityPostureConfig") 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. "SecurityPostureConfig") 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 *DefaultClusterConfig) MarshalJSON() ([]byte, error) { + type NoMethod DefaultClusterConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // EdgeCluster: EdgeCluster contains information specific to Google Edge // Clusters. type EdgeCluster struct { @@ -2222,6 +2267,10 @@ type Fleet struct { // CreateTime: Output only. When the Fleet was created. CreateTime string `json:"createTime,omitempty"` + // DefaultClusterConfig: Optional. The default cluster configurations to + // apply across the fleet. + DefaultClusterConfig *DefaultClusterConfig `json:"defaultClusterConfig,omitempty"` + // DeleteTime: Output only. When the Fleet was deleted. DeleteTime string `json:"deleteTime,omitempty"` @@ -5364,6 +5413,52 @@ func (s *ScopeLifecycleState) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// SecurityPostureConfig: SecurityPostureConfig defines the flags needed +// to enable/disable features for the Security Posture API. +type SecurityPostureConfig struct { + // Mode: Sets which mode to use for Security Posture features. + // + // Possible values: + // "MODE_UNSPECIFIED" - Default value not specified. + // "DISABLED" - Disables Security Posture features on the cluster. + // "BASIC" - Applies Security Posture features on the cluster. + Mode string `json:"mode,omitempty"` + + // VulnerabilityMode: Sets which mode to use for vulnerability scanning. + // + // Possible values: + // "VULNERABILITY_MODE_UNSPECIFIED" - Default value not specified. + // "VULNERABILITY_DISABLED" - Disables vulnerability scanning on the + // cluster. + // "VULNERABILITY_BASIC" - Applies basic vulnerability scanning on the + // cluster. + // "VULNERABILITY_ENTERPRISE" - Applies the Security Posture's + // vulnerability on cluster Enterprise level features. + VulnerabilityMode string `json:"vulnerabilityMode,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Mode") 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. "Mode") 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 *SecurityPostureConfig) MarshalJSON() ([]byte, error) { + type NoMethod SecurityPostureConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // ServiceMeshControlPlaneManagement: Status of control plane // management. type ServiceMeshControlPlaneManagement struct { diff --git a/gkehub/v1alpha/gkehub-api.json b/gkehub/v1alpha/gkehub-api.json index 4d03ef3a280..f06981d7e68 100644 --- a/gkehub/v1alpha/gkehub-api.json +++ b/gkehub/v1alpha/gkehub-api.json @@ -2414,7 +2414,7 @@ } } }, - "revision": "20231030", + "revision": "20231103", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AnthosObservabilityFeatureSpec": { @@ -2952,6 +2952,10 @@ "$ref": "MultiClusterIngressFeatureSpec", "description": "Multicluster Ingress-specific spec." }, + "namespaceactuation": { + "$ref": "NamespaceActuationFeatureSpec", + "description": "Namespace Actuation feature spec" + }, "workloadcertificate": { "$ref": "FeatureSpec", "description": "Workload Certificate spec." @@ -2975,6 +2979,10 @@ "$ref": "FleetObservabilityFeatureState", "description": "FleetObservability feature state." }, + "namespaceactuation": { + "$ref": "NamespaceActuationFeatureState", + "description": "Namespace Actuation feature state." + }, "servicemesh": { "$ref": "ServiceMeshFeatureState", "description": "Service Mesh-specific state." @@ -3035,13 +3043,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" } @@ -3109,13 +3119,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" }, @@ -3125,13 +3137,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" }, @@ -3141,13 +3155,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" }, @@ -3157,13 +3173,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" }, @@ -3173,13 +3191,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" }, @@ -3189,13 +3209,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" }, @@ -3205,13 +3227,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" } @@ -3323,13 +3347,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" }, @@ -3339,13 +3365,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" }, @@ -3355,13 +3383,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" } @@ -3456,13 +3486,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" }, @@ -3472,13 +3504,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" } @@ -3645,13 +3679,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" }, @@ -3895,6 +3931,17 @@ }, "type": "object" }, + "DefaultClusterConfig": { + "description": "DefaultClusterConfig describes the default cluster configurations to be applied to all clusters born-in-fleet.", + "id": "DefaultClusterConfig", + "properties": { + "securityPostureConfig": { + "$ref": "SecurityPostureConfig", + "description": "Enable/Disable Security Posture features for the cluster." + } + }, + "type": "object" + }, "EdgeCluster": { "description": "EdgeCluster contains information specific to Google Edge Clusters.", "id": "EdgeCluster", @@ -4118,6 +4165,10 @@ "readOnly": true, "type": "string" }, + "defaultClusterConfig": { + "$ref": "DefaultClusterConfig", + "description": "Optional. The default cluster configurations to apply across the fleet." + }, "deleteTime": { "description": "Output only. When the Fleet was deleted.", "format": "google-datetime", @@ -5148,6 +5199,10 @@ "$ref": "ServiceMeshMembershipSpec", "description": "Anthos Service Mesh-specific spec" }, + "namespaceactuation": { + "$ref": "NamespaceActuationMembershipSpec", + "description": "FNS Actuation membership spec" + }, "origin": { "$ref": "Origin", "description": "Whether this per-Membership spec was inherited from a fleet-level default. This field can be updated by users by either overriding a Membership config (updated to USER implicitly) or setting to FLEET explicitly." @@ -5191,6 +5246,10 @@ "$ref": "MeteringMembershipState", "description": "Metering-specific state." }, + "namespaceactuation": { + "$ref": "NamespaceActuationMembershipState", + "description": "FNS Actuation membership state" + }, "policycontroller": { "$ref": "PolicyControllerMembershipState", "description": "Policycontroller-specific state." @@ -5398,6 +5457,45 @@ }, "type": "object" }, + "NamespaceActuationFeatureSpec": { + "description": "An empty spec for actuation feature. This is required since Feature proto requires a spec.", + "id": "NamespaceActuationFeatureSpec", + "properties": { + "actuationMode": { + "description": "actuation_mode controls the behavior of the controller", + "enum": [ + "ACTUATION_MODE_UNSPECIFIED", + "ACTUATION_MODE_CREATE_AND_DELETE_IF_CREATED", + "ACTUATION_MODE_ADD_AND_REMOVE_FLEET_LABELS" + ], + "enumDescriptions": [ + "ACTUATION_MODE_UNSPECIFIED is similar to CREATE_AND_DELETE_IF_CREATED in the default controller behavior.", + "ACTUATION_MODE_CREATE_AND_DELETE_IF_CREATED has the controller create cluster namespaces for each fleet namespace and it deletes only the ones it created, which are identified by a label.", + "ACTUATION_MODE_ADD_AND_REMOVE_FLEET_LABELS has the controller only apply labels to cluster namespaces to signal fleet namespace enablement. It doesn't create or delete cluster namespaces." + ], + "type": "string" + } + }, + "type": "object" + }, + "NamespaceActuationFeatureState": { + "description": "NamespaceActuation Feature State.", + "id": "NamespaceActuationFeatureState", + "properties": {}, + "type": "object" + }, + "NamespaceActuationMembershipSpec": { + "description": "**Namespace Actuation**: The membership-specific input for NamespaceActuation feature.", + "id": "NamespaceActuationMembershipSpec", + "properties": {}, + "type": "object" + }, + "NamespaceActuationMembershipState": { + "description": "**Namespace Actuation**: An empty state left as an example membership-specific Feature state.", + "id": "NamespaceActuationMembershipState", + "properties": {}, + "type": "object" + }, "NamespaceLifecycleState": { "description": "NamespaceLifecycleState describes the state of a Namespace resource.", "id": "NamespaceLifecycleState", @@ -6206,6 +6304,43 @@ }, "type": "object" }, + "SecurityPostureConfig": { + "description": "SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API.", + "id": "SecurityPostureConfig", + "properties": { + "mode": { + "description": "Sets which mode to use for Security Posture features.", + "enum": [ + "MODE_UNSPECIFIED", + "DISABLED", + "BASIC" + ], + "enumDescriptions": [ + "Default value not specified.", + "Disables Security Posture features on the cluster.", + "Applies Security Posture features on the cluster." + ], + "type": "string" + }, + "vulnerabilityMode": { + "description": "Sets which mode to use for vulnerability scanning.", + "enum": [ + "VULNERABILITY_MODE_UNSPECIFIED", + "VULNERABILITY_DISABLED", + "VULNERABILITY_BASIC", + "VULNERABILITY_ENTERPRISE" + ], + "enumDescriptions": [ + "Default value not specified.", + "Disables vulnerability scanning on the cluster.", + "Applies basic vulnerability scanning on the cluster.", + "Applies the Security Posture's vulnerability on cluster Enterprise level features." + ], + "type": "string" + } + }, + "type": "object" + }, "ServiceMeshAnalysisMessage": { "description": "AnalysisMessage is a single message produced by an analyzer, and it used to communicate to the end user about the state of their Service Mesh configuration.", "id": "ServiceMeshAnalysisMessage", diff --git a/gkehub/v1alpha/gkehub-gen.go b/gkehub/v1alpha/gkehub-gen.go index cc039eeef25..6956b4b2cc3 100644 --- a/gkehub/v1alpha/gkehub-gen.go +++ b/gkehub/v1alpha/gkehub-gen.go @@ -1349,6 +1349,9 @@ type CommonFeatureSpec struct { // Multiclusteringress: Multicluster Ingress-specific spec. Multiclusteringress *MultiClusterIngressFeatureSpec `json:"multiclusteringress,omitempty"` + // Namespaceactuation: Namespace Actuation feature spec + Namespaceactuation *NamespaceActuationFeatureSpec `json:"namespaceactuation,omitempty"` + // Workloadcertificate: Workload Certificate spec. Workloadcertificate *FeatureSpec `json:"workloadcertificate,omitempty"` @@ -1388,6 +1391,9 @@ type CommonFeatureState struct { // Fleetobservability: FleetObservability feature state. Fleetobservability *FleetObservabilityFeatureState `json:"fleetobservability,omitempty"` + // Namespaceactuation: Namespace Actuation feature state. + Namespaceactuation *NamespaceActuationFeatureState `json:"namespaceactuation,omitempty"` + // Servicemesh: Service Mesh-specific state. Servicemesh *ServiceMeshFeatureState `json:"servicemesh,omitempty"` @@ -1499,6 +1505,7 @@ type ConfigManagementBinauthzState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating Webhook string `json:"webhook,omitempty"` // ForceSendFields is a list of field names (e.g. "Version") to @@ -1633,6 +1640,7 @@ type ConfigManagementConfigSyncDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating AdmissionWebhook string `json:"admissionWebhook,omitempty"` // GitSync: Deployment state of the git-sync pod @@ -1643,6 +1651,7 @@ type ConfigManagementConfigSyncDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating GitSync string `json:"gitSync,omitempty"` // Importer: Deployment state of the importer pod @@ -1653,6 +1662,7 @@ type ConfigManagementConfigSyncDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating Importer string `json:"importer,omitempty"` // Monitor: Deployment state of the monitor pod @@ -1663,6 +1673,7 @@ type ConfigManagementConfigSyncDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating Monitor string `json:"monitor,omitempty"` // ReconcilerManager: Deployment state of reconciler-manager pod @@ -1673,6 +1684,7 @@ type ConfigManagementConfigSyncDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating ReconcilerManager string `json:"reconcilerManager,omitempty"` // RootReconciler: Deployment state of root-reconciler @@ -1683,6 +1695,7 @@ type ConfigManagementConfigSyncDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating RootReconciler string `json:"rootReconciler,omitempty"` // Syncer: Deployment state of the syncer pod @@ -1693,6 +1706,7 @@ type ConfigManagementConfigSyncDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating Syncer string `json:"syncer,omitempty"` // ForceSendFields is a list of field names (e.g. "AdmissionWebhook") to @@ -1887,6 +1901,7 @@ type ConfigManagementGatekeeperDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating GatekeeperAudit string `json:"gatekeeperAudit,omitempty"` // GatekeeperControllerManagerState: Status of @@ -1898,6 +1913,7 @@ type ConfigManagementGatekeeperDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating GatekeeperControllerManagerState string `json:"gatekeeperControllerManagerState,omitempty"` // GatekeeperMutation: Status of the pod serving the mutation webhook. @@ -1908,6 +1924,7 @@ type ConfigManagementGatekeeperDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating GatekeeperMutation string `json:"gatekeeperMutation,omitempty"` // ForceSendFields is a list of field names (e.g. "GatekeeperAudit") to @@ -2080,6 +2097,7 @@ type ConfigManagementHierarchyControllerDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating Extension string `json:"extension,omitempty"` // Hnc: The deployment state for open source HNC (e.g. v0.7.0-hc.0) @@ -2090,6 +2108,7 @@ type ConfigManagementHierarchyControllerDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating Hnc string `json:"hnc,omitempty"` // ForceSendFields is a list of field names (e.g. "Extension") to @@ -2381,6 +2400,7 @@ type ConfigManagementOperatorState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating DeploymentState string `json:"deploymentState,omitempty"` // Errors: Install errors. @@ -2754,6 +2774,38 @@ func (s *ConnectAgentResource) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// DefaultClusterConfig: DefaultClusterConfig describes the default +// cluster configurations to be applied to all clusters born-in-fleet. +type DefaultClusterConfig struct { + // SecurityPostureConfig: Enable/Disable Security Posture features for + // the cluster. + SecurityPostureConfig *SecurityPostureConfig `json:"securityPostureConfig,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "SecurityPostureConfig") 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. "SecurityPostureConfig") 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 *DefaultClusterConfig) MarshalJSON() ([]byte, error) { + type NoMethod DefaultClusterConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // EdgeCluster: EdgeCluster contains information specific to Google Edge // Clusters. type EdgeCluster struct { @@ -3105,6 +3157,10 @@ type Fleet struct { // CreateTime: Output only. When the Fleet was created. CreateTime string `json:"createTime,omitempty"` + // DefaultClusterConfig: Optional. The default cluster configurations to + // apply across the fleet. + DefaultClusterConfig *DefaultClusterConfig `json:"defaultClusterConfig,omitempty"` + // DeleteTime: Output only. When the Fleet was deleted. DeleteTime string `json:"deleteTime,omitempty"` @@ -4829,6 +4885,9 @@ type MembershipFeatureSpec struct { // Mesh: Anthos Service Mesh-specific spec Mesh *ServiceMeshMembershipSpec `json:"mesh,omitempty"` + // Namespaceactuation: FNS Actuation membership spec + Namespaceactuation *NamespaceActuationMembershipSpec `json:"namespaceactuation,omitempty"` + // Origin: Whether this per-Membership spec was inherited from a // fleet-level default. This field can be updated by users by either // overriding a Membership config (updated to USER implicitly) or @@ -4886,6 +4945,9 @@ type MembershipFeatureState struct { // Metering: Metering-specific state. Metering *MeteringMembershipState `json:"metering,omitempty"` + // Namespaceactuation: FNS Actuation membership state + Namespaceactuation *NamespaceActuationMembershipState `json:"namespaceactuation,omitempty"` + // Policycontroller: Policycontroller-specific state. Policycontroller *PolicyControllerMembershipState `json:"policycontroller,omitempty"` @@ -5241,6 +5303,62 @@ func (s *Namespace) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// NamespaceActuationFeatureSpec: An empty spec for actuation feature. +// This is required since Feature proto requires a spec. +type NamespaceActuationFeatureSpec struct { + // ActuationMode: actuation_mode controls the behavior of the controller + // + // Possible values: + // "ACTUATION_MODE_UNSPECIFIED" - ACTUATION_MODE_UNSPECIFIED is + // similar to CREATE_AND_DELETE_IF_CREATED in the default controller + // behavior. + // "ACTUATION_MODE_CREATE_AND_DELETE_IF_CREATED" - + // ACTUATION_MODE_CREATE_AND_DELETE_IF_CREATED has the controller create + // cluster namespaces for each fleet namespace and it deletes only the + // ones it created, which are identified by a label. + // "ACTUATION_MODE_ADD_AND_REMOVE_FLEET_LABELS" - + // ACTUATION_MODE_ADD_AND_REMOVE_FLEET_LABELS has the controller only + // apply labels to cluster namespaces to signal fleet namespace + // enablement. It doesn't create or delete cluster namespaces. + ActuationMode string `json:"actuationMode,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ActuationMode") 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. "ActuationMode") 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 *NamespaceActuationFeatureSpec) MarshalJSON() ([]byte, error) { + type NoMethod NamespaceActuationFeatureSpec + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// NamespaceActuationFeatureState: NamespaceActuation Feature State. +type NamespaceActuationFeatureState struct { +} + +// NamespaceActuationMembershipSpec: **Namespace Actuation**: The +// membership-specific input for NamespaceActuation feature. +type NamespaceActuationMembershipSpec struct { +} + +// NamespaceActuationMembershipState: **Namespace Actuation**: An empty +// state left as an example membership-specific Feature state. +type NamespaceActuationMembershipState struct { +} + // NamespaceLifecycleState: NamespaceLifecycleState describes the state // of a Namespace resource. type NamespaceLifecycleState struct { @@ -6577,6 +6695,52 @@ func (s *ScopeLifecycleState) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// SecurityPostureConfig: SecurityPostureConfig defines the flags needed +// to enable/disable features for the Security Posture API. +type SecurityPostureConfig struct { + // Mode: Sets which mode to use for Security Posture features. + // + // Possible values: + // "MODE_UNSPECIFIED" - Default value not specified. + // "DISABLED" - Disables Security Posture features on the cluster. + // "BASIC" - Applies Security Posture features on the cluster. + Mode string `json:"mode,omitempty"` + + // VulnerabilityMode: Sets which mode to use for vulnerability scanning. + // + // Possible values: + // "VULNERABILITY_MODE_UNSPECIFIED" - Default value not specified. + // "VULNERABILITY_DISABLED" - Disables vulnerability scanning on the + // cluster. + // "VULNERABILITY_BASIC" - Applies basic vulnerability scanning on the + // cluster. + // "VULNERABILITY_ENTERPRISE" - Applies the Security Posture's + // vulnerability on cluster Enterprise level features. + VulnerabilityMode string `json:"vulnerabilityMode,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Mode") 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. "Mode") 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 *SecurityPostureConfig) MarshalJSON() ([]byte, error) { + type NoMethod SecurityPostureConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // ServiceMeshAnalysisMessage: AnalysisMessage is a single message // produced by an analyzer, and it used to communicate to the end user // about the state of their Service Mesh configuration. diff --git a/gkehub/v1beta/gkehub-api.json b/gkehub/v1beta/gkehub-api.json index b19ce97a415..a8d28d338e0 100644 --- a/gkehub/v1beta/gkehub-api.json +++ b/gkehub/v1beta/gkehub-api.json @@ -2340,7 +2340,7 @@ } } }, - "revision": "20231030", + "revision": "20231103", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AnthosObservabilityFeatureSpec": { @@ -2594,13 +2594,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" } @@ -2668,13 +2670,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" }, @@ -2684,13 +2688,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" }, @@ -2700,13 +2706,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" }, @@ -2716,13 +2724,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" }, @@ -2732,13 +2742,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" }, @@ -2748,13 +2760,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" }, @@ -2764,13 +2778,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" } @@ -2882,13 +2898,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" }, @@ -2898,13 +2916,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" }, @@ -2914,13 +2934,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" } @@ -3015,13 +3037,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" }, @@ -3031,13 +3055,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" } @@ -3204,13 +3230,15 @@ "DEPLOYMENT_STATE_UNSPECIFIED", "NOT_INSTALLED", "INSTALLED", - "ERROR" + "ERROR", + "PENDING" ], "enumDescriptions": [ "Deployment's state cannot be determined", "Deployment is not installed", "Deployment is installed", - "Deployment was attempted to be installed, but has errors" + "Deployment was attempted to be installed, but has errors", + "Deployment is installing or terminating" ], "type": "string" }, @@ -3454,6 +3482,17 @@ }, "type": "object" }, + "DefaultClusterConfig": { + "description": "DefaultClusterConfig describes the default cluster configurations to be applied to all clusters born-in-fleet.", + "id": "DefaultClusterConfig", + "properties": { + "securityPostureConfig": { + "$ref": "SecurityPostureConfig", + "description": "Enable/Disable Security Posture features for the cluster." + } + }, + "type": "object" + }, "EdgeCluster": { "description": "EdgeCluster contains information specific to Google Edge Clusters.", "id": "EdgeCluster", @@ -3648,6 +3687,10 @@ "readOnly": true, "type": "string" }, + "defaultClusterConfig": { + "$ref": "DefaultClusterConfig", + "description": "Optional. The default cluster configurations to apply across the fleet." + }, "deleteTime": { "description": "Output only. When the Fleet was deleted.", "format": "google-datetime", @@ -5698,6 +5741,43 @@ }, "type": "object" }, + "SecurityPostureConfig": { + "description": "SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API.", + "id": "SecurityPostureConfig", + "properties": { + "mode": { + "description": "Sets which mode to use for Security Posture features.", + "enum": [ + "MODE_UNSPECIFIED", + "DISABLED", + "BASIC" + ], + "enumDescriptions": [ + "Default value not specified.", + "Disables Security Posture features on the cluster.", + "Applies Security Posture features on the cluster." + ], + "type": "string" + }, + "vulnerabilityMode": { + "description": "Sets which mode to use for vulnerability scanning.", + "enum": [ + "VULNERABILITY_MODE_UNSPECIFIED", + "VULNERABILITY_DISABLED", + "VULNERABILITY_BASIC", + "VULNERABILITY_ENTERPRISE" + ], + "enumDescriptions": [ + "Default value not specified.", + "Disables vulnerability scanning on the cluster.", + "Applies basic vulnerability scanning on the cluster.", + "Applies the Security Posture's vulnerability on cluster Enterprise level features." + ], + "type": "string" + } + }, + "type": "object" + }, "ServiceMeshControlPlaneManagement": { "description": "Status of control plane management.", "id": "ServiceMeshControlPlaneManagement", diff --git a/gkehub/v1beta/gkehub-gen.go b/gkehub/v1beta/gkehub-gen.go index 25d03bd1ca9..79e435917d3 100644 --- a/gkehub/v1beta/gkehub-gen.go +++ b/gkehub/v1beta/gkehub-gen.go @@ -873,6 +873,7 @@ type ConfigManagementBinauthzState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating Webhook string `json:"webhook,omitempty"` // ForceSendFields is a list of field names (e.g. "Version") to @@ -1007,6 +1008,7 @@ type ConfigManagementConfigSyncDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating AdmissionWebhook string `json:"admissionWebhook,omitempty"` // GitSync: Deployment state of the git-sync pod @@ -1017,6 +1019,7 @@ type ConfigManagementConfigSyncDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating GitSync string `json:"gitSync,omitempty"` // Importer: Deployment state of the importer pod @@ -1027,6 +1030,7 @@ type ConfigManagementConfigSyncDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating Importer string `json:"importer,omitempty"` // Monitor: Deployment state of the monitor pod @@ -1037,6 +1041,7 @@ type ConfigManagementConfigSyncDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating Monitor string `json:"monitor,omitempty"` // ReconcilerManager: Deployment state of reconciler-manager pod @@ -1047,6 +1052,7 @@ type ConfigManagementConfigSyncDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating ReconcilerManager string `json:"reconcilerManager,omitempty"` // RootReconciler: Deployment state of root-reconciler @@ -1057,6 +1063,7 @@ type ConfigManagementConfigSyncDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating RootReconciler string `json:"rootReconciler,omitempty"` // Syncer: Deployment state of the syncer pod @@ -1067,6 +1074,7 @@ type ConfigManagementConfigSyncDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating Syncer string `json:"syncer,omitempty"` // ForceSendFields is a list of field names (e.g. "AdmissionWebhook") to @@ -1261,6 +1269,7 @@ type ConfigManagementGatekeeperDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating GatekeeperAudit string `json:"gatekeeperAudit,omitempty"` // GatekeeperControllerManagerState: Status of @@ -1272,6 +1281,7 @@ type ConfigManagementGatekeeperDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating GatekeeperControllerManagerState string `json:"gatekeeperControllerManagerState,omitempty"` // GatekeeperMutation: Status of the pod serving the mutation webhook. @@ -1282,6 +1292,7 @@ type ConfigManagementGatekeeperDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating GatekeeperMutation string `json:"gatekeeperMutation,omitempty"` // ForceSendFields is a list of field names (e.g. "GatekeeperAudit") to @@ -1454,6 +1465,7 @@ type ConfigManagementHierarchyControllerDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating Extension string `json:"extension,omitempty"` // Hnc: The deployment state for open source HNC (e.g. v0.7.0-hc.0) @@ -1464,6 +1476,7 @@ type ConfigManagementHierarchyControllerDeploymentState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating Hnc string `json:"hnc,omitempty"` // ForceSendFields is a list of field names (e.g. "Extension") to @@ -1755,6 +1768,7 @@ type ConfigManagementOperatorState struct { // "NOT_INSTALLED" - Deployment is not installed // "INSTALLED" - Deployment is installed // "ERROR" - Deployment was attempted to be installed, but has errors + // "PENDING" - Deployment is installing or terminating DeploymentState string `json:"deploymentState,omitempty"` // Errors: Install errors. @@ -2128,6 +2142,38 @@ func (s *ConnectAgentResource) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// DefaultClusterConfig: DefaultClusterConfig describes the default +// cluster configurations to be applied to all clusters born-in-fleet. +type DefaultClusterConfig struct { + // SecurityPostureConfig: Enable/Disable Security Posture features for + // the cluster. + SecurityPostureConfig *SecurityPostureConfig `json:"securityPostureConfig,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "SecurityPostureConfig") 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. "SecurityPostureConfig") 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 *DefaultClusterConfig) MarshalJSON() ([]byte, error) { + type NoMethod DefaultClusterConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // EdgeCluster: EdgeCluster contains information specific to Google Edge // Clusters. type EdgeCluster struct { @@ -2434,6 +2480,10 @@ type Fleet struct { // CreateTime: Output only. When the Fleet was created. CreateTime string `json:"createTime,omitempty"` + // DefaultClusterConfig: Optional. The default cluster configurations to + // apply across the fleet. + DefaultClusterConfig *DefaultClusterConfig `json:"defaultClusterConfig,omitempty"` + // DeleteTime: Output only. When the Fleet was deleted. DeleteTime string `json:"deleteTime,omitempty"` @@ -5826,6 +5876,52 @@ func (s *ScopeLifecycleState) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// SecurityPostureConfig: SecurityPostureConfig defines the flags needed +// to enable/disable features for the Security Posture API. +type SecurityPostureConfig struct { + // Mode: Sets which mode to use for Security Posture features. + // + // Possible values: + // "MODE_UNSPECIFIED" - Default value not specified. + // "DISABLED" - Disables Security Posture features on the cluster. + // "BASIC" - Applies Security Posture features on the cluster. + Mode string `json:"mode,omitempty"` + + // VulnerabilityMode: Sets which mode to use for vulnerability scanning. + // + // Possible values: + // "VULNERABILITY_MODE_UNSPECIFIED" - Default value not specified. + // "VULNERABILITY_DISABLED" - Disables vulnerability scanning on the + // cluster. + // "VULNERABILITY_BASIC" - Applies basic vulnerability scanning on the + // cluster. + // "VULNERABILITY_ENTERPRISE" - Applies the Security Posture's + // vulnerability on cluster Enterprise level features. + VulnerabilityMode string `json:"vulnerabilityMode,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Mode") 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. "Mode") 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 *SecurityPostureConfig) MarshalJSON() ([]byte, error) { + type NoMethod SecurityPostureConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // ServiceMeshControlPlaneManagement: Status of control plane // management. type ServiceMeshControlPlaneManagement struct { diff --git a/gkeonprem/v1/gkeonprem-api.json b/gkeonprem/v1/gkeonprem-api.json index e81cbf38cc1..78280284546 100644 --- a/gkeonprem/v1/gkeonprem-api.json +++ b/gkeonprem/v1/gkeonprem-api.json @@ -2996,7 +2996,7 @@ } } }, - "revision": "20231011", + "revision": "20231101", "rootUrl": "https://gkeonprem.googleapis.com/", "schemas": { "Authorization": { @@ -3004,7 +3004,7 @@ "id": "Authorization", "properties": { "adminUsers": { - "description": "Required. For VMware and bare metal user clusters, users will be granted the cluster-admin role on the cluster, which provides full administrative access to the cluster. For bare metal admin clusters, users will be granted the cluster-view role, which limits users to read-only access.", + "description": "For VMware and bare metal user clusters, users will be granted the cluster-admin role on the cluster, which provides full administrative access to the cluster. For bare metal admin clusters, users will be granted the cluster-view role, which limits users to read-only access.", "items": { "$ref": "ClusterUser" }, @@ -5419,6 +5419,20 @@ }, "type": "object" }, + "VmwareAdminAuthorizationConfig": { + "description": "VmwareAdminAuthorizationConfig represents configuration for admin cluster authorization.", + "id": "VmwareAdminAuthorizationConfig", + "properties": { + "viewerUsers": { + "description": "For VMware admin clusters, users will be granted the cluster-viewer role on the cluster.", + "items": { + "$ref": "ClusterUser" + }, + "type": "array" + } + }, + "type": "object" + }, "VmwareAdminCluster": { "description": "Resource that represents a VMware admin cluster.", "id": "VmwareAdminCluster", @@ -5438,6 +5452,10 @@ "$ref": "VmwareAAGConfig", "description": "The VMware admin cluster anti affinity group configuration." }, + "authorization": { + "$ref": "VmwareAdminAuthorizationConfig", + "description": "The VMware admin cluster authorization configuration." + }, "autoRepairConfig": { "$ref": "VmwareAutoRepairConfig", "description": "The VMware admin cluster auto repair configuration." diff --git a/gkeonprem/v1/gkeonprem-gen.go b/gkeonprem/v1/gkeonprem-gen.go index 995308e8fe0..865b3a93cb8 100644 --- a/gkeonprem/v1/gkeonprem-gen.go +++ b/gkeonprem/v1/gkeonprem-gen.go @@ -331,11 +331,11 @@ type ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsService struct { // Authorization: Authorization defines the On-Prem cluster // authorization configuration to bootstrap onto the admin cluster. type Authorization struct { - // AdminUsers: Required. For VMware and bare metal user clusters, users - // will be granted the cluster-admin role on the cluster, which provides - // full administrative access to the cluster. For bare metal admin - // clusters, users will be granted the cluster-view role, which limits - // users to read-only access. + // AdminUsers: For VMware and bare metal user clusters, users will be + // granted the cluster-admin role on the cluster, which provides full + // administrative access to the cluster. For bare metal admin clusters, + // users will be granted the cluster-view role, which limits users to + // read-only access. AdminUsers []*ClusterUser `json:"adminUsers,omitempty"` // ForceSendFields is a list of field names (e.g. "AdminUsers") to @@ -4753,6 +4753,36 @@ func (s *VmwareAdminAddonNodeConfig) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// VmwareAdminAuthorizationConfig: VmwareAdminAuthorizationConfig +// represents configuration for admin cluster authorization. +type VmwareAdminAuthorizationConfig struct { + // ViewerUsers: For VMware admin clusters, users will be granted the + // cluster-viewer role on the cluster. + ViewerUsers []*ClusterUser `json:"viewerUsers,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ViewerUsers") 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. "ViewerUsers") 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 *VmwareAdminAuthorizationConfig) MarshalJSON() ([]byte, error) { + type NoMethod VmwareAdminAuthorizationConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // VmwareAdminCluster: Resource that represents a VMware admin cluster. type VmwareAdminCluster struct { // AddonNode: The VMware admin cluster addon node configuration. @@ -4771,6 +4801,9 @@ type VmwareAdminCluster struct { // configuration. AntiAffinityGroups *VmwareAAGConfig `json:"antiAffinityGroups,omitempty"` + // Authorization: The VMware admin cluster authorization configuration. + Authorization *VmwareAdminAuthorizationConfig `json:"authorization,omitempty"` + // AutoRepairConfig: The VMware admin cluster auto repair configuration. AutoRepairConfig *VmwareAutoRepairConfig `json:"autoRepairConfig,omitempty"` diff --git a/redis/v1/redis-api.json b/redis/v1/redis-api.json index ac8259785b3..2ec22149626 100644 --- a/redis/v1/redis-api.json +++ b/redis/v1/redis-api.json @@ -821,7 +821,7 @@ } } }, - "revision": "20231017", + "revision": "20231102", "rootUrl": "https://redis.googleapis.com/", "schemas": { "CertChain": { @@ -1289,6 +1289,11 @@ "description": "Optional. For DIRECT_PEERING mode, the CIDR range of internal addresses that are reserved for this instance. Range must be unique and non-overlapping with existing subnets in an authorized network. For PRIVATE_SERVICE_ACCESS mode, the name of one allocated IP address ranges associated with this private service access connection. If not provided, the service will choose an unused /29 block, for example, 10.0.0.0/29 or 192.168.0.0/29. For READ_REPLICAS_ENABLED the default block size is /28.", "type": "string" }, + "satisfiesPzs": { + "description": "Optional. Output only. Reserved for future use. Zone Separation compliance state of the instance. Field name and documentation is obfuscated according to go/zs-resource-status.", + "readOnly": true, + "type": "boolean" + }, "secondaryIpRange": { "description": "Optional. Additional IP range for node placement. Required when enabling read replicas on an existing instance. For DIRECT_PEERING mode value must be a CIDR range of size /28, or \"auto\". For PRIVATE_SERVICE_ACCESS mode value must be the name of an allocated address range associated with the private service access connection, or \"auto\".", "type": "string" diff --git a/redis/v1/redis-gen.go b/redis/v1/redis-gen.go index 41b83c42201..f7de20e3669 100644 --- a/redis/v1/redis-gen.go +++ b/redis/v1/redis-gen.go @@ -869,6 +869,11 @@ type Instance struct { // READ_REPLICAS_ENABLED the default block size is /28. ReservedIpRange string `json:"reservedIpRange,omitempty"` + // SatisfiesPzs: Optional. Output only. Reserved for future use. Zone + // Separation compliance state of the instance. Field name and + // documentation is obfuscated according to go/zs-resource-status. + SatisfiesPzs bool `json:"satisfiesPzs,omitempty"` + // SecondaryIpRange: Optional. Additional IP range for node placement. // Required when enabling read replicas on an existing instance. For // DIRECT_PEERING mode value must be a CIDR range of size /28, or diff --git a/redis/v1beta1/redis-api.json b/redis/v1beta1/redis-api.json index 2248316af95..eade9a074f0 100644 --- a/redis/v1beta1/redis-api.json +++ b/redis/v1beta1/redis-api.json @@ -821,7 +821,7 @@ } } }, - "revision": "20231017", + "revision": "20231102", "rootUrl": "https://redis.googleapis.com/", "schemas": { "CertChain": { @@ -1296,6 +1296,11 @@ "description": "Optional. For DIRECT_PEERING mode, the CIDR range of internal addresses that are reserved for this instance. Range must be unique and non-overlapping with existing subnets in an authorized network. For PRIVATE_SERVICE_ACCESS mode, the name of one allocated IP address ranges associated with this private service access connection. If not provided, the service will choose an unused /29 block, for example, 10.0.0.0/29 or 192.168.0.0/29. For READ_REPLICAS_ENABLED the default block size is /28.", "type": "string" }, + "satisfiesPzs": { + "description": "Optional. Output only. Reserved for future use. Zone Separation compliance state of the instance. Field name and documentation is obfuscated according to go/zs-resource-status.", + "readOnly": true, + "type": "boolean" + }, "secondaryIpRange": { "description": "Optional. Additional IP range for node placement. Required when enabling read replicas on an existing instance. For DIRECT_PEERING mode value must be a CIDR range of size /28, or \"auto\". For PRIVATE_SERVICE_ACCESS mode value must be the name of an allocated address range associated with the private service access connection, or \"auto\".", "type": "string" diff --git a/redis/v1beta1/redis-gen.go b/redis/v1beta1/redis-gen.go index 9017374223a..105633c44de 100644 --- a/redis/v1beta1/redis-gen.go +++ b/redis/v1beta1/redis-gen.go @@ -874,6 +874,11 @@ type Instance struct { // READ_REPLICAS_ENABLED the default block size is /28. ReservedIpRange string `json:"reservedIpRange,omitempty"` + // SatisfiesPzs: Optional. Output only. Reserved for future use. Zone + // Separation compliance state of the instance. Field name and + // documentation is obfuscated according to go/zs-resource-status. + SatisfiesPzs bool `json:"satisfiesPzs,omitempty"` + // SecondaryIpRange: Optional. Additional IP range for node placement. // Required when enabling read replicas on an existing instance. For // DIRECT_PEERING mode value must be a CIDR range of size /28, or diff --git a/tpu/v2alpha1/tpu-api.json b/tpu/v2alpha1/tpu-api.json index 3523d0f30cf..a89ee56b73f 100644 --- a/tpu/v2alpha1/tpu-api.json +++ b/tpu/v2alpha1/tpu-api.json @@ -965,7 +965,7 @@ } } }, - "revision": "20231026", + "revision": "20231102", "rootUrl": "https://tpu.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -1533,6 +1533,10 @@ "readOnly": true, "type": "string" }, + "autocheckpointEnabled": { + "description": "Optional. Whether Autocheckpoint is enabled.", + "type": "boolean" + }, "bootDiskConfig": { "$ref": "BootDiskConfig", "description": "Optional. Boot disk configuration." diff --git a/tpu/v2alpha1/tpu-gen.go b/tpu/v2alpha1/tpu-gen.go index 823b331f7e5..33de7766ce4 100644 --- a/tpu/v2alpha1/tpu-gen.go +++ b/tpu/v2alpha1/tpu-gen.go @@ -1238,6 +1238,9 @@ type Node struct { // "V2_ALPHA1" - TPU API V2Alpha1 version. ApiVersion string `json:"apiVersion,omitempty"` + // AutocheckpointEnabled: Optional. Whether Autocheckpoint is enabled. + AutocheckpointEnabled bool `json:"autocheckpointEnabled,omitempty"` + // BootDiskConfig: Optional. Boot disk configuration. BootDiskConfig *BootDiskConfig `json:"bootDiskConfig,omitempty"`