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 #2190

Merged
merged 1 commit into from
Sep 28, 2023
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
298 changes: 283 additions & 15 deletions alloydb/v1/alloydb-api.json

Large diffs are not rendered by default.

671 changes: 650 additions & 21 deletions alloydb/v1/alloydb-gen.go

Large diffs are not rendered by default.

183 changes: 167 additions & 16 deletions alloydb/v1alpha/alloydb-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1489,7 +1489,7 @@
}
}
},
"revision": "20230821",
"revision": "20230918",
"rootUrl": "https://alloydb.googleapis.com/",
"schemas": {
"AutomatedBackupPolicy": {
Expand Down Expand Up @@ -1884,7 +1884,7 @@
},
"network": {
"deprecated": true,
"description": "Required. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: \"projects/{project}/global/networks/{network_id}\". This is required to create a cluster. It can be updated, but it cannot be removed. Deprecated, use network_config.network instead.",
"description": "Required. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: \"projects/{project}/global/networks/{network_id}\". This is required to create a cluster. Deprecated, use network_config.network instead.",
"type": "string"
},
"networkConfig": {
Expand Down Expand Up @@ -2147,7 +2147,7 @@
},
"pemCsr": {
"deprecated": true,
"description": "Optional. A pem-encoded X.509 certificate signing request (CSR).",
"description": "Optional. A pem-encoded X.509 certificate signing request (CSR). It is recommended to use public_key instead.",
"type": "string"
},
"publicKey": {
Expand All @@ -2174,6 +2174,7 @@
"type": "string"
},
"pemCertificate": {
"deprecated": true,
"description": "Output only. The pem-encoded, signed X.509 certificate.",
"readOnly": true,
"type": "string"
Expand Down Expand Up @@ -2671,7 +2672,7 @@
"type": "string"
},
"network": {
"description": "Required. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: \"projects/{project_number}/global/networks/{network_id}\". This is required to create a cluster. It can be updated, but it cannot be removed.",
"description": "Required. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: \"projects/{project_number}/global/networks/{network_id}\". This is required to create a cluster.",
"type": "string"
}
},
Expand Down Expand Up @@ -3053,6 +3054,10 @@
"backupRetentionSettings": {
"$ref": "StorageDatabasecenterPartnerapiV1mainRetentionSettings",
"description": "Backup retention settings."
},
"pointInTimeRecoveryEnabled": {
"description": "Whether point-in-time recovery is enabled. This is optional field, if the database service does not have this feature or metadata is not available in control plane, this can be omitted.",
"type": "boolean"
}
},
"type": "object"
Expand Down Expand Up @@ -3092,6 +3097,21 @@
},
"type": "object"
},
"StorageDatabasecenterPartnerapiV1mainCompliance": {
"description": "Contains compliance information about a security standard indicating unmet recommendations.",
"id": "StorageDatabasecenterPartnerapiV1mainCompliance",
"properties": {
"standard": {
"description": "Industry-wide compliance standards or benchmarks, such as CIS, PCI, and OWASP.",
"type": "string"
},
"version": {
"description": "Version of the standard or benchmark, for example, 1.1",
"type": "string"
}
},
"type": "object"
},
"StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed": {
"description": "DatabaseResourceFeed is the top level proto to be used to ingest different database resource level events into Condor platform.",
"id": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed",
Expand All @@ -3107,23 +3127,134 @@
"FEEDTYPE_UNSPECIFIED",
"RESOURCE_METADATA",
"OBSERVABILITY_DATA",
"COMPLIANCE_DATA"
"SECURITY_FINDING_DATA"
],
"enumDescriptions": [
"",
"Database resource metadata feed from control plane",
"Database resource monitoring data",
"Database resource compliance feed"
"Database resource security health signal data"
],
"type": "string"
},
"resourceHealthSignalData": {
"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData",
"description": "More feed data would be added in subsequent CLs"
},
"resourceId": {
"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceId",
"description": "Required. Primary key associated with the Resource"
},
"resourceMetadata": {
"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata",
"description": "More feed data would be added in subsequent CLs"
"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata"
}
},
"type": "object"
},
"StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData": {
"description": "Common model for database resource health signal data.",
"id": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData",
"properties": {
"additionalMetadata": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"description": "Any other additional metadata",
"type": "object"
},
"compliance": {
"description": "Industry standards associated with this signal; if this signal is an issue, that could be a violation of the associated industry standard(s). For example, AUTO_BACKUP_DISABLED signal is associated with CIS GCP 1.1, CIS GCP 1.2, CIS GCP 1.3, NIST 800-53 and ISO-27001 compliance standards. If a database resource does not have automated backup enable, it will violate these following industry standards.",
"items": {
"$ref": "StorageDatabasecenterPartnerapiV1mainCompliance"
},
"type": "array"
},
"description": {
"description": "Description associated with signal",
"type": "string"
},
"eventTime": {
"description": "The last time at which the event described by this signal took place",
"format": "google-datetime",
"type": "string"
},
"externalUri": {
"description": "The external-uri of the signal, using which more information about this signal can be obtained. In GCP, this will take user to SCC page to get more details about signals.",
"type": "string"
},
"name": {
"description": "The name of the signal, ex: PUBLIC_SQL_INSTANCE, SQL_LOG_ERROR_VERBOSITY etc.",
"type": "string"
},
"provider": {
"description": "Cloud provider name. Ex: GCP/AWS/Azure/OnPrem/SelfManaged",
"enum": [
"PROVIDER_UNSPECIFIED",
"GCP",
"AWS",
"AZURE",
"ONPREM",
"SELFMANAGED",
"PROVIDER_OTHER"
],
"enumDescriptions": [
"",
"Google cloud platform provider",
"Amazon web service",
"Azure web service",
"On-prem database resources.",
"Self-managed database provider. These are resources on a cloud platform, e.g., database resource installed in a GCE VM, but not a managed database service.",
"For the rest of the other categories. Other refers to the rest of other database service providers, this could be smaller cloud provider. This needs to be provided when the provider is known, but it is not present in the existing set of enum values."
],
"type": "string"
},
"resourceContainer": {
"description": "Closest parent container of this resource. In GCP, 'container' refers to a Cloud Resource Manager project. It must be resource name of a Cloud Resource Manager project with the format of \"provider//\", such as \"gcp/projects/123\".",
"type": "string"
},
"resourceName": {
"description": "Database resource name associated with the signal. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel",
"type": "string"
},
"signalClass": {
"description": "The class of the signal, such as if it's a THREAT or VULNERABILITY.",
"enum": [
"CLASS_UNSPECIFIED",
"THREAT",
"VULNERABILITY",
"MISCONFIGURATION",
"OBSERVATION",
"ERROR"
],
"enumDescriptions": [
"Unspecified signal class.",
"Describes unwanted or malicious activity.",
"Describes a potential weakness in software that increases risk to Confidentiality \u0026 Integrity \u0026 Availability.",
"Describes a potential weakness in cloud resource/asset configuration that increases risk.",
"Describes a security observation that is for informational purposes.",
"Describes an error that prevents some SCC functionality."
],
"type": "string"
},
"signalId": {
"description": "Unique identifier for the signal. This is an unique id which would be mainatined by partner to identify a signal.",
"type": "string"
},
"state": {
"enum": [
"STATE_UNSPECIFIED",
"ACTIVE",
"RESOLVED",
"MUTED"
],
"enumDescriptions": [
"Unspecified state.",
"The signal requires attention and has not been addressed yet.",
"The signal has been fixed, triaged as a non-issue or otherwise addressed and is no longer active.",
"The signal has been muted."
],
"type": "string"
}
},
"type": "object"
Expand All @@ -3148,14 +3279,18 @@
"Google cloud platform provider",
"Amazon web service",
"Azure web service",
"On-prem database provider",
"Self-managed database provider",
"For rest of the other category"
"On-prem database resources.",
"Self-managed database provider. These are resources on a cloud platform, e.g., database resource installed in a GCE VM, but not a managed database service.",
"For the rest of the other categories. Other refers to the rest of other database service providers, this could be smaller cloud provider. This needs to be provided when the provider is known, but it is not present in the existing set of enum values."
],
"type": "string"
},
"providerDescription": {
"description": "Optional. Needs to be used only when the provider is PROVIDER_OTHER.",
"type": "string"
},
"resourceType": {
"description": "Required. The type of resource this ID is identifying. Ex google.sqladmin.Instance, google.alloydb.cluster, google.sqladmin.Backup REQUIRED",
"description": "Required. The type of resource this ID is identifying. Ex alloydb.googleapis.com/Cluster, alloydb.googleapis.com/Instance, spanner.googleapis.com/Instance REQUIRED Please refer go/condor-common-datamodel",
"type": "string"
},
"uniqueId": {
Expand Down Expand Up @@ -3192,28 +3327,44 @@
"STATE_UNSPECIFIED",
"HEALTHY",
"UNHEALTHY",
"SUSPENDED",
"DELETED",
"STATE_OTHER"
],
"enumDescriptions": [
"",
"The instance is running.",
"Instance being created, updated, deleted or under maintenance",
"When instance is suspended",
"Instance is deleted.",
"For rest of the other category"
],
"type": "string"
},
"customMetadata": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"description": "Any custom metadata associated with the resource (a JSON field)",
"type": "object"
},
"expectedState": {
"description": "The actual instance state.",
"description": "The state that the instance is expected to be in. For example, an instance state can transition to UNHEALTHY due to wrong patch update, while the expected state will remain at the HEALTHY.",
"enum": [
"STATE_UNSPECIFIED",
"HEALTHY",
"UNHEALTHY",
"SUSPENDED",
"DELETED",
"STATE_OTHER"
],
"enumDescriptions": [
"",
"The instance is running.",
"Instance being created, updated, deleted or under maintenance",
"When instance is suspended",
"Instance is deleted.",
"For rest of the other category"
],
"type": "string"
Expand Down Expand Up @@ -3244,18 +3395,18 @@
},
"primaryResourceId": {
"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceId",
"description": "Unique identifier for this resource's immediate parent resource. This parent resource id would be used to build resource hierarchy in condor platform."
"description": "Identifier for this resource's immediate parent/primary resource if the current resource is a replica or derived form of another Database resource. Else it would be NULL. REQUIRED if the immediate parent exists when first time resource is getting ingested"
},
"product": {
"$ref": "StorageDatabasecenterProtoCommonProduct",
"description": "The product this resource represents."
},
"resourceContainer": {
"description": "Closest parent Cloud Resource Manager container of this resource. It must either be resource name of a Cloud Resource Manager project, for ex: \"projects/123\".",
"description": "Closest parent Cloud Resource Manager container of this resource. It must be resource name of a Cloud Resource Manager project with the format of \"provider//\", such as \"gcp/projects/123\".",
"type": "string"
},
"resourceName": {
"description": "Required. Different from unique_id, a resource name can be reused over time. That is after a resource named \"ABC\" is deleted, the name \"ABC\" can be used to to create a new resource within the same source.",
"description": "Required. Different from DatabaseResourceId.unique_id, a resource name can be reused over time. That is, after a resource named \"ABC\" is deleted, the name \"ABC\" can be used to to create a new resource within the same source. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel",
"type": "string"
},
"updationTime": {
Expand Down
Loading