File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed
Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -16,19 +16,7 @@ def log_request_info():
1616
1717@app .route ('/v1/projects/testing-project-three/locations/global/keyRings/testing-three/cryptoKeys' , methods = ['GET' ])
1818def v1_projects_testing_project_three_locations_global_keyRings_testing_three_cryptoKeys ():
19- response = {
20- "cryptoKeys" : [
21- {
22- "name" : "projects/testing-project-three/locations/global/keyRings/testing-three/cryptoKeys/demo-key" ,
23- "primary" : {
24- "state" : "ENABLED" ,
25- "createTime" : "2024-05-22T14:00:00.000000000Z"
26- },
27- "purpose" : "ENCRYPT_DECRYPT"
28- }
29- ]
30- }
31- return jsonify (response )
19+ return render_template ('route_1_template.json' ), 200 , {'Content-Type' : 'application/json' }
3220
3321@app .route ('/v1/projects/testing-project-three/locations/australia-southeast2/keyRings/big-m-testing-three/cryptoKeys' , methods = ['GET' ])
3422def v1_projects_testing_project_three_locations_australia_southeast2_keyRings_big_m_testing_three_cryptoKeys ():
You can’t perform that action at this time.
0 commit comments