Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(all): auto-regenerate discovery clients #2490

Merged
merged 1 commit into from Mar 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
61 changes: 60 additions & 1 deletion container/v1/container-api.json
Expand Up @@ -2540,7 +2540,7 @@
}
}
},
"revision": "20240304",
"revision": "20240313",
"rootUrl": "https://container.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down Expand Up @@ -3935,10 +3935,49 @@
"description": "Configuration of etcd encryption.",
"id": "DatabaseEncryption",
"properties": {
"currentState": {
"description": "Output only. The current state of etcd encryption.",
"enum": [
"CURRENT_STATE_UNSPECIFIED",
"CURRENT_STATE_ENCRYPTED",
"CURRENT_STATE_DECRYPTED",
"CURRENT_STATE_ENCRYPTION_PENDING",
"CURRENT_STATE_ENCRYPTION_ERROR",
"CURRENT_STATE_DECRYPTION_PENDING",
"CURRENT_STATE_DECRYPTION_ERROR"
],
"enumDescriptions": [
"Should never be set",
"Secrets in etcd are encrypted.",
"Secrets in etcd are stored in plain text (at etcd level) - this is unrelated to Compute Engine level full disk encryption.",
"Encryption (or re-encryption with a different CloudKMS key) of Secrets is in progress.",
"Encryption (or re-encryption with a different CloudKMS key) of Secrets in etcd encountered an error.",
"De-crypting Secrets to plain text in etcd is in progress.",
"De-crypting Secrets to plain text in etcd encountered an error."
],
"readOnly": true,
"type": "string"
},
"decryptionKeys": {
"description": "Output only. Keys in use by the cluster for decrypting existing objects, in addition to the key in `key_name`. Each item is a CloudKMS key resource.",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
},
"keyName": {
"description": "Name of CloudKMS key to use for the encryption of secrets in etcd. Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key",
"type": "string"
},
"lastOperationErrors": {
"description": "Output only. Records errors seen during DatabaseEncryption update operations.",
"items": {
"$ref": "OperationError"
},
"readOnly": true,
"type": "array"
},
"state": {
"description": "The desired state of etcd encryption.",
"enum": [
Expand Down Expand Up @@ -5877,6 +5916,26 @@
},
"type": "object"
},
"OperationError": {
"description": "OperationError records errors seen from CloudKMS keys encountered during updates to DatabaseEncryption configuration.",
"id": "OperationError",
"properties": {
"errorMessage": {
"description": "Description of the error seen during the operation.",
"type": "string"
},
"keyName": {
"description": "CloudKMS key resource that had the error.",
"type": "string"
},
"timestamp": {
"description": "Time when the CloudKMS error was seen.",
"format": "google-datetime",
"type": "string"
}
},
"type": "object"
},
"OperationProgress": {
"description": "Information about operation (or operation stage) progress.",
"id": "OperationProgress",
Expand Down
73 changes: 68 additions & 5 deletions container/v1/container-gen.go

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

101 changes: 98 additions & 3 deletions redis/v1beta1/redis-api.json
Expand Up @@ -821,9 +821,32 @@
}
}
},
"revision": "20240307",
"revision": "20240319",
"rootUrl": "https://redis.googleapis.com/",
"schemas": {
"AOFConfig": {
"description": "Configuration of the AOF based persistence.",
"id": "AOFConfig",
"properties": {
"appendFsync": {
"description": "Optional. fsync configuration.",
"enum": [
"APPEND_FSYNC_UNSPECIFIED",
"NO",
"EVERYSEC",
"ALWAYS"
],
"enumDescriptions": [
"Not set. Default: EVERYSEC",
"Never fsync. Normally Linux will flush data every 30 seconds with this configuration, but it's up to the kernel's exact tuning.",
"fsync every second. Fast enough, and you may lose 1 second of data if there is a disaster",
"fsync every time new commands are appended to the AOF. It has the best data loss protection at the cost of performance"
],
"type": "string"
}
},
"type": "object"
},
"AvailabilityConfiguration": {
"description": "Configuration for availability of database instance",
"id": "AvailabilityConfiguration",
Expand Down Expand Up @@ -972,6 +995,10 @@
"description": "Required. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`",
"type": "string"
},
"persistenceConfig": {
"$ref": "ClusterPersistenceConfig",
"description": "Optional. Persistence config (RDB, AOF) for the cluster."
},
"pscConfigs": {
"description": "Required. Each PscConfig configures the consumer network where IPs will be designated to the cluster for client access through Private Service Connect Automation. Currently, only one PscConfig is supported.",
"items": {
Expand All @@ -987,6 +1014,13 @@
"readOnly": true,
"type": "array"
},
"redisConfigs": {
"additionalProperties": {
"type": "string"
},
"description": "Optional. Key/Value pairs of customer overrides for mutable Redis Configs",
"type": "object"
},
"replicaCount": {
"description": "Optional. The number of replica nodes per shard.",
"format": "int32",
Expand Down Expand Up @@ -1049,6 +1083,37 @@
},
"type": "object"
},
"ClusterPersistenceConfig": {
"description": "Configuration of the persistence functionality.",
"id": "ClusterPersistenceConfig",
"properties": {
"aofConfig": {
"$ref": "AOFConfig",
"description": "Optional. AOF configuration. This field will be ignored if mode is not AOF."
},
"mode": {
"description": "Optional. The mode of persistence.",
"enum": [
"PERSISTENCE_MODE_UNSPECIFIED",
"DISABLED",
"RDB",
"AOF"
],
"enumDescriptions": [
"Not set.",
"Persistence is disabled, and any snapshot data is deleted.",
"RDB based persistence is enabled.",
"AOF based persistence is enabled."
],
"type": "string"
},
"rdbConfig": {
"$ref": "RDBConfig",
"description": "Optional. RDB configuration. This field will be ignored if mode is not RDB."
}
},
"type": "object"
},
"Compliance": {
"description": "Contains compliance information about a security standard indicating unmet recommendations.",
"id": "Compliance",
Expand Down Expand Up @@ -1301,7 +1366,7 @@
"SIGNAL_TYPE_DATABASE_AUDITING_DISABLED",
"SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS",
"SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP",
"SIGNAL_TYPE_CLUSTER_QUOTA_LIMIT",
"SIGNAL_TYPE_QUOTA_LIMIT",
"SIGNAL_TYPE_NO_PASSWORD_POLICY",
"SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT",
"SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT",
Expand Down Expand Up @@ -1780,7 +1845,7 @@
"SIGNAL_TYPE_DATABASE_AUDITING_DISABLED",
"SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS",
"SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP",
"SIGNAL_TYPE_CLUSTER_QUOTA_LIMIT",
"SIGNAL_TYPE_QUOTA_LIMIT",
"SIGNAL_TYPE_NO_PASSWORD_POLICY",
"SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT",
"SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT",
Expand Down Expand Up @@ -2943,6 +3008,36 @@
},
"type": "object"
},
"RDBConfig": {
"description": "Configuration of the RDB based persistence.",
"id": "RDBConfig",
"properties": {
"rdbSnapshotPeriod": {
"description": "Optional. Period between RDB snapshots.",
"enum": [
"SNAPSHOT_PERIOD_UNSPECIFIED",
"ONE_HOUR",
"SIX_HOURS",
"TWELVE_HOURS",
"TWENTY_FOUR_HOURS"
],
"enumDescriptions": [
"Not set.",
"One hour.",
"Six hours.",
"Twelve hours.",
"Twenty four hours."
],
"type": "string"
},
"rdbSnapshotStartTime": {
"description": "Optional. The time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used.",
"format": "google-datetime",
"type": "string"
}
},
"type": "object"
},
"ReconciliationOperationMetadata": {
"description": "Operation metadata returned by the CLH during resource state reconciliation.",
"id": "ReconciliationOperationMetadata",
Expand Down