Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2796)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Sep 23, 2024
1 parent d0e0dc3 commit 34102ae
Show file tree
Hide file tree
Showing 4 changed files with 121 additions and 49 deletions.
59 changes: 49 additions & 10 deletions alloydb/v1beta/alloydb-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1514,7 +1514,7 @@
}
}
},
"revision": "20240828",
"revision": "20240909",
"rootUrl": "https://alloydb.googleapis.com/",
"schemas": {
"AuthorizedNetwork": {
Expand Down Expand Up @@ -2124,15 +2124,19 @@
"IN_PROGRESS",
"SUCCESS",
"FAILED",
"PARTIAL_SUCCESS"
"PARTIAL_SUCCESS",
"CANCEL_IN_PROGRESS",
"CANCELLED"
],
"enumDescriptions": [
"Unspecified status.",
"Not started.",
"In progress.",
"Operation succeeded.",
"Operation failed.",
"Operation partially succeeded."
"Operation partially succeeded.",
"Cancel is in progress.",
"Cancellation complete."
],
"type": "string"
}
Expand Down Expand Up @@ -2715,15 +2719,19 @@
"IN_PROGRESS",
"SUCCESS",
"FAILED",
"PARTIAL_SUCCESS"
"PARTIAL_SUCCESS",
"CANCEL_IN_PROGRESS",
"CANCELLED"
],
"enumDescriptions": [
"Unspecified status.",
"Not started.",
"In progress.",
"Operation succeeded.",
"Operation failed.",
"Operation partially succeeded."
"Operation partially succeeded.",
"Cancel is in progress.",
"Cancellation complete."
],
"type": "string"
}
Expand Down Expand Up @@ -3437,15 +3445,19 @@
"IN_PROGRESS",
"SUCCESS",
"FAILED",
"PARTIAL_SUCCESS"
"PARTIAL_SUCCESS",
"CANCEL_IN_PROGRESS",
"CANCELLED"
],
"enumDescriptions": [
"Unspecified status.",
"Not started.",
"In progress.",
"Operation succeeded.",
"Operation failed.",
"Operation partially succeeded."
"Operation partially succeeded.",
"Cancel is in progress.",
"Cancellation complete."
],
"type": "string"
}
Expand Down Expand Up @@ -4063,7 +4075,7 @@
"type": "object"
},
"StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata": {
"description": "Common model for database resource instance metadata.",
"description": "Common model for database resource instance metadata. Next ID: 21",
"id": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata",
"properties": {
"availabilityConfiguration": {
Expand Down Expand Up @@ -4202,6 +4214,10 @@
"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"
},
"tagsSet": {
"$ref": "StorageDatabasecenterPartnerapiV1mainTags",
"description": "Optional. Tags associated with this resources."
},
"updationTime": {
"description": "The time at which the resource was updated and recorded at partner service.",
"format": "google-datetime",
Expand Down Expand Up @@ -4588,6 +4604,11 @@
"description": "Memory size in bytes. TODO(b/342344482, b/342346271) add proto validations again after bug fix.",
"format": "int64",
"type": "string"
},
"shardCount": {
"description": "Optional. Number of shards (if applicable).",
"format": "int32",
"type": "integer"
}
},
"type": "object"
Expand Down Expand Up @@ -4715,6 +4736,20 @@
},
"type": "object"
},
"StorageDatabasecenterPartnerapiV1mainTags": {
"description": "Message type for storing tags. Tags provide a way to create annotations for resources, and in some cases conditionally allow or deny policies based on whether a resource has a specific tag.",
"id": "StorageDatabasecenterPartnerapiV1mainTags",
"properties": {
"tags": {
"additionalProperties": {
"type": "string"
},
"description": "The Tag key/value mappings.",
"type": "object"
}
},
"type": "object"
},
"StorageDatabasecenterPartnerapiV1mainUserLabels": {
"description": "Message type for storing user labels. User labels are used to tag App Engine resources, allowing users to search for resources matching a set of labels and to aggregate usage data by labels.",
"id": "StorageDatabasecenterPartnerapiV1mainUserLabels",
Expand Down Expand Up @@ -5100,15 +5135,19 @@
"IN_PROGRESS",
"SUCCESS",
"FAILED",
"PARTIAL_SUCCESS"
"PARTIAL_SUCCESS",
"CANCEL_IN_PROGRESS",
"CANCELLED"
],
"enumDescriptions": [
"Unspecified status.",
"Not started.",
"In progress.",
"Operation succeeded.",
"Operation failed.",
"Operation partially succeeded."
"Operation partially succeeded.",
"Cancel is in progress.",
"Cancellation complete."
],
"type": "string"
}
Expand Down
39 changes: 38 additions & 1 deletion alloydb/v1beta/alloydb-gen.go

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

40 changes: 17 additions & 23 deletions redis/v1/redis-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@
}
}
},
"revision": "20240904",
"revision": "20240918",
"rootUrl": "https://redis.googleapis.com/",
"schemas": {
"AOFConfig": {
Expand Down Expand Up @@ -1131,7 +1131,7 @@
"REDIS_STANDARD_SMALL"
],
"enumDescriptions": [
"",
"Node type unspecified",
"Redis shared core nano node_type.",
"Redis highmem medium node_type.",
"Redis highmem xlarge node_type.",
Expand All @@ -1157,7 +1157,7 @@
"type": "array"
},
"pscConnections": {
"description": "Output only. PSC connections for discovery of the cluster topology and accessing the cluster.",
"description": "Output only. The list of PSC connections that are auto-created through service connectivity automation.",
"items": {
"$ref": "PscConnection"
},
Expand Down Expand Up @@ -1273,12 +1273,6 @@
"readOnly": true,
"type": "string"
},
"scheduleDeadlineTime": {
"description": "Output only. The deadline that the maintenance schedule start time can not go beyond, including reschedule.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"startTime": {
"description": "Output only. The start time of any upcoming scheduled maintenance for this instance.",
"format": "google-datetime",
Expand Down Expand Up @@ -1347,11 +1341,6 @@
],
"type": "string"
},
"duration": {
"description": "Duration of the time window.",
"format": "google-duration",
"type": "string"
},
"startTime": {
"$ref": "TimeOfDay",
"description": "Start time of the window in UTC."
Expand Down Expand Up @@ -3186,6 +3175,11 @@
"description": "Memory size in bytes. TODO(b/342344482, b/342346271) add proto validations again after bug fix.",
"format": "int64",
"type": "string"
},
"shardCount": {
"description": "Optional. Number of shards (if applicable).",
"format": "int32",
"type": "integer"
}
},
"type": "object"
Expand Down Expand Up @@ -3674,27 +3668,27 @@
"id": "PscConnection",
"properties": {
"address": {
"description": "Output only. The IP allocated on the consumer network for the PSC forwarding rule.",
"readOnly": true,
"description": "Required. The IP allocated on the consumer network for the PSC forwarding rule.",
"type": "string"
},
"forwardingRule": {
"description": "Output only. The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.",
"readOnly": true,
"description": "Required. The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.",
"type": "string"
},
"network": {
"description": "The consumer network where the IP address resides, in the form of projects/{project_id}/global/networks/{network_id}.",
"description": "Required. The consumer network where the IP address resides, in the form of projects/{project_id}/global/networks/{network_id}.",
"type": "string"
},
"projectId": {
"description": "Output only. The consumer project_id where the forwarding rule is created from.",
"readOnly": true,
"description": "Optional. Project ID of the consumer project where the forwarding rule is created in.",
"type": "string"
},
"pscConnectionId": {
"description": "Output only. The PSC connection id of the forwarding rule connected to the service attachment.",
"readOnly": true,
"description": "Optional. The PSC connection id of the forwarding rule connected to the service attachment.",
"type": "string"
},
"serviceAttachment": {
"description": "Required. The service attachment which is the target of the PSC connection, in the form of projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.",
"type": "string"
}
},
Expand Down
Loading

0 comments on commit 34102ae

Please sign in to comment.