Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2753)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Aug 25, 2024
1 parent 5b1ebe2 commit 70a68c2
Show file tree
Hide file tree
Showing 12 changed files with 379 additions and 7 deletions.
57 changes: 56 additions & 1 deletion connectors/v1/connectors-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1320,6 +1320,21 @@
"pattern": "^projects/[^/]+/locations/[^/]+/endpointAttachments/[^/]+$",
"required": true,
"type": "string"
},
"view": {
"description": "Optional. Specifies which fields of the EndpointAttachment are returned in the response. Defaults to `ENDPOINT_ATTACHMENT_VIEW_BASIC` view.",
"enum": [
"ENDPOINT_ATTACHMENT_VIEW_UNSPECIFIED",
"ENDPOINT_ATTACHMENT_VIEW_BASIC",
"ENDPOINT_ATTACHMENT_VIEW_FULL"
],
"enumDescriptions": [
"ENDPOINT_ATTACHMENT_VIEW_UNSPECIFIED.",
"Do not include status.",
"Includes Status."
],
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
Expand Down Expand Up @@ -1366,6 +1381,21 @@
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
},
"view": {
"description": "Optional. Specifies which fields of the EndpointAttachment are returned in the response. Defaults to `ENDPOINT_ATTACHMENT_VIEW_BASIC` view.",
"enum": [
"ENDPOINT_ATTACHMENT_VIEW_UNSPECIFIED",
"ENDPOINT_ATTACHMENT_VIEW_BASIC",
"ENDPOINT_ATTACHMENT_VIEW_FULL"
],
"enumDescriptions": [
"ENDPOINT_ATTACHMENT_VIEW_UNSPECIFIED.",
"Do not include status.",
"Includes Status."
],
"location": "query",
"type": "string"
}
},
"path": "v1/{+parent}/endpointAttachments",
Expand Down Expand Up @@ -2427,7 +2457,7 @@
}
}
},
"revision": "20240811",
"revision": "20240822",
"rootUrl": "https://connectors.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -4058,6 +4088,31 @@
"description": "Required. The path of the service attachment",
"type": "string"
},
"state": {
"description": "Output only. The Private Service Connect Connection Endpoint State. This value is only available in the Full view.",
"enum": [
"STATE_UNSPECIFIED",
"PENDING",
"ACCEPTED",
"REJECTED",
"CLOSED",
"FROZEN",
"NEEDS_ATTENTION",
"ACCEPTED_NOT_PROGRAMMED"
],
"enumDescriptions": [
"STATE_UNSPECIFIED.",
"The endpoint is pending acceptance by the producer.",
"The endpoint has been accepted by the producer.",
"The endpoint has been rejected by the producer.",
"The endpoint has been closed by the producer and will not serve traffic going forward.",
"The endpoint has been frozen by the producer and will not serve traffic.",
"The endpoint has been accepted by the producer, but it is not ready to serve the traffic due to producer side issues.",
"The endpoint has been accepted by the producer, but it cannot be programmed to the data plane due to invariant violation."
],
"readOnly": true,
"type": "string"
},
"updateTime": {
"description": "Output only. Updated time.",
"format": "google-datetime",
Expand Down
52 changes: 52 additions & 0 deletions connectors/v1/connectors-gen.go

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

10 changes: 9 additions & 1 deletion notebooks/v1/notebooks-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -2008,7 +2008,7 @@
}
}
},
"revision": "20240314",
"revision": "20240820",
"rootUrl": "https://notebooks.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand All @@ -2035,6 +2035,8 @@
"NVIDIA_TESLA_T4_VWS",
"NVIDIA_TESLA_P100_VWS",
"NVIDIA_TESLA_P4_VWS",
"NVIDIA_H100_80GB",
"NVIDIA_H100_MEGA_80GB",
"TPU_V2",
"TPU_V3"
],
Expand All @@ -2051,6 +2053,8 @@
"Accelerator type is NVIDIA Tesla T4 Virtual Workstations.",
"Accelerator type is NVIDIA Tesla P100 Virtual Workstations.",
"Accelerator type is NVIDIA Tesla P4 Virtual Workstations.",
"Accelerator type is NVIDIA H100 80GB.",
"Accelerator type is NVIDIA H100 Mega 80GB.",
"(Coming soon) Accelerator type is TPU V2.",
"(Coming soon) Accelerator type is TPU V3."
],
Expand Down Expand Up @@ -4058,6 +4062,8 @@
"NVIDIA_TESLA_T4_VWS",
"NVIDIA_TESLA_P100_VWS",
"NVIDIA_TESLA_P4_VWS",
"NVIDIA_H100_80GB",
"NVIDIA_H100_MEGA_80GB",
"TPU_V2",
"TPU_V3"
],
Expand All @@ -4074,6 +4080,8 @@
"Accelerator type is NVIDIA Tesla T4 Virtual Workstations.",
"Accelerator type is NVIDIA Tesla P100 Virtual Workstations.",
"Accelerator type is NVIDIA Tesla P4 Virtual Workstations.",
"Accelerator type is NVIDIA H100 80GB.",
"Accelerator type is NVIDIA H100 Mega 80GB.",
"(Coming soon) Accelerator type is TPU V2.",
"(Coming soon) Accelerator type is TPU V3."
],
Expand Down
4 changes: 4 additions & 0 deletions notebooks/v1/notebooks-gen.go

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

56 changes: 55 additions & 1 deletion notebooks/v2/notebooks-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,34 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
"restore": {
"description": "RestoreInstance restores an Instance from a BackupSource.",
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:restore",
"httpMethod": "POST",
"id": "notebooks.projects.locations.instances.restore",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v2/{+name}:restore",
"request": {
"$ref": "RestoreInstanceRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"rollback": {
"description": "Rollbacks a notebook instance to the previous version.",
"flatPath": "v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:rollback",
Expand Down Expand Up @@ -876,7 +904,7 @@
}
}
},
"revision": "20240731",
"revision": "20240820",
"rootUrl": "https://notebooks.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down Expand Up @@ -1768,6 +1796,17 @@
},
"type": "object"
},
"RestoreInstanceRequest": {
"description": "Request for restoring the notebook instance from a BackupSource.",
"id": "RestoreInstanceRequest",
"properties": {
"snapshot": {
"$ref": "Snapshot",
"description": "Snapshot to be used for restore."
}
},
"type": "object"
},
"RollbackInstanceRequest": {
"description": "Request for rollbacking a notebook instance",
"id": "RollbackInstanceRequest",
Expand Down Expand Up @@ -1833,6 +1872,21 @@
},
"type": "object"
},
"Snapshot": {
"description": "Snapshot represents the snapshot of the data disk used to restore the Workbench Instance from. Refers to: compute/v1/projects/{project_id}/global/snapshots/{snapshot_id}",
"id": "Snapshot",
"properties": {
"projectId": {
"description": "Required. The project ID of the snapshot.",
"type": "string"
},
"snapshotId": {
"description": "Required. The ID of the snapshot.",
"type": "string"
}
},
"type": "object"
},
"StartInstanceRequest": {
"description": "Request for starting a notebook instance",
"id": "StartInstanceRequest",
Expand Down
Loading

0 comments on commit 70a68c2

Please sign in to comment.