Skip to content

Instantly share code, notes, and snippets.

@pentium10
Created February 9, 2022 19:59
Show Gist options
  • Save pentium10/0905fcd4c0c5b8f4f7fdf8425985e9c0 to your computer and use it in GitHub Desktop.
Save pentium10/0905fcd4c0c5b8f4f7fdf8425985e9c0 to your computer and use it in GitHub Desktop.
- initialize:
assign:
- project: ${sys.get_env("GOOGLE_CLOUD_PROJECT_NUMBER")}
- location: US
- setBiEngineCapacity:
call: http.patch
args:
url:
${"https://bigqueryreservation.googleapis.com/v1/projects/" + sys.get_env("GOOGLE_CLOUD_PROJECT_NUMBER")
+ "/locations/" + location
+ "/biReservation"}
auth:
type: OAuth2
query:
updateMask: "size"
body:
size: "2073741824"
result: result
- returnResult:
return: ${result.body}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment