8000 feat(all): auto-regenerate discovery clients (#2190) · googleapis/google-api-go-client@f930302 · GitHub
[go: up one dir, main page]

Skip to content

Commit f930302

Browse files
feat(all): auto-regenerate discovery clients (#2190)
1 parent ec24c23 commit f930302

34 files changed

+2612
-506
lines changed

alloydb/v1/alloydb-api.json

Lines changed: 283 additions & 15 deletions
Large diffs are not rendered by default.

alloydb/v1/alloydb-gen.go

Lines changed: 650 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

alloydb/v1alpha/alloydb-api.json

Lines changed: 167 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1489,7 +1489,7 @@
14891489
}
14901490
}
14911491
},
1492-
"revision": "20230821",
1492+
"revision": "20230918",
14931493
"rootUrl": "https://alloydb.googleapis.com/",
14941494
"schemas": {
14951495
"AutomatedBackupPolicy": {
@@ -1884,7 +1884,7 @@
18841884
},
18851885
"network": {
18861886
"deprecated": true,
1887-
"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.",
1887+
"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.",
18881888
"type": "string"
18891889
},
18901890
"networkConfig": {
@@ -2147,7 +2147,7 @@
21472147
},
21482148
"pemCsr": {
21492149
"deprecated": true,
2150-
"description": "Optional. A pem-encoded X.509 certificate signing request (CSR).",
2150+
"description": "Optional. A pem-encoded X.509 certificate signing request (CSR). It is recommended to use public_key instead.",
21512151
"type": "string"
21522152
},
21532153
"publicKey": {
@@ -2174,6 +2174,7 @@
21742174
"type": "string"
21752175
},
21762176
"pemCertificate": {
2177+
"deprecated": true,
21772178
"description": "Output only. The pem-encoded, signed X.509 certificate.",
21782179
"readOnly": true,
21792180
"type": "string"
@@ -2671,7 +2672,7 @@
26712672
"type": "string"
26722673
},
26732674
"network": {
2674-
"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.",
2675+
"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.",
26752676
"type": "string"
26762677
}
26772678
},
@@ -3053,6 +3054,10 @@
30533054
"backupRetentionSettings": {
30543055
"$ref": "StorageDatabasecenterPartnerapiV1mainRetentionSettings",
30553056
"description": "Backup retention settings."
3057+
},
3058+
"pointInTimeRecoveryEnabled": {
3059+
"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.",
3060+
"type": "boolean"
30563061
}
30573062
},
30583063
"type": "object"
@@ -3092,6 +3097,21 @@
30923097
},
30933098
"type": "object"
30943099
},
3100+
"StorageDatabasecenterPartnerapiV1mainCompliance": {
3101+
"description": "Contains compliance information about a security standard indicating unmet recommendations.",
3102+
"id": "StorageDatabasecenterPartnerapiV1mainCompliance",
3103+
"properties": {
3104+
"standard": {
3105+
"description": "Industry-wide compliance standards or benchmarks, such as CIS, PCI, and OWASP.",
3106+
"type": "string"
3107+
},
3108+
"version": {
3109+
"description": "Version of the standard or benchmark, for example, 1.1",
3110+
"type": "string"
3111+
}
3112+
},
3113+
"type": "object"
3114+
},
30953115
"StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed": {
30963116
"description": "DatabaseResourceFeed is the top level proto to be used to ingest different database resource level events into Condor platform.",
30973117
"id": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed",
@@ -3107,23 +3127,134 @@
31073127
"FEEDTYPE_UNSPECIFIED",
31083128
"RESOURCE_METADATA",
31093129
"OBSERVABILITY_DATA",
3110-
"COMPLIANCE_DATA"
3130+
"SECURITY_FINDING_DATA"
31113131
],
31123132
"enumDescriptions": [
31133133
"",
31143134
"Database resource metadata feed from control plane",
31153135
"Database resource monitoring data",
3116-
"Database resource compliance feed"
3136+
"Database resource security health signal data"
31173137
],
31183138
"type": "string"
31193139
},
3140+
"resourceHealthSignalData": {
3141+
"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData",
3142+
"description": "More feed data would be added in subsequent CLs"
3143+
},
31203144
"resourceId": {
31213145
"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceId",
31223146
"description": "Required. Primary key associated with the Resource"
31233147
},
31243148
"resourceMetadata": {
3125-
"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata",
3126-
"description": "More feed data would be added in subsequent CLs"
3149+
"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata"
3150+
}
3151+
},
3152+
"type": "object"
3153+
},
3154+
"StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData": {
3155+
"description": "Common model for database resource health signal data.",
3156+
"id": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData",
3157+
"properties": {
3158+
"additionalMetadata": {
3159+
"additionalProperties": {
3160+
"description": "Properties of the object.",
3161+
"type": "any"
3162+
},
3163+
"description": "Any other additional metadata",
3164+
"type": "object"
3165+
},
3166+
"compliance": {
3167+
"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.",
3168+
"items": {
3169+
"$ref": "StorageDatabasecenterPartnerapiV1mainCompliance"
3170+
},
3171+
"type": "array"
3172+
},
3173+
"description": {
3174+
"description": "Description associated with signal",
3175+
"type": "string"
3176+
},
3177+
"eventTime": {
3178+
"description": "The last time at which the event described by this signal took place",
3179+
"format": "google-datetime",
3180+
"type": "string"
3181+
},
3182+
"externalUri": {
3183+
"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.",
3184+
"type": "string"
3185+
},
3186+
"name": {
3187+
"description": "The name of the signal, ex: PUBLIC_SQL_INSTANCE, SQL_LOG_ERROR_VERBOSITY etc.",
3188+
"type": "string"
3189+
},
3190+
"provider": {
3191+
"description": "Cloud provider name. Ex: GCP/AWS/Azure/OnPrem/SelfManaged",
3192+
"enum": [
3193+
"PROVIDER_UNSPECIFIED",
3194+
"GCP",
3195+
"AWS",
3196+
"AZURE",
3197+
"ONPREM",
3198+
"SELFMANAGED",
3199+
"PROVIDER_OTHER"
3200+
],
3201+
"enumDescriptions": [
3202+
"",
3203+
"Google cloud platform provider",
3204+
"Amazon web service",
3205+
"Azure web service",
3206+
"On-prem database resources.",
3207+
"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.",
3208+
"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."
3209+
],
3210+
"type": "string"
3211+
},
3212+
"resourceContainer": {
3213+
"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\".",
3214+
"type": "string"
3215+
},
3216+
"resourceName": {
3217+
"description": "Database resource name associated with the signal. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel",
3218+
"type": "string"
3219+
},
3220+
"signalClass": {
3221+
"description": "The class of the signal, such as if it's a THREAT or VULNERABILITY.",
3222+
"enum": [
3223+
"CLASS_UNSPECIFIED",
3224+
"THREAT",
3225+
"VULNERABILITY",
3226+
"MISCONFIGURATION",
3227+
"OBSERVATION",
3228+
"ERROR"
3229+
],
3230+
"enumDescriptions": [
3231+
"Unspecified signal class.",
3232+
"Describes unwanted or malicious activity.",
3233+
"Describes a potential weakness in software that increases risk to Confidentiality \u0026 Integrity \u0026 Availability.",
3234+
"Describes a potential weakness in cloud resource/asset configuration that increases risk.",
3235+
"Describes a security observation that is for informational purposes.",
3236+
"Describes an error that prevents some SCC functionality."
3237+
],
3238+
"type": "string"
3239+
},
3240+
"signalId": {
3241+
"description": "Unique identifier for the signal. This is an unique id which would be mainatined by partner to identify a signal.",
3242+
"type": "string"
3243+
},
3244+
"state": {
3245+
"enum": [
3246+
"STATE_UNSPECIFIED",
3247+
"ACTIVE",
3248+
"RESOLVED",
3249+
"MUTED"
3250+
],
3251+
"enumDescriptions": [
3252+
"Unspecified state.",
3253+
"The signal requires attention and has not been addressed yet.",
3254+
"The signal has been fixed, triaged as a non-issue or otherwise addressed and is no longer active.",
3255+
"The signal has been muted."
3256+
],
3257+
"type": "string"
31273258
}
31283259
},
31293260
"type": "object"
@@ -3148,14 +3279,18 @@
31483279
"Google cloud platform provider",
31493280
"Amazon web service",
31503281
"Azure web service",
3151-
"On-prem database provider",
3152-
"Self-managed database provider",
3153-
"For rest of the other category"
3282+
"On-prem database resources.",
3283+
"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.",
3284+
"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."
31543285
],
31553286
"type": "string"
31563287
},
3288+
"providerDescription": {
3289+
"description": "Optional. Needs to be used only when the provider is PROVIDER_OTHER.",
3290+
"type": "string"
3291+
},
31573292
"resourceType": {
3158-
"description": "Required. The type of resource this ID is identifying. Ex google.sqladmin.Instance, google.alloydb.cluster, google.sqladmin.Backup REQUIRED",
3293+
"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",
31593294
"type": "string"
31603295
},
31613296
"uniqueId": {
@@ -3192,28 +3327,44 @@
31923327
"STATE_UNSPECIFIED",
31933328
"HEALTHY",
31943329
"UNHEALTHY",
3330+
"SUSPENDED",
3331+
"DELETED",
31953332
"STATE_OTHER"
31963333
],
31973334
"enumDescriptions": [
31983335
"",
31993336
"The instance is running.",
32003337
"Instance being created, updated, deleted or under maintenance",
3338+
"When instance is suspended",
3339+
"Instance is deleted.",
32013340
"For rest of the other category"
32023341
],
32033342
"type": "string"
32043343
},
3344+
"customMetadata": {
3345+
"additionalProperties": {
3346+
"description": "Properties of the object.",
3347+
"type": "any"
3348+
},
3349+
"description": "Any custom metadata associated with the resource (a JSON field)",
3350+
"type": "object"
3351+
},
32053352
"expectedState": {
3206-
"description": "The actual instance state.",
3353+
"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.",
32073354
"enum": [
32083355
"STATE_UNSPECIFIED",
32093356
"HEALTHY",
32103357
"UNHEALTHY",
3358+
"SUSPENDED",
3359+
"DELETED",
32113360
"STATE_OTHER"
32123361
],
32133362
"enumDescriptions": [
32143363
"",
32153364
"The instance is running.",
32163365
"Instance being created, updated, deleted or under maintenance",
3366+
"When instance is suspended",
3367+
"Instance is deleted.",
32173368
"For rest of the other category"
32183369
],
32193370
"type": "string"
@@ -3244,18 +3395,18 @@
32443395
},
32453396
"primaryResourceId": {
32463397
"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceId",
3247-
"description": "Unique identifier for this resource's immediate parent resource. This parent resource id would be used to build resource hierarchy in condor platform."
3398+
"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"
32483399
},
32493400
"product": {
32503401
"$ref": "StorageDatabasecenterProtoCommonProduct",
32513402
"description": "The product this resource represents."
32523403
},
32533404
"resourceContainer": {
3254-
"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\".",
3405+
"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\".",
32553406
"type": "string"
32563407
},
32573408
"resourceName": {
3258-
"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.",
3409+
"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",
32593410
"type": "string"
32603411
},
32613412
"updationTime": {

0 commit comments

Comments
 (0)
0