|
805 | 805 | ]
|
806 | 806 | }
|
807 | 807 | }
|
| 808 | + }, |
| 809 | + "queryTemplates": { |
| 810 | + "methods": { |
| 811 | + "approve": { |
| 812 | + "description": "Approves a query template.", |
| 813 | + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/queryTemplates/{queryTemplatesId}:approve", |
| 814 | + "httpMethod": "POST", |
| 815 | + "id": "analyticshub.projects.locations.dataExchanges.queryTemplates.approve", |
| 816 | + "parameterOrder": [ |
| 817 | + "name" |
| 818 | + ], |
| 819 | + "parameters": { |
| 820 | + "name": { |
| 821 | + "description": "Required. The resource path of the QueryTemplate. e.g. `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`.", |
| 822 | + "location": "path", |
| 823 | + "pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+/queryTemplates/[^/]+$", |
| 824 | + "required": true, |
| 825 | + "type": "string" |
| 826 | + } |
| 827 | + }, |
| 828 | + "path": "v1/{+name}:approve", |
| 829 | + "request": { |
| 830 | + "$ref": "ApproveQueryTemplateRequest" |
| 831 | + }, |
| 832 | + "response": { |
| 833 | + "$ref": "QueryTemplate" |
| 834 | + }, |
| 835 | + "scopes": [ |
| 836 | + "https://www.googleapis.com/auth/bigquery", |
| 837 | + "https://www.googleapis.com/auth/cloud-platform" |
| 838 | + ] |
| 839 | + }, |
| 840 | + "create": { |
| 841 | + "description": "Creates a new QueryTemplate", |
| 842 | + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/queryTemplates", |
| 843 | + "httpMethod": "POST", |
| 844 | + "id": "analyticshub.projects.locations.dataExchanges.queryTemplates.create", |
| 845 | + "parameterOrder": [ |
| 846 | + "parent" |
| 847 | + ], |
| 848 | + "parameters": { |
| 849 | + "parent": { |
| 850 | + "description": "Required. The parent resource path of the QueryTemplate. e.g. `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myQueryTemplate`.", |
| 851 | + "location": "path", |
| 852 | + "pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+$", |
| 853 | + "required": true, |
| 854 | + "type": "string" |
| 855 | + }, |
| 856 | + "queryTemplateId": { |
| 857 | + "description": "Required. The ID of the QueryTemplate to create. Must contain only Unicode letters, numbers (0-9), underscores (_). Max length: 100 bytes.", |
| 858 | + "location": "query", |
| 859 | + "type": "string" |
| 860 | + } |
| 861 | + }, |
| 862 | + "path": "v1/{+parent}/queryTemplates", |
| 863 | + "request": { |
| 864 | + "$ref": "QueryTemplate" |
| 865 | + }, |
| 866 | + "response": { |
| 867 | + "$ref": "QueryTemplate" |
| 868 | + }, |
| 869 | + "scopes": [ |
| 870 | + "https://www.googleapis.com/auth/bigquery", |
| 871 | + "https://www.googleapis.com/auth/cloud-platform" |
| 872 | + ] |
| 873 | + }, |
| 874 | + "delete": { |
| 875 | + "description": "Deletes a query template.", |
| 876 | + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/queryTemplates/{queryTemplatesId}", |
| 877 | + "httpMethod": "DELETE", |
| 878 | + "id": "analyticshub.projects.locations.dataExchanges.queryTemplates.delete", |
| 879 | + "parameterOrder": [ |
| 880 | + "name" |
| 881 | + ], |
| 882 | + "parameters": { |
| 883 | + "name": { |
| 884 | + "description": "Required. The resource path of the QueryTemplate. e.g. `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`.", |
| 885 | + "location": "path", |
| 886 | + "pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+/queryTemplates/[^/]+$", |
| 887 | + "required": true, |
| 888 | + "type": "string" |
| 889 | + } |
| 890 | + }, |
| 891 | + "path": "v1/{+name}", |
| 892 | + "response": { |
| 893 | + "$ref": "Empty" |
| 894 | + }, |
| 895 | + "scopes": [ |
| 896 | + "https://www.googleapis.com/auth/bigquery", |
| 897 | + "https://www.googleapis.com/auth/cloud-platform" |
| 898 | + ] |
| 899 | + }, |
| 900 | + "get": { |
| 901 | + "description": "Gets a QueryTemplate", |
| 902 | + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/queryTemplates/{queryTemplatesId}", |
| 903 | + "httpMethod": "GET", |
| 904 | + "id": "analyticshub.projects.locations.dataExchanges.queryTemplates.get", |
| 905 | + "parameterOrder": [ |
| 906 | + "name" |
| 907 | + ], |
| 908 | + "parameters": { |
| 909 | + "name": { |
| 910 | + "description": "Required. The parent resource path of the QueryTemplate. e.g. `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`.", |
| 911 | + "location": "path", |
| 912 | + "pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+/queryTemplates/[^/]+$", |
| 913 | + "required": true, |
| 914 | + "type": "string" |
| 915 | + } |
| 916 | + }, |
| 917 | + "path": "v1/{+name}", |
| 918 | + "response": { |
| 919 | + "$ref": "QueryTemplate" |
| 920 | + }, |
| 921 | + "scopes": [ |
| 922 | + "https://www.googleapis.com/auth/bigquery", |
| 923 | + "https://www.googleapis.com/auth/cloud-platform" |
| 924 | + ] |
| 925 | + }, |
| 926 | + "list": { |
| 927 | + "description": "Lists all QueryTemplates in a given project and location.", |
| 928 | + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/queryTemplates", |
| 929 | + "httpMethod": "GET", |
| 930 | + "id": "analyticshub.projects.locations.dataExchanges.queryTemplates.list", |
| 931 | + "parameterOrder": [ |
| 932 | + "parent" |
| 933 | + ], |
| 934 | + "parameters": { |
| 935 | + "pageSize": { |
| 936 | + "description": "Optional. The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection.", |
| 937 | + "format": "int32", |
| 938 | + "location": "query", |
| 939 | + "type": "integer" |
| 940 | + }, |
| 941 | + "pageToken": { |
| 942 | + "description": "Optional. Page token, returned by a previous call, to request the next page of results.", |
| 943 | + "location": "query", |
| 944 | + "type": "string" |
| 945 | + }, |
| 946 | + "parent": { |
| 947 | + "description": "Required. The parent resource path of the QueryTemplates. e.g. `projects/myproject/locations/us/dataExchanges/123`.", |
| 948 | + "location": "path", |
| 949 | + "pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+$", |
| 950 | + "required": true, |
| 951 | + "type": "string" |
| 952 | + } |
| 953 | + }, |
| 954 | + "path": "v1/{+parent}/queryTemplates", |
| 955 | + "response": { |
| 956 | + "$ref": "ListQueryTemplatesResponse" |
| 957 | + }, |
| 958 | + "scopes": [ |
| 959 | + "https://www.googleapis.com/auth/bigquery", |
| 960 | + "https://www.googleapis.com/auth/cloud-platform" |
| 961 | + ] |
| 962 | + }, |
| 963 | + "patch": { |
| 964 | + "description": "Updates an existing QueryTemplate", |
| 965 | + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/queryTemplates/{queryTemplatesId}", |
| 966 | + "httpMethod": "PATCH", |
| 967 | + "id": "analyticshub.projects.locations.dataExchanges.queryTemplates.patch", |
| 968 | + "parameterOrder": [ |
| 969 | + "name" |
| 970 | + ], |
| 971 | + "parameters": { |
| 972 | + "name": { |
| 973 | + "description": "Output only. The resource name of the QueryTemplate. e.g. `projects/myproject/locations/us/dataExchanges/123/queryTemplates/456`", |
| 974 | + "location": "path", |
| 975 | + "pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+/queryTemplates/[^/]+$", |
| 976 | + "required": true, |
| 977 | + "type": "string" |
| 978 | + }, |
| 979 | + "updateMask": { |
| 980 | + "description": "Optional. Field mask specifies the fields to update in the query template resource. The fields specified in the `updateMask` are relative to the resource and are not a full request.", |
| 981 | + "format": "google-fieldmask", |
| 982 | + "location": "query", |
| 983 | + "type": "string" |
| 984 | + } |
| 985 | + }, |
| 986 | + "path": "v1/{+name}", |
| 987 | + "request": { |
| 988 | + "$ref": "QueryTemplate" |
| 989 | + }, |
| 990 | + "response": { |
| 991 | + "$ref": "QueryTemplate" |
| 992 | + }, |
| 993 | + "scopes": [ |
| 994 | + "https://www.googleapis.com/auth/bigquery", |
| 995 | + "https://www.googleapis.com/auth/cloud-platform" |
| 996 | + ] |
| 997 | + }, |
| 998 | + "submit": { |
| 999 | + "description": "Submits a query template for approval.", |
| 1000 | + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}/queryTemplates/{queryTemplatesId}:submit", |
| 1001 | + "httpMethod": "POST", |
| 1002 | + "id": "analyticshub.projects.locations.dataExchanges.queryTemplates.submit", |
| 1003 | + "parameterOrder": [ |
| 1004 | + "name" |
| 1005 | + ], |
| 1006 | + "parameters": { |
| 1007 | + "name": { |
| 1008 | + "description": "Required. The resource path of the QueryTemplate. e.g. `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`.", |
| 1009 | + "location": "path", |
| 1010 | + "pattern": "^projects/[^/]+/locations/[^/]+/dataExchanges/[^/]+/queryTemplates/[^/]+$", |
| 1011 | + "required": true, |
| 1012 | + "type": "string" |
| 1013 | + } |
| 1014 | + }, |
| 1015 | + "path": "v1/{+name}:submit", |
| 1016 | + "request": { |
| 1017 | + "$ref": "SubmitQueryTemplateRequest" |
| 1018 | + }, |
| 1019 | + "response": { |
| 1020 | + "$ref": "QueryTemplate" |
| 1021 | + }, |
| 1022 | + "scopes": [ |
| 1023 | + "https://www.googleapis.com/auth/bigquery", |
| 1024 | + "https://www.googleapis.com/auth/cloud-platform" |
| 1025 | + ] |
| 1026 | + } |
| 1027 | + } |
808 | 1028 | }
|
809 | 1029 | }
|
810 | 1030 | },
|
|
1027 | 1247 | }
|
1028 | 1248 | }
|
1029 | 1249 | },
|
1030 |
| - "revision": "20250623", |
| 1250 | + "revision": "20250807", |
1031 | 1251 | "rootUrl": "https://analyticshub.googleapis.com/",
|
1032 | 1252 | "schemas": {
|
| 1253 | + "ApproveQueryTemplateRequest": { |
| 1254 | + "description": "Message for approving a QueryTemplate.", |
| 1255 | + "id": "ApproveQueryTemplateRequest", |
| 1256 | + "properties": {}, |
| 1257 | + "type": "object" |
| 1258 | + }, |
1033 | 1259 | "AuditConfig": {
|
1034 | 1260 | "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user: [email protected]\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user: [email protected]\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts ` [email protected]` from DATA_READ logging, and ` [email protected]` from DATA_WRITE logging.",
|
1035 | 1261 | "id": "AuditConfig",
|
|
1684 | 1910 | },
|
1685 | 1911 | "type": "object"
|
1686 | 1912 | },
|
| 1913 | + "ListQueryTemplatesResponse": { |
| 1914 | + "description": "Message for response to the list of QueryTemplates.", |
| 1915 | + "id": "ListQueryTemplatesResponse", |
| 1916 | + "properties": { |
| 1917 | + "nextPageToken": { |
| 1918 | + "description": "A token to request the next page of results.", |
| 1919 | + "type": "string" |
| 1920 | + }, |
| 1921 | + "queryTemplates": { |
| 1922 | + "description": "The list of QueryTemplates.", |
| 1923 | + "items": { |
| 1924 | + "$ref": "QueryTemplate" |
| 1925 | + }, |
| 1926 | + "type": "array" |
| 1927 | + } |
| 1928 | + }, |
| 1929 | + "type": "object" |
| 1930 | + }, |
1687 | 1931 | "ListSharedResourceSubscriptionsResponse": {
|
1688 | 1932 | "description": "Message for response to the listing of shared resource subscriptions.",
|
1689 | 1933 | "id": "ListSharedResourceSubscriptionsResponse",
|
|
2110 | 2354 | },
|
2111 | 2355 | "type": "object"
|
2112 | 2356 | },
|
| 2357 | + "QueryTemplate": { |
| 2358 | + "description": "A query template is a container for sharing table-valued functions defined by contributors in a data clean room.", |
| 2359 | + "id": "QueryTemplate", |
| 2360 | + "properties": { |
| 2361 | + "createTime": { |
| 2362 | + "description": "Output only. Timestamp when the QueryTemplate was created.", |
| 2363 | + "format": "google-datetime", |
| 2364 | + "readOnly": true, |
| 2365 | + "type": "string" |
| 2366 | + }, |
| 2367 | + "description": { |
| 2368 | + "description": "Optional. Short description of the QueryTemplate. The description must not contain Unicode non-characters and C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). Default value is an empty string. Max length: 2000 bytes.", |
| 2369 | + "type": "string" |
| 2370 | + }, |
| 2371 | + "displayName": { |
| 2372 | + "description": "Required. Human-readable display name of the QueryTemplate. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), ampersands (&) and can't start or end with spaces. Default value is an empty string. Max length: 63 bytes.", |
| 2373 | + "type": "string" |
| 2374 | + }, |
| 2375 | + "documentation": { |
| 2376 | + "description": "Optional. Documentation describing the QueryTemplate.", |
| 2377 | + "type": "string" |
| 2378 | + }, |
| 2379 | + "name": { |
| 2380 | + "description": "Output only. The resource name of the QueryTemplate. e.g. `projects/myproject/locations/us/dataExchanges/123/queryTemplates/456`", |
| 2381 | + "readOnly": true, |
| 2382 | + "type": "string" |
| 2383 | + }, |
| 2384 | + "primaryContact": { |
| 2385 | + "description": "Optional. Email or URL of the primary point of contact of the QueryTemplate. Max Length: 1000 bytes.", |
| 2386 | + "type": "string" |
| 2387 | + }, |
| 2388 | + "proposer": { |
| 2389 | + "description": "Optional. Will be deprecated. Email or URL of the primary point of contact of the QueryTemplate. Max Length: 1000 bytes.", |
| 2390 | + "type": "string" |
| 2391 | + }, |
| 2392 | + "routine": { |
| 2393 | + "$ref": "Routine", |
| 2394 | + "description": "Optional. The routine associated with the QueryTemplate." |
| 2395 | + }, |
| 2396 | + "state": { |
| 2397 | + "description": "Output only. The QueryTemplate lifecycle state.", |
| 2398 | + "enum": [ |
| 2399 | + "STATE_UNSPECIFIED", |
| 2400 | + "DRAFTED", |
| 2401 | + "PENDING", |
| 2402 | + "DELETED", |
| 2403 | + "APPROVED" |
| 2404 | + ], |
| 2405 | + "enumDescriptions": [ |
| 2406 | + "Default value. This value is unused.", |
| 2407 | + "The QueryTemplate is in draft state.", |
| 2408 | + "The QueryTemplate is in pending state.", |
| 2409 | + "The QueryTemplate is in deleted state.", |
| 2410 | + "The QueryTemplate is in approved state." |
| 2411 | + ], |
| 2412 | + "readOnly": true, |
| 2413 | + "type": "string" |
| 2414 | + }, |
| 2415 | + "updateTime": { |
| 2416 | + "description": "Output only. Timestamp when the QueryTemplate was last modified.", |
| 2417 | + "format": "google-datetime", |
| 2418 | + "readOnly": true, |
| 2419 | + "type": "string" |
| 2420 | + } |
| 2421 | + }, |
| 2422 | + "type": "object" |
| 2423 | + }, |
2113 | 2424 | "RefreshSubscriptionRequest": {
|
2114 | 2425 | "description": "Message for refreshing a subscription.",
|
2115 | 2426 | "id": "RefreshSubscriptionRequest",
|
|
2200 | 2511 | "properties": {},
|
2201 | 2512 | "type": "object"
|
2202 | 2513 | },
|
| 2514 | + "Routine": { |
| 2515 | + "description": "Represents a bigquery routine.", |
| 2516 | + "id": "Routine", |
| 2517 | + "properties": { |
| 2518 | + "definitionBody": { |
| 2519 | + "description": "Optional. The definition body of the routine.", |
| 2520 | + "type": "string" |
| 2521 | + }, |
| 2522 | + "routineType": { |
| 2523 | + "description": "Required. The type of routine.", |
| 2524 | + "enum": [ |
| 2525 | + "ROUTINE_TYPE_UNSPECIFIED", |
| 2526 | + "TABLE_VALUED_FUNCTION" |
| 2527 | + ], |
| 2528 | + "enumDescriptions": [ |
| 2529 | + "Default value.", |
| 2530 | + "Non-built-in persistent TVF." |
| 2531 | + ], |
| 2532 | + "type": "string" |
| 2533 | + } |
| 2534 | + }, |
| 2535 | + "type": "object" |
| 2536 | + }, |
2203 | 2537 | "SelectedResource": {
|
2204 | 2538 | "description": "Resource in this dataset that is selectively shared.",
|
2205 | 2539 | "id": "SelectedResource",
|
|
2273 | 2607 | },
|
2274 | 2608 | "type": "object"
|
2275 | 2609 | },
|
| 2610 | + "SubmitQueryTemplateRequest": { |
| 2611 | + "description": "Message for submitting a QueryTemplate.", |
| 2612 | + "id": "SubmitQueryTemplateRequest", |
| 2613 | + "properties": {}, |
| 2614 | + "type": "object" |
| 2615 | + }, |
2276 | 2616 | "SubscribeDataExchangeRequest": {
|
2277 | 2617 | "description": "Message for subscribing to a Data Exchange.",
|
2278 | 2618 | "id": "SubscribeDataExchangeRequest",
|
|
0 commit comments