|
803 | 803 | } |
804 | 804 | } |
805 | 805 | }, |
| 806 | + "goModules": { |
| 807 | + "methods": { |
| 808 | + "upload": { |
| 809 | + "description": "Directly uploads a Go module. The returned Operation will complete once the Go module is uploaded. Package, Version, and File resources are created based on the uploaded Go module.", |
| 810 | + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/goModules:create", |
| 811 | + "httpMethod": "POST", |
| 812 | + "id": "artifactregistry.projects.locations.repositories.goModules.upload", |
| 813 | + "mediaUpload": { |
| 814 | + "accept": [ |
| 815 | + "*/*" |
| 816 | + ], |
| 817 | + "protocols": { |
| 818 | + "simple": { |
| 819 | + "multipart": true, |
| 820 | + "path": "/upload/v1/{+parent}/goModules:create" |
| 821 | + } |
| 822 | + } |
| 823 | + }, |
| 824 | + "parameterOrder": [ |
| 825 | + "parent" |
| 826 | + ], |
| 827 | + "parameters": { |
| 828 | + "parent": { |
| 829 | + "description": "The resource name of the repository where the Go module will be uploaded.", |
| 830 | + "location": "path", |
| 831 | + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", |
| 832 | + "required": true, |
| 833 | + "type": "string" |
| 834 | + } |
| 835 | + }, |
| 836 | + "path": "v1/{+parent}/goModules:create", |
| 837 | + "request": { |
| 838 | + "$ref": "UploadGoModuleRequest" |
| 839 | + }, |
| 840 | + "response": { |
| 841 | + "$ref": "UploadGoModuleMediaResponse" |
| 842 | + }, |
| 843 | + "scopes": [ |
| 844 | + "https://www.googleapis.com/auth/cloud-platform" |
| 845 | + ], |
| 846 | + "supportsMediaUpload": true |
| 847 | + } |
| 848 | + } |
| 849 | + }, |
806 | 850 | "googetArtifacts": { |
807 | 851 | "methods": { |
808 | 852 | "import": { |
|
1589 | 1633 | } |
1590 | 1634 | } |
1591 | 1635 | }, |
1592 | | - "revision": "20230522", |
| 1636 | + "revision": "20230622", |
1593 | 1637 | "rootUrl": "https://artifactregistry.googleapis.com/", |
1594 | 1638 | "schemas": { |
1595 | 1639 | "AptArtifact": { |
|
1782 | 1826 | }, |
1783 | 1827 | "type": "object" |
1784 | 1828 | }, |
| 1829 | + "GoModule": { |
| 1830 | + "description": "GoModule represents a Go module.", |
| 1831 | + "id": "GoModule", |
| 1832 | + "properties": { |
| 1833 | + "createTime": { |
| 1834 | + "description": "Output only. The time when the Go module is created.", |
| 1835 | + "format": "google-datetime", |
| 1836 | + "readOnly": true, |
| 1837 | + "type": "string" |
| 1838 | + }, |
| 1839 | + "name": { |
| 1840 | + "description": "The resource name of a Go module.", |
| 1841 | + "type": "string" |
| 1842 | + }, |
| 1843 | + "updateTime": { |
| 1844 | + "description": "Output only. The time when the Go module is updated.", |
| 1845 | + "format": "google-datetime", |
| 1846 | + "readOnly": true, |
| 1847 | + "type": "string" |
| 1848 | + }, |
| 1849 | + "version": { |
| 1850 | + "description": "The version of the Go module. Must be a valid canonical version as defined in https://go.dev/ref/mod#glos-canonical-version.", |
| 1851 | + "type": "string" |
| 1852 | + } |
| 1853 | + }, |
| 1854 | + "type": "object" |
| 1855 | + }, |
1785 | 1856 | "GoogetArtifact": { |
1786 | 1857 | "description": "A detailed representation of a GooGet artifact.", |
1787 | 1858 | "id": "GoogetArtifact", |
|
2881 | 2952 | }, |
2882 | 2953 | "type": "object" |
2883 | 2954 | }, |
| 2955 | + "UploadGoModuleMediaResponse": { |
| 2956 | + "description": "The response to upload a Go module.", |
| 2957 | + "id": "UploadGoModuleMediaResponse", |
| 2958 | + "properties": { |
| 2959 | + "operation": { |
| 2960 | + "$ref": "Operation", |
| 2961 | + "description": "Operation to be returned to the user." |
| 2962 | + } |
| 2963 | + }, |
| 2964 | + "type": "object" |
| 2965 | + }, |
| 2966 | + "UploadGoModuleMetadata": { |
| 2967 | + "description": "The operation metadata for uploading go modules.", |
| 2968 | + "id": "UploadGoModuleMetadata", |
| 2969 | + "properties": {}, |
| 2970 | + "type": "object" |
| 2971 | + }, |
| 2972 | + "UploadGoModuleRequest": { |
| 2973 | + "description": "The request to upload a Go module.", |
| 2974 | + "id": "UploadGoModuleRequest", |
| 2975 | + "properties": {}, |
| 2976 | + "type": "object" |
| 2977 | + }, |
2884 | 2978 | "UploadGoogetArtifactMediaResponse": { |
2885 | 2979 | "description": "The response to upload an artifact.", |
2886 | 2980 | "id": "UploadGoogetArtifactMediaResponse", |
|
0 commit comments