[SINK_NAME]
with a name for the sink, [PROJECT_ID]
with your GCP project ID, and [DESTINATION]
with the destination for the logs (e.g., Cloud Storage bucket or BigQuery dataset).[CHECK_NAME]
with a name for the uptime check, [PROJECT_ID]
with your GCP project ID, [DISPLAY_NAME]
with a display name for the check, [API_ID]
with the ID of your API Gateway, [LOCATION]
with the location of your API Gateway, [CHECK_PATH]
with the path to check, [CHECK_PORT]
with the port to check, [CHECK_PERIOD]
with the check period in seconds, [CHECK_TIMEOUT]
with the check timeout in seconds, and [CONTENT_MATCHERS]
with any content matchers to validate the response.[PROJECT_ID]
with your GCP project ID, [MEMBER]
with the member to add the IAM policy for (e.g., user or service account), and [ROLE]
with the desired role for the member.google-cloud-apigateway
Python library to interact with the API Gateway service.apigateway.projects.locations.gatewayApis.update
method.google-auth
Python library to authenticate requests to your API Gateway service.apigateway.projects.locations.gatewayApis.update
method to configure authentication and authorization settings for your API.