{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/analytics:googleapis-iap/iap-projects-brands-list":{"get":{"operationId":"analytics_googleapis_iap_iap_projects_brands_list","summary":"Lists the existing brands for the project.","description":"GET /v1/{+parent}/brands","tags":["analytics"],"parameters":[{"name":"parent","in":"query","required":true,"description":"Required. GCP Project number/id. In the following format: projects/{project_number/id}.","schema":{"type":"string","description":"Required. GCP Project number/id. In the following format: projects/{project_number/id}."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-iap/iap-projects-brands-create":{"post":{"operationId":"analytics_googleapis_iap_iap_projects_brands_create","summary":"Constructs a new OAuth brand for the project if one does not exist. The created brand is \"internal only\",…","description":"POST /v1/{+parent}/brands","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. GCP Project number/id under which the brand is to be created. In the following format: projects/{project_number/id}."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-iap/iap-projects-iap-tunnel-locations-dest-groups-get":{"get":{"operationId":"analytics_googleapis_iap_iap_projects_iap_tunnel_locations_dest_groups_get","summary":"Retrieves an existing TunnelDestGroup.","description":"GET /v1/{+name}","tags":["analytics"],"parameters":[{"name":"name","in":"query","required":true,"description":"Required. Name of the TunnelDestGroup to be fetched. In the following format:…","schema":{"type":"string","description":"Required. Name of the TunnelDestGroup to be fetched. In the following format:…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-iap/iap-projects-iap-tunnel-locations-dest-groups-patch":{"post":{"operationId":"analytics_googleapis_iap_iap_projects_iap_tunnel_locations_dest_groups_patch","summary":"Updates a TunnelDestGroup.","description":"PATCH /v1/{+name}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"Identifier. Identifier for the TunnelDestGroup. Must be unique within the project and contain only lower case letters (a-z) and dashes (-)."},"updateMask":{"type":"string","description":"A field mask that specifies which IAP settings to update. If omitted, then all of the settings are updated. See…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-iap/iap-projects-iap-tunnel-locations-dest-groups-delete":{"post":{"operationId":"analytics_googleapis_iap_iap_projects_iap_tunnel_locations_dest_groups_delete","summary":"Deletes a TunnelDestGroup.","description":"DELETE /v1/{+name}","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Required. Name of the TunnelDestGroup to delete. In the following format:…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-iap/iap-projects-brands-identity-aware-proxy-clients-list":{"get":{"operationId":"analytics_googleapis_iap_iap_projects_brands_identity_aware_proxy_clients_list","summary":"Lists the existing clients for the brand.","description":"GET /v1/{+parent}/identityAwareProxyClients","tags":["analytics"],"parameters":[{"name":"pageSize","in":"query","required":false,"description":"The maximum number of clients to return. The service may return fewer than this value. If unspecified, at most 100 clients will be…","schema":{"type":"integer","description":"The maximum number of clients to return. The service may return fewer than this value. If unspecified, at most 100 clients will be…"}},{"name":"pageToken","in":"query","required":false,"description":"A page token, received from a previous `ListIdentityAwareProxyClients` call. Provide this to retrieve the subsequent page. When…","schema":{"type":"string","description":"A page token, received from a previous `ListIdentityAwareProxyClients` call. Provide this to retrieve the subsequent page. When…"}},{"name":"parent","in":"query","required":true,"description":"Required. Full brand path. In the following format: projects/{project_number/id}/brands/{brand}.","schema":{"type":"string","description":"Required. Full brand path. In the following format: projects/{project_number/id}/brands/{brand}."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-iap/iap-projects-brands-identity-aware-proxy-clients-create":{"post":{"operationId":"analytics_googleapis_iap_iap_projects_brands_identity_aware_proxy_clients_create","summary":"Creates an Identity Aware Proxy (IAP) OAuth client. The client is owned by IAP. Requires that the brand for…","description":"POST /v1/{+parent}/identityAwareProxyClients","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. Path to create the client in. In the following format: projects/{project_number/id}/brands/{brand}. The project must belong to a…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-iap/iap-projects-brands-identity-aware-proxy-clients-reset-secre":{"post":{"operationId":"analytics_googleapis_iap_iap_projects_brands_identity_aware_proxy_clients_reset_secre","summary":"Resets an Identity Aware Proxy (IAP) OAuth client secret. Useful if the secret was compromised. Requires…","description":"POST /v1/{+name}:resetSecret","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"Required. Name of the Identity Aware Proxy client to that will have its secret reset. In the following format:…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-iap/iap-projects-iap-tunnel-locations-dest-groups-list":{"get":{"operationId":"analytics_googleapis_iap_iap_projects_iap_tunnel_locations_dest_groups_list","summary":"Lists the existing TunnelDestGroups. To group across all locations, use a `-` as the location ID. For…","description":"GET /v1/{+parent}/destGroups","tags":["analytics"],"parameters":[{"name":"pageSize","in":"query","required":false,"description":"The maximum number of groups to return. The service might return fewer than this value. If unspecified, at most 100 groups are returned.…","schema":{"type":"integer","description":"The maximum number of groups to return. The service might return fewer than this value. If unspecified, at most 100 groups are returned.…"}},{"name":"pageToken","in":"query","required":false,"description":"A page token, received from a previous `ListTunnelDestGroups` call. Provide this to retrieve the subsequent page. When paginating, all…","schema":{"type":"string","description":"A page token, received from a previous `ListTunnelDestGroups` call. Provide this to retrieve the subsequent page. When paginating, all…"}},{"name":"parent","in":"query","required":true,"description":"Required. Google Cloud Project ID and location. In the following format: `projects/{project_number/id}/iap_tunnel/locations/{location}`. A…","schema":{"type":"string","description":"Required. Google Cloud Project ID and location. In the following format: `projects/{project_number/id}/iap_tunnel/locations/{location}`. A…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-iap/iap-projects-iap-tunnel-locations-dest-groups-create":{"post":{"operationId":"analytics_googleapis_iap_iap_projects_iap_tunnel_locations_dest_groups_create","summary":"Creates a new TunnelDestGroup.","description":"POST /v1/{+parent}/destGroups","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. Google Cloud Project ID and location. In the following format: `projects/{project_number/id}/iap_tunnel/locations/{location}`."},"tunnelDestGroupId":{"type":"string","description":"Required. The ID to use for the TunnelDestGroup, which becomes the final component of the resource name. This value must be 4-63…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-iap/iap-get-iam-policy":{"post":{"operationId":"analytics_googleapis_iap_iap_get_iam_policy","summary":"Gets the access control policy for an Identity-Aware Proxy protected resource. More information about…","description":"POST /v1/{+resource}:getIamPolicy","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["resource","body"],"properties":{"resource":{"type":"string","description":"REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names)…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-iap/iap-get-iap-settings":{"get":{"operationId":"analytics_googleapis_iap_iap_get_iap_settings","summary":"Gets the IAP settings on a particular IAP protected resource.","description":"GET /v1/{+name}:iapSettings","tags":["analytics"],"parameters":[{"name":"name","in":"query","required":true,"description":"Required. The resource name for which to retrieve the settings. Authorization: Requires the `getSettings` permission for the associated…","schema":{"type":"string","description":"Required. The resource name for which to retrieve the settings. Authorization: Requires the `getSettings` permission for the associated…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-iap/iap-update-iap-settings":{"post":{"operationId":"analytics_googleapis_iap_iap_update_iap_settings","summary":"Updates the IAP settings on a particular IAP protected resource. It replaces all fields unless the…","description":"PATCH /v1/{+name}:iapSettings","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"Required. The resource name of the IAP protected resource."},"updateMask":{"type":"string","description":"The field mask specifying which IAP settings should be updated. If omitted, then all of the settings are updated. See…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-iap/iap-set-iam-policy":{"post":{"operationId":"analytics_googleapis_iap_iap_set_iam_policy","summary":"Sets the access control policy for an Identity-Aware Proxy protected resource. Replaces any existing policy.…","description":"POST /v1/{+resource}:setIamPolicy","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["resource","body"],"properties":{"resource":{"type":"string","description":"REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names)…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-iap/iap-test-iam-permissions":{"post":{"operationId":"analytics_googleapis_iap_iap_test_iam_permissions","summary":"Returns permissions that a caller has on the Identity-Aware Proxy protected resource. More information about…","description":"POST /v1/{+resource}:testIamPermissions","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["resource","body"],"properties":{"resource":{"type":"string","description":"REQUIRED: The resource for which the policy detail is being requested. See [Resource…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-iap/iap-validate-attribute-expression":{"post":{"operationId":"analytics_googleapis_iap_iap_validate_attribute_expression","summary":"Validates that a given CEL expression conforms to IAP restrictions.","description":"POST /v1/{+name}:validateAttributeExpression","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"expression":{"type":"string","description":"Required. User input string expression. Should be of the form `attributes.saml_attributes.filter(attribute, attribute.name in…"},"name":{"type":"string","description":"Required. The resource name of the IAP protected resource."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}