Compute Engine API Connector Overview

The Workflows connector defines the built-infunctions that can be used to access other Google Cloud products within aworkflow.

This page provides an overview of the individual connector.There is no need to import or load connector libraries in a workflow—connectorswork out of the box when used in a call step.

Compute Engine API

Creates and runs virtual machines on Google Cloud Platform. To learn more, see theCompute Engine API documentation.

Compute Engine connector sample

YAML

# This workflow demonstrates how to use the Compute Engine connector:# Create and start a Compute Engine VM instance, then stop and delete the VM# Each step waits until the long-running operation of stopping or starting the VM completes# After each step, the machine status is verified# Expected output: "SUCCESS"main:params:[]steps:-init:assign:-project:${sys.get_env("GOOGLE_CLOUD_PROJECT_ID")}-zone:"us-central1-a"-instance:"INSTANCE_NAME"# replace INSTANCE_NAME placeholder-machineType:"e2-micro"-insert_machine:call:googleapis.compute.v1.instances.insertargs:project:${project}zone:${zone}body:name:${instance}machineType:${"zones/" + zone + "/machineTypes/" + machineType}disks:-initializeParams:sourceImage:"projects/debian-cloud/global/images/debian-10-buster-v20201112"boot:trueautoDelete:truenetworkInterfaces:-network:"global/networks/default"-start_machine:call:googleapis.compute.v1.instances.startargs:instance:${instance}project:${project}zone:${zone}-assert_running:call:assert_machine_statusargs:expected_status:"RUNNING"project:${project}zone:${zone}instance:${instance}-stop_machine:call:googleapis.compute.v1.instances.stopargs:instance:${instance}project:${project}zone:${zone}-assert_terminated:call:assert_machine_statusargs:expected_status:"TERMINATED"project:${project}zone:${zone}instance:${instance}-delete_machine:call:googleapis.compute.v1.instances.deleteargs:instance:${instance}project:${project}zone:${zone}-the_end:return:"SUCCESS"assert_machine_status:params:[expected_status,project,zone,instance]steps:-get_instance:call:googleapis.compute.v1.instances.getargs:instance:${instance}project:${project}zone:${zone}result:instance-compare:switch:-condition:${instance.status == expected_status}next:end-fail:raise:${"Expected VM status is " + expected_status + ". Received " + instance.status + " instead."}

JSON

{"main":{"params":[],"steps":[{"init":{"assign":[{"project":"${sys.get_env(\"GOOGLE_CLOUD_PROJECT_ID\")}"},{"zone":"us-central1-a"},{"instance":"INSTANCE_NAME"},{"machineType":"e2-micro"}]}},{"insert_machine":{"call":"googleapis.compute.v1.instances.insert","args":{"project":"${project}","zone":"${zone}","body":{"name":"${instance}","machineType":"${\"zones/\" + zone + \"/machineTypes/\" + machineType}","disks":[{"initializeParams":{"sourceImage":"projects/debian-cloud/global/images/debian-10-buster-v20201112"},"boot":true,"autoDelete":true}],"networkInterfaces":[{"network":"global/networks/default"}]}}}},{"start_machine":{"call":"googleapis.compute.v1.instances.start","args":{"instance":"${instance}","project":"${project}","zone":"${zone}"}}},{"assert_running":{"call":"assert_machine_status","args":{"expected_status":"RUNNING","project":"${project}","zone":"${zone}","instance":"${instance}"}}},{"stop_machine":{"call":"googleapis.compute.v1.instances.stop","args":{"instance":"${instance}","project":"${project}","zone":"${zone}"}}},{"assert_terminated":{"call":"assert_machine_status","args":{"expected_status":"TERMINATED","project":"${project}","zone":"${zone}","instance":"${instance}"}}},{"delete_machine":{"call":"googleapis.compute.v1.instances.delete","args":{"instance":"${instance}","project":"${project}","zone":"${zone}"}}},{"the_end":{"return":"SUCCESS"}}]},"assert_machine_status":{"params":["expected_status","project","zone","instance"],"steps":[{"get_instance":{"call":"googleapis.compute.v1.instances.get","args":{"instance":"${instance}","project":"${project}","zone":"${zone}"},"result":"instance"}},{"compare":{"switch":[{"condition":"${instance.status == expected_status}","next":"end"}]}},{"fail":{"raise":"${\"Expected VM status is \" + expected_status + \". Received \" + instance.status + \" instead.\"}"}}]}}

Module: googleapis.compute.beta.acceleratorTypes

Functions
aggregatedListRetrieves an aggregated list of accelerator types.
getReturns the specified accelerator type.
listRetrieves a list of accelerator types that are available to thespecified project.

Module: googleapis.compute.beta.addresses

Functions
aggregatedListRetrieves an aggregated list of addresses.
deleteDeletes the specified address resource.
getReturns the specified address resource.
insertCreates an address resource in the specified project by using the dataincluded in the request.
listRetrieves a list of addresses contained within the specified region.
moveMoves the specified address resource.
setLabelsSets the labels on an Address. To learn more about labels, read theLabeling Resources documentation.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.autoscalers

Functions
aggregatedListRetrieves an aggregated list of autoscalers.
deleteDeletes the specified autoscaler.
getReturns the specified autoscaler resource.
insertCreates an autoscaler in the specified project using the data includedin the request.
listRetrieves a list of autoscalers contained within the specified zone.
patchUpdates an autoscaler in the specified project using the data includedin the request. This method supports PATCH semantics and uses the JSONmerge patch format and processing rules.
testIamPermissionsReturns permissions that a caller has on the specified resource.
updateUpdates an autoscaler in the specified project using the data includedin the request.

Module: googleapis.compute.beta.backendBuckets

Functions
addSignedUrlKeyAdds a key for validating requests with signed URLs for this backendbucket.
deleteDeletes the specified BackendBucket resource.
deleteSignedUrlKeyDeletes a key for validating requests with signed URLs for this backendbucket.
getReturns the specified BackendBucket resource.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
insertCreates a BackendBucket resource in the specified project using the dataincluded in the request.
listRetrieves the list of BackendBucket resources available to the specifiedproject.
patchUpdates the specified BackendBucket resource with the data included inthe request. This method supports PATCH semantics and uses the JSONmerge patch format and processing rules.
setEdgeSecurityPolicySets the edge security policy for the specified backend bucket.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
testIamPermissionsReturns permissions that a caller has on the specified resource.
updateUpdates the specified BackendBucket resource with the data included inthe request.

Module: googleapis.compute.beta.backendServices

Functions
addSignedUrlKeyAdds a key for validating requests with signed URLs for this backendservice.
aggregatedListRetrieves the list of all BackendService resources, regional and global,available to the specified project.
deleteDeletes the specified BackendService resource.
deleteSignedUrlKeyDeletes a key for validating requests with signed URLs for this backendservice.
getReturns the specified BackendService resource.
getHealthGets the most recent health check results for this BackendService.Example request body: { "group":"/zones/us-east1-b/instanceGroups/lb-backend-example" }
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
insertCreates a BackendService resource in the specified project using thedata included in the request. For more information, see Backend servicesoverview .
listRetrieves the list of BackendService resources available to thespecified project.
patchPatches the specified BackendService resource with the data included inthe request. For more information, see Backend services overview. Thismethod supports PATCH semantics and uses the JSON merge patch format andprocessing rules.
setEdgeSecurityPolicySets the edge security policy for the specified backend service.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
setSecurityPolicySets the Google Cloud Armor security policy for the specified backendservice. For more information, see Google Cloud Armor Overview
testIamPermissionsReturns permissions that a caller has on the specified resource.
updateUpdates the specified BackendService resource with the data included inthe request. For more information, see Backend services overview.

Module: googleapis.compute.beta.diskTypes

Functions
aggregatedListRetrieves an aggregated list of disk types.
getReturns the specified disk type.
listRetrieves a list of disk types available to the specified project.

Module: googleapis.compute.beta.disks

Functions
addResourcePoliciesAdds existing resource policies to a disk. You can only add one policywhich will be applied to this disk for scheduling snapshot creation.
aggregatedListRetrieves an aggregated list of persistent disks.
bulkInsertBulk create a set of disks.
createSnapshotCreates a snapshot of a specified persistent disk. For regular snapshotcreation, consider using snapshots.insert instead, as that methodsupports more features, such as creating snapshots in a projectdifferent from the source disk project.
deleteDeletes the specified persistent disk. Deleting a disk removes its datapermanently and is irreversible. However, deleting a disk does notdelete any snapshots previously made from the disk. You must separatelydelete snapshots.
getReturns the specified persistent disk.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
insertCreates a persistent disk in the specified project using the data in therequest. You can create a disk from a source (sourceImage,sourceSnapshot, or sourceDisk) or create an empty 500 GB data disk byomitting all properties. You can also create a disk that is larger thanthe default size by specifying the sizeGb property.
listRetrieves a list of persistent disks contained within the specifiedzone.
removeResourcePoliciesRemoves resource policies from a disk.
resizeResizes the specified persistent disk. You can only increase the size ofthe disk.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
setLabelsSets the labels on a disk. To learn more about labels, read the LabelingResources documentation.
startAsyncReplicationStarts asynchronous replication. Must be invoked on the primary disk.
stopAsyncReplicationStops asynchronous replication. Can be invoked either on the primary oron the secondary disk.
stopGroupAsyncReplicationStops asynchronous replication for a consistency group of disks. Can beinvoked either in the primary or secondary scope.
testIamPermissionsReturns permissions that a caller has on the specified resource.
updateUpdates the specified disk with the data included in the request. Theupdate is performed only on selected fields included as part ofupdate-mask. Only the following fields can be modified: user_license.

Module: googleapis.compute.beta.externalVpnGateways

Functions
deleteDeletes the specified externalVpnGateway.
getReturns the specified externalVpnGateway. Get a list of availableexternalVpnGateways by making a list() request.
insertCreates a ExternalVpnGateway in the specified project using the dataincluded in the request.
listRetrieves the list of ExternalVpnGateway available to the specifiedproject.
setLabelsSets the labels on an ExternalVpnGateway. To learn more about labels,read the Labeling Resources documentation.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.firewallPolicies

Functions
addAssociationInserts an association for the specified firewall policy.
addRuleInserts a rule into a firewall policy.
cloneRulesCopies rules to the specified firewall policy.
deleteDeletes the specified policy.
getReturns the specified firewall policy.
getAssociationGets an association with the specified name.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
getRuleGets a rule of the specified priority.
insertCreates a new policy in the specified project using the data included inthe request.
listLists all the policies that have been configured for the specifiedfolder or organization.
listAssociationsLists associations of a specified target, i.e., organization or folder.
moveMoves the specified firewall policy.
patchPatches the specified policy with the data included in the request.
patchRulePatches a rule of the specified priority.
removeAssociationRemoves an association for the specified firewall policy.
removeRuleDeletes a rule of the specified priority.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.firewalls

Functions
deleteDeletes the specified firewall.
getReturns the specified firewall.
insertCreates a firewall rule in the specified project using the data includedin the request.
listRetrieves the list of firewall rules available to the specified project.
patchUpdates the specified firewall rule with the data included in therequest. This method supports PATCH semantics and uses the JSON mergepatch format and processing rules.
testIamPermissionsReturns permissions that a caller has on the specified resource.
updateUpdates the specified firewall rule with the data included in therequest. Note that all fields will be updated if using PUT, even fieldsthat are not specified. To update individual fields, please use PATCHinstead.

Module: googleapis.compute.beta.forwardingRules

Functions
aggregatedListRetrieves an aggregated list of forwarding rules.
deleteDeletes the specified ForwardingRule resource.
getReturns the specified ForwardingRule resource.
insertCreates a ForwardingRule resource in the specified project and regionusing the data included in the request.
listRetrieves a list of ForwardingRule resources available to the specifiedproject and region.
patchUpdates the specified forwarding rule with the data included in therequest. This method supports PATCH semantics and uses the JSON mergepatch format and processing rules. Currently, you can only patch thenetwork_tier field.
setLabelsSets the labels on the specified resource. To learn more about labels,read the Labeling Resources documentation.
setTargetChanges target URL for forwarding rule. The new target should be of thesame type as the old target.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.globalAddresses

Functions
deleteDeletes the specified address resource.
getReturns the specified address resource.
insertCreates an address resource in the specified project by using the dataincluded in the request.
listRetrieves a list of global addresses.
moveMoves the specified address resource from one project to anotherproject.
setLabelsSets the labels on a GlobalAddress. To learn more about labels, read theLabeling Resources documentation.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.globalForwardingRules

Functions
deleteDeletes the specified GlobalForwardingRule resource.
getReturns the specified GlobalForwardingRule resource. Gets a list ofavailable forwarding rules by making a list() request.
insertCreates a GlobalForwardingRule resource in the specified project usingthe data included in the request.
listRetrieves a list of GlobalForwardingRule resources available to thespecified project.
patchUpdates the specified forwarding rule with the data included in therequest. This method supports PATCH semantics and uses the JSON mergepatch format and processing rules. Currently, you can only patch thenetwork_tier field.
setLabelsSets the labels on the specified resource. To learn more about labels,read the Labeling resources documentation.
setTargetChanges target URL for the GlobalForwardingRule resource. The new targetshould be of the same type as the old target.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.globalNetworkEndpointGroups

Functions
attachNetworkEndpointsAttach a network endpoint to the specified network endpoint group.
deleteDeletes the specified network endpoint group.Note that the NEG cannot bedeleted if there are backend services referencing it.
detachNetworkEndpointsDetach the network endpoint from the specified network endpoint group.
getReturns the specified network endpoint group.
insertCreates a network endpoint group in the specified project using theparameters that are included in the request.
listRetrieves the list of network endpoint groups that are located in thespecified project.
listNetworkEndpointsLists the network endpoints in the specified network endpoint group.

Module: googleapis.compute.beta.globalOperations

Functions
aggregatedListRetrieves an aggregated list of all operations.
deleteDeletes the specified Operations resource.
getRetrieves the specified Operations resource.
listRetrieves a list of Operation resources contained within the specifiedproject.
waitWaits for the specified Operation resource to return asDONE or forthe request to approach the 2 minute deadline, and retrieves thespecified Operation resource. This method differs from theGET methodin that it waits for no more than the default deadline (2 minutes) andthen returns the current state of the operation, which might beDONEor still in progress. This method is called on a best-effort basis.Specifically: - In uncommon cases, when the server is overloaded, therequest might return before the default deadline is reached, or mightreturn after zero seconds. - If the default deadline is reached, thereis no guarantee that the operation is actually done when the methodreturns. Be prepared to retry if the operation is notDONE.

Module: googleapis.compute.beta.globalOrganizationOperations

Functions
deleteDeletes the specified Operations resource.
getRetrieves the specified Operations resource. Gets a list of operationsby making alist() request.
listRetrieves a list of Operation resources contained within the specifiedorganization.

Module: googleapis.compute.beta.globalPublicDelegatedPrefixes

Functions
deleteDeletes the specified global PublicDelegatedPrefix.
getReturns the specified global PublicDelegatedPrefix resource.
insertCreates a global PublicDelegatedPrefix in the specified project usingthe parameters that are included in the request.
listLists the global PublicDelegatedPrefixes for a project.
patchPatches the specified global PublicDelegatedPrefix resource with thedata included in the request. This method supports PATCH semantics anduses JSON merge patch format and processing rules.

Module: googleapis.compute.beta.healthChecks

Functions
aggregatedListRetrieves the list of all HealthCheck resources, regional and global,available to the specified project.
deleteDeletes the specified HealthCheck resource.
getReturns the specified HealthCheck resource.
insertCreates a HealthCheck resource in the specified project using the dataincluded in the request.
listRetrieves the list of HealthCheck resources available to the specifiedproject.
patchUpdates a HealthCheck resource in the specified project using the dataincluded in the request. This method supports PATCH semantics and usesthe JSON merge patch format and processing rules.
testIamPermissionsReturns permissions that a caller has on the specified resource.
updateUpdates a HealthCheck resource in the specified project using the dataincluded in the request.

Module: googleapis.compute.beta.httpHealthChecks

Functions
deleteDeletes the specified HttpHealthCheck resource.
getReturns the specified HttpHealthCheck resource.
insertCreates a HttpHealthCheck resource in the specified project using thedata included in the request.
listRetrieves the list of HttpHealthCheck resources available to thespecified project.
patchUpdates a HttpHealthCheck resource in the specified project using thedata included in the request. This method supports PATCH semantics anduses the JSON merge patch format and processing rules.
testIamPermissionsReturns permissions that a caller has on the specified resource.
updateUpdates a HttpHealthCheck resource in the specified project using thedata included in the request.

Module: googleapis.compute.beta.httpsHealthChecks

Functions
deleteDeletes the specified HttpsHealthCheck resource.
getReturns the specified HttpsHealthCheck resource.
insertCreates a HttpsHealthCheck resource in the specified project using thedata included in the request.
listRetrieves the list of HttpsHealthCheck resources available to thespecified project.
patchUpdates a HttpsHealthCheck resource in the specified project using thedata included in the request. This method supports PATCH semantics anduses the JSON merge patch format and processing rules.
testIamPermissionsReturns permissions that a caller has on the specified resource.
updateUpdates a HttpsHealthCheck resource in the specified project using thedata included in the request.

Module: googleapis.compute.beta.imageFamilyViews

Functions
getReturns the latest image that is part of an image family, is notdeprecated and is rolled out in the specified zone.

Module: googleapis.compute.beta.images

Functions
deleteDeletes the specified image.
deprecateSets the deprecation status of an image. If an empty request body isgiven, clears the deprecation status instead.
getReturns the specified image.
getFromFamilyReturns the latest image that is part of an image family and is notdeprecated. For more information on image families, see Public imagefamilies documentation.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
insertCreates an image in the specified project using the data included in therequest.
listRetrieves the list of custom images available to the specified project.Custom images are images you create that belong to your project. Thismethod does not get any images that belong to other projects, includingpublicly-available images, like Debian 8. If you want to get a list ofpublicly-available images, use this method to make a request to therespective image project, such as debian-cloud or windows-cloud.
patchPatches the specified image with the data included in the request. Onlythe following fields can be modified: family, description, deprecationstatus.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
setLabelsSets the labels on an image. To learn more about labels, read theLabeling Resources documentation.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.instanceGroupManagers

Functions
abandonInstancesFlags the specified instances to be removed from the managed instancegroup. Abandoning an instance does not delete the instance, but it doesremove the instance from any target pools that are applied by themanaged instance group. This method reduces the targetSize of themanaged instance group by the number of instances that you abandon. Thisoperation is marked as DONE when the action is scheduled even if theinstances have not yet been removed from the group. You must separatelyverify the status of the abandoning action with the listmanagedinstancesmethod. If the group is part of a backend service that has enabledconnection draining, it can take up to 60 seconds after the connectiondraining duration has elapsed before the VM instance is removed ordeleted. You can specify a maximum of 1000 instances with this methodper request.
aggregatedListRetrieves the list of managed instance groups and groups them by zone.
applyUpdatesToInstancesApplies changes to selected instances on the managed instance group.This method can be used to apply new overrides and/or new versions.
createInstancesCreates instances with per-instance configurations in this managedinstance group. Instances are created using the current instancetemplate. The create instances operation is marked DONE if thecreateInstances request is successful. The underlying actions takeadditional time. You must separately verify the status of the creatingor actions with the listmanagedinstances method.
deleteDeletes the specified managed instance group and all of the instances inthat group. Note that the instance group must not belong to a backendservice. Read Deleting an instance group for more information.
deleteInstancesFlags the specified instances in the managed instance group forimmediate deletion. The instances are also removed from any target poolsof which they were a member. This method reduces the targetSize of themanaged instance group by the number of instances that you delete. Thisoperation is marked as DONE when the action is scheduled even if theinstances are still being deleted. You must separately verify the statusof the deleting action with the listmanagedinstances method. If thegroup is part of a backend service that has enabled connection draining,it can take up to 60 seconds after the connection draining duration haselapsed before the VM instance is removed or deleted. You can specify amaximum of 1000 instances with this method per request.
deletePerInstanceConfigsDeletes selected per-instance configurations for the managed instancegroup.
getReturns all of the details about the specified managed instance group.
insertCreates a managed instance group using the information that you specifyin the request. After the group is created, instances in the group arecreated using the specified instance template. This operation is markedas DONE when the group is created even if the instances in the grouphave not yet been created. You must separately verify the status of theindividual instances with the listmanagedinstances method. A managedinstance group can have up to 1000 VM instances per group. Pleasecontact Cloud Support if you need an increase in this limit.
listRetrieves a list of managed instance groups that are contained withinthe specified project and zone.
listErrorsLists all errors thrown by actions on instances for a given managedinstance group. The filter and orderBy query parameters are notsupported.
listManagedInstancesLists all of the instances in the managed instance group. Each instancein the list has a currentAction, which indicates the action that themanaged instance group is performing on the instance. For example, ifthe group is still creating an instance, the currentAction is CREATING.If a previous action failed, the list displays the errors for thatfailed action. The orderBy query parameter is not supported. ThepageToken query parameter is supported only in the alpha and beta APIand only if the group'slistManagedInstancesResults field is set toPAGINATED.
listPerInstanceConfigsLists all of the per-instance configurations defined for the managedinstance group. The orderBy query parameter is not supported.
patchUpdates a managed instance group using the information that you specifyin the request. This operation is marked as DONE when the group ispatched even if the instances in the group are still in the process ofbeing patched. You must separately verify the status of the individualinstances with the listManagedInstances method. This method supportsPATCH semantics and uses the JSON merge patch format and processingrules. If you update your group to specify a new template or instanceconfiguration, it's possible that your intended specification for eachVM in the group is different from the current state of that VM. To learnhow to apply an updated configuration to the VMs in a MIG, see Updatinginstances in a MIG.
patchPerInstanceConfigsInserts or patches per-instance configurations for the managed instancegroup. perInstanceConfig.name serves as a key used to distinguishwhether to perform insert or patch.
recreateInstancesFlags the specified VM instances in the managed instance group to beimmediately recreated. Each instance is recreated using the group'scurrent configuration. This operation is marked as DONE when the flag isset even if the instances have not yet been recreated. You mustseparately verify the status of each instance by checking itscurrentAction field; for more information, see Checking the status ofmanaged instances. If the group is part of a backend service that hasenabled connection draining, it can take up to 60 seconds after theconnection draining duration has elapsed before the VM instance isremoved or deleted. You can specify a maximum of 1000 instances withthis method per request.
resizeResizes the managed instance group. If you increase the size, the groupcreates new instances using the current instance template. If youdecrease the size, the group deletes instances. The resize operation ismarked DONE when the resize actions are scheduled even if the group hasnot yet added or deleted any instances. You must separately verify thestatus of the creating or deleting actions with the listmanagedinstancesmethod. When resizing down, the instance group arbitrarily chooses theorder in which VMs are deleted. The group takes into account some VMattributes when making the selection including: + The status of the VMinstance. + The health of the VM instance. + The instance templateversion the VM is based on. + For regional managed instance groups, thelocation of the VM instance. This list is subject to change. If thegroup is part of a backend service that has enabled connection draining,it can take up to 60 seconds after the connection draining duration haselapsed before the VM instance is removed or deleted.
resizeAdvancedResizes the managed instance group with advanced configuration optionslike disabling creation retries. This is an extended version of theresize method. If you increase the size of the instance group, the groupcreates new instances using the current instance template. If youdecrease the size, the group deletes instances. The resize operation ismarked DONE when the resize actions are scheduled even if the group hasnot yet added or deleted any instances. You must separately verify thestatus of the creating, creatingWithoutRetries, or deleting actions withthe get or listmanagedinstances method. If the group is part of abackend service that has enabled connection draining, it can take up to60 seconds after the connection draining duration has elapsed before theVM instance is removed or deleted.
setAutoHealingPoliciesMotifies the autohealing policy for the instances in this managedinstance group. [Deprecated] This method is deprecated. UseinstanceGroupManagers.patch instead.
setInstanceTemplateSpecifies the instance template to use when creating new instances inthis group. The templates for existing instances in the group do notchange unless you run recreateInstances, run applyUpdatesToInstances, orset the group's updatePolicy.type to PROACTIVE.
setTargetPoolsModifies the target pools to which all instances in this managedinstance group are assigned. The target pools automatically apply to allof the instances in the managed instance group. This operation is markedDONE when you make the request even if the instances have not yet beenadded to their target pools. The change might take some time to apply toall of the instances in the group depending on the size of the group.
testIamPermissionsReturns permissions that a caller has on the specified resource.
updateUpdates a managed instance group using the information that you specifyin the request. This operation is marked as DONE when the group isupdated even if the instances in the group have not yet been updated.You must separately verify the status of the individual instances withthe listManagedInstances method. If you update your group to specify anew template or instance configuration, it's possible that your intendedspecification for each VM in the group is different from the currentstate of that VM. To learn how to apply an updated configuration to theVMs in a MIG, see Updating instances in a MIG.
updatePerInstanceConfigsInserts or updates per-instance configurations for the managed instancegroup. perInstanceConfig.name serves as a key used to distinguishwhether to perform insert or patch.

Module: googleapis.compute.beta.instanceGroups

Functions
addInstancesAdds a list of instances to the specified instance group. All of theinstances in the instance group must be in the same network/subnetwork.Read Adding instances for more information.
aggregatedListRetrieves the list of instance groups and sorts them by zone.
deleteDeletes the specified instance group. The instances in the group are notdeleted. Note that instance group must not belong to a backend service.Read Deleting an instance group for more information.
getReturns the specified zonal instance group. Get a list of availablezonal instance groups by making a list() request. For managed instancegroups, use the instanceGroupManagers or regionInstanceGroupManagersmethods instead.
insertCreates an instance group in the specified project using the parametersthat are included in the request.
listRetrieves the list of zonal instance group resources contained withinthe specified zone. For managed instance groups, use theinstanceGroupManagers or regionInstanceGroupManagers methods instead.
listInstancesLists the instances in the specified instance group. The orderBy queryparameter is not supported. The filter query parameter is supported, butonly for expressions that useeq (equal) orne (not equal)operators.
removeInstancesRemoves one or more instances from the specified instance group, butdoes not delete those instances. If the group is part of a backendservice that has enabled connection draining, it can take up to 60seconds after the connection draining duration before the VM instance isremoved or deleted.
setNamedPortsSets the named ports for the specified instance group.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.instanceTemplates

Functions
aggregatedListRetrieves the list of all InstanceTemplates resources, regional andglobal, available to the specified project.
deleteDeletes the specified instance template. Deleting an instance templateis permanent and cannot be undone. It is not possible to deletetemplates that are already in use by a managed instance group.
getReturns the specified instance template.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
insertCreates an instance template in the specified project using the datathat is included in the request. If you are creating a new template toupdate an existing instance group, your new instance template must usethe same network or, if applicable, the same subnetwork as the originaltemplate.
listRetrieves a list of instance templates that are contained within thespecified project.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.instances

Functions
addAccessConfigAdds an access config to an instance's network interface.
addResourcePoliciesAdds existing resource policies to an instance. You can only add onepolicy right now which will be applied to this instance for schedulinglive migrations.
aggregatedListRetrieves an aggregated list of all of the instances in your projectacross all regions and zones. The performance of this method degradeswhen a filter is specified on a project that has a very large number ofinstances.
attachDiskAttaches an existing Disk resource to an instance. You must first createthe disk before you can attach it. It is not possible to create andattach a disk at the same time. For more information, read Adding apersistent disk to your instance.
bulkInsertCreates multiple instances. Count specifies the number of instances tocreate. For more information, see About bulk creation of VMs.
deleteDeletes the specified Instance resource. For more information, seeDeleting an instance.
deleteAccessConfigDeletes an access config from an instance's network interface.
detachDiskDetaches a disk from an instance.
getReturns the specified Instance resource.
getEffectiveFirewallsReturns effective firewalls applied to an interface of the instance.
getGuestAttributesReturns the specified guest attributes entry.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
getScreenshotReturns the screenshot from the specified instance.
getSerialPortOutputReturns the last 1 MB of serial port output from the specified instance.
getShieldedInstanceIdentityReturns the Shielded Instance Identity of an instance
getShieldedVmIdentityReturns the Shielded VM Identity of an instance
insertCreates an instance resource in the specified project using the dataincluded in the request.
listRetrieves the list of instances contained within the specified zone.
listReferrersRetrieves a list of resources that refer to the VM instance specified inthe request. For example, if the VM instance is part of a managed orunmanaged instance group, the referrers list includes the instancegroup. For more information, read Viewing referrers to VM instances.
removeResourcePoliciesRemoves resource policies from an instance.
resetPerforms a reset on the instance. This is a hard reset. The VM does notdo a graceful shutdown. For more information, see Resetting an instance.
resumeResumes an instance that was suspended using the instances().suspendmethod.
sendDiagnosticInterruptSends diagnostic interrupt to the instance.
setDeletionProtectionSets deletion protection on the instance.
setDiskAutoDeleteSets the auto-delete flag for a disk attached to an instance.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
setLabelsSets labels on an instance. To learn more about labels, read theLabeling Resources documentation.
setMachineResourcesChanges the number and/or type of accelerator for a stopped instance tothe values specified in the request.
setMachineTypeChanges the machine type for a stopped instance to the machine typespecified in the request.
setMetadataSets metadata for the specified instance to the data included in therequest.
setMinCpuPlatformChanges the minimum CPU platform that this instance should use. Thismethod can only be called on a stopped instance. For more information,read Specifying a Minimum CPU Platform.
setNameSets name of an instance.
setSchedulingSets an instance's scheduling options. You can only call this method ona stopped instance, that is, a VM instance that is in aTERMINATEDstate. See Instance Life Cycle for more information on the possibleinstance states. For more information about setting scheduling optionsfor a VM, see Set VM host maintenance policy.
setSecurityPolicySets the Google Cloud Armor security policy for the specified instance.For more information, see Google Cloud Armor Overview
setServiceAccountSets the service account on the instance. For more information, readChanging the service account and access scopes for an instance.
setShieldedInstanceIntegrityPolicySets the Shielded Instance integrity policy for an instance. You canonly use this method on a running instance. This method supports PATCHsemantics and uses the JSON merge patch format and processing rules.
setShieldedVmIntegrityPolicySets the Shielded VM integrity policy for a VM instance. You can onlyuse this method on a running VM instance. This method supports PATCHsemantics and uses the JSON merge patch format and processing rules.
setTagsSets network tags for the specified instance to the data included in therequest.
simulateMaintenanceEventSimulates a host maintenance event on a VM. For more information, seeSimulate a host maintenance event.
startStarts an instance that was stopped using the instances().stop method.For more information, see Restart an instance.
startWithEncryptionKeyStarts an instance that was stopped using the instances().stop method.For more information, see Restart an instance.
stopStops a running instance, shutting it down cleanly, and allows you torestart the instance at a later time. Stopped instances do not incur VMusage charges while they are stopped. However, resources that the VM isusing, such as persistent disks and static IP addresses, will continueto be charged until they are deleted. For more information, see Stoppingan instance.
suspendThis method suspends a running instance, saving its state to persistentstorage, and allows you to resume the instance at a later time.Suspended instances have no compute costs (cores or RAM), and incur onlystorage charges for the saved VM memory and localSSD data. Any chargedresources the virtual machine was using, such as persistent disks andstatic IP addresses, will continue to be charged while the instance issuspended. For more information, see Suspending and resuming aninstance.
testIamPermissionsReturns permissions that a caller has on the specified resource.
updateUpdates an instance only if the necessary resources are available. Thismethod can update only a specific set of instance properties. SeeUpdating a running instance for a list of updatable instance properties.
updateAccessConfigUpdates the specified access config from an instance's network interfacewith the data included in the request. This method supports PATCHsemantics and uses the JSON merge patch format and processing rules.
updateDisplayDeviceUpdates the Display config for a VM instance. You can only use thismethod on a stopped VM instance. This method supports PATCH semanticsand uses the JSON merge patch format and processing rules.
updateNetworkInterfaceUpdates an instance's network interface. This method can only update aninterface's alias IP range and attached network. See Modifying alias IPranges for an existing instance for instructions on changing alias IPranges. See Migrating a VM between networks for instructions onmigrating an interface. This method follows PATCH semantics.
updateShieldedInstanceConfigUpdates the Shielded Instance config for an instance. You can only usethis method on a stopped instance. This method supports PATCH semanticsand uses the JSON merge patch format and processing rules.
updateShieldedVmConfigUpdates the Shielded VM config for a VM instance. You can only use thismethod on a stopped VM instance. This method supports PATCH semanticsand uses the JSON merge patch format and processing rules.

Module: googleapis.compute.beta.instantSnapshots

Functions
aggregatedListRetrieves an aggregated list of instantSnapshots.
deleteDeletes the specified InstantSnapshot resource. Keep in mind thatdeleting a single instantSnapshot might not necessarily delete all thedata on that instantSnapshot. If any data on the instantSnapshot that ismarked for deletion is needed for subsequent instantSnapshots, the datawill be moved to the next corresponding instantSnapshot. For moreinformation, see Deleting instantSnapshots.
getReturns the specified InstantSnapshot resource in the specified zone.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
insertCreates an instant snapshot in the specified zone.
listRetrieves the list of InstantSnapshot resources contained within thespecified zone.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
setLabelsSets the labels on a instantSnapshot in the given zone. To learn moreabout labels, read the Labeling Resources documentation.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.interconnectAttachments

Functions
aggregatedListRetrieves an aggregated list of interconnect attachments.
deleteDeletes the specified interconnect attachment.
getReturns the specified interconnect attachment.
insertCreates an InterconnectAttachment in the specified project using thedata included in the request.
listRetrieves the list of interconnect attachments contained within thespecified region.
patchUpdates the specified interconnect attachment with the data included inthe request. This method supports PATCH semantics and uses the JSONmerge patch format and processing rules.
setLabelsSets the labels on an InterconnectAttachment. To learn more aboutlabels, read the Labeling Resources documentation.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.interconnectLocations

Functions
getReturns the details for the specified interconnect location. Gets a listof available interconnect locations by making a list() request.
listRetrieves the list of interconnect locations available to the specifiedproject.

Module: googleapis.compute.beta.interconnectRemoteLocations

Functions
getReturns the details for the specified interconnect remote location. Getsa list of available interconnect remote locations by making a list()request.
listRetrieves the list of interconnect remote locations available to thespecified project.

Module: googleapis.compute.beta.interconnects

Functions
deleteDeletes the specified Interconnect.
getReturns the specified Interconnect. Get a list of availableInterconnects by making a list() request.
getDiagnosticsReturns the interconnectDiagnostics for the specified Interconnect.
insertCreates an Interconnect in the specified project using the data includedin the request.
listRetrieves the list of Interconnects available to the specified project.
patchUpdates the specified Interconnect with the data included in therequest. This method supports PATCH semantics and uses the JSON mergepatch format and processing rules.
setLabelsSets the labels on an Interconnect. To learn more about labels, read theLabeling Resources documentation.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.licenseCodes

Functions
getReturn a specified license code. License codes are mirrored across allprojects that have permissions to read the License Code.Caution Thisresource is intended for use only by third-party partners who arecreating Cloud Marketplace images.
testIamPermissionsReturns permissions that a caller has on the specified resource.Caution This resource is intended for use only by third-party partnerswho are creating Cloud Marketplace images.

Module: googleapis.compute.beta.licenses

Functions
deleteDeletes the specified license.Caution This resource is intended foruse only by third-party partners who are creating Cloud Marketplaceimages.
getReturns the specified License resource.Caution This resource isintended for use only by third-party partners who are creating CloudMarketplace images.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.Caution This resource is intended for useonly by third-party partners who are creating Cloud Marketplace images.
insertCreate a License resource in the specified project.Caution Thisresource is intended for use only by third-party partners who arecreating Cloud Marketplace images.
listRetrieves the list of licenses available in the specified project. Thismethod does not get any licenses that belong to other projects,including licenses attached to publicly-available images, like Debian 9.If you want to get a list of publicly-available licenses, use thismethod to make a request to the respective image project, such asdebian-cloud or windows-cloud.Caution This resource is intended foruse only by third-party partners who are creating Cloud Marketplaceimages.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.Caution This resource is intended for use only bythird-party partners who are creating Cloud Marketplace images.
testIamPermissionsReturns permissions that a caller has on the specified resource.Caution This resource is intended for use only by third-party partnerswho are creating Cloud Marketplace images.

Module: googleapis.compute.beta.machineImages

Functions
deleteDeletes the specified machine image. Deleting a machine image ispermanent and cannot be undone.
getReturns the specified machine image.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
insertCreates a machine image in the specified project using the data that isincluded in the request. If you are creating a new machine image toupdate an existing instance, your new machine image should use the samenetwork or, if applicable, the same subnetwork as the original instance.
listRetrieves a list of machine images that are contained within thespecified project.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.machineTypes

Functions
aggregatedListRetrieves an aggregated list of machine types.
getReturns the specified machine type.
listRetrieves a list of machine types available to the specified project.

Module: googleapis.compute.beta.networkAttachments

Functions
aggregatedListRetrieves the list of all NetworkAttachment resources, regional andglobal, available to the specified project.
deleteDeletes the specified NetworkAttachment in the given scope
getReturns the specified NetworkAttachment resource in the given scope.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
insertCreates a NetworkAttachment in the specified project in the given scopeusing the parameters that are included in the request.
listLists the NetworkAttachments for a project in the given scope.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.networkEdgeSecurityServices

Functions
aggregatedListRetrieves the list of all NetworkEdgeSecurityService resources availableto the specified project.
deleteDeletes the specified service.
getGets a specified NetworkEdgeSecurityService.
insertCreates a new service in the specified project using the data includedin the request.
patchPatches the specified policy with the data included in the request.

Module: googleapis.compute.beta.networkEndpointGroups

Functions
aggregatedListRetrieves the list of network endpoint groups and sorts them by zone.
attachNetworkEndpointsAttach a list of network endpoints to the specified network endpointgroup.
deleteDeletes the specified network endpoint group. The network endpoints inthe NEG and the VM instances they belong to are not terminated when theNEG is deleted. Note that the NEG cannot be deleted if there are backendservices referencing it.
detachNetworkEndpointsDetach a list of network endpoints from the specified network endpointgroup.
getReturns the specified network endpoint group.
insertCreates a network endpoint group in the specified project using theparameters that are included in the request.
listRetrieves the list of network endpoint groups that are located in thespecified project and zone.
listNetworkEndpointsLists the network endpoints in the specified network endpoint group.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.networkFirewallPolicies

Functions
addAssociationInserts an association for the specified firewall policy.
addRuleInserts a rule into a firewall policy.
cloneRulesCopies rules to the specified firewall policy.
deleteDeletes the specified policy.
getReturns the specified network firewall policy.
getAssociationGets an association with the specified name.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
getRuleGets a rule of the specified priority.
insertCreates a new policy in the specified project using the data included inthe request.
listLists all the policies that have been configured for the specifiedproject.
patchPatches the specified policy with the data included in the request.
patchRulePatches a rule of the specified priority.
removeAssociationRemoves an association for the specified firewall policy.
removeRuleDeletes a rule of the specified priority.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.networks

Functions
addPeeringAdds a peering to the specified network.
deleteDeletes the specified network.
getReturns the specified network.
getEffectiveFirewallsReturns the effective firewalls on a given network.
insertCreates a network in the specified project using the data included inthe request.
listRetrieves the list of networks available to the specified project.
listPeeringRoutesLists the peering routes exchanged over peering connection.
patchPatches the specified network with the data included in the request.Only the following fields can be modified: routingConfig.routingMode.
removePeeringRemoves a peering from the specified network.
switchToCustomModeSwitches the network mode from auto subnet mode to custom subnet mode.
testIamPermissionsReturns permissions that a caller has on the specified resource.
updatePeeringUpdates the specified network peering with the data included in therequest. You can only modify the NetworkPeering.export_custom_routesfield and the NetworkPeering.import_custom_routes field.

Module: googleapis.compute.beta.nodeGroups

Functions
addNodesAdds specified number of nodes to the node group.
aggregatedListRetrieves an aggregated list of node groups. Note: usenodeGroups.listNodes for more details about each group.
deleteDeletes the specified NodeGroup resource.
deleteNodesDeletes specified nodes from the node group.
getReturns the specified NodeGroup. Get a list of available NodeGroups bymaking a list() request. Note: the "nodes" field should not be used.Use nodeGroups.listNodes instead.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
insertCreates a NodeGroup resource in the specified project using the dataincluded in the request.
listRetrieves a list of node groups available to the specified project.Note: use nodeGroups.listNodes for more details about each group.
listNodesLists nodes in the node group.
patchUpdates the specified node group.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
setNodeTemplateUpdates the node template of the node group.
simulateMaintenanceEventSimulates maintenance event on specified nodes from the node group.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.nodeTemplates

Functions
aggregatedListRetrieves an aggregated list of node templates.
deleteDeletes the specified NodeTemplate resource.
getReturns the specified node template.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
insertCreates a NodeTemplate resource in the specified project using the dataincluded in the request.
listRetrieves a list of node templates available to the specified project.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.nodeTypes

Functions
aggregatedListRetrieves an aggregated list of node types.
getReturns the specified node type.
listRetrieves a list of node types available to the specified project.

Module: googleapis.compute.beta.organizationSecurityPolicies

Functions
addAssociationInserts an association for the specified security policy.
addRuleInserts a rule into a security policy.
copyRulesCopies rules to the specified security policy.
deleteDeletes the specified policy.
getList all of the ordered rules present in a single specified policy.
getAssociationGets an association with the specified name.
getRuleGets a rule at the specified priority.
insertCreates a new policy in the specified project using the data included inthe request.
listList all the policies that have been configured for the specifiedproject.
listAssociationsLists associations of a specified target, i.e., organization or folder.
moveMoves the specified security policy.
patchPatches the specified policy with the data included in the request.
patchRulePatches a rule at the specified priority.
removeAssociationRemoves an association for the specified security policy.
removeRuleDeletes a rule at the specified priority.

Module: googleapis.compute.beta.packetMirrorings

Functions
aggregatedListRetrieves an aggregated list of packetMirrorings.
deleteDeletes the specified PacketMirroring resource.
getReturns the specified PacketMirroring resource.
insertCreates a PacketMirroring resource in the specified project and regionusing the data included in the request.
listRetrieves a list of PacketMirroring resources available to the specifiedproject and region.
patchPatches the specified PacketMirroring resource with the data included inthe request. This method supports PATCH semantics and uses JSON mergepatch format and processing rules.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.projects

Functions
disableXpnHostDisable this project as a shared VPC host project.
disableXpnResourceDisable a service resource (also known as service project) associatedwith this host project.
enableXpnHostEnable this project as a shared VPC host project.
enableXpnResourceEnable service resource (a.k.a service project) for a host project, sothat subnets in the host project can be used by instances in the serviceproject.
getReturns the specified Project resource. To decrease latency for thismethod, you can optionally omit any unneeded information from theresponse by using a field mask. This practice is especially recommendedfor unused quota information (thequotas field). To exclude one ormore fields, set your request'sfields query parameter to only includethe fields you need. For example, to only include theid andselfLink fields, add the query parameter?fields=id,selfLink to yourrequest.
getXpnHostGets the shared VPC host project that this project links to. May beempty if no link exists.
getXpnResourcesGets service resources (a.k.a service project) associated with this hostproject.
listXpnHostsLists all shared VPC host projects visible to the user in anorganization.
moveDiskMoves a persistent disk from one zone to another.
moveInstanceMoves an instance and its attached persistent disks from one zone toanother.Note: Moving VMs or disks by using this method might causeunexpected behavior. For more information, see theknownissue.[Deprecated] This method is deprecated. Seemoving instance acrosszones instead.
setCommonInstanceMetadataSets metadata common to all instances within the specified project usingthe data included in the request.
setDefaultNetworkTierSets the default network tier of the project. The default network tieris used when an address/forwardingRule/instance is created withoutspecifying the network tier field.
setUsageExportBucketEnables the usage export feature and sets the usage export bucket wherereports are stored. If you provide an empty request body using thismethod, the usage export feature will be disabled.

Module: googleapis.compute.beta.publicAdvertisedPrefixes

Functions
deleteDeletes the specified PublicAdvertisedPrefix
getReturns the specified PublicAdvertisedPrefix resource.
insertCreates a PublicAdvertisedPrefix in the specified project using theparameters that are included in the request.
listLists the PublicAdvertisedPrefixes for a project.
patchPatches the specified Router resource with the data included in therequest. This method supports PATCH semantics and uses JSON merge patchformat and processing rules.

Module: googleapis.compute.beta.publicDelegatedPrefixes

Functions
aggregatedListLists all PublicDelegatedPrefix resources owned by the specific projectacross all scopes.
deleteDeletes the specified PublicDelegatedPrefix in the given region.
getReturns the specified PublicDelegatedPrefix resource in the givenregion.
insertCreates a PublicDelegatedPrefix in the specified project in the givenregion using the parameters that are included in the request.
listLists the PublicDelegatedPrefixes for a project in the given region.
patchPatches the specified PublicDelegatedPrefix resource with the dataincluded in the request. This method supports PATCH semantics and usesJSON merge patch format and processing rules.

Module: googleapis.compute.beta.regionAutoscalers

Functions
deleteDeletes the specified autoscaler.
getReturns the specified autoscaler.
insertCreates an autoscaler in the specified project using the data includedin the request.
listRetrieves a list of autoscalers contained within the specified region.
patchUpdates an autoscaler in the specified project using the data includedin the request. This method supports PATCH semantics and uses the JSONmerge patch format and processing rules.
testIamPermissionsReturns permissions that a caller has on the specified resource.
updateUpdates an autoscaler in the specified project using the data includedin the request.

Module: googleapis.compute.beta.regionBackendServices

Functions
deleteDeletes the specified regional BackendService resource.
getReturns the specified regional BackendService resource.
getHealthGets the most recent health check results for this regionalBackendService.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
insertCreates a regional BackendService resource in the specified projectusing the data included in the request. For more information, seeBackend services overview.
listRetrieves the list of regional BackendService resources available to thespecified project in the given region.
patchUpdates the specified regional BackendService resource with the dataincluded in the request. For more information, see Understanding backendservices This method supports PATCH semantics and uses the JSON mergepatch format and processing rules.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
setSecurityPolicySets the Google Cloud Armor security policy for the specified backendservice. For more information, see Google Cloud Armor Overview
testIamPermissionsReturns permissions that a caller has on the specified resource.
updateUpdates the specified regional BackendService resource with the dataincluded in the request. For more information, see Backend servicesoverview .

Module: googleapis.compute.beta.regionCommitments

Functions
aggregatedListRetrieves an aggregated list of commitments by region.
getReturns the specified commitment resource.
insertCreates a commitment in the specified project using the data included inthe request.
listRetrieves a list of commitments contained within the specified region.
testIamPermissionsReturns permissions that a caller has on the specified resource.
updateUpdates the specified commitment with the data included in the request.Update is performed only on selected fields included as part ofupdate-mask. Only the following fields can be modified: auto_renew.
updateReservationsTransfers GPUs or local SSDs between reservations within commitments.

Module: googleapis.compute.beta.regionDiskTypes

Functions
getReturns the specified regional disk type.
listRetrieves a list of regional disk types available to the specifiedproject.

Module: googleapis.compute.beta.regionDisks

Functions
addResourcePoliciesAdds existing resource policies to a regional disk. You can only add onepolicy which will be applied to this disk for scheduling snapshotcreation.
bulkInsertBulk create a set of disks.
createSnapshotCreates a snapshot of a specified persistent disk. For regular snapshotcreation, consider using snapshots.insert instead, as that methodsupports more features, such as creating snapshots in a projectdifferent from the source disk project.
deleteDeletes the specified regional persistent disk. Deleting a regional diskremoves all the replicas of its data permanently and is irreversible.However, deleting a disk does not delete any snapshots previously madefrom the disk. You must separately delete snapshots.
getReturns a specified regional persistent disk.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
insertCreates a persistent regional disk in the specified project using thedata included in the request.
listRetrieves the list of persistent disks contained within the specifiedregion.
removeResourcePoliciesRemoves resource policies from a regional disk.
resizeResizes the specified regional persistent disk.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
setLabelsSets the labels on the target regional disk.
startAsyncReplicationStarts asynchronous replication. Must be invoked on the primary disk.
stopAsyncReplicationStops asynchronous replication. Can be invoked either on the primary oron the secondary disk.
stopGroupAsyncReplicationStops asynchronous replication for a consistency group of disks. Can beinvoked either in the primary or secondary scope.
testIamPermissionsReturns permissions that a caller has on the specified resource.
updateUpdate the specified disk with the data included in the request. Updateis performed only on selected fields included as part of update-mask.Only the following fields can be modified: user_license.

Module: googleapis.compute.beta.regionHealthCheckServices

Functions
deleteDeletes the specified regional HealthCheckService.
getReturns the specified regional HealthCheckService resource.
insertCreates a regional HealthCheckService resource in the specified projectand region using the data included in the request.
listLists all the HealthCheckService resources that have been configured forthe specified project in the given region.
patchUpdates the specified regional HealthCheckService resource with the dataincluded in the request. This method supports PATCH semantics and usesthe JSON merge patch format and processing rules.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.regionHealthChecks

Functions
deleteDeletes the specified HealthCheck resource.
getReturns the specified HealthCheck resource.
insertCreates a HealthCheck resource in the specified project using the dataincluded in the request.
listRetrieves the list of HealthCheck resources available to the specifiedproject.
patchUpdates a HealthCheck resource in the specified project using the dataincluded in the request. This method supports PATCH semantics and usesthe JSON merge patch format and processing rules.
testIamPermissionsReturns permissions that a caller has on the specified resource.
updateUpdates a HealthCheck resource in the specified project using the dataincluded in the request.

Module: googleapis.compute.beta.regionInstanceGroupManagers

Functions
abandonInstancesFlags the specified instances to be immediately removed from the managedinstance group. Abandoning an instance does not delete the instance, butit does remove the instance from any target pools that are applied bythe managed instance group. This method reduces the targetSize of themanaged instance group by the number of instances that you abandon. Thisoperation is marked as DONE when the action is scheduled even if theinstances have not yet been removed from the group. You must separatelyverify the status of the abandoning action with the listmanagedinstancesmethod. If the group is part of a backend service that has enabledconnection draining, it can take up to 60 seconds after the connectiondraining duration has elapsed before the VM instance is removed ordeleted. You can specify a maximum of 1000 instances with this methodper request.
applyUpdatesToInstancesApply updates to selected instances the managed instance group.
createInstancesCreates instances with per-instance configurations in this regionalmanaged instance group. Instances are created using the current instancetemplate. The create instances operation is marked DONE if thecreateInstances request is successful. The underlying actions takeadditional time. You must separately verify the status of the creatingor actions with the listmanagedinstances method.
deleteDeletes the specified managed instance group and all of the instances inthat group.
deleteInstancesFlags the specified instances in the managed instance group to beimmediately deleted. The instances are also removed from any targetpools of which they were a member. This method reduces the targetSize ofthe managed instance group by the number of instances that you delete.The deleteInstances operation is marked DONE if the deleteInstancesrequest is successful. The underlying actions take additional time. Youmust separately verify the status of the deleting action with thelistmanagedinstances method. If the group is part of a backend servicethat has enabled connection draining, it can take up to 60 seconds afterthe connection draining duration has elapsed before the VM instance isremoved or deleted. You can specify a maximum of 1000 instances withthis method per request.
deletePerInstanceConfigsDeletes selected per-instance configurations for the managed instancegroup.
getReturns all of the details about the specified managed instance group.
insertCreates a managed instance group using the information that you specifyin the request. After the group is created, instances in the group arecreated using the specified instance template. This operation is markedas DONE when the group is created even if the instances in the grouphave not yet been created. You must separately verify the status of theindividual instances with the listmanagedinstances method. A regionalmanaged instance group can contain up to 2000 instances.
listRetrieves the list of managed instance groups that are contained withinthe specified region.
listErrorsLists all errors thrown by actions on instances for a given regionalmanaged instance group. The filter and orderBy query parameters are notsupported.
listManagedInstancesLists the instances in the managed instance group and instances that arescheduled to be created. The list includes any current actions that thegroup has scheduled for its instances. The orderBy query parameter isnot supported. ThepageToken query parameter is supported only in thealpha and beta API and only if the group'slistManagedInstancesResultsfield is set toPAGINATED.
listPerInstanceConfigsLists all of the per-instance configurations defined for the managedinstance group. The orderBy query parameter is not supported.
patchUpdates a managed instance group using the information that you specifyin the request. This operation is marked as DONE when the group ispatched even if the instances in the group are still in the process ofbeing patched. You must separately verify the status of the individualinstances with the listmanagedinstances method. This method supportsPATCH semantics and uses the JSON merge patch format and processingrules. If you update your group to specify a new template or instanceconfiguration, it's possible that your intended specification for eachVM in the group is different from the current state of that VM. To learnhow to apply an updated configuration to the VMs in a MIG, see Updatinginstances in a MIG.
patchPerInstanceConfigsInserts or patches per-instance configurations for the managed instancegroup. perInstanceConfig.name serves as a key used to distinguishwhether to perform insert or patch.
recreateInstancesFlags the specified VM instances in the managed instance group to beimmediately recreated. Each instance is recreated using the group'scurrent configuration. This operation is marked as DONE when the flag isset even if the instances have not yet been recreated. You mustseparately verify the status of each instance by checking itscurrentAction field; for more information, see Checking the status ofmanaged instances. If the group is part of a backend service that hasenabled connection draining, it can take up to 60 seconds after theconnection draining duration has elapsed before the VM instance isremoved or deleted. You can specify a maximum of 1000 instances withthis method per request.
resizeChanges the intended size of the managed instance group. If you increasethe size, the group creates new instances using the current instancetemplate. If you decrease the size, the group deletes one or moreinstances. The resize operation is marked DONE if the resize request issuccessful. The underlying actions take additional time. You mustseparately verify the status of the creating or deleting actions withthe listmanagedinstances method. If the group is part of a backendservice that has enabled connection draining, it can take up to 60seconds after the connection draining duration has elapsed before the VMinstance is removed or deleted.
resizeAdvancedResizes the regional managed instance group with advanced configurationoptions like disabling creation retries. This is an extended version ofthe resize method. If you increase the size, the group creates newinstances using the current instance template. If you decrease the size,the group deletes one or more instances. The resize operation is markedDONE if the resize request is successful. The underlying actions takeadditional time. You must separately verify the status of the creatingor deleting actions with the get or listmanagedinstances method. If thegroup is part of a backend service that has enabled connection draining,it can take up to 60 seconds after the connection draining duration haselapsed before the VM instance is removed or deleted.
setAutoHealingPoliciesModifies the autohealing policy for the instances in this managedinstance group. [Deprecated] This method is deprecated. UseregionInstanceGroupManagers.patch instead.
setInstanceTemplateSets the instance template to use when creating new instances orrecreating instances in this group. Existing instances are not affected.
setTargetPoolsModifies the target pools to which all new instances in this group areassigned. Existing instances in the group are not affected.
testIamPermissionsReturns permissions that a caller has on the specified resource.
updateUpdates a managed instance group using the information that you specifyin the request. This operation is marked as DONE when the group isupdated even if the instances in the group have not yet been updated.You must separately verify the status of the individual instances withthe listmanagedinstances method. If you update your group to specify anew template or instance configuration, it's possible that your intendedspecification for each VM in the group is different from the currentstate of that VM. To learn how to apply an updated configuration to theVMs in a MIG, see Updating instances in a MIG.
updatePerInstanceConfigsInserts or updates per-instance configurations for the managed instancegroup. perInstanceConfig.name serves as a key used to distinguishwhether to perform insert or patch.

Module: googleapis.compute.beta.regionInstanceGroups

Functions
getReturns the specified instance group resource.
listRetrieves the list of instance group resources contained within thespecified region.
listInstancesLists the instances in the specified instance group and displaysinformation about the named ports. Depending on the specified options,this method can list all instances or only the instances that arerunning. The orderBy query parameter is not supported.
setNamedPortsSets the named ports for the specified regional instance group.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.regionInstanceTemplates

Functions
deleteDeletes the specified instance template. Deleting an instance templateis permanent and cannot be undone.
getReturns the specified instance template.
insertCreates an instance template in the specified project and region usingthe global instance template whose URL is included in the request.
listRetrieves a list of instance templates that are contained within thespecified project and region.

Module: googleapis.compute.beta.regionInstances

Functions
bulkInsertCreates multiple instances in a given region. Count specifies the numberof instances to create.

Module: googleapis.compute.beta.regionInstantSnapshots

Functions
deleteDeletes the specified InstantSnapshot resource. Keep in mind thatdeleting a single instantSnapshot might not necessarily delete all thedata on that instantSnapshot. If any data on the instantSnapshot that ismarked for deletion is needed for subsequent instantSnapshots, the datawill be moved to the next corresponding instantSnapshot. For moreinformation, see Deleting instantSnapshots.
getReturns the specified InstantSnapshot resource in the specified region.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
insertCreates an instant snapshot in the specified region.
listRetrieves the list of InstantSnapshot resources contained within thespecified region.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
setLabelsSets the labels on a instantSnapshot in the given region. To learn moreabout labels, read the Labeling Resources documentation.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.regionNetworkEndpointGroups

Functions
deleteDeletes the specified network endpoint group. Note that the NEG cannotbe deleted if it is configured as a backend of a backend service.
getReturns the specified network endpoint group.
insertCreates a network endpoint group in the specified project using theparameters that are included in the request.
listRetrieves the list of regional network endpoint groups available to thespecified project in the given region.

Module: googleapis.compute.beta.regionNetworkFirewallPolicies

Functions
addAssociationInserts an association for the specified network firewall policy.
addRuleInserts a rule into a network firewall policy.
cloneRulesCopies rules to the specified network firewall policy.
deleteDeletes the specified network firewall policy.
getReturns the specified network firewall policy.
getAssociationGets an association with the specified name.
getEffectiveFirewallsReturns the effective firewalls on a given network.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
getRuleGets a rule of the specified priority.
insertCreates a new network firewall policy in the specified project andregion.
listLists all the network firewall policies that have been configured forthe specified project in the given region.
patchPatches the specified network firewall policy.
patchRulePatches a rule of the specified priority.
removeAssociationRemoves an association for the specified network firewall policy.
removeRuleDeletes a rule of the specified priority.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.regionNotificationEndpoints

Functions
deleteDeletes the specified NotificationEndpoint in the given region
getReturns the specified NotificationEndpoint resource in the given region.
insertCreate a NotificationEndpoint in the specified project in the givenregion using the parameters that are included in the request.
listLists the NotificationEndpoints for a project in the given region.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.regionOperations

Functions
deleteDeletes the specified region-specific Operations resource.
getRetrieves the specified region-specific Operations resource.
listRetrieves a list of Operation resources contained within the specifiedregion.
waitWaits for the specified Operation resource to return asDONE or forthe request to approach the 2 minute deadline, and retrieves thespecified Operation resource. This method differs from theGET methodin that it waits for no more than the default deadline (2 minutes) andthen returns the current state of the operation, which might beDONEor still in progress. This method is called on a best-effort basis.Specifically: - In uncommon cases, when the server is overloaded, therequest might return before the default deadline is reached, or mightreturn after zero seconds. - If the default deadline is reached, thereis no guarantee that the operation is actually done when the methodreturns. Be prepared to retry if the operation is notDONE.

Module: googleapis.compute.beta.regionSecurityPolicies

Functions
addRuleInserts a rule into a security policy.
deleteDeletes the specified policy.
getList all of the ordered rules present in a single specified policy.
getRuleGets a rule at the specified priority.
insertCreates a new policy in the specified project using the data included inthe request.
listList all the policies that have been configured for the specifiedproject and region.
patchPatches the specified policy with the data included in the request. Toclear fields in the policy, leave the fields empty and specify them inthe updateMask. This cannot be used to be update the rules in thepolicy. Please use the per rule methods like addRule, patchRule, andremoveRule instead.
patchRulePatches a rule at the specified priority. To clear fields in the rule,leave the fields empty and specify them in the updateMask.
removeRuleDeletes a rule at the specified priority.

Module: googleapis.compute.beta.regionSslCertificates

Functions
deleteDeletes the specified SslCertificate resource in the region.
getReturns the specified SslCertificate resource in the specified region.Get a list of available SSL certificates by making a list() request.
insertCreates a SslCertificate resource in the specified project and regionusing the data included in the request
listRetrieves the list of SslCertificate resources available to thespecified project in the specified region.
testIamPermissionsReturns permissions that a caller has on the specified resource andregion.

Module: googleapis.compute.beta.regionSslPolicies

Functions
deleteDeletes the specified SSL policy. The SSL policy resource can be deletedonly if it is not in use by any TargetHttpsProxy or TargetSslProxyresources.
getLists all of the ordered rules present in a single specified policy.
insertCreates a new policy in the specified project and region using the dataincluded in the request.
listLists all the SSL policies that have been configured for the specifiedproject and region.
listAvailableFeaturesLists all features that can be specified in the SSL policy when usingcustom profile.
patchPatches the specified SSL policy with the data included in the request.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.regionTargetHttpProxies

Functions
deleteDeletes the specified TargetHttpProxy resource.
getReturns the specified TargetHttpProxy resource in the specified region.
insertCreates a TargetHttpProxy resource in the specified project and regionusing the data included in the request.
listRetrieves the list of TargetHttpProxy resources available to thespecified project in the specified region.
setUrlMapChanges the URL map for TargetHttpProxy.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.regionTargetHttpsProxies

Functions
deleteDeletes the specified TargetHttpsProxy resource.
getReturns the specified TargetHttpsProxy resource in the specified region.
insertCreates a TargetHttpsProxy resource in the specified project and regionusing the data included in the request.
listRetrieves the list of TargetHttpsProxy resources available to thespecified project in the specified region.
patchPatches the specified regional TargetHttpsProxy resource with the dataincluded in the request. This method supports PATCH semantics and usesJSON merge patch format and processing rules.
setSslCertificatesReplaces SslCertificates for TargetHttpsProxy.
setUrlMapChanges the URL map for TargetHttpsProxy.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.regionTargetTcpProxies

Functions
deleteDeletes the specified TargetTcpProxy resource.
getReturns the specified TargetTcpProxy resource.
insertCreates a TargetTcpProxy resource in the specified project and regionusing the data included in the request.
listRetrieves a list of TargetTcpProxy resources available to the specifiedproject in a given region.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.regionUrlMaps

Functions
deleteDeletes the specified UrlMap resource.
getReturns the specified UrlMap resource.
insertCreates a UrlMap resource in the specified project using the dataincluded in the request.
invalidateCacheInitiates a cache invalidation operation, invalidating the specifiedpath, scoped to the specified UrlMap. For more information, seeInvalidating cached content.
listRetrieves the list of UrlMap resources available to the specifiedproject in the specified region.
patchPatches the specified UrlMap resource with the data included in therequest. This method supports PATCH semantics and uses JSON merge patchformat and processing rules.
testIamPermissionsReturns permissions that a caller has on the specified resource.
updateUpdates the specified UrlMap resource with the data included in therequest.
validateRuns static validation for the UrlMap. In particular, the tests of theprovided UrlMap will be run. Calling this method does NOT create theUrlMap.

Module: googleapis.compute.beta.regions

Functions
getReturns the specified Region resource. To decrease latency for thismethod, you can optionally omit any unneeded information from theresponse by using a field mask. This practice is especially recommendedfor unused quota information (thequotas field). To exclude one ormore fields, set your request'sfields query parameter to only includethe fields you need. For example, to only include theid andselfLink fields, add the query parameter?fields=id,selfLink to yourrequest.
listRetrieves the list of region resources available to the specifiedproject. To decrease latency for this method, you can optionally omitany unneeded information from the response by using a field mask. Thispractice is especially recommended for unused quota information (theitems.quotas field). To exclude one or more fields, set your request'sfields query parameter to only include the fields you need. Forexample, to only include theid andselfLink fields, add the queryparameter?fields=id,selfLink to your request.

Module: googleapis.compute.beta.reservations

Functions
aggregatedListRetrieves an aggregated list of reservations.
deleteDeletes the specified reservation.
getRetrieves information about the specified reservation.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
insertCreates a new reservation. For more information, read Reserving zonalresources.
listA list of all the reservations that have been configured for thespecified project in specified zone.
resizeResizes the reservation (applicable to standalone reservations only).For more information, read Modifying reservations.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
testIamPermissionsReturns permissions that a caller has on the specified resource.
updateUpdate share settings of the reservation.

Module: googleapis.compute.beta.resourcePolicies

Functions
aggregatedListRetrieves an aggregated list of resource policies.
deleteDeletes the specified resource policy.
getRetrieves all information of the specified resource policy.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
insertCreates a new resource policy.
listA list all the resource policies that have been configured for thespecified project in specified region.
patchModify the specified resource policy.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.routers

Functions
aggregatedListRetrieves an aggregated list of routers.
deleteDeletes the specified Router resource.
getReturns the specified Router resource.
getNatMappingInfoRetrieves runtime Nat mapping information of VM endpoints.
getRouterStatusRetrieves runtime information of the specified router.
insertCreates a Router resource in the specified project and region using thedata included in the request.
listRetrieves a list of Router resources available to the specified project.
patchPatches the specified Router resource with the data included in therequest. This method supports PATCH semantics and uses JSON merge patchformat and processing rules.
previewPreview fields auto-generated during router create and updateoperations. Calling this method does NOT create or update the router.
testIamPermissionsReturns permissions that a caller has on the specified resource.
updateUpdates the specified Router resource with the data included in therequest. This method conforms to PUT semantics, which requests that thestate of the target resource be created or replaced with the statedefined by the representation enclosed in the request message payload.

Module: googleapis.compute.beta.routes

Functions
deleteDeletes the specified Route resource.
getReturns the specified Route resource.
insertCreates a Route resource in the specified project using the dataincluded in the request.
listRetrieves the list of Route resources available to the specifiedproject.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.securityPolicies

Functions
addRuleInserts a rule into a security policy.
aggregatedListRetrieves the list of all SecurityPolicy resources, regional and global,available to the specified project.
deleteDeletes the specified policy.
getList all of the ordered rules present in a single specified policy.
getRuleGets a rule at the specified priority.
insertCreates a new policy in the specified project using the data included inthe request.
listList all the policies that have been configured for the specifiedproject.
listPreconfiguredExpressionSetsGets the current list of preconfigured Web Application Firewall (WAF)expressions.
patchPatches the specified policy with the data included in the request. Toclear fields in the policy, leave the fields empty and specify them inthe updateMask. This cannot be used to be update the rules in thepolicy. Please use the per rule methods like addRule, patchRule, andremoveRule instead.
patchRulePatches a rule at the specified priority. To clear fields in the rule,leave the fields empty and specify them in the updateMask.
removeRuleDeletes a rule at the specified priority.
setLabelsSets the labels on a security policy. To learn more about labels, readthe Labeling Resources documentation.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.serviceAttachments

Functions
aggregatedListRetrieves the list of all ServiceAttachment resources, regional andglobal, available to the specified project.
deleteDeletes the specified ServiceAttachment in the given scope
getReturns the specified ServiceAttachment resource in the given scope.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
insertCreates a ServiceAttachment in the specified project in the given scopeusing the parameters that are included in the request.
listLists the ServiceAttachments for a project in the given scope.
patchPatches the specified ServiceAttachment resource with the data includedin the request. This method supports PATCH semantics and uses JSON mergepatch format and processing rules.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.snapshots

Functions
deleteDeletes the specified Snapshot resource. Keep in mind that deleting asingle snapshot might not necessarily delete all the data on thatsnapshot. If any data on the snapshot that is marked for deletion isneeded for subsequent snapshots, the data will be moved to the nextcorresponding snapshot. For more information, see Deleting snapshots.
getReturns the specified Snapshot resource.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
insertCreates a snapshot in the specified project using the data included inthe request. For regular snapshot creation, consider using this methodinstead of disks.createSnapshot, as this method supports more features,such as creating snapshots in a project different from the source diskproject.
listRetrieves the list of Snapshot resources contained within the specifiedproject.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
setLabelsSets the labels on a snapshot. To learn more about labels, read theLabeling Resources documentation.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.sslCertificates

Functions
aggregatedListRetrieves the list of all SslCertificate resources, regional and global,available to the specified project.
deleteDeletes the specified SslCertificate resource.
getReturns the specified SslCertificate resource.
insertCreates a SslCertificate resource in the specified project using thedata included in the request.
listRetrieves the list of SslCertificate resources available to thespecified project.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.sslPolicies

Functions
aggregatedListRetrieves the list of all SslPolicy resources, regional and global,available to the specified project.
deleteDeletes the specified SSL policy. The SSL policy resource can be deletedonly if it is not in use by any TargetHttpsProxy or TargetSslProxyresources.
getLists all of the ordered rules present in a single specified policy.
insertReturns the specified SSL policy resource.
listLists all the SSL policies that have been configured for the specifiedproject.
listAvailableFeaturesLists all features that can be specified in the SSL policy when usingcustom profile.
patchPatches the specified SSL policy with the data included in the request.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.subnetworks

Functions
aggregatedListRetrieves an aggregated list of subnetworks.
deleteDeletes the specified subnetwork.
expandIpCidrRangeExpands the IP CIDR range of the subnetwork to a specified value.
getReturns the specified subnetwork.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
insertCreates a subnetwork in the specified project using the data included inthe request.
listRetrieves a list of subnetworks available to the specified project.
listUsableRetrieves an aggregated list of all usable subnetworks in the project.
patchPatches the specified subnetwork with the data included in the request.Only certain fields can be updated with a patch request as indicated inthe field descriptions. You must specify the current fingerprint of thesubnetwork resource being patched.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
setPrivateIpGoogleAccessSet whether VMs in this subnet can access Google services withoutassigning external IP addresses through Private Google Access.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.targetGrpcProxies

Functions
deleteDeletes the specified TargetGrpcProxy in the given scope
getReturns the specified TargetGrpcProxy resource in the given scope.
insertCreates a TargetGrpcProxy in the specified project in the given scopeusing the parameters that are included in the request.
listLists the TargetGrpcProxies for a project in the given scope.
patchPatches the specified TargetGrpcProxy resource with the data included inthe request. This method supports PATCH semantics and uses JSON mergepatch format and processing rules.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.targetHttpProxies

Functions
aggregatedListRetrieves the list of all TargetHttpProxy resources, regional andglobal, available to the specified project.
deleteDeletes the specified TargetHttpProxy resource.
getReturns the specified TargetHttpProxy resource.
insertCreates a TargetHttpProxy resource in the specified project using thedata included in the request.
listRetrieves the list of TargetHttpProxy resources available to thespecified project.
patchPatches the specified TargetHttpProxy resource with the data included inthe request. This method supports PATCH semantics and uses JSON mergepatch format and processing rules.
setUrlMapChanges the URL map for TargetHttpProxy.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.targetHttpsProxies

Functions
aggregatedListRetrieves the list of all TargetHttpsProxy resources, regional andglobal, available to the specified project.
deleteDeletes the specified TargetHttpsProxy resource.
getReturns the specified TargetHttpsProxy resource.
insertCreates a TargetHttpsProxy resource in the specified project using thedata included in the request.
listRetrieves the list of TargetHttpsProxy resources available to thespecified project.
patchPatches the specified TargetHttpsProxy resource with the data includedin the request. This method supports PATCH semantics and uses JSON mergepatch format and processing rules.
setCertificateMapChanges the Certificate Map for TargetHttpsProxy.
setQuicOverrideSets the QUIC override policy for TargetHttpsProxy.
setSslCertificatesReplaces SslCertificates for TargetHttpsProxy.
setSslPolicySets the SSL policy for TargetHttpsProxy. The SSL policy specifies theserver-side support for SSL features. This affects connections betweenclients and the HTTPS proxy load balancer. They do not affect theconnection between the load balancer and the backends.
setUrlMapChanges the URL map for TargetHttpsProxy.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.targetInstances

Functions
aggregatedListRetrieves an aggregated list of target instances.
deleteDeletes the specified TargetInstance resource.
getReturns the specified TargetInstance resource.
insertCreates a TargetInstance resource in the specified project and zoneusing the data included in the request.
listRetrieves a list of TargetInstance resources available to the specifiedproject and zone.
setSecurityPolicySets the Google Cloud Armor security policy for the specified targetinstance. For more information, see Google Cloud Armor Overview
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.targetPools

Functions
addHealthCheckAdds health check URLs to a target pool.
addInstanceAdds an instance to a target pool.
aggregatedListRetrieves an aggregated list of target pools.
deleteDeletes the specified target pool.
getReturns the specified target pool.
getHealthGets the most recent health check results for each IP for the instancethat is referenced by the given target pool.
insertCreates a target pool in the specified project and region using the dataincluded in the request.
listRetrieves a list of target pools available to the specified project andregion.
removeHealthCheckRemoves health check URL from a target pool.
removeInstanceRemoves instance URL from a target pool.
setBackupChanges a backup target pool's configurations.
setSecurityPolicySets the Google Cloud Armor security policy for the specified targetpool. For more information, see Google Cloud Armor Overview
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.targetSslProxies

Functions
deleteDeletes the specified TargetSslProxy resource.
getReturns the specified TargetSslProxy resource.
insertCreates a TargetSslProxy resource in the specified project using thedata included in the request.
listRetrieves the list of TargetSslProxy resources available to thespecified project.
setBackendServiceChanges the BackendService for TargetSslProxy.
setCertificateMapChanges the Certificate Map for TargetSslProxy.
setProxyHeaderChanges the ProxyHeaderType for TargetSslProxy.
setSslCertificatesChanges SslCertificates for TargetSslProxy.
setSslPolicySets the SSL policy for TargetSslProxy. The SSL policy specifies theserver-side support for SSL features. This affects connections betweenclients and the SSL proxy load balancer. They do not affect theconnection between the load balancer and the backends.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.targetTcpProxies

Functions
aggregatedListRetrieves the list of all TargetTcpProxy resources, regional and global,available to the specified project.
deleteDeletes the specified TargetTcpProxy resource.
getReturns the specified TargetTcpProxy resource.
insertCreates a TargetTcpProxy resource in the specified project using thedata included in the request.
listRetrieves the list of TargetTcpProxy resources available to thespecified project.
setBackendServiceChanges the BackendService for TargetTcpProxy.
setProxyHeaderChanges the ProxyHeaderType for TargetTcpProxy.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.targetVpnGateways

Functions
aggregatedListRetrieves an aggregated list of target VPN gateways.
deleteDeletes the specified target VPN gateway.
getReturns the specified target VPN gateway.
insertCreates a target VPN gateway in the specified project and region usingthe data included in the request.
listRetrieves a list of target VPN gateways available to the specifiedproject and region.
setLabelsSets the labels on a TargetVpnGateway. To learn more about labels, readthe Labeling Resources documentation.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.urlMaps

Functions
aggregatedListRetrieves the list of all UrlMap resources, regional and global,available to the specified project.
deleteDeletes the specified UrlMap resource.
getReturns the specified UrlMap resource.
insertCreates a UrlMap resource in the specified project using the dataincluded in the request.
invalidateCacheInitiates a cache invalidation operation, invalidating the specifiedpath, scoped to the specified UrlMap. For more information, seeInvalidating cached content.
listRetrieves the list of UrlMap resources available to the specifiedproject.
patchPatches the specified UrlMap resource with the data included in therequest. This method supports PATCH semantics and uses the JSON mergepatch format and processing rules.
testIamPermissionsReturns permissions that a caller has on the specified resource.
updateUpdates the specified UrlMap resource with the data included in therequest.
validateRuns static validation for the UrlMap. In particular, the tests of theprovided UrlMap will be run. Calling this method does NOT create theUrlMap.

Module: googleapis.compute.beta.vpnGateways

Functions
aggregatedListRetrieves an aggregated list of VPN gateways.
deleteDeletes the specified VPN gateway.
getReturns the specified VPN gateway.
getStatusReturns the status for the specified VPN gateway.
insertCreates a VPN gateway in the specified project and region using the dataincluded in the request.
listRetrieves a list of VPN gateways available to the specified project andregion.
setLabelsSets the labels on a VpnGateway. To learn more about labels, read theLabeling Resources documentation.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.vpnTunnels

Functions
aggregatedListRetrieves an aggregated list of VPN tunnels.
deleteDeletes the specified VpnTunnel resource.
getReturns the specified VpnTunnel resource.
insertCreates a VpnTunnel resource in the specified project and region usingthe data included in the request.
listRetrieves a list of VpnTunnel resources contained in the specifiedproject and region.
setLabelsSets the labels on a VpnTunnel. To learn more about labels, read theLabeling Resources documentation.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.beta.zoneOperations

Functions
deleteDeletes the specified zone-specific Operations resource.
getRetrieves the specified zone-specific Operations resource.
listRetrieves a list of Operation resources contained within the specifiedzone.
waitWaits for the specified Operation resource to return asDONE or forthe request to approach the 2 minute deadline, and retrieves thespecified Operation resource. This method waits for no more than the 2minutes and then returns the current state of the operation, which mightbeDONE or still in progress. This method is called on a best-effortbasis. Specifically: - In uncommon cases, when the server is overloaded,the request might return before the default deadline is reached, ormight return after zero seconds. - If the default deadline is reached,there is no guarantee that the operation is actually done when themethod returns. Be prepared to retry if the operation is notDONE.

Module: googleapis.compute.beta.zones

Functions
getReturns the specified Zone resource.
listRetrieves the list of Zone resources available to the specified project.

Module: googleapis.compute.v1.acceleratorTypes

Functions
aggregatedListRetrieves an aggregated list of accelerator types.
getReturns the specified accelerator type.
listRetrieves a list of accelerator types that are available to thespecified project.

Module: googleapis.compute.v1.addresses

Functions
aggregatedListRetrieves an aggregated list of addresses.
deleteDeletes the specified address resource.
getReturns the specified address resource.
insertCreates an address resource in the specified project by using the dataincluded in the request.
listRetrieves a list of addresses contained within the specified region.
moveMoves the specified address resource.
setLabelsSets the labels on an Address. To learn more about labels, read theLabeling Resources documentation.

Module: googleapis.compute.v1.autoscalers

Functions
aggregatedListRetrieves an aggregated list of autoscalers.
deleteDeletes the specified autoscaler.
getReturns the specified autoscaler resource.
insertCreates an autoscaler in the specified project using the data includedin the request.
listRetrieves a list of autoscalers contained within the specified zone.
patchUpdates an autoscaler in the specified project using the data includedin the request. This method supports PATCH semantics and uses the JSONmerge patch format and processing rules.
updateUpdates an autoscaler in the specified project using the data includedin the request.

Module: googleapis.compute.v1.backendBuckets

Functions
addSignedUrlKeyAdds a key for validating requests with signed URLs for this backendbucket.
deleteDeletes the specified BackendBucket resource.
deleteSignedUrlKeyDeletes a key for validating requests with signed URLs for this backendbucket.
getReturns the specified BackendBucket resource.
insertCreates a BackendBucket resource in the specified project using the dataincluded in the request.
listRetrieves the list of BackendBucket resources available to the specifiedproject.
patchUpdates the specified BackendBucket resource with the data included inthe request. This method supports PATCH semantics and uses the JSONmerge patch format and processing rules.
setEdgeSecurityPolicySets the edge security policy for the specified backend bucket.
updateUpdates the specified BackendBucket resource with the data included inthe request.

Module: googleapis.compute.v1.backendServices

Functions
addSignedUrlKeyAdds a key for validating requests with signed URLs for this backendservice.
aggregatedListRetrieves the list of all BackendService resources, regional and global,available to the specified project.
deleteDeletes the specified BackendService resource.
deleteSignedUrlKeyDeletes a key for validating requests with signed URLs for this backendservice.
getReturns the specified BackendService resource.
getHealthGets the most recent health check results for this BackendService.Example request body: { "group":"/zones/us-east1-b/instanceGroups/lb-backend-example" }
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
insertCreates a BackendService resource in the specified project using thedata included in the request. For more information, see Backend servicesoverview .
listRetrieves the list of BackendService resources available to thespecified project.
patchPatches the specified BackendService resource with the data included inthe request. For more information, see Backend services overview. Thismethod supports PATCH semantics and uses the JSON merge patch format andprocessing rules.
setEdgeSecurityPolicySets the edge security policy for the specified backend service.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
setSecurityPolicySets the Google Cloud Armor security policy for the specified backendservice. For more information, see Google Cloud Armor Overview
updateUpdates the specified BackendService resource with the data included inthe request. For more information, see Backend services overview.

Module: googleapis.compute.v1.diskTypes

Functions
aggregatedListRetrieves an aggregated list of disk types.
getReturns the specified disk type.
listRetrieves a list of disk types available to the specified project.

Module: googleapis.compute.v1.disks

Functions
addResourcePoliciesAdds existing resource policies to a disk. You can only add one policywhich will be applied to this disk for scheduling snapshot creation.
aggregatedListRetrieves an aggregated list of persistent disks.
bulkInsertBulk create a set of disks.
createSnapshotCreates a snapshot of a specified persistent disk. For regular snapshotcreation, consider using snapshots.insert instead, as that methodsupports more features, such as creating snapshots in a projectdifferent from the source disk project.
deleteDeletes the specified persistent disk. Deleting a disk removes its datapermanently and is irreversible. However, deleting a disk does notdelete any snapshots previously made from the disk. You must separatelydelete snapshots.
getReturns the specified persistent disk.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
insertCreates a persistent disk in the specified project using the data in therequest. You can create a disk from a source (sourceImage,sourceSnapshot, or sourceDisk) or create an empty 500 GB data disk byomitting all properties. You can also create a disk that is larger thanthe default size by specifying the sizeGb property.
listRetrieves a list of persistent disks contained within the specifiedzone.
removeResourcePoliciesRemoves resource policies from a disk.
resizeResizes the specified persistent disk. You can only increase the size ofthe disk.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
setLabelsSets the labels on a disk. To learn more about labels, read the LabelingResources documentation.
startAsyncReplicationStarts asynchronous replication. Must be invoked on the primary disk.
stopAsyncReplicationStops asynchronous replication. Can be invoked either on the primary oron the secondary disk.
stopGroupAsyncReplicationStops asynchronous replication for a consistency group of disks. Can beinvoked either in the primary or secondary scope.
testIamPermissionsReturns permissions that a caller has on the specified resource.
updateUpdates the specified disk with the data included in the request. Theupdate is performed only on selected fields included as part ofupdate-mask. Only the following fields can be modified: user_license.

Module: googleapis.compute.v1.externalVpnGateways

Functions
deleteDeletes the specified externalVpnGateway.
getReturns the specified externalVpnGateway. Get a list of availableexternalVpnGateways by making a list() request.
insertCreates a ExternalVpnGateway in the specified project using the dataincluded in the request.
listRetrieves the list of ExternalVpnGateway available to the specifiedproject.
setLabelsSets the labels on an ExternalVpnGateway. To learn more about labels,read the Labeling Resources documentation.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.v1.firewallPolicies

Functions
addAssociationInserts an association for the specified firewall policy.
addRuleInserts a rule into a firewall policy.
cloneRulesCopies rules to the specified firewall policy.
deleteDeletes the specified policy.
getReturns the specified firewall policy.
getAssociationGets an association with the specified name.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
getRuleGets a rule of the specified priority.
insertCreates a new policy in the specified project using the data included inthe request.
listLists all the policies that have been configured for the specifiedfolder or organization.
listAssociationsLists associations of a specified target, i.e., organization or folder.
moveMoves the specified firewall policy.
patchPatches the specified policy with the data included in the request.
patchRulePatches a rule of the specified priority.
removeAssociationRemoves an association for the specified firewall policy.
removeRuleDeletes a rule of the specified priority.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.v1.firewalls

Functions
deleteDeletes the specified firewall.
getReturns the specified firewall.
insertCreates a firewall rule in the specified project using the data includedin the request.
listRetrieves the list of firewall rules available to the specified project.
patchUpdates the specified firewall rule with the data included in therequest. This method supports PATCH semantics and uses the JSON mergepatch format and processing rules.
updateUpdates the specified firewall rule with the data included in therequest. Note that all fields will be updated if using PUT, even fieldsthat are not specified. To update individual fields, please use PATCHinstead.

Module: googleapis.compute.v1.forwardingRules

Functions
aggregatedListRetrieves an aggregated list of forwarding rules.
deleteDeletes the specified ForwardingRule resource.
getReturns the specified ForwardingRule resource.
insertCreates a ForwardingRule resource in the specified project and regionusing the data included in the request.
listRetrieves a list of ForwardingRule resources available to the specifiedproject and region.
patchUpdates the specified forwarding rule with the data included in therequest. This method supports PATCH semantics and uses the JSON mergepatch format and processing rules. Currently, you can only patch thenetwork_tier field.
setLabelsSets the labels on the specified resource. To learn more about labels,read the Labeling Resources documentation.
setTargetChanges target URL for forwarding rule. The new target should be of thesame type as the old target.

Module: googleapis.compute.v1.globalAddresses

Functions
deleteDeletes the specified address resource.
getReturns the specified address resource.
insertCreates an address resource in the specified project by using the dataincluded in the request.
listRetrieves a list of global addresses.
moveMoves the specified address resource from one project to anotherproject.
setLabelsSets the labels on a GlobalAddress. To learn more about labels, read theLabeling Resources documentation.

Module: googleapis.compute.v1.globalForwardingRules

Functions
deleteDeletes the specified GlobalForwardingRule resource.
getReturns the specified GlobalForwardingRule resource. Gets a list ofavailable forwarding rules by making a list() request.
insertCreates a GlobalForwardingRule resource in the specified project usingthe data included in the request.
listRetrieves a list of GlobalForwardingRule resources available to thespecified project.
patchUpdates the specified forwarding rule with the data included in therequest. This method supports PATCH semantics and uses the JSON mergepatch format and processing rules. Currently, you can only patch thenetwork_tier field.
setLabelsSets the labels on the specified resource. To learn more about labels,read the Labeling resources documentation.
setTargetChanges target URL for the GlobalForwardingRule resource. The new targetshould be of the same type as the old target.

Module: googleapis.compute.v1.globalNetworkEndpointGroups

Functions
attachNetworkEndpointsAttach a network endpoint to the specified network endpoint group.
deleteDeletes the specified network endpoint group.Note that the NEG cannot bedeleted if there are backend services referencing it.
detachNetworkEndpointsDetach the network endpoint from the specified network endpoint group.
getReturns the specified network endpoint group.
insertCreates a network endpoint group in the specified project using theparameters that are included in the request.
listRetrieves the list of network endpoint groups that are located in thespecified project.
listNetworkEndpointsLists the network endpoints in the specified network endpoint group.

Module: googleapis.compute.v1.globalOperations

Functions
aggregatedListRetrieves an aggregated list of all operations.
deleteDeletes the specified Operations resource.
getRetrieves the specified Operations resource.
listRetrieves a list of Operation resources contained within the specifiedproject.
waitWaits for the specified Operation resource to return asDONE or forthe request to approach the 2 minute deadline, and retrieves thespecified Operation resource. This method differs from theGET methodin that it waits for no more than the default deadline (2 minutes) andthen returns the current state of the operation, which might beDONEor still in progress. This method is called on a best-effort basis.Specifically: - In uncommon cases, when the server is overloaded, therequest might return before the default deadline is reached, or mightreturn after zero seconds. - If the default deadline is reached, thereis no guarantee that the operation is actually done when the methodreturns. Be prepared to retry if the operation is notDONE.

Module: googleapis.compute.v1.globalOrganizationOperations

Functions
deleteDeletes the specified Operations resource.
getRetrieves the specified Operations resource. Gets a list of operationsby making alist() request.
listRetrieves a list of Operation resources contained within the specifiedorganization.

Module: googleapis.compute.v1.globalPublicDelegatedPrefixes

Functions
deleteDeletes the specified global PublicDelegatedPrefix.
getReturns the specified global PublicDelegatedPrefix resource.
insertCreates a global PublicDelegatedPrefix in the specified project usingthe parameters that are included in the request.
listLists the global PublicDelegatedPrefixes for a project.
patchPatches the specified global PublicDelegatedPrefix resource with thedata included in the request. This method supports PATCH semantics anduses JSON merge patch format and processing rules.

Module: googleapis.compute.v1.healthChecks

Functions
aggregatedListRetrieves the list of all HealthCheck resources, regional and global,available to the specified project.
deleteDeletes the specified HealthCheck resource.
getReturns the specified HealthCheck resource.
insertCreates a HealthCheck resource in the specified project using the dataincluded in the request.
listRetrieves the list of HealthCheck resources available to the specifiedproject.
patchUpdates a HealthCheck resource in the specified project using the dataincluded in the request. This method supports PATCH semantics and usesthe JSON merge patch format and processing rules.
updateUpdates a HealthCheck resource in the specified project using the dataincluded in the request.

Module: googleapis.compute.v1.httpHealthChecks

Functions
deleteDeletes the specified HttpHealthCheck resource.
getReturns the specified HttpHealthCheck resource.
insertCreates a HttpHealthCheck resource in the specified project using thedata included in the request.
listRetrieves the list of HttpHealthCheck resources available to thespecified project.
patchUpdates a HttpHealthCheck resource in the specified project using thedata included in the request. This method supports PATCH semantics anduses the JSON merge patch format and processing rules.
updateUpdates a HttpHealthCheck resource in the specified project using thedata included in the request.

Module: googleapis.compute.v1.httpsHealthChecks

Functions
deleteDeletes the specified HttpsHealthCheck resource.
getReturns the specified HttpsHealthCheck resource.
insertCreates a HttpsHealthCheck resource in the specified project using thedata included in the request.
listRetrieves the list of HttpsHealthCheck resources available to thespecified project.
patchUpdates a HttpsHealthCheck resource in the specified project using thedata included in the request. This method supports PATCH semantics anduses the JSON merge patch format and processing rules.
updateUpdates a HttpsHealthCheck resource in the specified project using thedata included in the request.

Module: googleapis.compute.v1.imageFamilyViews

Functions
getReturns the latest image that is part of an image family, is notdeprecated and is rolled out in the specified zone.

Module: googleapis.compute.v1.images

Functions
deleteDeletes the specified image.
deprecateSets the deprecation status of an image. If an empty request body isgiven, clears the deprecation status instead.
getReturns the specified image.
getFromFamilyReturns the latest image that is part of an image family and is notdeprecated. For more information on image families, see Public imagefamilies documentation.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
insertCreates an image in the specified project using the data included in therequest.
listRetrieves the list of custom images available to the specified project.Custom images are images you create that belong to your project. Thismethod does not get any images that belong to other projects, includingpublicly-available images, like Debian 8. If you want to get a list ofpublicly-available images, use this method to make a request to therespective image project, such as debian-cloud or windows-cloud.
patchPatches the specified image with the data included in the request. Onlythe following fields can be modified: family, description, deprecationstatus.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
setLabelsSets the labels on an image. To learn more about labels, read theLabeling Resources documentation.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.v1.instanceGroupManagers

Functions
abandonInstancesFlags the specified instances to be removed from the managed instancegroup. Abandoning an instance does not delete the instance, but it doesremove the instance from any target pools that are applied by themanaged instance group. This method reduces the targetSize of themanaged instance group by the number of instances that you abandon. Thisoperation is marked as DONE when the action is scheduled even if theinstances have not yet been removed from the group. You must separatelyverify the status of the abandoning action with the listmanagedinstancesmethod. If the group is part of a backend service that has enabledconnection draining, it can take up to 60 seconds after the connectiondraining duration has elapsed before the VM instance is removed ordeleted. You can specify a maximum of 1000 instances with this methodper request.
aggregatedListRetrieves the list of managed instance groups and groups them by zone.
applyUpdatesToInstancesApplies changes to selected instances on the managed instance group.This method can be used to apply new overrides and/or new versions.
createInstancesCreates instances with per-instance configurations in this managedinstance group. Instances are created using the current instancetemplate. The create instances operation is marked DONE if thecreateInstances request is successful. The underlying actions takeadditional time. You must separately verify the status of the creatingor actions with the listmanagedinstances method.
deleteDeletes the specified managed instance group and all of the instances inthat group. Note that the instance group must not belong to a backendservice. Read Deleting an instance group for more information.
deleteInstancesFlags the specified instances in the managed instance group forimmediate deletion. The instances are also removed from any target poolsof which they were a member. This method reduces the targetSize of themanaged instance group by the number of instances that you delete. Thisoperation is marked as DONE when the action is scheduled even if theinstances are still being deleted. You must separately verify the statusof the deleting action with the listmanagedinstances method. If thegroup is part of a backend service that has enabled connection draining,it can take up to 60 seconds after the connection draining duration haselapsed before the VM instance is removed or deleted. You can specify amaximum of 1000 instances with this method per request.
deletePerInstanceConfigsDeletes selected per-instance configurations for the managed instancegroup.
getReturns all of the details about the specified managed instance group.
insertCreates a managed instance group using the information that you specifyin the request. After the group is created, instances in the group arecreated using the specified instance template. This operation is markedas DONE when the group is created even if the instances in the grouphave not yet been created. You must separately verify the status of theindividual instances with the listmanagedinstances method. A managedinstance group can have up to 1000 VM instances per group. Pleasecontact Cloud Support if you need an increase in this limit.
listRetrieves a list of managed instance groups that are contained withinthe specified project and zone.
listErrorsLists all errors thrown by actions on instances for a given managedinstance group. The filter and orderBy query parameters are notsupported.
listManagedInstancesLists all of the instances in the managed instance group. Each instancein the list has a currentAction, which indicates the action that themanaged instance group is performing on the instance. For example, ifthe group is still creating an instance, the currentAction is CREATING.If a previous action failed, the list displays the errors for thatfailed action. The orderBy query parameter is not supported. ThepageToken query parameter is supported only in the alpha and beta APIand only if the group'slistManagedInstancesResults field is set toPAGINATED.
listPerInstanceConfigsLists all of the per-instance configurations defined for the managedinstance group. The orderBy query parameter is not supported.
patchUpdates a managed instance group using the information that you specifyin the request. This operation is marked as DONE when the group ispatched even if the instances in the group are still in the process ofbeing patched. You must separately verify the status of the individualinstances with the listManagedInstances method. This method supportsPATCH semantics and uses the JSON merge patch format and processingrules. If you update your group to specify a new template or instanceconfiguration, it's possible that your intended specification for eachVM in the group is different from the current state of that VM. To learnhow to apply an updated configuration to the VMs in a MIG, see Updatinginstances in a MIG.
patchPerInstanceConfigsInserts or patches per-instance configurations for the managed instancegroup. perInstanceConfig.name serves as a key used to distinguishwhether to perform insert or patch.
recreateInstancesFlags the specified VM instances in the managed instance group to beimmediately recreated. Each instance is recreated using the group'scurrent configuration. This operation is marked as DONE when the flag isset even if the instances have not yet been recreated. You mustseparately verify the status of each instance by checking itscurrentAction field; for more information, see Checking the status ofmanaged instances. If the group is part of a backend service that hasenabled connection draining, it can take up to 60 seconds after theconnection draining duration has elapsed before the VM instance isremoved or deleted. You can specify a maximum of 1000 instances withthis method per request.
resizeResizes the managed instance group. If you increase the size, the groupcreates new instances using the current instance template. If youdecrease the size, the group deletes instances. The resize operation ismarked DONE when the resize actions are scheduled even if the group hasnot yet added or deleted any instances. You must separately verify thestatus of the creating or deleting actions with the listmanagedinstancesmethod. When resizing down, the instance group arbitrarily chooses theorder in which VMs are deleted. The group takes into account some VMattributes when making the selection including: + The status of the VMinstance. + The health of the VM instance. + The instance templateversion the VM is based on. + For regional managed instance groups, thelocation of the VM instance. This list is subject to change. If thegroup is part of a backend service that has enabled connection draining,it can take up to 60 seconds after the connection draining duration haselapsed before the VM instance is removed or deleted.
setInstanceTemplateSpecifies the instance template to use when creating new instances inthis group. The templates for existing instances in the group do notchange unless you run recreateInstances, run applyUpdatesToInstances, orset the group's updatePolicy.type to PROACTIVE.
setTargetPoolsModifies the target pools to which all instances in this managedinstance group are assigned. The target pools automatically apply to allof the instances in the managed instance group. This operation is markedDONE when you make the request even if the instances have not yet beenadded to their target pools. The change might take some time to apply toall of the instances in the group depending on the size of the group.
updatePerInstanceConfigsInserts or updates per-instance configurations for the managed instancegroup. perInstanceConfig.name serves as a key used to distinguishwhether to perform insert or patch.

Module: googleapis.compute.v1.instanceGroups

Functions
addInstancesAdds a list of instances to the specified instance group. All of theinstances in the instance group must be in the same network/subnetwork.Read Adding instances for more information.
aggregatedListRetrieves the list of instance groups and sorts them by zone.
deleteDeletes the specified instance group. The instances in the group are notdeleted. Note that instance group must not belong to a backend service.Read Deleting an instance group for more information.
getReturns the specified zonal instance group. Get a list of availablezonal instance groups by making a list() request. For managed instancegroups, use the instanceGroupManagers or regionInstanceGroupManagersmethods instead.
insertCreates an instance group in the specified project using the parametersthat are included in the request.
listRetrieves the list of zonal instance group resources contained withinthe specified zone. For managed instance groups, use theinstanceGroupManagers or regionInstanceGroupManagers methods instead.
listInstancesLists the instances in the specified instance group. The orderBy queryparameter is not supported. The filter query parameter is supported, butonly for expressions that useeq (equal) orne (not equal)operators.
removeInstancesRemoves one or more instances from the specified instance group, butdoes not delete those instances. If the group is part of a backendservice that has enabled connection draining, it can take up to 60seconds after the connection draining duration before the VM instance isremoved or deleted.
setNamedPortsSets the named ports for the specified instance group.

Module: googleapis.compute.v1.instanceTemplates

Functions
aggregatedListRetrieves the list of all InstanceTemplates resources, regional andglobal, available to the specified project.
deleteDeletes the specified instance template. Deleting an instance templateis permanent and cannot be undone. It is not possible to deletetemplates that are already in use by a managed instance group.
getReturns the specified instance template.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
insertCreates an instance template in the specified project using the datathat is included in the request. If you are creating a new template toupdate an existing instance group, your new instance template must usethe same network or, if applicable, the same subnetwork as the originaltemplate.
listRetrieves a list of instance templates that are contained within thespecified project.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.v1.instances

Functions
addAccessConfigAdds an access config to an instance's network interface.
addResourcePoliciesAdds existing resource policies to an instance. You can only add onepolicy right now which will be applied to this instance for schedulinglive migrations.
aggregatedListRetrieves an aggregated list of all of the instances in your projectacross all regions and zones. The performance of this method degradeswhen a filter is specified on a project that has a very large number ofinstances.
attachDiskAttaches an existing Disk resource to an instance. You must first createthe disk before you can attach it. It is not possible to create andattach a disk at the same time. For more information, read Adding apersistent disk to your instance.
bulkInsertCreates multiple instances. Count specifies the number of instances tocreate. For more information, see About bulk creation of VMs.
deleteDeletes the specified Instance resource. For more information, seeDeleting an instance.
deleteAccessConfigDeletes an access config from an instance's network interface.
detachDiskDetaches a disk from an instance.
getReturns the specified Instance resource.
getEffectiveFirewallsReturns effective firewalls applied to an interface of the instance.
getGuestAttributesReturns the specified guest attributes entry.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
getScreenshotReturns the screenshot from the specified instance.
getSerialPortOutputReturns the last 1 MB of serial port output from the specified instance.
getShieldedInstanceIdentityReturns the Shielded Instance Identity of an instance
insertCreates an instance resource in the specified project using the dataincluded in the request.
listRetrieves the list of instances contained within the specified zone.
listReferrersRetrieves a list of resources that refer to the VM instance specified inthe request. For example, if the VM instance is part of a managed orunmanaged instance group, the referrers list includes the instancegroup. For more information, read Viewing referrers to VM instances.
removeResourcePoliciesRemoves resource policies from an instance.
resetPerforms a reset on the instance. This is a hard reset. The VM does notdo a graceful shutdown. For more information, see Resetting an instance.
resumeResumes an instance that was suspended using the instances().suspendmethod.
sendDiagnosticInterruptSends diagnostic interrupt to the instance.
setDeletionProtectionSets deletion protection on the instance.
setDiskAutoDeleteSets the auto-delete flag for a disk attached to an instance.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
setLabelsSets labels on an instance. To learn more about labels, read theLabeling Resources documentation.
setMachineResourcesChanges the number and/or type of accelerator for a stopped instance tothe values specified in the request.
setMachineTypeChanges the machine type for a stopped instance to the machine typespecified in the request.
setMetadataSets metadata for the specified instance to the data included in therequest.
setMinCpuPlatformChanges the minimum CPU platform that this instance should use. Thismethod can only be called on a stopped instance. For more information,read Specifying a Minimum CPU Platform.
setNameSets name of an instance.
setSchedulingSets an instance's scheduling options. You can only call this method ona stopped instance, that is, a VM instance that is in aTERMINATEDstate. See Instance Life Cycle for more information on the possibleinstance states. For more information about setting scheduling optionsfor a VM, see Set VM host maintenance policy.
setServiceAccountSets the service account on the instance. For more information, readChanging the service account and access scopes for an instance.
setShieldedInstanceIntegrityPolicySets the Shielded Instance integrity policy for an instance. You canonly use this method on a running instance. This method supports PATCHsemantics and uses the JSON merge patch format and processing rules.
setTagsSets network tags for the specified instance to the data included in therequest.
simulateMaintenanceEventSimulates a host maintenance event on a VM. For more information, seeSimulate a host maintenance event.
startStarts an instance that was stopped using the instances().stop method.For more information, see Restart an instance.
startWithEncryptionKeyStarts an instance that was stopped using the instances().stop method.For more information, see Restart an instance.
stopStops a running instance, shutting it down cleanly, and allows you torestart the instance at a later time. Stopped instances do not incur VMusage charges while they are stopped. However, resources that the VM isusing, such as persistent disks and static IP addresses, will continueto be charged until they are deleted. For more information, see Stoppingan instance.
suspendThis method suspends a running instance, saving its state to persistentstorage, and allows you to resume the instance at a later time.Suspended instances have no compute costs (cores or RAM), and incur onlystorage charges for the saved VM memory and localSSD data. Any chargedresources the virtual machine was using, such as persistent disks andstatic IP addresses, will continue to be charged while the instance issuspended. For more information, see Suspending and resuming aninstance.
testIamPermissionsReturns permissions that a caller has on the specified resource.
updateUpdates an instance only if the necessary resources are available. Thismethod can update only a specific set of instance properties. SeeUpdating a running instance for a list of updatable instance properties.
updateAccessConfigUpdates the specified access config from an instance's network interfacewith the data included in the request. This method supports PATCHsemantics and uses the JSON merge patch format and processing rules.
updateDisplayDeviceUpdates the Display config for a VM instance. You can only use thismethod on a stopped VM instance. This method supports PATCH semanticsand uses the JSON merge patch format and processing rules.
updateNetworkInterfaceUpdates an instance's network interface. This method can only update aninterface's alias IP range and attached network. See Modifying alias IPranges for an existing instance for instructions on changing alias IPranges. See Migrating a VM between networks for instructions onmigrating an interface. This method follows PATCH semantics.
updateShieldedInstanceConfigUpdates the Shielded Instance config for an instance. You can only usethis method on a stopped instance. This method supports PATCH semanticsand uses the JSON merge patch format and processing rules.

Module: googleapis.compute.v1.interconnectAttachments

Functions
aggregatedListRetrieves an aggregated list of interconnect attachments.
deleteDeletes the specified interconnect attachment.
getReturns the specified interconnect attachment.
insertCreates an InterconnectAttachment in the specified project using thedata included in the request.
listRetrieves the list of interconnect attachments contained within thespecified region.
patchUpdates the specified interconnect attachment with the data included inthe request. This method supports PATCH semantics and uses the JSONmerge patch format and processing rules.
setLabelsSets the labels on an InterconnectAttachment. To learn more aboutlabels, read the Labeling Resources documentation.

Module: googleapis.compute.v1.interconnectLocations

Functions
getReturns the details for the specified interconnect location. Gets a listof available interconnect locations by making a list() request.
listRetrieves the list of interconnect locations available to the specifiedproject.

Module: googleapis.compute.v1.interconnectRemoteLocations

Functions
getReturns the details for the specified interconnect remote location. Getsa list of available interconnect remote locations by making a list()request.
listRetrieves the list of interconnect remote locations available to thespecified project.

Module: googleapis.compute.v1.interconnects

Functions
deleteDeletes the specified Interconnect.
getReturns the specified Interconnect. Get a list of availableInterconnects by making a list() request.
getDiagnosticsReturns the interconnectDiagnostics for the specified Interconnect.
insertCreates an Interconnect in the specified project using the data includedin the request.
listRetrieves the list of Interconnects available to the specified project.
patchUpdates the specified Interconnect with the data included in therequest. This method supports PATCH semantics and uses the JSON mergepatch format and processing rules.
setLabelsSets the labels on an Interconnect. To learn more about labels, read theLabeling Resources documentation.

Module: googleapis.compute.v1.licenseCodes

Functions
getReturn a specified license code. License codes are mirrored across allprojects that have permissions to read the License Code.Caution Thisresource is intended for use only by third-party partners who arecreating Cloud Marketplace images.
testIamPermissionsReturns permissions that a caller has on the specified resource.Caution This resource is intended for use only by third-party partnerswho are creating Cloud Marketplace images.

Module: googleapis.compute.v1.licenses

Functions
deleteDeletes the specified license.Caution This resource is intended foruse only by third-party partners who are creating Cloud Marketplaceimages.
getReturns the specified License resource.Caution This resource isintended for use only by third-party partners who are creating CloudMarketplace images.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.Caution This resource is intended for useonly by third-party partners who are creating Cloud Marketplace images.
insertCreate a License resource in the specified project.Caution Thisresource is intended for use only by third-party partners who arecreating Cloud Marketplace images.
listRetrieves the list of licenses available in the specified project. Thismethod does not get any licenses that belong to other projects,including licenses attached to publicly-available images, like Debian 9.If you want to get a list of publicly-available licenses, use thismethod to make a request to the respective image project, such asdebian-cloud or windows-cloud.Caution This resource is intended foruse only by third-party partners who are creating Cloud Marketplaceimages.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.Caution This resource is intended for use only bythird-party partners who are creating Cloud Marketplace images.
testIamPermissionsReturns permissions that a caller has on the specified resource.Caution This resource is intended for use only by third-party partnerswho are creating Cloud Marketplace images.

Module: googleapis.compute.v1.machineImages

Functions
deleteDeletes the specified machine image. Deleting a machine image ispermanent and cannot be undone.
getReturns the specified machine image.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
insertCreates a machine image in the specified project using the data that isincluded in the request. If you are creating a new machine image toupdate an existing instance, your new machine image should use the samenetwork or, if applicable, the same subnetwork as the original instance.
listRetrieves a list of machine images that are contained within thespecified project.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.v1.machineTypes

Functions
aggregatedListRetrieves an aggregated list of machine types.
getReturns the specified machine type.
listRetrieves a list of machine types available to the specified project.

Module: googleapis.compute.v1.networkAttachments

Functions
aggregatedListRetrieves the list of all NetworkAttachment resources, regional andglobal, available to the specified project.
deleteDeletes the specified NetworkAttachment in the given scope
getReturns the specified NetworkAttachment resource in the given scope.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
insertCreates a NetworkAttachment in the specified project in the given scopeusing the parameters that are included in the request.
listLists the NetworkAttachments for a project in the given scope.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.v1.networkEdgeSecurityServices

Functions
aggregatedListRetrieves the list of all NetworkEdgeSecurityService resources availableto the specified project.
deleteDeletes the specified service.
getGets a specified NetworkEdgeSecurityService.
insertCreates a new service in the specified project using the data includedin the request.
patchPatches the specified policy with the data included in the request.

Module: googleapis.compute.v1.networkEndpointGroups

Functions
aggregatedListRetrieves the list of network endpoint groups and sorts them by zone.
attachNetworkEndpointsAttach a list of network endpoints to the specified network endpointgroup.
deleteDeletes the specified network endpoint group. The network endpoints inthe NEG and the VM instances they belong to are not terminated when theNEG is deleted. Note that the NEG cannot be deleted if there are backendservices referencing it.
detachNetworkEndpointsDetach a list of network endpoints from the specified network endpointgroup.
getReturns the specified network endpoint group.
insertCreates a network endpoint group in the specified project using theparameters that are included in the request.
listRetrieves the list of network endpoint groups that are located in thespecified project and zone.
listNetworkEndpointsLists the network endpoints in the specified network endpoint group.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.v1.networkFirewallPolicies

Functions
addAssociationInserts an association for the specified firewall policy.
addRuleInserts a rule into a firewall policy.
cloneRulesCopies rules to the specified firewall policy.
deleteDeletes the specified policy.
getReturns the specified network firewall policy.
getAssociationGets an association with the specified name.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
getRuleGets a rule of the specified priority.
insertCreates a new policy in the specified project using the data included inthe request.
listLists all the policies that have been configured for the specifiedproject.
patchPatches the specified policy with the data included in the request.
patchRulePatches a rule of the specified priority.
removeAssociationRemoves an association for the specified firewall policy.
removeRuleDeletes a rule of the specified priority.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.v1.networks

Functions
addPeeringAdds a peering to the specified network.
deleteDeletes the specified network.
getReturns the specified network.
getEffectiveFirewallsReturns the effective firewalls on a given network.
insertCreates a network in the specified project using the data included inthe request.
listRetrieves the list of networks available to the specified project.
listPeeringRoutesLists the peering routes exchanged over peering connection.
patchPatches the specified network with the data included in the request.Only the following fields can be modified: routingConfig.routingMode.
removePeeringRemoves a peering from the specified network.
switchToCustomModeSwitches the network mode from auto subnet mode to custom subnet mode.
updatePeeringUpdates the specified network peering with the data included in therequest. You can only modify the NetworkPeering.export_custom_routesfield and the NetworkPeering.import_custom_routes field.

Module: googleapis.compute.v1.nodeGroups

Functions
addNodesAdds specified number of nodes to the node group.
aggregatedListRetrieves an aggregated list of node groups. Note: usenodeGroups.listNodes for more details about each group.
deleteDeletes the specified NodeGroup resource.
deleteNodesDeletes specified nodes from the node group.
getReturns the specified NodeGroup. Get a list of available NodeGroups bymaking a list() request. Note: the "nodes" field should not be used.Use nodeGroups.listNodes instead.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
insertCreates a NodeGroup resource in the specified project using the dataincluded in the request.
listRetrieves a list of node groups available to the specified project.Note: use nodeGroups.listNodes for more details about each group.
listNodesLists nodes in the node group.
patchUpdates the specified node group.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
setNodeTemplateUpdates the node template of the node group.
simulateMaintenanceEventSimulates maintenance event on specified nodes from the node group.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.v1.nodeTemplates

Functions
aggregatedListRetrieves an aggregated list of node templates.
deleteDeletes the specified NodeTemplate resource.
getReturns the specified node template.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
insertCreates a NodeTemplate resource in the specified project using the dataincluded in the request.
listRetrieves a list of node templates available to the specified project.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.v1.nodeTypes

Functions
aggregatedListRetrieves an aggregated list of node types.
getReturns the specified node type.
listRetrieves a list of node types available to the specified project.

Module: googleapis.compute.v1.packetMirrorings

Functions
aggregatedListRetrieves an aggregated list of packetMirrorings.
deleteDeletes the specified PacketMirroring resource.
getReturns the specified PacketMirroring resource.
insertCreates a PacketMirroring resource in the specified project and regionusing the data included in the request.
listRetrieves a list of PacketMirroring resources available to the specifiedproject and region.
patchPatches the specified PacketMirroring resource with the data included inthe request. This method supports PATCH semantics and uses JSON mergepatch format and processing rules.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.v1.projects

Functions
disableXpnHostDisable this project as a shared VPC host project.
disableXpnResourceDisable a service resource (also known as service project) associatedwith this host project.
enableXpnHostEnable this project as a shared VPC host project.
enableXpnResourceEnable service resource (a.k.a service project) for a host project, sothat subnets in the host project can be used by instances in the serviceproject.
getReturns the specified Project resource. To decrease latency for thismethod, you can optionally omit any unneeded information from theresponse by using a field mask. This practice is especially recommendedfor unused quota information (thequotas field). To exclude one ormore fields, set your request'sfields query parameter to only includethe fields you need. For example, to only include theid andselfLink fields, add the query parameter?fields=id,selfLink to yourrequest.
getXpnHostGets the shared VPC host project that this project links to. May beempty if no link exists.
getXpnResourcesGets service resources (a.k.a service project) associated with this hostproject.
listXpnHostsLists all shared VPC host projects visible to the user in anorganization.
moveDiskMoves a persistent disk from one zone to another.
moveInstanceMoves an instance and its attached persistent disks from one zone toanother.Note: Moving VMs or disks by using this method might causeunexpected behavior. For more information, see theknownissue.[Deprecated] This method is deprecated. Seemoving instance acrosszones instead.
setCommonInstanceMetadataSets metadata common to all instances within the specified project usingthe data included in the request.
setDefaultNetworkTierSets the default network tier of the project. The default network tieris used when an address/forwardingRule/instance is created withoutspecifying the network tier field.
setUsageExportBucketEnables the usage export feature and sets the usage export bucket wherereports are stored. If you provide an empty request body using thismethod, the usage export feature will be disabled.

Module: googleapis.compute.v1.publicAdvertisedPrefixes

Functions
deleteDeletes the specified PublicAdvertisedPrefix
getReturns the specified PublicAdvertisedPrefix resource.
insertCreates a PublicAdvertisedPrefix in the specified project using theparameters that are included in the request.
listLists the PublicAdvertisedPrefixes for a project.
patchPatches the specified Router resource with the data included in therequest. This method supports PATCH semantics and uses JSON merge patchformat and processing rules.

Module: googleapis.compute.v1.publicDelegatedPrefixes

Functions
aggregatedListLists all PublicDelegatedPrefix resources owned by the specific projectacross all scopes.
deleteDeletes the specified PublicDelegatedPrefix in the given region.
getReturns the specified PublicDelegatedPrefix resource in the givenregion.
insertCreates a PublicDelegatedPrefix in the specified project in the givenregion using the parameters that are included in the request.
listLists the PublicDelegatedPrefixes for a project in the given region.
patchPatches the specified PublicDelegatedPrefix resource with the dataincluded in the request. This method supports PATCH semantics and usesJSON merge patch format and processing rules.

Module: googleapis.compute.v1.regionAutoscalers

Functions
deleteDeletes the specified autoscaler.
getReturns the specified autoscaler.
insertCreates an autoscaler in the specified project using the data includedin the request.
listRetrieves a list of autoscalers contained within the specified region.
patchUpdates an autoscaler in the specified project using the data includedin the request. This method supports PATCH semantics and uses the JSONmerge patch format and processing rules.
updateUpdates an autoscaler in the specified project using the data includedin the request.

Module: googleapis.compute.v1.regionBackendServices

Functions
deleteDeletes the specified regional BackendService resource.
getReturns the specified regional BackendService resource.
getHealthGets the most recent health check results for this regionalBackendService.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
insertCreates a regional BackendService resource in the specified projectusing the data included in the request. For more information, seeBackend services overview.
listRetrieves the list of regional BackendService resources available to thespecified project in the given region.
patchUpdates the specified regional BackendService resource with the dataincluded in the request. For more information, see Understanding backendservices This method supports PATCH semantics and uses the JSON mergepatch format and processing rules.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
updateUpdates the specified regional BackendService resource with the dataincluded in the request. For more information, see Backend servicesoverview .

Module: googleapis.compute.v1.regionCommitments

Functions
aggregatedListRetrieves an aggregated list of commitments by region.
getReturns the specified commitment resource.
insertCreates a commitment in the specified project using the data included inthe request.
listRetrieves a list of commitments contained within the specified region.
updateUpdates the specified commitment with the data included in the request.Update is performed only on selected fields included as part ofupdate-mask. Only the following fields can be modified: auto_renew.

Module: googleapis.compute.v1.regionDiskTypes

Functions
getReturns the specified regional disk type.
listRetrieves a list of regional disk types available to the specifiedproject.

Module: googleapis.compute.v1.regionDisks

Functions
addResourcePoliciesAdds existing resource policies to a regional disk. You can only add onepolicy which will be applied to this disk for scheduling snapshotcreation.
bulkInsertBulk create a set of disks.
createSnapshotCreates a snapshot of a specified persistent disk. For regular snapshotcreation, consider using snapshots.insert instead, as that methodsupports more features, such as creating snapshots in a projectdifferent from the source disk project.
deleteDeletes the specified regional persistent disk. Deleting a regional diskremoves all the replicas of its data permanently and is irreversible.However, deleting a disk does not delete any snapshots previously madefrom the disk. You must separately delete snapshots.
getReturns a specified regional persistent disk.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
insertCreates a persistent regional disk in the specified project using thedata included in the request.
listRetrieves the list of persistent disks contained within the specifiedregion.
removeResourcePoliciesRemoves resource policies from a regional disk.
resizeResizes the specified regional persistent disk.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
setLabelsSets the labels on the target regional disk.
startAsyncReplicationStarts asynchronous replication. Must be invoked on the primary disk.
stopAsyncReplicationStops asynchronous replication. Can be invoked either on the primary oron the secondary disk.
stopGroupAsyncReplicationStops asynchronous replication for a consistency group of disks. Can beinvoked either in the primary or secondary scope.
testIamPermissionsReturns permissions that a caller has on the specified resource.
updateUpdate the specified disk with the data included in the request. Updateis performed only on selected fields included as part of update-mask.Only the following fields can be modified: user_license.

Module: googleapis.compute.v1.regionHealthCheckServices

Functions
deleteDeletes the specified regional HealthCheckService.
getReturns the specified regional HealthCheckService resource.
insertCreates a regional HealthCheckService resource in the specified projectand region using the data included in the request.
listLists all the HealthCheckService resources that have been configured forthe specified project in the given region.
patchUpdates the specified regional HealthCheckService resource with the dataincluded in the request. This method supports PATCH semantics and usesthe JSON merge patch format and processing rules.

Module: googleapis.compute.v1.regionHealthChecks

Functions
deleteDeletes the specified HealthCheck resource.
getReturns the specified HealthCheck resource.
insertCreates a HealthCheck resource in the specified project using the dataincluded in the request.
listRetrieves the list of HealthCheck resources available to the specifiedproject.
patchUpdates a HealthCheck resource in the specified project using the dataincluded in the request. This method supports PATCH semantics and usesthe JSON merge patch format and processing rules.
updateUpdates a HealthCheck resource in the specified project using the dataincluded in the request.

Module: googleapis.compute.v1.regionInstanceGroupManagers

Functions
abandonInstancesFlags the specified instances to be immediately removed from the managedinstance group. Abandoning an instance does not delete the instance, butit does remove the instance from any target pools that are applied bythe managed instance group. This method reduces the targetSize of themanaged instance group by the number of instances that you abandon. Thisoperation is marked as DONE when the action is scheduled even if theinstances have not yet been removed from the group. You must separatelyverify the status of the abandoning action with the listmanagedinstancesmethod. If the group is part of a backend service that has enabledconnection draining, it can take up to 60 seconds after the connectiondraining duration has elapsed before the VM instance is removed ordeleted. You can specify a maximum of 1000 instances with this methodper request.
applyUpdatesToInstancesApply updates to selected instances the managed instance group.
createInstancesCreates instances with per-instance configurations in this regionalmanaged instance group. Instances are created using the current instancetemplate. The create instances operation is marked DONE if thecreateInstances request is successful. The underlying actions takeadditional time. You must separately verify the status of the creatingor actions with the listmanagedinstances method.
deleteDeletes the specified managed instance group and all of the instances inthat group.
deleteInstancesFlags the specified instances in the managed instance group to beimmediately deleted. The instances are also removed from any targetpools of which they were a member. This method reduces the targetSize ofthe managed instance group by the number of instances that you delete.The deleteInstances operation is marked DONE if the deleteInstancesrequest is successful. The underlying actions take additional time. Youmust separately verify the status of the deleting action with thelistmanagedinstances method. If the group is part of a backend servicethat has enabled connection draining, it can take up to 60 seconds afterthe connection draining duration has elapsed before the VM instance isremoved or deleted. You can specify a maximum of 1000 instances withthis method per request.
deletePerInstanceConfigsDeletes selected per-instance configurations for the managed instancegroup.
getReturns all of the details about the specified managed instance group.
insertCreates a managed instance group using the information that you specifyin the request. After the group is created, instances in the group arecreated using the specified instance template. This operation is markedas DONE when the group is created even if the instances in the grouphave not yet been created. You must separately verify the status of theindividual instances with the listmanagedinstances method. A regionalmanaged instance group can contain up to 2000 instances.
listRetrieves the list of managed instance groups that are contained withinthe specified region.
listErrorsLists all errors thrown by actions on instances for a given regionalmanaged instance group. The filter and orderBy query parameters are notsupported.
listManagedInstancesLists the instances in the managed instance group and instances that arescheduled to be created. The list includes any current actions that thegroup has scheduled for its instances. The orderBy query parameter isnot supported. ThepageToken query parameter is supported only in thealpha and beta API and only if the group'slistManagedInstancesResultsfield is set toPAGINATED.
listPerInstanceConfigsLists all of the per-instance configurations defined for the managedinstance group. The orderBy query parameter is not supported.
patchUpdates a managed instance group using the information that you specifyin the request. This operation is marked as DONE when the group ispatched even if the instances in the group are still in the process ofbeing patched. You must separately verify the status of the individualinstances with the listmanagedinstances method. This method supportsPATCH semantics and uses the JSON merge patch format and processingrules. If you update your group to specify a new template or instanceconfiguration, it's possible that your intended specification for eachVM in the group is different from the current state of that VM. To learnhow to apply an updated configuration to the VMs in a MIG, see Updatinginstances in a MIG.
patchPerInstanceConfigsInserts or patches per-instance configurations for the managed instancegroup. perInstanceConfig.name serves as a key used to distinguishwhether to perform insert or patch.
recreateInstancesFlags the specified VM instances in the managed instance group to beimmediately recreated. Each instance is recreated using the group'scurrent configuration. This operation is marked as DONE when the flag isset even if the instances have not yet been recreated. You mustseparately verify the status of each instance by checking itscurrentAction field; for more information, see Checking the status ofmanaged instances. If the group is part of a backend service that hasenabled connection draining, it can take up to 60 seconds after theconnection draining duration has elapsed before the VM instance isremoved or deleted. You can specify a maximum of 1000 instances withthis method per request.
resizeChanges the intended size of the managed instance group. If you increasethe size, the group creates new instances using the current instancetemplate. If you decrease the size, the group deletes one or moreinstances. The resize operation is marked DONE if the resize request issuccessful. The underlying actions take additional time. You mustseparately verify the status of the creating or deleting actions withthe listmanagedinstances method. If the group is part of a backendservice that has enabled connection draining, it can take up to 60seconds after the connection draining duration has elapsed before the VMinstance is removed or deleted.
setInstanceTemplateSets the instance template to use when creating new instances orrecreating instances in this group. Existing instances are not affected.
setTargetPoolsModifies the target pools to which all new instances in this group areassigned. Existing instances in the group are not affected.
updatePerInstanceConfigsInserts or updates per-instance configurations for the managed instancegroup. perInstanceConfig.name serves as a key used to distinguishwhether to perform insert or patch.

Module: googleapis.compute.v1.regionInstanceGroups

Functions
getReturns the specified instance group resource.
listRetrieves the list of instance group resources contained within thespecified region.
listInstancesLists the instances in the specified instance group and displaysinformation about the named ports. Depending on the specified options,this method can list all instances or only the instances that arerunning. The orderBy query parameter is not supported.
setNamedPortsSets the named ports for the specified regional instance group.

Module: googleapis.compute.v1.regionInstances

Functions
bulkInsertCreates multiple instances in a given region. Count specifies the numberof instances to create.

Module: googleapis.compute.v1.regionNetworkEndpointGroups

Functions
deleteDeletes the specified network endpoint group. Note that the NEG cannotbe deleted if it is configured as a backend of a backend service.
getReturns the specified network endpoint group.
insertCreates a network endpoint group in the specified project using theparameters that are included in the request.
listRetrieves the list of regional network endpoint groups available to thespecified project in the given region.

Module: googleapis.compute.v1.regionNetworkFirewallPolicies

Functions
addAssociationInserts an association for the specified network firewall policy.
addRuleInserts a rule into a network firewall policy.
cloneRulesCopies rules to the specified network firewall policy.
deleteDeletes the specified network firewall policy.
getReturns the specified network firewall policy.
getAssociationGets an association with the specified name.
getEffectiveFirewallsReturns the effective firewalls on a given network.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
getRuleGets a rule of the specified priority.
insertCreates a new network firewall policy in the specified project andregion.
listLists all the network firewall policies that have been configured forthe specified project in the given region.
patchPatches the specified network firewall policy.
patchRulePatches a rule of the specified priority.
removeAssociationRemoves an association for the specified network firewall policy.
removeRuleDeletes a rule of the specified priority.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.v1.regionNotificationEndpoints

Functions
deleteDeletes the specified NotificationEndpoint in the given region
getReturns the specified NotificationEndpoint resource in the given region.
insertCreate a NotificationEndpoint in the specified project in the givenregion using the parameters that are included in the request.
listLists the NotificationEndpoints for a project in the given region.

Module: googleapis.compute.v1.regionOperations

Functions
deleteDeletes the specified region-specific Operations resource.
getRetrieves the specified region-specific Operations resource.
listRetrieves a list of Operation resources contained within the specifiedregion.
waitWaits for the specified Operation resource to return asDONE or forthe request to approach the 2 minute deadline, and retrieves thespecified Operation resource. This method differs from theGET methodin that it waits for no more than the default deadline (2 minutes) andthen returns the current state of the operation, which might beDONEor still in progress. This method is called on a best-effort basis.Specifically: - In uncommon cases, when the server is overloaded, therequest might return before the default deadline is reached, or mightreturn after zero seconds. - If the default deadline is reached, thereis no guarantee that the operation is actually done when the methodreturns. Be prepared to retry if the operation is notDONE.

Module: googleapis.compute.v1.regionSecurityPolicies

Functions
deleteDeletes the specified policy.
getList all of the ordered rules present in a single specified policy.
insertCreates a new policy in the specified project using the data included inthe request.
listList all the policies that have been configured for the specifiedproject and region.
patchPatches the specified policy with the data included in the request. Toclear fields in the policy, leave the fields empty and specify them inthe updateMask. This cannot be used to be update the rules in thepolicy. Please use the per rule methods like addRule, patchRule, andremoveRule instead.

Module: googleapis.compute.v1.regionSslCertificates

Functions
deleteDeletes the specified SslCertificate resource in the region.
getReturns the specified SslCertificate resource in the specified region.Get a list of available SSL certificates by making a list() request.
insertCreates a SslCertificate resource in the specified project and regionusing the data included in the request
listRetrieves the list of SslCertificate resources available to thespecified project in the specified region.

Module: googleapis.compute.v1.regionSslPolicies

Functions
deleteDeletes the specified SSL policy. The SSL policy resource can be deletedonly if it is not in use by any TargetHttpsProxy or TargetSslProxyresources.
getLists all of the ordered rules present in a single specified policy.
insertCreates a new policy in the specified project and region using the dataincluded in the request.
listLists all the SSL policies that have been configured for the specifiedproject and region.
listAvailableFeaturesLists all features that can be specified in the SSL policy when usingcustom profile.
patchPatches the specified SSL policy with the data included in the request.

Module: googleapis.compute.v1.regionTargetHttpProxies

Functions
deleteDeletes the specified TargetHttpProxy resource.
getReturns the specified TargetHttpProxy resource in the specified region.
insertCreates a TargetHttpProxy resource in the specified project and regionusing the data included in the request.
listRetrieves the list of TargetHttpProxy resources available to thespecified project in the specified region.
setUrlMapChanges the URL map for TargetHttpProxy.

Module: googleapis.compute.v1.regionTargetHttpsProxies

Functions
deleteDeletes the specified TargetHttpsProxy resource.
getReturns the specified TargetHttpsProxy resource in the specified region.
insertCreates a TargetHttpsProxy resource in the specified project and regionusing the data included in the request.
listRetrieves the list of TargetHttpsProxy resources available to thespecified project in the specified region.
patchPatches the specified regional TargetHttpsProxy resource with the dataincluded in the request. This method supports PATCH semantics and usesJSON merge patch format and processing rules.
setSslCertificatesReplaces SslCertificates for TargetHttpsProxy.
setUrlMapChanges the URL map for TargetHttpsProxy.

Module: googleapis.compute.v1.regionTargetTcpProxies

Functions
deleteDeletes the specified TargetTcpProxy resource.
getReturns the specified TargetTcpProxy resource.
insertCreates a TargetTcpProxy resource in the specified project and regionusing the data included in the request.
listRetrieves a list of TargetTcpProxy resources available to the specifiedproject in a given region.

Module: googleapis.compute.v1.regionUrlMaps

Functions
deleteDeletes the specified UrlMap resource.
getReturns the specified UrlMap resource.
insertCreates a UrlMap resource in the specified project using the dataincluded in the request.
listRetrieves the list of UrlMap resources available to the specifiedproject in the specified region.
patchPatches the specified UrlMap resource with the data included in therequest. This method supports PATCH semantics and uses JSON merge patchformat and processing rules.
updateUpdates the specified UrlMap resource with the data included in therequest.
validateRuns static validation for the UrlMap. In particular, the tests of theprovided UrlMap will be run. Calling this method does NOT create theUrlMap.

Module: googleapis.compute.v1.regions

Functions
getReturns the specified Region resource. To decrease latency for thismethod, you can optionally omit any unneeded information from theresponse by using a field mask. This practice is especially recommendedfor unused quota information (thequotas field). To exclude one ormore fields, set your request'sfields query parameter to only includethe fields you need. For example, to only include theid andselfLink fields, add the query parameter?fields=id,selfLink to yourrequest.
listRetrieves the list of region resources available to the specifiedproject. To decrease latency for this method, you can optionally omitany unneeded information from the response by using a field mask. Thispractice is especially recommended for unused quota information (theitems.quotas field). To exclude one or more fields, set your request'sfields query parameter to only include the fields you need. Forexample, to only include theid andselfLink fields, add the queryparameter?fields=id,selfLink to your request.

Module: googleapis.compute.v1.reservations

Functions
aggregatedListRetrieves an aggregated list of reservations.
deleteDeletes the specified reservation.
getRetrieves information about the specified reservation.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
insertCreates a new reservation. For more information, read Reserving zonalresources.
listA list of all the reservations that have been configured for thespecified project in specified zone.
resizeResizes the reservation (applicable to standalone reservations only).For more information, read Modifying reservations.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
testIamPermissionsReturns permissions that a caller has on the specified resource.
updateUpdate share settings of the reservation.

Module: googleapis.compute.v1.resourcePolicies

Functions
aggregatedListRetrieves an aggregated list of resource policies.
deleteDeletes the specified resource policy.
getRetrieves all information of the specified resource policy.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
insertCreates a new resource policy.
listA list all the resource policies that have been configured for thespecified project in specified region.
patchModify the specified resource policy.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.v1.routers

Functions
aggregatedListRetrieves an aggregated list of routers.
deleteDeletes the specified Router resource.
getReturns the specified Router resource.
getNatIpInfoRetrieves runtime NAT IP information.
getNatMappingInfoRetrieves runtime Nat mapping information of VM endpoints.
getRouterStatusRetrieves runtime information of the specified router.
insertCreates a Router resource in the specified project and region using thedata included in the request.
listRetrieves a list of Router resources available to the specified project.
patchPatches the specified Router resource with the data included in therequest. This method supports PATCH semantics and uses JSON merge patchformat and processing rules.
previewPreview fields auto-generated during router create and updateoperations. Calling this method does NOT create or update the router.
updateUpdates the specified Router resource with the data included in therequest. This method conforms to PUT semantics, which requests that thestate of the target resource be created or replaced with the statedefined by the representation enclosed in the request message payload.

Module: googleapis.compute.v1.routes

Functions
deleteDeletes the specified Route resource.
getReturns the specified Route resource.
insertCreates a Route resource in the specified project using the dataincluded in the request.
listRetrieves the list of Route resources available to the specifiedproject.

Module: googleapis.compute.v1.securityPolicies

Functions
addRuleInserts a rule into a security policy.
aggregatedListRetrieves the list of all SecurityPolicy resources, regional and global,available to the specified project.
deleteDeletes the specified policy.
getList all of the ordered rules present in a single specified policy.
getRuleGets a rule at the specified priority.
insertCreates a new policy in the specified project using the data included inthe request.
listList all the policies that have been configured for the specifiedproject.
listPreconfiguredExpressionSetsGets the current list of preconfigured Web Application Firewall (WAF)expressions.
patchPatches the specified policy with the data included in the request. Toclear fields in the policy, leave the fields empty and specify them inthe updateMask. This cannot be used to be update the rules in thepolicy. Please use the per rule methods like addRule, patchRule, andremoveRule instead.
patchRulePatches a rule at the specified priority. To clear fields in the rule,leave the fields empty and specify them in the updateMask.
removeRuleDeletes a rule at the specified priority.
setLabelsSets the labels on a security policy. To learn more about labels, readthe Labeling Resources documentation.

Module: googleapis.compute.v1.serviceAttachments

Functions
aggregatedListRetrieves the list of all ServiceAttachment resources, regional andglobal, available to the specified project.
deleteDeletes the specified ServiceAttachment in the given scope
getReturns the specified ServiceAttachment resource in the given scope.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
insertCreates a ServiceAttachment in the specified project in the given scopeusing the parameters that are included in the request.
listLists the ServiceAttachments for a project in the given scope.
patchPatches the specified ServiceAttachment resource with the data includedin the request. This method supports PATCH semantics and uses JSON mergepatch format and processing rules.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.v1.snapshots

Functions
deleteDeletes the specified Snapshot resource. Keep in mind that deleting asingle snapshot might not necessarily delete all the data on thatsnapshot. If any data on the snapshot that is marked for deletion isneeded for subsequent snapshots, the data will be moved to the nextcorresponding snapshot. For more information, see Deleting snapshots.
getReturns the specified Snapshot resource.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
insertCreates a snapshot in the specified project using the data included inthe request. For regular snapshot creation, consider using this methodinstead of disks.createSnapshot, as this method supports more features,such as creating snapshots in a project different from the source diskproject.
listRetrieves the list of Snapshot resources contained within the specifiedproject.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
setLabelsSets the labels on a snapshot. To learn more about labels, read theLabeling Resources documentation.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.v1.sslCertificates

Functions
aggregatedListRetrieves the list of all SslCertificate resources, regional and global,available to the specified project.
deleteDeletes the specified SslCertificate resource.
getReturns the specified SslCertificate resource.
insertCreates a SslCertificate resource in the specified project using thedata included in the request.
listRetrieves the list of SslCertificate resources available to thespecified project.

Module: googleapis.compute.v1.sslPolicies

Functions
aggregatedListRetrieves the list of all SslPolicy resources, regional and global,available to the specified project.
deleteDeletes the specified SSL policy. The SSL policy resource can be deletedonly if it is not in use by any TargetHttpsProxy or TargetSslProxyresources.
getLists all of the ordered rules present in a single specified policy.
insertReturns the specified SSL policy resource.
listLists all the SSL policies that have been configured for the specifiedproject.
listAvailableFeaturesLists all features that can be specified in the SSL policy when usingcustom profile.
patchPatches the specified SSL policy with the data included in the request.

Module: googleapis.compute.v1.subnetworks

Functions
aggregatedListRetrieves an aggregated list of subnetworks.
deleteDeletes the specified subnetwork.
expandIpCidrRangeExpands the IP CIDR range of the subnetwork to a specified value.
getReturns the specified subnetwork.
getIamPolicyGets the access control policy for a resource. May be empty if no suchpolicy or resource exists.
insertCreates a subnetwork in the specified project using the data included inthe request.
listRetrieves a list of subnetworks available to the specified project.
listUsableRetrieves an aggregated list of all usable subnetworks in the project.
patchPatches the specified subnetwork with the data included in the request.Only certain fields can be updated with a patch request as indicated inthe field descriptions. You must specify the current fingerprint of thesubnetwork resource being patched.
setIamPolicySets the access control policy on the specified resource. Replaces anyexisting policy.
setPrivateIpGoogleAccessSet whether VMs in this subnet can access Google services withoutassigning external IP addresses through Private Google Access.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.v1.targetGrpcProxies

Functions
deleteDeletes the specified TargetGrpcProxy in the given scope
getReturns the specified TargetGrpcProxy resource in the given scope.
insertCreates a TargetGrpcProxy in the specified project in the given scopeusing the parameters that are included in the request.
listLists the TargetGrpcProxies for a project in the given scope.
patchPatches the specified TargetGrpcProxy resource with the data included inthe request. This method supports PATCH semantics and uses JSON mergepatch format and processing rules.

Module: googleapis.compute.v1.targetHttpProxies

Functions
aggregatedListRetrieves the list of all TargetHttpProxy resources, regional andglobal, available to the specified project.
deleteDeletes the specified TargetHttpProxy resource.
getReturns the specified TargetHttpProxy resource.
insertCreates a TargetHttpProxy resource in the specified project using thedata included in the request.
listRetrieves the list of TargetHttpProxy resources available to thespecified project.
patchPatches the specified TargetHttpProxy resource with the data included inthe request. This method supports PATCH semantics and uses JSON mergepatch format and processing rules.
setUrlMapChanges the URL map for TargetHttpProxy.

Module: googleapis.compute.v1.targetHttpsProxies

Functions
aggregatedListRetrieves the list of all TargetHttpsProxy resources, regional andglobal, available to the specified project.
deleteDeletes the specified TargetHttpsProxy resource.
getReturns the specified TargetHttpsProxy resource.
insertCreates a TargetHttpsProxy resource in the specified project using thedata included in the request.
listRetrieves the list of TargetHttpsProxy resources available to thespecified project.
patchPatches the specified TargetHttpsProxy resource with the data includedin the request. This method supports PATCH semantics and uses JSON mergepatch format and processing rules.
setCertificateMapChanges the Certificate Map for TargetHttpsProxy.
setQuicOverrideSets the QUIC override policy for TargetHttpsProxy.
setSslCertificatesReplaces SslCertificates for TargetHttpsProxy.
setSslPolicySets the SSL policy for TargetHttpsProxy. The SSL policy specifies theserver-side support for SSL features. This affects connections betweenclients and the HTTPS proxy load balancer. They do not affect theconnection between the load balancer and the backends.
setUrlMapChanges the URL map for TargetHttpsProxy.

Module: googleapis.compute.v1.targetInstances

Functions
aggregatedListRetrieves an aggregated list of target instances.
deleteDeletes the specified TargetInstance resource.
getReturns the specified TargetInstance resource.
insertCreates a TargetInstance resource in the specified project and zoneusing the data included in the request.
listRetrieves a list of TargetInstance resources available to the specifiedproject and zone.

Module: googleapis.compute.v1.targetPools

Functions
addHealthCheckAdds health check URLs to a target pool.
addInstanceAdds an instance to a target pool.
aggregatedListRetrieves an aggregated list of target pools.
deleteDeletes the specified target pool.
getReturns the specified target pool.
getHealthGets the most recent health check results for each IP for the instancethat is referenced by the given target pool.
insertCreates a target pool in the specified project and region using the dataincluded in the request.
listRetrieves a list of target pools available to the specified project andregion.
removeHealthCheckRemoves health check URL from a target pool.
removeInstanceRemoves instance URL from a target pool.
setBackupChanges a backup target pool's configurations.

Module: googleapis.compute.v1.targetSslProxies

Functions
deleteDeletes the specified TargetSslProxy resource.
getReturns the specified TargetSslProxy resource.
insertCreates a TargetSslProxy resource in the specified project using thedata included in the request.
listRetrieves the list of TargetSslProxy resources available to thespecified project.
setBackendServiceChanges the BackendService for TargetSslProxy.
setCertificateMapChanges the Certificate Map for TargetSslProxy.
setProxyHeaderChanges the ProxyHeaderType for TargetSslProxy.
setSslCertificatesChanges SslCertificates for TargetSslProxy.
setSslPolicySets the SSL policy for TargetSslProxy. The SSL policy specifies theserver-side support for SSL features. This affects connections betweenclients and the SSL proxy load balancer. They do not affect theconnection between the load balancer and the backends.

Module: googleapis.compute.v1.targetTcpProxies

Functions
aggregatedListRetrieves the list of all TargetTcpProxy resources, regional and global,available to the specified project.
deleteDeletes the specified TargetTcpProxy resource.
getReturns the specified TargetTcpProxy resource.
insertCreates a TargetTcpProxy resource in the specified project using thedata included in the request.
listRetrieves the list of TargetTcpProxy resources available to thespecified project.
setBackendServiceChanges the BackendService for TargetTcpProxy.
setProxyHeaderChanges the ProxyHeaderType for TargetTcpProxy.

Module: googleapis.compute.v1.targetVpnGateways

Functions
aggregatedListRetrieves an aggregated list of target VPN gateways.
deleteDeletes the specified target VPN gateway.
getReturns the specified target VPN gateway.
insertCreates a target VPN gateway in the specified project and region usingthe data included in the request.
listRetrieves a list of target VPN gateways available to the specifiedproject and region.
setLabelsSets the labels on a TargetVpnGateway. To learn more about labels, readthe Labeling Resources documentation.

Module: googleapis.compute.v1.urlMaps

Functions
aggregatedListRetrieves the list of all UrlMap resources, regional and global,available to the specified project.
deleteDeletes the specified UrlMap resource.
getReturns the specified UrlMap resource.
insertCreates a UrlMap resource in the specified project using the dataincluded in the request.
invalidateCacheInitiates a cache invalidation operation, invalidating the specifiedpath, scoped to the specified UrlMap. For more information, seeInvalidating cached content.
listRetrieves the list of UrlMap resources available to the specifiedproject.
patchPatches the specified UrlMap resource with the data included in therequest. This method supports PATCH semantics and uses the JSON mergepatch format and processing rules.
updateUpdates the specified UrlMap resource with the data included in therequest.
validateRuns static validation for the UrlMap. In particular, the tests of theprovided UrlMap will be run. Calling this method does NOT create theUrlMap.

Module: googleapis.compute.v1.vpnGateways

Functions
aggregatedListRetrieves an aggregated list of VPN gateways.
deleteDeletes the specified VPN gateway.
getReturns the specified VPN gateway.
getStatusReturns the status for the specified VPN gateway.
insertCreates a VPN gateway in the specified project and region using the dataincluded in the request.
listRetrieves a list of VPN gateways available to the specified project andregion.
setLabelsSets the labels on a VpnGateway. To learn more about labels, read theLabeling Resources documentation.
testIamPermissionsReturns permissions that a caller has on the specified resource.

Module: googleapis.compute.v1.vpnTunnels

Functions
aggregatedListRetrieves an aggregated list of VPN tunnels.
deleteDeletes the specified VpnTunnel resource.
getReturns the specified VpnTunnel resource.
insertCreates a VpnTunnel resource in the specified project and region usingthe data included in the request.
listRetrieves a list of VpnTunnel resources contained in the specifiedproject and region.
setLabelsSets the labels on a VpnTunnel. To learn more about labels, read theLabeling Resources documentation.

Module: googleapis.compute.v1.zoneOperations

Functions
deleteDeletes the specified zone-specific Operations resource.
getRetrieves the specified zone-specific Operations resource.
listRetrieves a list of Operation resources contained within the specifiedzone.
waitWaits for the specified Operation resource to return asDONE or forthe request to approach the 2 minute deadline, and retrieves thespecified Operation resource. This method waits for no more than the 2minutes and then returns the current state of the operation, which mightbeDONE or still in progress. This method is called on a best-effortbasis. Specifically: - In uncommon cases, when the server is overloaded,the request might return before the default deadline is reached, ormight return after zero seconds. - If the default deadline is reached,there is no guarantee that the operation is actually done when themethod returns. Be prepared to retry if the operation is notDONE.

Module: googleapis.compute.v1.zones

Functions
getReturns the specified Zone resource.
listRetrieves the list of Zone resources available to the specified project.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-02-19 UTC.