openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 3.33 MB
JSON
{"openapi":"3.0.0","servers":[{"url":"https://compute.googleapis.com/compute/v1"}],"info":{"contact":{"name":"Google","url":"https://google.com","x-twitter":"youtube"},"description":"Creates and runs virtual machines on Google Cloud Platform. ","license":{"name":"Creative Commons Attribution 3.0","url":"http://creativecommons.org/licenses/by/3.0/"},"termsOfService":"https://developers.google.com/terms/","title":"Compute Engine API","version":"v1","x-apiClientRegistration":{"url":"https://console.developers.google.com"},"x-apisguru-categories":["analytics","media"],"x-logo":{"url":"https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png"},"x-origin":[{"converter":{"url":"https://github.com/mermade/oas-kit","version":"7.0.4"},"format":"google","url":"https://www.googleapis.com/discovery/v1/apis/compute/v1/rest","version":"v1"}],"x-preferred":true,"x-providerName":"googleapis.com","x-serviceName":"compute"},"externalDocs":{"url":"https://cloud.google.com/compute/"},"tags":[{"name":"acceleratorTypes"},{"name":"addresses"},{"name":"autoscalers"},{"name":"backendBuckets"},{"name":"backendServices"},{"name":"disks"},{"name":"diskTypes"},{"name":"externalVpnGateways"},{"name":"firewallPolicies"},{"name":"firewalls"},{"name":"forwardingRules"},{"name":"globalAddresses"},{"name":"globalForwardingRules"},{"name":"globalNetworkEndpointGroups"},{"name":"globalOperations"},{"name":"globalOrganizationOperations"},{"name":"globalPublicDelegatedPrefixes"},{"name":"healthChecks"},{"name":"httpHealthChecks"},{"name":"httpsHealthChecks"},{"name":"imageFamilyViews"},{"name":"images"},{"name":"instanceGroupManagers"},{"name":"instanceGroups"},{"name":"instances"},{"name":"instanceTemplates"},{"name":"instantSnapshots"},{"name":"interconnectAttachments"},{"name":"interconnectLocations"},{"name":"interconnectRemoteLocations"},{"name":"interconnects"},{"name":"licenseCodes"},{"name":"licenses"},{"name":"machineImages"},{"name":"machineTypes"},{"name":"networkAttachments"},{"name":"networkEdgeSecurityServices"},{"name":"networkEndpointGroups"},{"name":"networkFirewallPolicies"},{"name":"networks"},{"name":"nodeGroups"},{"name":"nodeTemplates"},{"name":"nodeTypes"},{"name":"packetMirrorings"},{"name":"projects"},{"name":"publicAdvertisedPrefixes"},{"name":"publicDelegatedPrefixes"},{"name":"regionAutoscalers"},{"name":"regionBackendServices"},{"name":"regionCommitments"},{"name":"regionDisks"},{"name":"regionDiskTypes"},{"name":"regionHealthChecks"},{"name":"regionHealthCheckServices"},{"name":"regionInstanceGroupManagers"},{"name":"regionInstanceGroups"},{"name":"regionInstances"},{"name":"regionInstanceTemplates"},{"name":"regionInstantSnapshots"},{"name":"regionNetworkEndpointGroups"},{"name":"regionNetworkFirewallPolicies"},{"name":"regionNotificationEndpoints"},{"name":"regionOperations"},{"name":"regions"},{"name":"regionSecurityPolicies"},{"name":"regionSslCertificates"},{"name":"regionSslPolicies"},{"name":"regionTargetHttpProxies"},{"name":"regionTargetHttpsProxies"},{"name":"regionTargetTcpProxies"},{"name":"regionUrlMaps"},{"name":"regionZones"},{"name":"reservations"},{"name":"resourcePolicies"},{"name":"routers"},{"name":"routes"},{"name":"securityPolicies"},{"name":"serviceAttachments"},{"name":"snapshots"},{"name":"snapshotSettings"},{"name":"sslCertificates"},{"name":"sslPolicies"},{"name":"subnetworks"},{"name":"targetGrpcProxies"},{"name":"targetHttpProxies"},{"name":"targetHttpsProxies"},{"name":"targetInstances"},{"name":"targetPools"},{"name":"targetSslProxies"},{"name":"targetTcpProxies"},{"name":"targetVpnGateways"},{"name":"urlMaps"},{"name":"vpnGateways"},{"name":"vpnTunnels"},{"name":"zoneOperations"},{"name":"zones"}],"paths":{"/locations/global/firewallPolicies":{"get":{"description":"Lists all the policies that have been configured for the specified folder or organization.","operationId":"compute.firewallPolicies.list","parameters":[{"description":"A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.","in":"query","name":"filter","schema":{"type":"string"}},{"description":"The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)","in":"query","name":"maxResults","schema":{"minimum":0,"type":"integer"}},{"description":"Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.","in":"query","name":"orderBy","schema":{"type":"string"}},{"description":"Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.","in":"query","name":"pageToken","schema":{"type":"string"}},{"description":"Parent ID for this request. The ID can be either be \"folders/[FOLDER_ID]\" if the parent is a folder or \"organizations/[ORGANIZATION_ID]\" if the parent is an organization.","in":"query","name":"parentId","schema":{"type":"string"}},{"description":"Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.","in":"query","name":"returnPartialSuccess","schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirewallPolicyList"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/compute"],"Oauth2c":["https://www.googleapis.com/auth/compute"]},{"Oauth2":["https://www.googleapis.com/auth/compute.readonly"],"Oauth2c":["https://www.googleapis.com/auth/compute.readonly"]}],"tags":["firewallPolicies"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Creates a new policy in the specified project using the data included in the request.","operationId":"compute.firewallPolicies.insert","parameters":[{"description":"Parent ID for this request. The ID can be either be \"folders/[FOLDER_ID]\" if the parent is a folder or \"organizations/[ORGANIZATION_ID]\" if the parent is an organization.","in":"query","name":"parentId","schema":{"type":"string"}},{"description":"An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).","in":"query","name":"requestId","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirewallPolicy"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/compute"],"Oauth2c":["https://www.googleapis.com/auth/compute"]}],"tags":["firewallPolicies"]}},"/locations/global/firewallPolicies/listAssociations":{"get":{"description":"Lists associations of a specified target, i.e., organization or folder.","operationId":"compute.firewallPolicies.listAssociations","parameters":[{"description":"The target resource to list associations. It is an organization, or a folder.","in":"query","name":"targetResource","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirewallPoliciesListAssociationsResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/compute"],"Oauth2c":["https://www.googleapis.com/auth/compute"]},{"Oauth2":["https://www.googleapis.com/auth/compute.readonly"],"Oauth2c":["https://www.googleapis.com/auth/compute.readonly"]}],"tags":["firewallPolicies"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/userIp"}]},"/locations/global/firewallPolicies/{firewallPolicy}":{"delete":{"description":"Deletes the specified policy.","operationId":"compute.firewallPolicies.delete","parameters":[{"description":"Name of the firewall policy to delete.","in":"path","name":"firewallPolicy","required":true,"schema":{"type":"string"}},{"description":"An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).","in":"query","name":"requestId","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/compute"],"Oauth2c":["https://www.googleapis.com/auth/compute"]}],"tags":["firewallPolicies"]},"get":{"description":"Returns the specified firewall policy.","operationId":"compute.firewallPolicies.get","parameters":[{"description":"Name of the firewall policy to get.","in":"path","name":"firewallPolicy","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirewallPolicy"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/compute"],"Oauth2c":["https://www.googleapis.com/auth/compute"]},{"Oauth2":["https://www.googleapis.com/auth/compute.readonly"],"Oauth2c":["https://www.googleapis.com/auth/compute.readonly"]}],"tags":["firewallPolicies"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/userIp"}],"patch":{"description":"Patches the specified policy with the data included in the request.","operationId":"compute.firewallPolicies.patch","parameters":[{"description":"Name of the firewall policy to update.","in":"path","name":"firewallPolicy","required":true,"schema":{"type":"string"}},{"description":"An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).","in":"query","name":"requestId","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirewallPolicy"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/compute"],"Oauth2c":["https://www.googleapis.com/auth/compute"]}],"tags":["firewallPolicies"]}},"/locations/global/firewallPolicies/{firewallPolicy}/addAssociation":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Inserts an association for the specified firewall policy.","operationId":"compute.firewallPolicies.addAssociation","parameters":[{"description":"Name of the firewall policy to update.","in":"path","name":"firewallPolicy","required":true,"schema":{"type":"string"}},{"description":"Indicates whether or not to replace it if an association of the attachment already exists. This is false by default, in which case an error will be returned if an association already exists.","in":"query","name":"replaceExistingAssociation","schema":{"type":"boolean"}},{"description":"An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).","in":"query","name":"requestId","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirewallPolicyAssociation"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/compute"],"Oauth2c":["https://www.googleapis.com/auth/compute"]}],"tags":["firewallPolicies"]}},"/locations/global/firewallPolicies/{firewallPolicy}/addRule":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Inserts a rule into a firewall policy.","operationId":"compute.firewallPolicies.addRule","parameters":[{"description":"Name of the firewall policy to update.","in":"path","name":"firewallPolicy","required":true,"schema":{"type":"string"}},{"description":"An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).","in":"query","name":"requestId","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirewallPolicyRule"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/compute"],"Oauth2c":["https://www.googleapis.com/auth/compute"]}],"tags":["firewallPolicies"]}},"/locations/global/firewallPolicies/{firewallPolicy}/cloneRules":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Copies rules to the specified firewall policy.","operationId":"compute.firewallPolicies.cloneRules","parameters":[{"description":"Name of the firewall policy to update.","in":"path","name":"firewallPolicy","required":true,"schema":{"type":"string"}},{"description":"An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).","in":"query","name":"requestId","schema":{"type":"string"}},{"description":"The firewall policy from which to copy rules.","in":"query","name":"sourceFirewallPolicy","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/compute"],"Oauth2c":["https://www.googleapis.com/auth/compute"]}],"tags":["firewallPolicies"]}},"/locations/global/firewallPolicies/{firewallPolicy}/getAssociation":{"get":{"description":"Gets an association with the specified name.","operationId":"compute.firewallPolicies.getAssociation","parameters":[{"description":"Name of the firewall policy to which the queried rule belongs.","in":"path","name":"firewallPolicy","required":true,"schema":{"type":"string"}},{"description":"The name of the association to get from the firewall policy.","in":"query","name":"name","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirewallPolicyAssociation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/compute"],"Oauth2c":["https://www.googleapis.com/auth/compute"]},{"Oauth2":["https://www.googleapis.com/auth/compute.readonly"],"Oauth2c":["https://www.googleapis.com/auth/compute.readonly"]}],"tags":["firewallPolicies"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/userIp"}]},"/locations/global/firewallPolicies/{firewallPolicy}/getRule":{"get":{"description":"Gets a rule of the specified priority.","operationId":"compute.firewallPolicies.getRule","parameters":[{"description":"Name of the firewall policy to which the queried rule belongs.","in":"path","name":"firewallPolicy","required":true,"schema":{"type":"string"}},{"description":"The priority of the rule to get from the firewall policy.","in":"query","name":"priority","schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirewallPolicyRule"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/compute"],"Oauth2c":["https://www.googleapis.com/auth/compute"]},{"Oauth2":["https://www.googleapis.com/auth/compute.readonly"],"Oauth2c":["https://www.googleapis.com/auth/compute.readonly"]}],"tags":["firewallPolicies"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/userIp"}]},"/locations/global/firewallPolicies/{firewallPolicy}/move":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Moves the specified firewall policy.","operationId":"compute.firewallPolicies.move","parameters":[{"description":"Name of the firewall policy to update.","in":"path","name":"firewallPolicy","required":true,"schema":{"type":"string"}},{"description":"The new parent of the firewall policy. The ID can be either be \"folders/[FOLDER_ID]\" if the parent is a folder or \"organizations/[ORGANIZATION_ID]\" if the parent is an organization.","in":"query","name":"parentId","schema":{"type":"string"}},{"description":"An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).","in":"query","name":"requestId","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/compute"],"Oauth2c":["https://www.googleapis.com/auth/compute"]}],"tags":["firewallPolicies"]}},"/locations/global/firewallPolicies/{firewallPolicy}/patchRule":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Patches a rule of the specified priority.","operationId":"compute.firewallPolicies.patchRule","parameters":[{"description":"Name of the firewall policy to update.","in":"path","name":"firewallPolicy","required":true,"schema":{"type":"string"}},{"description":"The priority of the rule to patch.","in":"query","name":"priority","schema":{"type":"integer"}},{"description":"An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).","in":"query","name":"requestId","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirewallPolicyRule"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/compute"],"Oauth2c":["https://www.googleapis.com/auth/compute"]}],"tags":["firewallPolicies"]}},"/locations/global/firewallPolicies/{firewallPolicy}/removeAssociation":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Removes an association for the specified firewall policy.","operationId":"compute.firewallPolicies.removeAssociation","parameters":[{"description":"Name of the firewall policy to update.","in":"path","name":"firewallPolicy","required":true,"schema":{"type":"string"}},{"description":"Name for the attachment that will be removed.","in":"query","name":"name","schema":{"type":"string"}},{"description":"An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).","in":"query","name":"requestId","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/compute"],"Oauth2c":["https://www.googleapis.com/auth/compute"]}],"tags":["firewallPolicies"]}},"/locations/global/firewallPolicies/{firewallPolicy}/removeRule":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Deletes a rule of the specified priority.","operationId":"compute.firewallPolicies.removeRule","parameters":[{"description":"Name of the firewall policy to update.","in":"path","name":"firewallPolicy","required":true,"schema":{"type":"string"}},{"description":"The priority of the rule to remove from the firewall policy.","in":"query","name":"priority","schema":{"type":"integer"}},{"description":"An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).","in":"query","name":"requestId","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/compute"],"Oauth2c":["https://www.googleapis.com/auth/compute"]}],"tags":["firewallPolicies"]}},"/locations/global/firewallPolicies/{resource}/getIamPolicy":{"get":{"description":"Gets the access control policy for a resource. May be empty if no such policy or resource exists.","operationId":"compute.firewallPolicies.getIamPolicy","parameters":[{"description":"Name or id of the resource for this request.","in":"path","name":"resource","required":true,"schema":{"type":"string"}},{"description":"Requested IAM Policy version.","in":"query","name":"optionsRequestedPolicyVersion","schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Policy"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/compute"],"Oauth2c":["https://www.googleapis.com/auth/compute"]},{"Oauth2":["https://www.googleapis.com/auth/compute.readonly"],"Oauth2c":["https://www.googleapis.com/auth/compute.readonly"]}],"tags":["firewallPolicies"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/userIp"}]},"/locations/global/firewallPolicies/{resource}/setIamPolicy":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Sets the access control policy on the specified resource. Replaces any existing policy.","operationId":"compute.firewallPolicies.setIamPolicy","parameters":[{"description":"Name or id of the resource for this request.","in":"path","name":"resource","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GlobalOrganizationSetPolicyRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Policy"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/compute"],"Oauth2c":["https://www.googleapis.com/auth/compute"]}],"tags":["firewallPolicies"]}},"/locations/global/firewallPolicies/{resource}/testIamPermissions":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Returns permissions that a caller has on the specified resource.","operationId":"compute.firewallPolicies.testIamPermissions","parameters":[{"description":"Name or id of the resource for this request.","in":"path","name":"resource","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestPermissionsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestPermissionsResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/compute"],"Oauth2c":["https://www.googleapis.com/auth/compute"]},{"Oauth2":["https://www.googleapis.com/auth/compute.readonly"],"Oauth2c":["https://www.googleapis.com/auth/compute.readonly"]}],"tags":["firewallPolicies"]}},"/locations/global/operations":{"get":{"description":"Retrieves a list of Operation resources contained within the specified organization.","operationId":"compute.globalOrganizationOperations.list","parameters":[{"description":"A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.","in":"query","name":"filter","schema":{"type":"string"}},{"description":"The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)","in":"query","name":"maxResults","schema":{"minimum":0,"type":"integer"}},{"description":"Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.","in":"query","name":"orderBy","schema":{"type":"string"}},{"description":"Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.","in":"query","name":"pageToken","schema":{"type":"string"}},{"description":"Parent ID for this request.","in":"query","name":"parentId","schema":{"type":"string"}},{"description":"Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.","in":"query","name":"returnPartialSuccess","schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationList"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/compute"],"Oauth2c":["https://www.googleapis.com/auth/compute"]},{"Oauth2":["https://www.googleapis.com/auth/compute.readonly"],"Oauth2c":["https://www.googleapis.com/auth/compute.readonly"]}],"tags":["globalOrganizationOperations"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/userIp"}]},"/locations/global/operations/{operation}":{"delete":{"description":"Deletes the specified Operations resource.","operationId":"compute.globalOrganizationOperations.delete","parameters":[{"description":"Name of the Operations resource to delete.","in":"path","name":"operation","required":true,"schema":{"type":"string"}},{"description":"Parent ID for this request.","in":"query","name":"parentId","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/compute"],"Oauth2c":["https://www.googleapis.com/auth/compute"]}],"tags":["globalOrganizationOperations"]},"get":{"description":"Retrieves the specified Operations resource. Gets a list of operations by making a `list()` request.","operationId":"compute.globalOrganizationOperations.get","parameters":[{"description":"Name of the Operations resource to return.","in":"path","name":"operation","required":true,"schema":{"type":"string"}},{"description":"Parent ID for this request.","in":"query","name":"parentId","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Operation"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/compute"],"Oauth2c":["https://www.googleapis.com/auth/compute"]},{"Oauth2":["https://www.googleapis.com/auth/compute.readonly"],"Oauth2c":["https://www.googleapis.com/auth/compute.readonly"]}],"tags":["globalOrganizationOperations"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/userIp"}]},"/projects/{project}":{"get":{"description":"Returns the specified Project resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request.","operationId":"compute.projects.get","parameters":[{"description":"Project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Project"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/compute"],"Oauth2c":["https://www.googleapis.com/auth/compute"]},{"Oauth2":["https://www.googleapis.com/auth/compute.readonly"],"Oauth2c":["https://www.googleapis.com/auth/compute.readonly"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/userIp"}]},"/projects/{project}/aggregated/acceleratorTypes":{"get":{"description":"Retrieves an aggregated list of accelerator types. To prevent failure, Google recommends that you set the `re