The Workflows connector defines the built-in functions that can be used to access other Google Cloud products within a workflow.
This page provides an overview of the individual connector. There is no need to import or load connector libraries in a workflow—connectors work 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 the Compute Engine API documentation.
Compute Engine connector sample
YAML
JSON
Module: googleapis.compute.beta.acceleratorTypes
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of accelerator types. |
get |
Returns the specified accelerator type. |
list |
Retrieves a list of accelerator types that are available to the specified project. |
Module: googleapis.compute.beta.addresses
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of addresses. |
delete |
Deletes the specified address resource. |
get |
Returns the specified address resource. |
insert |
Creates an address resource in the specified project by using the data included in the request. |
list |
Retrieves a list of addresses contained within the specified region. |
move |
Moves the specified address resource. |
setLabels |
Sets the labels on an Address. To learn more about labels, read the Labeling Resources documentation. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.autoscalers
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of autoscalers. |
delete |
Deletes the specified autoscaler. |
get |
Returns the specified autoscaler resource. |
insert |
Creates an autoscaler in the specified project using the data included in the request. |
list |
Retrieves a list of autoscalers contained within the specified zone. |
patch |
Updates an autoscaler in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
update |
Updates an autoscaler in the specified project using the data included in the request. |
Module: googleapis.compute.beta.backendBuckets
Functions | |
---|---|
addSignedUrlKey |
Adds a key for validating requests with signed URLs for this backend bucket. |
delete |
Deletes the specified BackendBucket resource. |
deleteSignedUrlKey |
Deletes a key for validating requests with signed URLs for this backend bucket. |
get |
Returns the specified BackendBucket resource. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
insert |
Creates a BackendBucket resource in the specified project using the data included in the request. |
list |
Retrieves the list of BackendBucket resources available to the specified project. |
patch |
Updates the specified BackendBucket resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
setEdgeSecurityPolicy |
Sets the edge security policy for the specified backend bucket. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
update |
Updates the specified BackendBucket resource with the data included in the request. |
Module: googleapis.compute.beta.backendServices
Functions | |
---|---|
addSignedUrlKey |
Adds a key for validating requests with signed URLs for this backend service. |
aggregatedList |
Retrieves the list of all BackendService resources, regional and global, available to the specified project. |
delete |
Deletes the specified BackendService resource. |
deleteSignedUrlKey |
Deletes a key for validating requests with signed URLs for this backend service. |
get |
Returns the specified BackendService resource. |
getHealth |
Gets the most recent health check results for this BackendService. Example request body: { "group": "/zones/us-east1-b/instanceGroups/lb-backend-example" } |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
insert |
Creates a BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview . |
list |
Retrieves the list of BackendService resources available to the specified project. |
patch |
Patches the specified BackendService resource with the data included in the request. For more information, see Backend services overview. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
setEdgeSecurityPolicy |
Sets the edge security policy for the specified backend service. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
setSecurityPolicy |
Sets the Google Cloud Armor security policy for the specified backend service. For more information, see Google Cloud Armor Overview |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
update |
Updates the specified BackendService resource with the data included in the request. For more information, see Backend services overview. |
Module: googleapis.compute.beta.diskTypes
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of disk types. |
get |
Returns the specified disk type. |
list |
Retrieves a list of disk types available to the specified project. |
Module: googleapis.compute.beta.disks
Functions | |
---|---|
addResourcePolicies |
Adds existing resource policies to a disk. You can only add one policy which will be applied to this disk for scheduling snapshot creation. |
aggregatedList |
Retrieves an aggregated list of persistent disks. |
bulkInsert |
Bulk create a set of disks. |
createSnapshot |
Creates a snapshot of a specified persistent disk. For regular snapshot creation, consider using snapshots.insert instead, as that method supports more features, such as creating snapshots in a project different from the source disk project. |
delete |
Deletes the specified persistent disk. Deleting a disk removes its data permanently and is irreversible. However, deleting a disk does not delete any snapshots previously made from the disk. You must separately delete snapshots. |
get |
Returns the specified persistent disk. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
insert |
Creates a persistent disk in the specified project using the data in the request. You can create a disk from a source (sourceImage, sourceSnapshot, or sourceDisk) or create an empty 500 GB data disk by omitting all properties. You can also create a disk that is larger than the default size by specifying the sizeGb property. |
list |
Retrieves a list of persistent disks contained within the specified zone. |
removeResourcePolicies |
Removes resource policies from a disk. |
resize |
Resizes the specified persistent disk. You can only increase the size of the disk. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
setLabels |
Sets the labels on a disk. To learn more about labels, read the Labeling Resources documentation. |
startAsyncReplication |
Starts asynchronous replication. Must be invoked on the primary disk. |
stopAsyncReplication |
Stops asynchronous replication. Can be invoked either on the primary or on the secondary disk. |
stopGroupAsyncReplication |
Stops asynchronous replication for a consistency group of disks. Can be invoked either in the primary or secondary scope. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
update |
Updates the specified disk with the data included in the request. The update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: user_license. |
Module: googleapis.compute.beta.externalVpnGateways
Functions | |
---|---|
delete |
Deletes the specified externalVpnGateway. |
get |
Returns the specified externalVpnGateway. Get a list of available externalVpnGateways by making a list() request. |
insert |
Creates a ExternalVpnGateway in the specified project using the data included in the request. |
list |
Retrieves the list of ExternalVpnGateway available to the specified project. |
setLabels |
Sets the labels on an ExternalVpnGateway. To learn more about labels, read the Labeling Resources documentation. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.firewallPolicies
Functions | |
---|---|
addAssociation |
Inserts an association for the specified firewall policy. |
addRule |
Inserts a rule into a firewall policy. |
cloneRules |
Copies rules to the specified firewall policy. |
delete |
Deletes the specified policy. |
get |
Returns the specified firewall policy. |
getAssociation |
Gets an association with the specified name. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
getRule |
Gets a rule of the specified priority. |
insert |
Creates a new policy in the specified project using the data included in the request. |
list |
Lists all the policies that have been configured for the specified folder or organization. |
listAssociations |
Lists associations of a specified target, i.e., organization or folder. |
move |
Moves the specified firewall policy. |
patch |
Patches the specified policy with the data included in the request. |
patchRule |
Patches a rule of the specified priority. |
removeAssociation |
Removes an association for the specified firewall policy. |
removeRule |
Deletes a rule of the specified priority. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.firewalls
Functions | |
---|---|
delete |
Deletes the specified firewall. |
get |
Returns the specified firewall. |
insert |
Creates a firewall rule in the specified project using the data included in the request. |
list |
Retrieves the list of firewall rules available to the specified project. |
patch |
Updates the specified firewall rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
update |
Updates the specified firewall rule with the data included in the request. Note that all fields will be updated if using PUT, even fields that are not specified. To update individual fields, please use PATCH instead. |
Module: googleapis.compute.beta.forwardingRules
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of forwarding rules. |
delete |
Deletes the specified ForwardingRule resource. |
get |
Returns the specified ForwardingRule resource. |
insert |
Creates a ForwardingRule resource in the specified project and region using the data included in the request. |
list |
Retrieves a list of ForwardingRule resources available to the specified project and region. |
patch |
Updates the specified forwarding rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. Currently, you can only patch the network_tier field. |
setLabels |
Sets the labels on the specified resource. To learn more about labels, read the Labeling Resources documentation. |
setTarget |
Changes target URL for forwarding rule. The new target should be of the same type as the old target. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.globalAddresses
Functions | |
---|---|
delete |
Deletes the specified address resource. |
get |
Returns the specified address resource. |
insert |
Creates an address resource in the specified project by using the data included in the request. |
list |
Retrieves a list of global addresses. |
move |
Moves the specified address resource from one project to another project. |
setLabels |
Sets the labels on a GlobalAddress. To learn more about labels, read the Labeling Resources documentation. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.globalForwardingRules
Functions | |
---|---|
delete |
Deletes the specified GlobalForwardingRule resource. |
get |
Returns the specified GlobalForwardingRule resource. Gets a list of available forwarding rules by making a list() request. |
insert |
Creates a GlobalForwardingRule resource in the specified project using the data included in the request. |
list |
Retrieves a list of GlobalForwardingRule resources available to the specified project. |
patch |
Updates the specified forwarding rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. Currently, you can only patch the network_tier field. |
setLabels |
Sets the labels on the specified resource. To learn more about labels, read the Labeling resources documentation. |
setTarget |
Changes target URL for the GlobalForwardingRule resource. The new target should be of the same type as the old target. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.globalNetworkEndpointGroups
Functions | |
---|---|
attachNetworkEndpoints |
Attach a network endpoint to the specified network endpoint group. |
delete |
Deletes the specified network endpoint group.Note that the NEG cannot be deleted if there are backend services referencing it. |
detachNetworkEndpoints |
Detach the network endpoint from the specified network endpoint group. |
get |
Returns the specified network endpoint group. |
insert |
Creates a network endpoint group in the specified project using the parameters that are included in the request. |
list |
Retrieves the list of network endpoint groups that are located in the specified project. |
listNetworkEndpoints |
Lists the network endpoints in the specified network endpoint group. |
Module: googleapis.compute.beta.globalOperations
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of all operations. |
delete |
Deletes the specified Operations resource. |
get |
Retrieves the specified Operations resource. |
list |
Retrieves a list of Operation resources contained within the specified project. |
wait |
Waits for the specified Operation resource to return as DONE or for
the request to approach the 2 minute deadline, and retrieves the
specified Operation resource. This method differs from the GET method
in that it waits for no more than the default deadline (2 minutes) and
then returns the current state of the operation, which might be DONE
or still in progress. This method is called on a best-effort basis.
Specifically: - In uncommon cases, when the server is overloaded, the
request might return before the default deadline is reached, or might
return after zero seconds. - If the default deadline is reached, there
is no guarantee that the operation is actually done when the method
returns. Be prepared to retry if the operation is not DONE . |
Module: googleapis.compute.beta.globalOrganizationOperations
Functions | |
---|---|
delete |
Deletes the specified Operations resource. |
get |
Retrieves the specified Operations resource. Gets a list of operations
by making a list() request. |
list |
Retrieves a list of Operation resources contained within the specified organization. |
Module: googleapis.compute.beta.globalPublicDelegatedPrefixes
Functions | |
---|---|
delete |
Deletes the specified global PublicDelegatedPrefix. |
get |
Returns the specified global PublicDelegatedPrefix resource. |
insert |
Creates a global PublicDelegatedPrefix in the specified project using the parameters that are included in the request. |
list |
Lists the global PublicDelegatedPrefixes for a project. |
patch |
Patches the specified global PublicDelegatedPrefix resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. |
Module: googleapis.compute.beta.healthChecks
Functions | |
---|---|
aggregatedList |
Retrieves the list of all HealthCheck resources, regional and global, available to the specified project. |
delete |
Deletes the specified HealthCheck resource. |
get |
Returns the specified HealthCheck resource. |
insert |
Creates a HealthCheck resource in the specified project using the data included in the request. |
list |
Retrieves the list of HealthCheck resources available to the specified project. |
patch |
Updates a HealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
update |
Updates a HealthCheck resource in the specified project using the data included in the request. |
Module: googleapis.compute.beta.httpHealthChecks
Functions | |
---|---|
delete |
Deletes the specified HttpHealthCheck resource. |
get |
Returns the specified HttpHealthCheck resource. |
insert |
Creates a HttpHealthCheck resource in the specified project using the data included in the request. |
list |
Retrieves the list of HttpHealthCheck resources available to the specified project. |
patch |
Updates a HttpHealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
update |
Updates a HttpHealthCheck resource in the specified project using the data included in the request. |
Module: googleapis.compute.beta.httpsHealthChecks
Functions | |
---|---|
delete |
Deletes the specified HttpsHealthCheck resource. |
get |
Returns the specified HttpsHealthCheck resource. |
insert |
Creates a HttpsHealthCheck resource in the specified project using the data included in the request. |
list |
Retrieves the list of HttpsHealthCheck resources available to the specified project. |
patch |
Updates a HttpsHealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
update |
Updates a HttpsHealthCheck resource in the specified project using the data included in the request. |
Module: googleapis.compute.beta.imageFamilyViews
Functions | |
---|---|
get |
Returns the latest image that is part of an image family, is not deprecated and is rolled out in the specified zone. |
Module: googleapis.compute.beta.images
Functions | |
---|---|
delete |
Deletes the specified image. |
deprecate |
Sets the deprecation status of an image. If an empty request body is given, clears the deprecation status instead. |
get |
Returns the specified image. |
getFromFamily |
Returns the latest image that is part of an image family and is not deprecated. For more information on image families, see Public image families documentation. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
insert |
Creates an image in the specified project using the data included in the request. |
list |
Retrieves the list of custom images available to the specified project. Custom images are images you create that belong to your project. This method does not get any images that belong to other projects, including publicly-available images, like Debian 8. If you want to get a list of publicly-available images, use this method to make a request to the respective image project, such as debian-cloud or windows-cloud. |
patch |
Patches the specified image with the data included in the request. Only the following fields can be modified: family, description, deprecation status. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
setLabels |
Sets the labels on an image. To learn more about labels, read the Labeling Resources documentation. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.instanceGroupManagers
Functions | |
---|---|
abandonInstances |
Flags the specified instances to be removed from the managed instance group. Abandoning an instance does not delete the instance, but it does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request. |
aggregatedList |
Retrieves the list of managed instance groups and groups them by zone. |
applyUpdatesToInstances |
Applies changes to selected instances on the managed instance group. This method can be used to apply new overrides and/or new versions. |
createInstances |
Creates instances with per-instance configurations in this managed instance group. Instances are created using the current instance template. The create instances operation is marked DONE if the createInstances request is successful. The underlying actions take additional time. You must separately verify the status of the creating or actions with the listmanagedinstances method. |
delete |
Deletes the specified managed instance group and all of the instances in that group. Note that the instance group must not belong to a backend service. Read Deleting an instance group for more information. |
deleteInstances |
Flags the specified instances in the managed instance group for immediate deletion. The instances are also removed from any target pools of which they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. This operation is marked as DONE when the action is scheduled even if the instances are still being deleted. You must separately verify the status of the deleting action with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request. |
deletePerInstanceConfigs |
Deletes selected per-instance configurations for the managed instance group. |
get |
Returns all of the details about the specified managed instance group. |
insert |
Creates a managed instance group using the information that you specify in the request. After the group is created, instances in the group are created using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method. A managed instance group can have up to 1000 VM instances per group. Please contact Cloud Support if you need an increase in this limit. |
list |
Retrieves a list of managed instance groups that are contained within the specified project and zone. |
listErrors |
Lists all errors thrown by actions on instances for a given managed instance group. The filter and orderBy query parameters are not supported. |
listManagedInstances |
Lists all of the instances in the managed instance group. Each instance
in the list has a currentAction, which indicates the action that the
managed instance group is performing on the instance. For example, if
the group is still creating an instance, the currentAction is CREATING.
If a previous action failed, the list displays the errors for that
failed action. The orderBy query parameter is not supported. The
pageToken query parameter is supported only in the alpha and beta API
and only if the group's listManagedInstancesResults field is set to
PAGINATED . |
listPerInstanceConfigs |
Lists all of the per-instance configurations defined for the managed instance group. The orderBy query parameter is not supported. |
patch |
Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is patched even if the instances in the group are still in the process of being patched. You must separately verify the status of the individual instances with the listManagedInstances method. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. If you update your group to specify a new template or instance configuration, it's possible that your intended specification for each VM in the group is different from the current state of that VM. To learn how to apply an updated configuration to the VMs in a MIG, see Updating instances in a MIG. |
patchPerInstanceConfigs |
Inserts or patches per-instance configurations for the managed instance group. perInstanceConfig.name serves as a key used to distinguish whether to perform insert or patch. |
recreateInstances |
Flags the specified VM instances in the managed instance group to be immediately recreated. Each instance is recreated using the group's current configuration. This operation is marked as DONE when the flag is set even if the instances have not yet been recreated. You must separately verify the status of each instance by checking its currentAction field; for more information, see Checking the status of managed instances. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request. |
resize |
Resizes the managed instance group. If you increase the size, the group creates new instances using the current instance template. If you decrease the size, the group deletes instances. The resize operation is marked DONE when the resize actions are scheduled even if the group has not yet added or deleted any instances. You must separately verify the status of the creating or deleting actions with the listmanagedinstances method. When resizing down, the instance group arbitrarily chooses the order in which VMs are deleted. The group takes into account some VM attributes when making the selection including: + The status of the VM instance. + The health of the VM instance. + The instance template version the VM is based on. + For regional managed instance groups, the location of the VM instance. This list is subject to change. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. |
resizeAdvanced |
Resizes the managed instance group with advanced configuration options like disabling creation retries. This is an extended version of the resize method. If you increase the size of the instance group, the group creates new instances using the current instance template. If you decrease the size, the group deletes instances. The resize operation is marked DONE when the resize actions are scheduled even if the group has not yet added or deleted any instances. You must separately verify the status of the creating, creatingWithoutRetries, or deleting actions with the get or listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. |
setAutoHealingPolicies |
Motifies the autohealing policy for the instances in this managed instance group. [Deprecated] This method is deprecated. Use instanceGroupManagers.patch instead. |
setInstanceTemplate |
Specifies the instance template to use when creating new instances in this group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE. |
setTargetPools |
Modifies the target pools to which all instances in this managed instance group are assigned. The target pools automatically apply to all of the instances in the managed instance group. This operation is marked DONE when you make the request even if the instances have not yet been added to their target pools. The change might take some time to apply to all of the instances in the group depending on the size of the group. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
update |
Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is updated even if the instances in the group have not yet been updated. You must separately verify the status of the individual instances with the listManagedInstances method. If you update your group to specify a new template or instance configuration, it's possible that your intended specification for each VM in the group is different from the current state of that VM. To learn how to apply an updated configuration to the VMs in a MIG, see Updating instances in a MIG. |
updatePerInstanceConfigs |
Inserts or updates per-instance configurations for the managed instance group. perInstanceConfig.name serves as a key used to distinguish whether to perform insert or patch. |
Module: googleapis.compute.beta.instanceGroups
Functions | |
---|---|
addInstances |
Adds a list of instances to the specified instance group. All of the instances in the instance group must be in the same network/subnetwork. Read Adding instances for more information. |
aggregatedList |
Retrieves the list of instance groups and sorts them by zone. |
delete |
Deletes the specified instance group. The instances in the group are not deleted. Note that instance group must not belong to a backend service. Read Deleting an instance group for more information. |
get |
Returns the specified zonal instance group. Get a list of available zonal instance groups by making a list() request. For managed instance groups, use the instanceGroupManagers or regionInstanceGroupManagers methods instead. |
insert |
Creates an instance group in the specified project using the parameters that are included in the request. |
list |
Retrieves the list of zonal instance group resources contained within the specified zone. For managed instance groups, use the instanceGroupManagers or regionInstanceGroupManagers methods instead. |
listInstances |
Lists the instances in the specified instance group. The orderBy query
parameter is not supported. The filter query parameter is supported, but
only for expressions that use eq (equal) or ne (not equal)
operators. |
removeInstances |
Removes one or more instances from the specified instance group, but does not delete those instances. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration before the VM instance is removed or deleted. |
setNamedPorts |
Sets the named ports for the specified instance group. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.instanceTemplates
Functions | |
---|---|
aggregatedList |
Retrieves the list of all InstanceTemplates resources, regional and global, available to the specified project. |
delete |
Deletes the specified instance template. Deleting an instance template is permanent and cannot be undone. It is not possible to delete templates that are already in use by a managed instance group. |
get |
Returns the specified instance template. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
insert |
Creates an instance template in the specified project using the data that is included in the request. If you are creating a new template to update an existing instance group, your new instance template must use the same network or, if applicable, the same subnetwork as the original template. |
list |
Retrieves a list of instance templates that are contained within the specified project. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.instances
Functions | |
---|---|
addAccessConfig |
Adds an access config to an instance's network interface. |
addResourcePolicies |
Adds existing resource policies to an instance. You can only add one policy right now which will be applied to this instance for scheduling live migrations. |
aggregatedList |
Retrieves an aggregated list of all of the instances in your project across all regions and zones. The performance of this method degrades when a filter is specified on a project that has a very large number of instances. |
attachDisk |
Attaches an existing Disk resource to an instance. You must first create the disk before you can attach it. It is not possible to create and attach a disk at the same time. For more information, read Adding a persistent disk to your instance. |
bulkInsert |
Creates multiple instances. Count specifies the number of instances to create. For more information, see About bulk creation of VMs. |
delete |
Deletes the specified Instance resource. For more information, see Deleting an instance. |
deleteAccessConfig |
Deletes an access config from an instance's network interface. |
detachDisk |
Detaches a disk from an instance. |
get |
Returns the specified Instance resource. |
getEffectiveFirewalls |
Returns effective firewalls applied to an interface of the instance. |
getGuestAttributes |
Returns the specified guest attributes entry. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
getScreenshot |
Returns the screenshot from the specified instance. |
getSerialPortOutput |
Returns the last 1 MB of serial port output from the specified instance. |
getShieldedInstanceIdentity |
Returns the Shielded Instance Identity of an instance |
getShieldedVmIdentity |
Returns the Shielded VM Identity of an instance |
insert |
Creates an instance resource in the specified project using the data included in the request. |
list |
Retrieves the list of instances contained within the specified zone. |
listReferrers |
Retrieves a list of resources that refer to the VM instance specified in the request. For example, if the VM instance is part of a managed or unmanaged instance group, the referrers list includes the instance group. For more information, read Viewing referrers to VM instances. |
removeResourcePolicies |
Removes resource policies from an instance. |
reset |
Performs a reset on the instance. This is a hard reset. The VM does not do a graceful shutdown. For more information, see Resetting an instance. |
resume |
Resumes an instance that was suspended using the instances().suspend method. |
sendDiagnosticInterrupt |
Sends diagnostic interrupt to the instance. |
setDeletionProtection |
Sets deletion protection on the instance. |
setDiskAutoDelete |
Sets the auto-delete flag for a disk attached to an instance. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
setLabels |
Sets labels on an instance. To learn more about labels, read the Labeling Resources documentation. |
setMachineResources |
Changes the number and/or type of accelerator for a stopped instance to the values specified in the request. |
setMachineType |
Changes the machine type for a stopped instance to the machine type specified in the request. |
setMetadata |
Sets metadata for the specified instance to the data included in the request. |
setMinCpuPlatform |
Changes the minimum CPU platform that this instance should use. This method can only be called on a stopped instance. For more information, read Specifying a Minimum CPU Platform. |
setName |
Sets name of an instance. |
setScheduling |
Sets an instance's scheduling options. You can only call this method on
a stopped instance, that is, a VM instance that is in a TERMINATED
state. See Instance Life Cycle for more information on the possible
instance states. For more information about setting scheduling options
for a VM, see Set VM host maintenance policy. |
setSecurityPolicy |
Sets the Google Cloud Armor security policy for the specified instance. For more information, see Google Cloud Armor Overview |
setServiceAccount |
Sets the service account on the instance. For more information, read Changing the service account and access scopes for an instance. |
setShieldedInstanceIntegrityPolicy |
Sets the Shielded Instance integrity policy for an instance. You can only use this method on a running instance. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
setShieldedVmIntegrityPolicy |
Sets the Shielded VM integrity policy for a VM instance. You can only use this method on a running VM instance. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
setTags |
Sets network tags for the specified instance to the data included in the request. |
simulateMaintenanceEvent |
Simulates a host maintenance event on a VM. For more information, see Simulate a host maintenance event. |
start |
Starts an instance that was stopped using the instances().stop method. For more information, see Restart an instance. |
startWithEncryptionKey |
Starts an instance that was stopped using the instances().stop method. For more information, see Restart an instance. |
stop |
Stops a running instance, shutting it down cleanly, and allows you to restart the instance at a later time. Stopped instances do not incur VM usage charges while they are stopped. However, resources that the VM is using, such as persistent disks and static IP addresses, will continue to be charged until they are deleted. For more information, see Stopping an instance. |
suspend |
This method suspends a running instance, saving its state to persistent storage, and allows you to resume the instance at a later time. Suspended instances have no compute costs (cores or RAM), and incur only storage charges for the saved VM memory and localSSD data. Any charged resources the virtual machine was using, such as persistent disks and static IP addresses, will continue to be charged while the instance is suspended. For more information, see Suspending and resuming an instance. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
update |
Updates an instance only if the necessary resources are available. This method can update only a specific set of instance properties. See Updating a running instance for a list of updatable instance properties. |
updateAccessConfig |
Updates the specified access config from an instance's network interface with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
updateDisplayDevice |
Updates the Display config for a VM instance. You can only use this method on a stopped VM instance. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
updateNetworkInterface |
Updates an instance's network interface. This method can only update an interface's alias IP range and attached network. See Modifying alias IP ranges for an existing instance for instructions on changing alias IP ranges. See Migrating a VM between networks for instructions on migrating an interface. This method follows PATCH semantics. |
updateShieldedInstanceConfig |
Updates the Shielded Instance config for an instance. You can only use this method on a stopped instance. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
updateShieldedVmConfig |
Updates the Shielded VM config for a VM instance. You can only use this method on a stopped VM instance. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
Module: googleapis.compute.beta.instantSnapshots
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of instantSnapshots. |
delete |
Deletes the specified InstantSnapshot resource. Keep in mind that deleting a single instantSnapshot might not necessarily delete all the data on that instantSnapshot. If any data on the instantSnapshot that is marked for deletion is needed for subsequent instantSnapshots, the data will be moved to the next corresponding instantSnapshot. For more information, see Deleting instantSnapshots. |
get |
Returns the specified InstantSnapshot resource in the specified zone. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
insert |
Creates an instant snapshot in the specified zone. |
list |
Retrieves the list of InstantSnapshot resources contained within the specified zone. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
setLabels |
Sets the labels on a instantSnapshot in the given zone. To learn more about labels, read the Labeling Resources documentation. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.interconnectAttachments
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of interconnect attachments. |
delete |
Deletes the specified interconnect attachment. |
get |
Returns the specified interconnect attachment. |
insert |
Creates an InterconnectAttachment in the specified project using the data included in the request. |
list |
Retrieves the list of interconnect attachments contained within the specified region. |
patch |
Updates the specified interconnect attachment with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
setLabels |
Sets the labels on an InterconnectAttachment. To learn more about labels, read the Labeling Resources documentation. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.interconnectLocations
Functions | |
---|---|
get |
Returns the details for the specified interconnect location. Gets a list of available interconnect locations by making a list() request. |
list |
Retrieves the list of interconnect locations available to the specified project. |
Module: googleapis.compute.beta.interconnectRemoteLocations
Functions | |
---|---|
get |
Returns the details for the specified interconnect remote location. Gets a list of available interconnect remote locations by making a list() request. |
list |
Retrieves the list of interconnect remote locations available to the specified project. |
Module: googleapis.compute.beta.interconnects
Functions | |
---|---|
delete |
Deletes the specified Interconnect. |
get |
Returns the specified Interconnect. Get a list of available Interconnects by making a list() request. |
getDiagnostics |
Returns the interconnectDiagnostics for the specified Interconnect. |
insert |
Creates an Interconnect in the specified project using the data included in the request. |
list |
Retrieves the list of Interconnects available to the specified project. |
patch |
Updates the specified Interconnect with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
setLabels |
Sets the labels on an Interconnect. To learn more about labels, read the Labeling Resources documentation. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.licenseCodes
Functions | |
---|---|
get |
Return a specified license code. License codes are mirrored across all projects that have permissions to read the License Code. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. |
Module: googleapis.compute.beta.licenses
Functions | |
---|---|
delete |
Deletes the specified license. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. |
get |
Returns the specified License resource. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. |
insert |
Create a License resource in the specified project. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. |
list |
Retrieves the list of licenses available in the specified project. This method 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 this method to make a request to the respective image project, such as debian-cloud or windows-cloud. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. |
Module: googleapis.compute.beta.machineImages
Functions | |
---|---|
delete |
Deletes the specified machine image. Deleting a machine image is permanent and cannot be undone. |
get |
Returns the specified machine image. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
insert |
Creates a machine image in the specified project using the data that is included in the request. If you are creating a new machine image to update an existing instance, your new machine image should use the same network or, if applicable, the same subnetwork as the original instance. |
list |
Retrieves a list of machine images that are contained within the specified project. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.machineTypes
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of machine types. |
get |
Returns the specified machine type. |
list |
Retrieves a list of machine types available to the specified project. |
Module: googleapis.compute.beta.networkAttachments
Functions | |
---|---|
aggregatedList |
Retrieves the list of all NetworkAttachment resources, regional and global, available to the specified project. |
delete |
Deletes the specified NetworkAttachment in the given scope |
get |
Returns the specified NetworkAttachment resource in the given scope. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
insert |
Creates a NetworkAttachment in the specified project in the given scope using the parameters that are included in the request. |
list |
Lists the NetworkAttachments for a project in the given scope. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.networkEdgeSecurityServices
Functions | |
---|---|
aggregatedList |
Retrieves the list of all NetworkEdgeSecurityService resources available to the specified project. |
delete |
Deletes the specified service. |
get |
Gets a specified NetworkEdgeSecurityService. |
insert |
Creates a new service in the specified project using the data included in the request. |
patch |
Patches the specified policy with the data included in the request. |
Module: googleapis.compute.beta.networkEndpointGroups
Functions | |
---|---|
aggregatedList |
Retrieves the list of network endpoint groups and sorts them by zone. |
attachNetworkEndpoints |
Attach a list of network endpoints to the specified network endpoint group. |
delete |
Deletes the specified network endpoint group. The network endpoints in the NEG and the VM instances they belong to are not terminated when the NEG is deleted. Note that the NEG cannot be deleted if there are backend services referencing it. |
detachNetworkEndpoints |
Detach a list of network endpoints from the specified network endpoint group. |
get |
Returns the specified network endpoint group. |
insert |
Creates a network endpoint group in the specified project using the parameters that are included in the request. |
list |
Retrieves the list of network endpoint groups that are located in the specified project and zone. |
listNetworkEndpoints |
Lists the network endpoints in the specified network endpoint group. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.networkFirewallPolicies
Functions | |
---|---|
addAssociation |
Inserts an association for the specified firewall policy. |
addRule |
Inserts a rule into a firewall policy. |
cloneRules |
Copies rules to the specified firewall policy. |
delete |
Deletes the specified policy. |
get |
Returns the specified network firewall policy. |
getAssociation |
Gets an association with the specified name. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
getRule |
Gets a rule of the specified priority. |
insert |
Creates a new policy in the specified project using the data included in the request. |
list |
Lists all the policies that have been configured for the specified project. |
patch |
Patches the specified policy with the data included in the request. |
patchRule |
Patches a rule of the specified priority. |
removeAssociation |
Removes an association for the specified firewall policy. |
removeRule |
Deletes a rule of the specified priority. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.networks
Functions | |
---|---|
addPeering |
Adds a peering to the specified network. |
delete |
Deletes the specified network. |
get |
Returns the specified network. |
getEffectiveFirewalls |
Returns the effective firewalls on a given network. |
insert |
Creates a network in the specified project using the data included in the request. |
list |
Retrieves the list of networks available to the specified project. |
listPeeringRoutes |
Lists the peering routes exchanged over peering connection. |
patch |
Patches the specified network with the data included in the request. Only the following fields can be modified: routingConfig.routingMode. |
removePeering |
Removes a peering from the specified network. |
switchToCustomMode |
Switches the network mode from auto subnet mode to custom subnet mode. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
updatePeering |
Updates the specified network peering with the data included in the request. You can only modify the NetworkPeering.export_custom_routes field and the NetworkPeering.import_custom_routes field. |
Module: googleapis.compute.beta.nodeGroups
Functions | |
---|---|
addNodes |
Adds specified number of nodes to the node group. |
aggregatedList |
Retrieves an aggregated list of node groups. Note: use nodeGroups.listNodes for more details about each group. |
delete |
Deletes the specified NodeGroup resource. |
deleteNodes |
Deletes specified nodes from the node group. |
get |
Returns the specified NodeGroup. Get a list of available NodeGroups by making a list() request. Note: the "nodes" field should not be used. Use nodeGroups.listNodes instead. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
insert |
Creates a NodeGroup resource in the specified project using the data included in the request. |
list |
Retrieves a list of node groups available to the specified project. Note: use nodeGroups.listNodes for more details about each group. |
listNodes |
Lists nodes in the node group. |
patch |
Updates the specified node group. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
setNodeTemplate |
Updates the node template of the node group. |
simulateMaintenanceEvent |
Simulates maintenance event on specified nodes from the node group. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.nodeTemplates
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of node templates. |
delete |
Deletes the specified NodeTemplate resource. |
get |
Returns the specified node template. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
insert |
Creates a NodeTemplate resource in the specified project using the data included in the request. |
list |
Retrieves a list of node templates available to the specified project. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.nodeTypes
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of node types. |
get |
Returns the specified node type. |
list |
Retrieves a list of node types available to the specified project. |
Module: googleapis.compute.beta.organizationSecurityPolicies
Functions | |
---|---|
addAssociation |
Inserts an association for the specified security policy. |
addRule |
Inserts a rule into a security policy. |
copyRules |
Copies rules to the specified security policy. |
delete |
Deletes the specified policy. |
get |
List all of the ordered rules present in a single specified policy. |
getAssociation |
Gets an association with the specified name. |
getRule |
Gets a rule at the specified priority. |
insert |
Creates a new policy in the specified project using the data included in the request. |
list |
List all the policies that have been configured for the specified project. |
listAssociations |
Lists associations of a specified target, i.e., organization or folder. |
move |
Moves the specified security policy. |
patch |
Patches the specified policy with the data included in the request. |
patchRule |
Patches a rule at the specified priority. |
removeAssociation |
Removes an association for the specified security policy. |
removeRule |
Deletes a rule at the specified priority. |
Module: googleapis.compute.beta.packetMirrorings
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of packetMirrorings. |
delete |
Deletes the specified PacketMirroring resource. |
get |
Returns the specified PacketMirroring resource. |
insert |
Creates a PacketMirroring resource in the specified project and region using the data included in the request. |
list |
Retrieves a list of PacketMirroring resources available to the specified project and region. |
patch |
Patches the specified PacketMirroring resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.projects
Functions | |
---|---|
disableXpnHost |
Disable this project as a shared VPC host project. |
disableXpnResource |
Disable a service resource (also known as service project) associated with this host project. |
enableXpnHost |
Enable this project as a shared VPC host project. |
enableXpnResource |
Enable service resource (a.k.a service project) for a host project, so that subnets in the host project can be used by instances in the service project. |
get |
Returns the specified Project resource. To decrease latency for this
method, you can optionally omit any unneeded information from the
response by using a field mask. This practice is especially recommended
for unused quota information (the quotas field). To exclude one or
more fields, set your request's fields query parameter to only include
the fields you need. For example, to only include the id and
selfLink fields, add the query parameter ?fields=id,selfLink to your
request. |
getXpnHost |
Gets the shared VPC host project that this project links to. May be empty if no link exists. |
getXpnResources |
Gets service resources (a.k.a service project) associated with this host project. |
listXpnHosts |
Lists all shared VPC host projects visible to the user in an organization. |
moveDisk |
Moves a persistent disk from one zone to another. |
moveInstance |
Moves an instance and its attached persistent disks from one zone to another. Note: Moving VMs or disks by using this method might cause unexpected behavior. For more information, see the known issue. [Deprecated] This method is deprecated. See moving instance across zones instead. |
setCommonInstanceMetadata |
Sets metadata common to all instances within the specified project using the data included in the request. |
setDefaultNetworkTier |
Sets the default network tier of the project. The default network tier is used when an address/forwardingRule/instance is created without specifying the network tier field. |
setUsageExportBucket |
Enables the usage export feature and sets the usage export bucket where reports are stored. If you provide an empty request body using this method, the usage export feature will be disabled. |
Module: googleapis.compute.beta.publicAdvertisedPrefixes
Functions | |
---|---|
delete |
Deletes the specified PublicAdvertisedPrefix |
get |
Returns the specified PublicAdvertisedPrefix resource. |
insert |
Creates a PublicAdvertisedPrefix in the specified project using the parameters that are included in the request. |
list |
Lists the PublicAdvertisedPrefixes for a project. |
patch |
Patches the specified Router resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. |
Module: googleapis.compute.beta.publicDelegatedPrefixes
Functions | |
---|---|
aggregatedList |
Lists all PublicDelegatedPrefix resources owned by the specific project across all scopes. |
delete |
Deletes the specified PublicDelegatedPrefix in the given region. |
get |
Returns the specified PublicDelegatedPrefix resource in the given region. |
insert |
Creates a PublicDelegatedPrefix in the specified project in the given region using the parameters that are included in the request. |
list |
Lists the PublicDelegatedPrefixes for a project in the given region. |
patch |
Patches the specified PublicDelegatedPrefix resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. |
Module: googleapis.compute.beta.regionAutoscalers
Functions | |
---|---|
delete |
Deletes the specified autoscaler. |
get |
Returns the specified autoscaler. |
insert |
Creates an autoscaler in the specified project using the data included in the request. |
list |
Retrieves a list of autoscalers contained within the specified region. |
patch |
Updates an autoscaler in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
update |
Updates an autoscaler in the specified project using the data included in the request. |
Module: googleapis.compute.beta.regionBackendServices
Functions | |
---|---|
delete |
Deletes the specified regional BackendService resource. |
get |
Returns the specified regional BackendService resource. |
getHealth |
Gets the most recent health check results for this regional BackendService. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
insert |
Creates a regional BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview. |
list |
Retrieves the list of regional BackendService resources available to the specified project in the given region. |
patch |
Updates the specified regional BackendService resource with the data included in the request. For more information, see Understanding backend services This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
setSecurityPolicy |
Sets the Google Cloud Armor security policy for the specified backend service. For more information, see Google Cloud Armor Overview |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
update |
Updates the specified regional BackendService resource with the data included in the request. For more information, see Backend services overview . |
Module: googleapis.compute.beta.regionCommitments
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of commitments by region. |
get |
Returns the specified commitment resource. |
insert |
Creates a commitment in the specified project using the data included in the request. |
list |
Retrieves a list of commitments contained within the specified region. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
update |
Updates the specified commitment with the data included in the request. Update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: auto_renew. |
updateReservations |
Transfers GPUs or local SSDs between reservations within commitments. |
Module: googleapis.compute.beta.regionDiskTypes
Functions | |
---|---|
get |
Returns the specified regional disk type. |
list |
Retrieves a list of regional disk types available to the specified project. |
Module: googleapis.compute.beta.regionDisks
Functions | |
---|---|
addResourcePolicies |
Adds existing resource policies to a regional disk. You can only add one policy which will be applied to this disk for scheduling snapshot creation. |
bulkInsert |
Bulk create a set of disks. |
createSnapshot |
Creates a snapshot of a specified persistent disk. For regular snapshot creation, consider using snapshots.insert instead, as that method supports more features, such as creating snapshots in a project different from the source disk project. |
delete |
Deletes the specified regional persistent disk. Deleting a regional disk removes all the replicas of its data permanently and is irreversible. However, deleting a disk does not delete any snapshots previously made from the disk. You must separately delete snapshots. |
get |
Returns a specified regional persistent disk. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
insert |
Creates a persistent regional disk in the specified project using the data included in the request. |
list |
Retrieves the list of persistent disks contained within the specified region. |
removeResourcePolicies |
Removes resource policies from a regional disk. |
resize |
Resizes the specified regional persistent disk. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
setLabels |
Sets the labels on the target regional disk. |
startAsyncReplication |
Starts asynchronous replication. Must be invoked on the primary disk. |
stopAsyncReplication |
Stops asynchronous replication. Can be invoked either on the primary or on the secondary disk. |
stopGroupAsyncReplication |
Stops asynchronous replication for a consistency group of disks. Can be invoked either in the primary or secondary scope. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
update |
Update the specified disk with the data included in the request. Update is 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 | |
---|---|
delete |
Deletes the specified regional HealthCheckService. |
get |
Returns the specified regional HealthCheckService resource. |
insert |
Creates a regional HealthCheckService resource in the specified project and region using the data included in the request. |
list |
Lists all the HealthCheckService resources that have been configured for the specified project in the given region. |
patch |
Updates the specified regional HealthCheckService resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.regionHealthChecks
Functions | |
---|---|
delete |
Deletes the specified HealthCheck resource. |
get |
Returns the specified HealthCheck resource. |
insert |
Creates a HealthCheck resource in the specified project using the data included in the request. |
list |
Retrieves the list of HealthCheck resources available to the specified project. |
patch |
Updates a HealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
update |
Updates a HealthCheck resource in the specified project using the data included in the request. |
Module: googleapis.compute.beta.regionInstanceGroupManagers
Functions | |
---|---|
abandonInstances |
Flags the specified instances to be immediately removed from the managed instance group. Abandoning an instance does not delete the instance, but it does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request. |
applyUpdatesToInstances |
Apply updates to selected instances the managed instance group. |
createInstances |
Creates instances with per-instance configurations in this regional managed instance group. Instances are created using the current instance template. The create instances operation is marked DONE if the createInstances request is successful. The underlying actions take additional time. You must separately verify the status of the creating or actions with the listmanagedinstances method. |
delete |
Deletes the specified managed instance group and all of the instances in that group. |
deleteInstances |
Flags the specified instances in the managed instance group to be immediately deleted. The instances are also removed from any target pools of which they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. The deleteInstances operation is marked DONE if the deleteInstances request is successful. The underlying actions take additional time. You must separately verify the status of the deleting action with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request. |
deletePerInstanceConfigs |
Deletes selected per-instance configurations for the managed instance group. |
get |
Returns all of the details about the specified managed instance group. |
insert |
Creates a managed instance group using the information that you specify in the request. After the group is created, instances in the group are created using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method. A regional managed instance group can contain up to 2000 instances. |
list |
Retrieves the list of managed instance groups that are contained within the specified region. |
listErrors |
Lists all errors thrown by actions on instances for a given regional managed instance group. The filter and orderBy query parameters are not supported. |
listManagedInstances |
Lists the instances in the managed instance group and instances that are
scheduled to be created. The list includes any current actions that the
group has scheduled for its instances. The orderBy query parameter is
not supported. The pageToken query parameter is supported only in the
alpha and beta API and only if the group's listManagedInstancesResults
field is set to PAGINATED . |
listPerInstanceConfigs |
Lists all of the per-instance configurations defined for the managed instance group. The orderBy query parameter is not supported. |
patch |
Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is patched even if the instances in the group are still in the process of being patched. You must separately verify the status of the individual instances with the listmanagedinstances method. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. If you update your group to specify a new template or instance configuration, it's possible that your intended specification for each VM in the group is different from the current state of that VM. To learn how to apply an updated configuration to the VMs in a MIG, see Updating instances in a MIG. |
patchPerInstanceConfigs |
Inserts or patches per-instance configurations for the managed instance group. perInstanceConfig.name serves as a key used to distinguish whether to perform insert or patch. |
recreateInstances |
Flags the specified VM instances in the managed instance group to be immediately recreated. Each instance is recreated using the group's current configuration. This operation is marked as DONE when the flag is set even if the instances have not yet been recreated. You must separately verify the status of each instance by checking its currentAction field; for more information, see Checking the status of managed instances. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request. |
resize |
Changes the intended size of the managed instance group. If you increase the size, the group creates new instances using the current instance template. If you decrease the size, the group deletes one or more instances. The resize operation is marked DONE if the resize request is successful. The underlying actions take additional time. You must separately verify the status of the creating or deleting actions with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. |
resizeAdvanced |
Resizes the regional managed instance group with advanced configuration options like disabling creation retries. This is an extended version of the resize method. If you increase the size, the group creates new instances using the current instance template. If you decrease the size, the group deletes one or more instances. The resize operation is marked DONE if the resize request is successful. The underlying actions take additional time. You must separately verify the status of the creating or deleting actions with the get or listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. |
setAutoHealingPolicies |
Modifies the autohealing policy for the instances in this managed instance group. [Deprecated] This method is deprecated. Use regionInstanceGroupManagers.patch instead. |
setInstanceTemplate |
Sets the instance template to use when creating new instances or recreating instances in this group. Existing instances are not affected. |
setTargetPools |
Modifies the target pools to which all new instances in this group are assigned. Existing instances in the group are not affected. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
update |
Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is updated even if the instances in the group have not yet been updated. You must separately verify the status of the individual instances with the listmanagedinstances method. If you update your group to specify a new template or instance configuration, it's possible that your intended specification for each VM in the group is different from the current state of that VM. To learn how to apply an updated configuration to the VMs in a MIG, see Updating instances in a MIG. |
updatePerInstanceConfigs |
Inserts or updates per-instance configurations for the managed instance group. perInstanceConfig.name serves as a key used to distinguish whether to perform insert or patch. |
Module: googleapis.compute.beta.regionInstanceGroups
Functions | |
---|---|
get |
Returns the specified instance group resource. |
list |
Retrieves the list of instance group resources contained within the specified region. |
listInstances |
Lists the instances in the specified instance group and displays information about the named ports. Depending on the specified options, this method can list all instances or only the instances that are running. The orderBy query parameter is not supported. |
setNamedPorts |
Sets the named ports for the specified regional instance group. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.regionInstanceTemplates
Functions | |
---|---|
delete |
Deletes the specified instance template. Deleting an instance template is permanent and cannot be undone. |
get |
Returns the specified instance template. |
insert |
Creates an instance template in the specified project and region using the global instance template whose URL is included in the request. |
list |
Retrieves a list of instance templates that are contained within the specified project and region. |
Module: googleapis.compute.beta.regionInstances
Functions | |
---|---|
bulkInsert |
Creates multiple instances in a given region. Count specifies the number of instances to create. |
Module: googleapis.compute.beta.regionInstantSnapshots
Functions | |
---|---|
delete |
Deletes the specified InstantSnapshot resource. Keep in mind that deleting a single instantSnapshot might not necessarily delete all the data on that instantSnapshot. If any data on the instantSnapshot that is marked for deletion is needed for subsequent instantSnapshots, the data will be moved to the next corresponding instantSnapshot. For more information, see Deleting instantSnapshots. |
get |
Returns the specified InstantSnapshot resource in the specified region. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
insert |
Creates an instant snapshot in the specified region. |
list |
Retrieves the list of InstantSnapshot resources contained within the specified region. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
setLabels |
Sets the labels on a instantSnapshot in the given region. To learn more about labels, read the Labeling Resources documentation. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.regionNetworkEndpointGroups
Functions | |
---|---|
delete |
Deletes the specified network endpoint group. Note that the NEG cannot be deleted if it is configured as a backend of a backend service. |
get |
Returns the specified network endpoint group. |
insert |
Creates a network endpoint group in the specified project using the parameters that are included in the request. |
list |
Retrieves the list of regional network endpoint groups available to the specified project in the given region. |
Module: googleapis.compute.beta.regionNetworkFirewallPolicies
Functions | |
---|---|
addAssociation |
Inserts an association for the specified network firewall policy. |
addRule |
Inserts a rule into a network firewall policy. |
cloneRules |
Copies rules to the specified network firewall policy. |
delete |
Deletes the specified network firewall policy. |
get |
Returns the specified network firewall policy. |
getAssociation |
Gets an association with the specified name. |
getEffectiveFirewalls |
Returns the effective firewalls on a given network. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
getRule |
Gets a rule of the specified priority. |
insert |
Creates a new network firewall policy in the specified project and region. |
list |
Lists all the network firewall policies that have been configured for the specified project in the given region. |
patch |
Patches the specified network firewall policy. |
patchRule |
Patches a rule of the specified priority. |
removeAssociation |
Removes an association for the specified network firewall policy. |
removeRule |
Deletes a rule of the specified priority. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.regionNotificationEndpoints
Functions | |
---|---|
delete |
Deletes the specified NotificationEndpoint in the given region |
get |
Returns the specified NotificationEndpoint resource in the given region. |
insert |
Create a NotificationEndpoint in the specified project in the given region using the parameters that are included in the request. |
list |
Lists the NotificationEndpoints for a project in the given region. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.regionOperations
Functions | |
---|---|
delete |
Deletes the specified region-specific Operations resource. |
get |
Retrieves the specified region-specific Operations resource. |
list |
Retrieves a list of Operation resources contained within the specified region. |
wait |
Waits for the specified Operation resource to return as DONE or for
the request to approach the 2 minute deadline, and retrieves the
specified Operation resource. This method differs from the GET method
in that it waits for no more than the default deadline (2 minutes) and
then returns the current state of the operation, which might be DONE
or still in progress. This method is called on a best-effort basis.
Specifically: - In uncommon cases, when the server is overloaded, the
request might return before the default deadline is reached, or might
return after zero seconds. - If the default deadline is reached, there
is no guarantee that the operation is actually done when the method
returns. Be prepared to retry if the operation is not DONE . |
Module: googleapis.compute.beta.regionSecurityPolicies
Functions | |
---|---|
addRule |
Inserts a rule into a security policy. |
delete |
Deletes the specified policy. |
get |
List all of the ordered rules present in a single specified policy. |
getRule |
Gets a rule at the specified priority. |
insert |
Creates a new policy in the specified project using the data included in the request. |
list |
List all the policies that have been configured for the specified project and region. |
patch |
Patches the specified policy with the data included in the request. To clear fields in the policy, leave the fields empty and specify them in the updateMask. This cannot be used to be update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead. |
patchRule |
Patches a rule at the specified priority. To clear fields in the rule, leave the fields empty and specify them in the updateMask. |
removeRule |
Deletes a rule at the specified priority. |
Module: googleapis.compute.beta.regionSslCertificates
Functions | |
---|---|
delete |
Deletes the specified SslCertificate resource in the region. |
get |
Returns the specified SslCertificate resource in the specified region. Get a list of available SSL certificates by making a list() request. |
insert |
Creates a SslCertificate resource in the specified project and region using the data included in the request |
list |
Retrieves the list of SslCertificate resources available to the specified project in the specified region. |
testIamPermissions |
Returns permissions that a caller has on the specified resource and region. |
Module: googleapis.compute.beta.regionSslPolicies
Functions | |
---|---|
delete |
Deletes the specified SSL policy. The SSL policy resource can be deleted only if it is not in use by any TargetHttpsProxy or TargetSslProxy resources. |
get |
Lists all of the ordered rules present in a single specified policy. |
insert |
Creates a new policy in the specified project and region using the data included in the request. |
list |
Lists all the SSL policies that have been configured for the specified project and region. |
listAvailableFeatures |
Lists all features that can be specified in the SSL policy when using custom profile. |
patch |
Patches the specified SSL policy with the data included in the request. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.regionTargetHttpProxies
Functions | |
---|---|
delete |
Deletes the specified TargetHttpProxy resource. |
get |
Returns the specified TargetHttpProxy resource in the specified region. |
insert |
Creates a TargetHttpProxy resource in the specified project and region using the data included in the request. |
list |
Retrieves the list of TargetHttpProxy resources available to the specified project in the specified region. |
setUrlMap |
Changes the URL map for TargetHttpProxy. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.regionTargetHttpsProxies
Functions | |
---|---|
delete |
Deletes the specified TargetHttpsProxy resource. |
get |
Returns the specified TargetHttpsProxy resource in the specified region. |
insert |
Creates a TargetHttpsProxy resource in the specified project and region using the data included in the request. |
list |
Retrieves the list of TargetHttpsProxy resources available to the specified project in the specified region. |
patch |
Patches the specified regional TargetHttpsProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. |
setSslCertificates |
Replaces SslCertificates for TargetHttpsProxy. |
setUrlMap |
Changes the URL map for TargetHttpsProxy. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.regionTargetTcpProxies
Functions | |
---|---|
delete |
Deletes the specified TargetTcpProxy resource. |
get |
Returns the specified TargetTcpProxy resource. |
insert |
Creates a TargetTcpProxy resource in the specified project and region using the data included in the request. |
list |
Retrieves a list of TargetTcpProxy resources available to the specified project in a given region. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.regionUrlMaps
Functions | |
---|---|
delete |
Deletes the specified UrlMap resource. |
get |
Returns the specified UrlMap resource. |
insert |
Creates a UrlMap resource in the specified project using the data included in the request. |
invalidateCache |
Initiates a cache invalidation operation, invalidating the specified path, scoped to the specified UrlMap. For more information, see Invalidating cached content. |
list |
Retrieves the list of UrlMap resources available to the specified project in the specified region. |
patch |
Patches the specified UrlMap resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
update |
Updates the specified UrlMap resource with the data included in the request. |
validate |
Runs static validation for the UrlMap. In particular, the tests of the provided UrlMap will be run. Calling this method does NOT create the UrlMap. |
Module: googleapis.compute.beta.regions
Functions | |
---|---|
get |
Returns the specified Region resource. To decrease latency for this
method, you can optionally omit any unneeded information from the
response by using a field mask. This practice is especially recommended
for unused quota information (the quotas field). To exclude one or
more fields, set your request's fields query parameter to only include
the fields you need. For example, to only include the id and
selfLink fields, add the query parameter ?fields=id,selfLink to your
request. |
list |
Retrieves the list of region resources available to the specified
project. To decrease latency for this method, you can optionally omit
any unneeded information from the response by using a field mask. This
practice is especially recommended for unused quota information (the
items.quotas field). To exclude one or more fields, set your request's
fields query parameter to only include the fields you need. For
example, to only include the id and selfLink fields, add the query
parameter ?fields=id,selfLink to your request. |
Module: googleapis.compute.beta.reservations
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of reservations. |
delete |
Deletes the specified reservation. |
get |
Retrieves information about the specified reservation. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
insert |
Creates a new reservation. For more information, read Reserving zonal resources. |
list |
A list of all the reservations that have been configured for the specified project in specified zone. |
resize |
Resizes the reservation (applicable to standalone reservations only). For more information, read Modifying reservations. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
update |
Update share settings of the reservation. |
Module: googleapis.compute.beta.resourcePolicies
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of resource policies. |
delete |
Deletes the specified resource policy. |
get |
Retrieves all information of the specified resource policy. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
insert |
Creates a new resource policy. |
list |
A list all the resource policies that have been configured for the specified project in specified region. |
patch |
Modify the specified resource policy. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.routers
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of routers. |
delete |
Deletes the specified Router resource. |
get |
Returns the specified Router resource. |
getNatMappingInfo |
Retrieves runtime Nat mapping information of VM endpoints. |
getRouterStatus |
Retrieves runtime information of the specified router. |
insert |
Creates a Router resource in the specified project and region using the data included in the request. |
list |
Retrieves a list of Router resources available to the specified project. |
patch |
Patches the specified Router resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. |
preview |
Preview fields auto-generated during router create and update operations. Calling this method does NOT create or update the router. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
update |
Updates the specified Router resource with the data included in the request. This method conforms to PUT semantics, which requests that the state of the target resource be created or replaced with the state defined by the representation enclosed in the request message payload. |
Module: googleapis.compute.beta.routes
Functions | |
---|---|
delete |
Deletes the specified Route resource. |
get |
Returns the specified Route resource. |
insert |
Creates a Route resource in the specified project using the data included in the request. |
list |
Retrieves the list of Route resources available to the specified project. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.securityPolicies
Functions | |
---|---|
addRule |
Inserts a rule into a security policy. |
aggregatedList |
Retrieves the list of all SecurityPolicy resources, regional and global, available to the specified project. |
delete |
Deletes the specified policy. |
get |
List all of the ordered rules present in a single specified policy. |
getRule |
Gets a rule at the specified priority. |
insert |
Creates a new policy in the specified project using the data included in the request. |
list |
List all the policies that have been configured for the specified project. |
listPreconfiguredExpressionSets |
Gets the current list of preconfigured Web Application Firewall (WAF) expressions. |
patch |
Patches the specified policy with the data included in the request. To clear fields in the policy, leave the fields empty and specify them in the updateMask. This cannot be used to be update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead. |
patchRule |
Patches a rule at the specified priority. To clear fields in the rule, leave the fields empty and specify them in the updateMask. |
removeRule |
Deletes a rule at the specified priority. |
setLabels |
Sets the labels on a security policy. To learn more about labels, read the Labeling Resources documentation. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.serviceAttachments
Functions | |
---|---|
aggregatedList |
Retrieves the list of all ServiceAttachment resources, regional and global, available to the specified project. |
delete |
Deletes the specified ServiceAttachment in the given scope |
get |
Returns the specified ServiceAttachment resource in the given scope. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
insert |
Creates a ServiceAttachment in the specified project in the given scope using the parameters that are included in the request. |
list |
Lists the ServiceAttachments for a project in the given scope. |
patch |
Patches the specified ServiceAttachment resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.snapshots
Functions | |
---|---|
delete |
Deletes the specified Snapshot resource. Keep in mind that deleting a single snapshot might not necessarily delete all the data on that snapshot. If any data on the snapshot that is marked for deletion is needed for subsequent snapshots, the data will be moved to the next corresponding snapshot. For more information, see Deleting snapshots. |
get |
Returns the specified Snapshot resource. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
insert |
Creates a snapshot in the specified project using the data included in the request. For regular snapshot creation, consider using this method instead of disks.createSnapshot, as this method supports more features, such as creating snapshots in a project different from the source disk project. |
list |
Retrieves the list of Snapshot resources contained within the specified project. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
setLabels |
Sets the labels on a snapshot. To learn more about labels, read the Labeling Resources documentation. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.sslCertificates
Functions | |
---|---|
aggregatedList |
Retrieves the list of all SslCertificate resources, regional and global, available to the specified project. |
delete |
Deletes the specified SslCertificate resource. |
get |
Returns the specified SslCertificate resource. |
insert |
Creates a SslCertificate resource in the specified project using the data included in the request. |
list |
Retrieves the list of SslCertificate resources available to the specified project. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.sslPolicies
Functions | |
---|---|
aggregatedList |
Retrieves the list of all SslPolicy resources, regional and global, available to the specified project. |
delete |
Deletes the specified SSL policy. The SSL policy resource can be deleted only if it is not in use by any TargetHttpsProxy or TargetSslProxy resources. |
get |
Lists all of the ordered rules present in a single specified policy. |
insert |
Returns the specified SSL policy resource. |
list |
Lists all the SSL policies that have been configured for the specified project. |
listAvailableFeatures |
Lists all features that can be specified in the SSL policy when using custom profile. |
patch |
Patches the specified SSL policy with the data included in the request. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.subnetworks
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of subnetworks. |
delete |
Deletes the specified subnetwork. |
expandIpCidrRange |
Expands the IP CIDR range of the subnetwork to a specified value. |
get |
Returns the specified subnetwork. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
insert |
Creates a subnetwork in the specified project using the data included in the request. |
list |
Retrieves a list of subnetworks available to the specified project. |
listUsable |
Retrieves an aggregated list of all usable subnetworks in the project. |
patch |
Patches the specified subnetwork with the data included in the request. Only certain fields can be updated with a patch request as indicated in the field descriptions. You must specify the current fingerprint of the subnetwork resource being patched. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
setPrivateIpGoogleAccess |
Set whether VMs in this subnet can access Google services without assigning external IP addresses through Private Google Access. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.targetGrpcProxies
Functions | |
---|---|
delete |
Deletes the specified TargetGrpcProxy in the given scope |
get |
Returns the specified TargetGrpcProxy resource in the given scope. |
insert |
Creates a TargetGrpcProxy in the specified project in the given scope using the parameters that are included in the request. |
list |
Lists the TargetGrpcProxies for a project in the given scope. |
patch |
Patches the specified TargetGrpcProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.targetHttpProxies
Functions | |
---|---|
aggregatedList |
Retrieves the list of all TargetHttpProxy resources, regional and global, available to the specified project. |
delete |
Deletes the specified TargetHttpProxy resource. |
get |
Returns the specified TargetHttpProxy resource. |
insert |
Creates a TargetHttpProxy resource in the specified project using the data included in the request. |
list |
Retrieves the list of TargetHttpProxy resources available to the specified project. |
patch |
Patches the specified TargetHttpProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. |
setUrlMap |
Changes the URL map for TargetHttpProxy. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.targetHttpsProxies
Functions | |
---|---|
aggregatedList |
Retrieves the list of all TargetHttpsProxy resources, regional and global, available to the specified project. |
delete |
Deletes the specified TargetHttpsProxy resource. |
get |
Returns the specified TargetHttpsProxy resource. |
insert |
Creates a TargetHttpsProxy resource in the specified project using the data included in the request. |
list |
Retrieves the list of TargetHttpsProxy resources available to the specified project. |
patch |
Patches the specified TargetHttpsProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. |
setCertificateMap |
Changes the Certificate Map for TargetHttpsProxy. |
setQuicOverride |
Sets the QUIC override policy for TargetHttpsProxy. |
setSslCertificates |
Replaces SslCertificates for TargetHttpsProxy. |
setSslPolicy |
Sets the SSL policy for TargetHttpsProxy. The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the HTTPS proxy load balancer. They do not affect the connection between the load balancer and the backends. |
setUrlMap |
Changes the URL map for TargetHttpsProxy. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.targetInstances
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of target instances. |
delete |
Deletes the specified TargetInstance resource. |
get |
Returns the specified TargetInstance resource. |
insert |
Creates a TargetInstance resource in the specified project and zone using the data included in the request. |
list |
Retrieves a list of TargetInstance resources available to the specified project and zone. |
setSecurityPolicy |
Sets the Google Cloud Armor security policy for the specified target instance. For more information, see Google Cloud Armor Overview |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.targetPools
Functions | |
---|---|
addHealthCheck |
Adds health check URLs to a target pool. |
addInstance |
Adds an instance to a target pool. |
aggregatedList |
Retrieves an aggregated list of target pools. |
delete |
Deletes the specified target pool. |
get |
Returns the specified target pool. |
getHealth |
Gets the most recent health check results for each IP for the instance that is referenced by the given target pool. |
insert |
Creates a target pool in the specified project and region using the data included in the request. |
list |
Retrieves a list of target pools available to the specified project and region. |
removeHealthCheck |
Removes health check URL from a target pool. |
removeInstance |
Removes instance URL from a target pool. |
setBackup |
Changes a backup target pool's configurations. |
setSecurityPolicy |
Sets the Google Cloud Armor security policy for the specified target pool. For more information, see Google Cloud Armor Overview |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.targetSslProxies
Functions | |
---|---|
delete |
Deletes the specified TargetSslProxy resource. |
get |
Returns the specified TargetSslProxy resource. |
insert |
Creates a TargetSslProxy resource in the specified project using the data included in the request. |
list |
Retrieves the list of TargetSslProxy resources available to the specified project. |
setBackendService |
Changes the BackendService for TargetSslProxy. |
setCertificateMap |
Changes the Certificate Map for TargetSslProxy. |
setProxyHeader |
Changes the ProxyHeaderType for TargetSslProxy. |
setSslCertificates |
Changes SslCertificates for TargetSslProxy. |
setSslPolicy |
Sets the SSL policy for TargetSslProxy. The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the SSL proxy load balancer. They do not affect the connection between the load balancer and the backends. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.targetTcpProxies
Functions | |
---|---|
aggregatedList |
Retrieves the list of all TargetTcpProxy resources, regional and global, available to the specified project. |
delete |
Deletes the specified TargetTcpProxy resource. |
get |
Returns the specified TargetTcpProxy resource. |
insert |
Creates a TargetTcpProxy resource in the specified project using the data included in the request. |
list |
Retrieves the list of TargetTcpProxy resources available to the specified project. |
setBackendService |
Changes the BackendService for TargetTcpProxy. |
setProxyHeader |
Changes the ProxyHeaderType for TargetTcpProxy. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.targetVpnGateways
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of target VPN gateways. |
delete |
Deletes the specified target VPN gateway. |
get |
Returns the specified target VPN gateway. |
insert |
Creates a target VPN gateway in the specified project and region using the data included in the request. |
list |
Retrieves a list of target VPN gateways available to the specified project and region. |
setLabels |
Sets the labels on a TargetVpnGateway. To learn more about labels, read the Labeling Resources documentation. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.urlMaps
Functions | |
---|---|
aggregatedList |
Retrieves the list of all UrlMap resources, regional and global, available to the specified project. |
delete |
Deletes the specified UrlMap resource. |
get |
Returns the specified UrlMap resource. |
insert |
Creates a UrlMap resource in the specified project using the data included in the request. |
invalidateCache |
Initiates a cache invalidation operation, invalidating the specified path, scoped to the specified UrlMap. For more information, see Invalidating cached content. |
list |
Retrieves the list of UrlMap resources available to the specified project. |
patch |
Patches the specified UrlMap resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
update |
Updates the specified UrlMap resource with the data included in the request. |
validate |
Runs static validation for the UrlMap. In particular, the tests of the provided UrlMap will be run. Calling this method does NOT create the UrlMap. |
Module: googleapis.compute.beta.vpnGateways
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of VPN gateways. |
delete |
Deletes the specified VPN gateway. |
get |
Returns the specified VPN gateway. |
getStatus |
Returns the status for the specified VPN gateway. |
insert |
Creates a VPN gateway in the specified project and region using the data included in the request. |
list |
Retrieves a list of VPN gateways available to the specified project and region. |
setLabels |
Sets the labels on a VpnGateway. To learn more about labels, read the Labeling Resources documentation. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.vpnTunnels
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of VPN tunnels. |
delete |
Deletes the specified VpnTunnel resource. |
get |
Returns the specified VpnTunnel resource. |
insert |
Creates a VpnTunnel resource in the specified project and region using the data included in the request. |
list |
Retrieves a list of VpnTunnel resources contained in the specified project and region. |
setLabels |
Sets the labels on a VpnTunnel. To learn more about labels, read the Labeling Resources documentation. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.beta.zoneOperations
Functions | |
---|---|
delete |
Deletes the specified zone-specific Operations resource. |
get |
Retrieves the specified zone-specific Operations resource. |
list |
Retrieves a list of Operation resources contained within the specified zone. |
wait |
Waits for the specified Operation resource to return as DONE or for
the request to approach the 2 minute deadline, and retrieves the
specified Operation resource. This method waits for no more than the 2
minutes and then returns the current state of the operation, which might
be DONE or still in progress. This method is called on a best-effort
basis. Specifically: - In uncommon cases, when the server is overloaded,
the request might return before the default deadline is reached, or
might return after zero seconds. - If the default deadline is reached,
there is no guarantee that the operation is actually done when the
method returns. Be prepared to retry if the operation is not DONE . |
Module: googleapis.compute.beta.zones
Functions | |
---|---|
get |
Returns the specified Zone resource. |
list |
Retrieves the list of Zone resources available to the specified project. |
Module: googleapis.compute.v1.acceleratorTypes
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of accelerator types. |
get |
Returns the specified accelerator type. |
list |
Retrieves a list of accelerator types that are available to the specified project. |
Module: googleapis.compute.v1.addresses
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of addresses. |
delete |
Deletes the specified address resource. |
get |
Returns the specified address resource. |
insert |
Creates an address resource in the specified project by using the data included in the request. |
list |
Retrieves a list of addresses contained within the specified region. |
move |
Moves the specified address resource. |
setLabels |
Sets the labels on an Address. To learn more about labels, read the Labeling Resources documentation. |
Module: googleapis.compute.v1.autoscalers
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of autoscalers. |
delete |
Deletes the specified autoscaler. |
get |
Returns the specified autoscaler resource. |
insert |
Creates an autoscaler in the specified project using the data included in the request. |
list |
Retrieves a list of autoscalers contained within the specified zone. |
patch |
Updates an autoscaler in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
update |
Updates an autoscaler in the specified project using the data included in the request. |
Module: googleapis.compute.v1.backendBuckets
Functions | |
---|---|
addSignedUrlKey |
Adds a key for validating requests with signed URLs for this backend bucket. |
delete |
Deletes the specified BackendBucket resource. |
deleteSignedUrlKey |
Deletes a key for validating requests with signed URLs for this backend bucket. |
get |
Returns the specified BackendBucket resource. |
insert |
Creates a BackendBucket resource in the specified project using the data included in the request. |
list |
Retrieves the list of BackendBucket resources available to the specified project. |
patch |
Updates the specified BackendBucket resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
setEdgeSecurityPolicy |
Sets the edge security policy for the specified backend bucket. |
update |
Updates the specified BackendBucket resource with the data included in the request. |
Module: googleapis.compute.v1.backendServices
Functions | |
---|---|
addSignedUrlKey |
Adds a key for validating requests with signed URLs for this backend service. |
aggregatedList |
Retrieves the list of all BackendService resources, regional and global, available to the specified project. |
delete |
Deletes the specified BackendService resource. |
deleteSignedUrlKey |
Deletes a key for validating requests with signed URLs for this backend service. |
get |
Returns the specified BackendService resource. |
getHealth |
Gets the most recent health check results for this BackendService. Example request body: { "group": "/zones/us-east1-b/instanceGroups/lb-backend-example" } |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
insert |
Creates a BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview . |
list |
Retrieves the list of BackendService resources available to the specified project. |
patch |
Patches the specified BackendService resource with the data included in the request. For more information, see Backend services overview. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
setEdgeSecurityPolicy |
Sets the edge security policy for the specified backend service. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
setSecurityPolicy |
Sets the Google Cloud Armor security policy for the specified backend service. For more information, see Google Cloud Armor Overview |
update |
Updates the specified BackendService resource with the data included in the request. For more information, see Backend services overview. |
Module: googleapis.compute.v1.diskTypes
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of disk types. |
get |
Returns the specified disk type. |
list |
Retrieves a list of disk types available to the specified project. |
Module: googleapis.compute.v1.disks
Functions | |
---|---|
addResourcePolicies |
Adds existing resource policies to a disk. You can only add one policy which will be applied to this disk for scheduling snapshot creation. |
aggregatedList |
Retrieves an aggregated list of persistent disks. |
bulkInsert |
Bulk create a set of disks. |
createSnapshot |
Creates a snapshot of a specified persistent disk. For regular snapshot creation, consider using snapshots.insert instead, as that method supports more features, such as creating snapshots in a project different from the source disk project. |
delete |
Deletes the specified persistent disk. Deleting a disk removes its data permanently and is irreversible. However, deleting a disk does not delete any snapshots previously made from the disk. You must separately delete snapshots. |
get |
Returns the specified persistent disk. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
insert |
Creates a persistent disk in the specified project using the data in the request. You can create a disk from a source (sourceImage, sourceSnapshot, or sourceDisk) or create an empty 500 GB data disk by omitting all properties. You can also create a disk that is larger than the default size by specifying the sizeGb property. |
list |
Retrieves a list of persistent disks contained within the specified zone. |
removeResourcePolicies |
Removes resource policies from a disk. |
resize |
Resizes the specified persistent disk. You can only increase the size of the disk. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
setLabels |
Sets the labels on a disk. To learn more about labels, read the Labeling Resources documentation. |
startAsyncReplication |
Starts asynchronous replication. Must be invoked on the primary disk. |
stopAsyncReplication |
Stops asynchronous replication. Can be invoked either on the primary or on the secondary disk. |
stopGroupAsyncReplication |
Stops asynchronous replication for a consistency group of disks. Can be invoked either in the primary or secondary scope. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
update |
Updates the specified disk with the data included in the request. The update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: user_license. |
Module: googleapis.compute.v1.externalVpnGateways
Functions | |
---|---|
delete |
Deletes the specified externalVpnGateway. |
get |
Returns the specified externalVpnGateway. Get a list of available externalVpnGateways by making a list() request. |
insert |
Creates a ExternalVpnGateway in the specified project using the data included in the request. |
list |
Retrieves the list of ExternalVpnGateway available to the specified project. |
setLabels |
Sets the labels on an ExternalVpnGateway. To learn more about labels, read the Labeling Resources documentation. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.v1.firewallPolicies
Functions | |
---|---|
addAssociation |
Inserts an association for the specified firewall policy. |
addRule |
Inserts a rule into a firewall policy. |
cloneRules |
Copies rules to the specified firewall policy. |
delete |
Deletes the specified policy. |
get |
Returns the specified firewall policy. |
getAssociation |
Gets an association with the specified name. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
getRule |
Gets a rule of the specified priority. |
insert |
Creates a new policy in the specified project using the data included in the request. |
list |
Lists all the policies that have been configured for the specified folder or organization. |
listAssociations |
Lists associations of a specified target, i.e., organization or folder. |
move |
Moves the specified firewall policy. |
patch |
Patches the specified policy with the data included in the request. |
patchRule |
Patches a rule of the specified priority. |
removeAssociation |
Removes an association for the specified firewall policy. |
removeRule |
Deletes a rule of the specified priority. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.v1.firewalls
Functions | |
---|---|
delete |
Deletes the specified firewall. |
get |
Returns the specified firewall. |
insert |
Creates a firewall rule in the specified project using the data included in the request. |
list |
Retrieves the list of firewall rules available to the specified project. |
patch |
Updates the specified firewall rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
update |
Updates the specified firewall rule with the data included in the request. Note that all fields will be updated if using PUT, even fields that are not specified. To update individual fields, please use PATCH instead. |
Module: googleapis.compute.v1.forwardingRules
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of forwarding rules. |
delete |
Deletes the specified ForwardingRule resource. |
get |
Returns the specified ForwardingRule resource. |
insert |
Creates a ForwardingRule resource in the specified project and region using the data included in the request. |
list |
Retrieves a list of ForwardingRule resources available to the specified project and region. |
patch |
Updates the specified forwarding rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. Currently, you can only patch the network_tier field. |
setLabels |
Sets the labels on the specified resource. To learn more about labels, read the Labeling Resources documentation. |
setTarget |
Changes target URL for forwarding rule. The new target should be of the same type as the old target. |
Module: googleapis.compute.v1.globalAddresses
Functions | |
---|---|
delete |
Deletes the specified address resource. |
get |
Returns the specified address resource. |
insert |
Creates an address resource in the specified project by using the data included in the request. |
list |
Retrieves a list of global addresses. |
move |
Moves the specified address resource from one project to another project. |
setLabels |
Sets the labels on a GlobalAddress. To learn more about labels, read the Labeling Resources documentation. |
Module: googleapis.compute.v1.globalForwardingRules
Functions | |
---|---|
delete |
Deletes the specified GlobalForwardingRule resource. |
get |
Returns the specified GlobalForwardingRule resource. Gets a list of available forwarding rules by making a list() request. |
insert |
Creates a GlobalForwardingRule resource in the specified project using the data included in the request. |
list |
Retrieves a list of GlobalForwardingRule resources available to the specified project. |
patch |
Updates the specified forwarding rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. Currently, you can only patch the network_tier field. |
setLabels |
Sets the labels on the specified resource. To learn more about labels, read the Labeling resources documentation. |
setTarget |
Changes target URL for the GlobalForwardingRule resource. The new target should be of the same type as the old target. |
Module: googleapis.compute.v1.globalNetworkEndpointGroups
Functions | |
---|---|
attachNetworkEndpoints |
Attach a network endpoint to the specified network endpoint group. |
delete |
Deletes the specified network endpoint group.Note that the NEG cannot be deleted if there are backend services referencing it. |
detachNetworkEndpoints |
Detach the network endpoint from the specified network endpoint group. |
get |
Returns the specified network endpoint group. |
insert |
Creates a network endpoint group in the specified project using the parameters that are included in the request. |
list |
Retrieves the list of network endpoint groups that are located in the specified project. |
listNetworkEndpoints |
Lists the network endpoints in the specified network endpoint group. |
Module: googleapis.compute.v1.globalOperations
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of all operations. |
delete |
Deletes the specified Operations resource. |
get |
Retrieves the specified Operations resource. |
list |
Retrieves a list of Operation resources contained within the specified project. |
wait |
Waits for the specified Operation resource to return as DONE or for
the request to approach the 2 minute deadline, and retrieves the
specified Operation resource. This method differs from the GET method
in that it waits for no more than the default deadline (2 minutes) and
then returns the current state of the operation, which might be DONE
or still in progress. This method is called on a best-effort basis.
Specifically: - In uncommon cases, when the server is overloaded, the
request might return before the default deadline is reached, or might
return after zero seconds. - If the default deadline is reached, there
is no guarantee that the operation is actually done when the method
returns. Be prepared to retry if the operation is not DONE . |
Module: googleapis.compute.v1.globalOrganizationOperations
Functions | |
---|---|
delete |
Deletes the specified Operations resource. |
get |
Retrieves the specified Operations resource. Gets a list of operations
by making a list() request. |
list |
Retrieves a list of Operation resources contained within the specified organization. |
Module: googleapis.compute.v1.globalPublicDelegatedPrefixes
Functions | |
---|---|
delete |
Deletes the specified global PublicDelegatedPrefix. |
get |
Returns the specified global PublicDelegatedPrefix resource. |
insert |
Creates a global PublicDelegatedPrefix in the specified project using the parameters that are included in the request. |
list |
Lists the global PublicDelegatedPrefixes for a project. |
patch |
Patches the specified global PublicDelegatedPrefix resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. |
Module: googleapis.compute.v1.healthChecks
Functions | |
---|---|
aggregatedList |
Retrieves the list of all HealthCheck resources, regional and global, available to the specified project. |
delete |
Deletes the specified HealthCheck resource. |
get |
Returns the specified HealthCheck resource. |
insert |
Creates a HealthCheck resource in the specified project using the data included in the request. |
list |
Retrieves the list of HealthCheck resources available to the specified project. |
patch |
Updates a HealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
update |
Updates a HealthCheck resource in the specified project using the data included in the request. |
Module: googleapis.compute.v1.httpHealthChecks
Functions | |
---|---|
delete |
Deletes the specified HttpHealthCheck resource. |
get |
Returns the specified HttpHealthCheck resource. |
insert |
Creates a HttpHealthCheck resource in the specified project using the data included in the request. |
list |
Retrieves the list of HttpHealthCheck resources available to the specified project. |
patch |
Updates a HttpHealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
update |
Updates a HttpHealthCheck resource in the specified project using the data included in the request. |
Module: googleapis.compute.v1.httpsHealthChecks
Functions | |
---|---|
delete |
Deletes the specified HttpsHealthCheck resource. |
get |
Returns the specified HttpsHealthCheck resource. |
insert |
Creates a HttpsHealthCheck resource in the specified project using the data included in the request. |
list |
Retrieves the list of HttpsHealthCheck resources available to the specified project. |
patch |
Updates a HttpsHealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
update |
Updates a HttpsHealthCheck resource in the specified project using the data included in the request. |
Module: googleapis.compute.v1.imageFamilyViews
Functions | |
---|---|
get |
Returns the latest image that is part of an image family, is not deprecated and is rolled out in the specified zone. |
Module: googleapis.compute.v1.images
Functions | |
---|---|
delete |
Deletes the specified image. |
deprecate |
Sets the deprecation status of an image. If an empty request body is given, clears the deprecation status instead. |
get |
Returns the specified image. |
getFromFamily |
Returns the latest image that is part of an image family and is not deprecated. For more information on image families, see Public image families documentation. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
insert |
Creates an image in the specified project using the data included in the request. |
list |
Retrieves the list of custom images available to the specified project. Custom images are images you create that belong to your project. This method does not get any images that belong to other projects, including publicly-available images, like Debian 8. If you want to get a list of publicly-available images, use this method to make a request to the respective image project, such as debian-cloud or windows-cloud. |
patch |
Patches the specified image with the data included in the request. Only the following fields can be modified: family, description, deprecation status. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
setLabels |
Sets the labels on an image. To learn more about labels, read the Labeling Resources documentation. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.v1.instanceGroupManagers
Functions | |
---|---|
abandonInstances |
Flags the specified instances to be removed from the managed instance group. Abandoning an instance does not delete the instance, but it does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request. |
aggregatedList |
Retrieves the list of managed instance groups and groups them by zone. |
applyUpdatesToInstances |
Applies changes to selected instances on the managed instance group. This method can be used to apply new overrides and/or new versions. |
createInstances |
Creates instances with per-instance configurations in this managed instance group. Instances are created using the current instance template. The create instances operation is marked DONE if the createInstances request is successful. The underlying actions take additional time. You must separately verify the status of the creating or actions with the listmanagedinstances method. |
delete |
Deletes the specified managed instance group and all of the instances in that group. Note that the instance group must not belong to a backend service. Read Deleting an instance group for more information. |
deleteInstances |
Flags the specified instances in the managed instance group for immediate deletion. The instances are also removed from any target pools of which they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. This operation is marked as DONE when the action is scheduled even if the instances are still being deleted. You must separately verify the status of the deleting action with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request. |
deletePerInstanceConfigs |
Deletes selected per-instance configurations for the managed instance group. |
get |
Returns all of the details about the specified managed instance group. |
insert |
Creates a managed instance group using the information that you specify in the request. After the group is created, instances in the group are created using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method. A managed instance group can have up to 1000 VM instances per group. Please contact Cloud Support if you need an increase in this limit. |
list |
Retrieves a list of managed instance groups that are contained within the specified project and zone. |
listErrors |
Lists all errors thrown by actions on instances for a given managed instance group. The filter and orderBy query parameters are not supported. |
listManagedInstances |
Lists all of the instances in the managed instance group. Each instance
in the list has a currentAction, which indicates the action that the
managed instance group is performing on the instance. For example, if
the group is still creating an instance, the currentAction is CREATING.
If a previous action failed, the list displays the errors for that
failed action. The orderBy query parameter is not supported. The
pageToken query parameter is supported only in the alpha and beta API
and only if the group's listManagedInstancesResults field is set to
PAGINATED . |
listPerInstanceConfigs |
Lists all of the per-instance configurations defined for the managed instance group. The orderBy query parameter is not supported. |
patch |
Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is patched even if the instances in the group are still in the process of being patched. You must separately verify the status of the individual instances with the listManagedInstances method. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. If you update your group to specify a new template or instance configuration, it's possible that your intended specification for each VM in the group is different from the current state of that VM. To learn how to apply an updated configuration to the VMs in a MIG, see Updating instances in a MIG. |
patchPerInstanceConfigs |
Inserts or patches per-instance configurations for the managed instance group. perInstanceConfig.name serves as a key used to distinguish whether to perform insert or patch. |
recreateInstances |
Flags the specified VM instances in the managed instance group to be immediately recreated. Each instance is recreated using the group's current configuration. This operation is marked as DONE when the flag is set even if the instances have not yet been recreated. You must separately verify the status of each instance by checking its currentAction field; for more information, see Checking the status of managed instances. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request. |
resize |
Resizes the managed instance group. If you increase the size, the group creates new instances using the current instance template. If you decrease the size, the group deletes instances. The resize operation is marked DONE when the resize actions are scheduled even if the group has not yet added or deleted any instances. You must separately verify the status of the creating or deleting actions with the listmanagedinstances method. When resizing down, the instance group arbitrarily chooses the order in which VMs are deleted. The group takes into account some VM attributes when making the selection including: + The status of the VM instance. + The health of the VM instance. + The instance template version the VM is based on. + For regional managed instance groups, the location of the VM instance. This list is subject to change. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. |
setInstanceTemplate |
Specifies the instance template to use when creating new instances in this group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE. |
setTargetPools |
Modifies the target pools to which all instances in this managed instance group are assigned. The target pools automatically apply to all of the instances in the managed instance group. This operation is marked DONE when you make the request even if the instances have not yet been added to their target pools. The change might take some time to apply to all of the instances in the group depending on the size of the group. |
updatePerInstanceConfigs |
Inserts or updates per-instance configurations for the managed instance group. perInstanceConfig.name serves as a key used to distinguish whether to perform insert or patch. |
Module: googleapis.compute.v1.instanceGroups
Functions | |
---|---|
addInstances |
Adds a list of instances to the specified instance group. All of the instances in the instance group must be in the same network/subnetwork. Read Adding instances for more information. |
aggregatedList |
Retrieves the list of instance groups and sorts them by zone. |
delete |
Deletes the specified instance group. The instances in the group are not deleted. Note that instance group must not belong to a backend service. Read Deleting an instance group for more information. |
get |
Returns the specified zonal instance group. Get a list of available zonal instance groups by making a list() request. For managed instance groups, use the instanceGroupManagers or regionInstanceGroupManagers methods instead. |
insert |
Creates an instance group in the specified project using the parameters that are included in the request. |
list |
Retrieves the list of zonal instance group resources contained within the specified zone. For managed instance groups, use the instanceGroupManagers or regionInstanceGroupManagers methods instead. |
listInstances |
Lists the instances in the specified instance group. The orderBy query
parameter is not supported. The filter query parameter is supported, but
only for expressions that use eq (equal) or ne (not equal)
operators. |
removeInstances |
Removes one or more instances from the specified instance group, but does not delete those instances. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration before the VM instance is removed or deleted. |
setNamedPorts |
Sets the named ports for the specified instance group. |
Module: googleapis.compute.v1.instanceTemplates
Functions | |
---|---|
aggregatedList |
Retrieves the list of all InstanceTemplates resources, regional and global, available to the specified project. |
delete |
Deletes the specified instance template. Deleting an instance template is permanent and cannot be undone. It is not possible to delete templates that are already in use by a managed instance group. |
get |
Returns the specified instance template. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
insert |
Creates an instance template in the specified project using the data that is included in the request. If you are creating a new template to update an existing instance group, your new instance template must use the same network or, if applicable, the same subnetwork as the original template. |
list |
Retrieves a list of instance templates that are contained within the specified project. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.v1.instances
Functions | |
---|---|
addAccessConfig |
Adds an access config to an instance's network interface. |
addResourcePolicies |
Adds existing resource policies to an instance. You can only add one policy right now which will be applied to this instance for scheduling live migrations. |
aggregatedList |
Retrieves an aggregated list of all of the instances in your project across all regions and zones. The performance of this method degrades when a filter is specified on a project that has a very large number of instances. |
attachDisk |
Attaches an existing Disk resource to an instance. You must first create the disk before you can attach it. It is not possible to create and attach a disk at the same time. For more information, read Adding a persistent disk to your instance. |
bulkInsert |
Creates multiple instances. Count specifies the number of instances to create. For more information, see About bulk creation of VMs. |
delete |
Deletes the specified Instance resource. For more information, see Deleting an instance. |
deleteAccessConfig |
Deletes an access config from an instance's network interface. |
detachDisk |
Detaches a disk from an instance. |
get |
Returns the specified Instance resource. |
getEffectiveFirewalls |
Returns effective firewalls applied to an interface of the instance. |
getGuestAttributes |
Returns the specified guest attributes entry. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
getScreenshot |
Returns the screenshot from the specified instance. |
getSerialPortOutput |
Returns the last 1 MB of serial port output from the specified instance. |
getShieldedInstanceIdentity |
Returns the Shielded Instance Identity of an instance |
insert |
Creates an instance resource in the specified project using the data included in the request. |
list |
Retrieves the list of instances contained within the specified zone. |
listReferrers |
Retrieves a list of resources that refer to the VM instance specified in the request. For example, if the VM instance is part of a managed or unmanaged instance group, the referrers list includes the instance group. For more information, read Viewing referrers to VM instances. |
removeResourcePolicies |
Removes resource policies from an instance. |
reset |
Performs a reset on the instance. This is a hard reset. The VM does not do a graceful shutdown. For more information, see Resetting an instance. |
resume |
Resumes an instance that was suspended using the instances().suspend method. |
sendDiagnosticInterrupt |
Sends diagnostic interrupt to the instance. |
setDeletionProtection |
Sets deletion protection on the instance. |
setDiskAutoDelete |
Sets the auto-delete flag for a disk attached to an instance. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
setLabels |
Sets labels on an instance. To learn more about labels, read the Labeling Resources documentation. |
setMachineResources |
Changes the number and/or type of accelerator for a stopped instance to the values specified in the request. |
setMachineType |
Changes the machine type for a stopped instance to the machine type specified in the request. |
setMetadata |
Sets metadata for the specified instance to the data included in the request. |
setMinCpuPlatform |
Changes the minimum CPU platform that this instance should use. This method can only be called on a stopped instance. For more information, read Specifying a Minimum CPU Platform. |
setName |
Sets name of an instance. |
setScheduling |
Sets an instance's scheduling options. You can only call this method on
a stopped instance, that is, a VM instance that is in a TERMINATED
state. See Instance Life Cycle for more information on the possible
instance states. For more information about setting scheduling options
for a VM, see Set VM host maintenance policy. |
setServiceAccount |
Sets the service account on the instance. For more information, read Changing the service account and access scopes for an instance. |
setShieldedInstanceIntegrityPolicy |
Sets the Shielded Instance integrity policy for an instance. You can only use this method on a running instance. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
setTags |
Sets network tags for the specified instance to the data included in the request. |
simulateMaintenanceEvent |
Simulates a host maintenance event on a VM. For more information, see Simulate a host maintenance event. |
start |
Starts an instance that was stopped using the instances().stop method. For more information, see Restart an instance. |
startWithEncryptionKey |
Starts an instance that was stopped using the instances().stop method. For more information, see Restart an instance. |
stop |
Stops a running instance, shutting it down cleanly, and allows you to restart the instance at a later time. Stopped instances do not incur VM usage charges while they are stopped. However, resources that the VM is using, such as persistent disks and static IP addresses, will continue to be charged until they are deleted. For more information, see Stopping an instance. |
suspend |
This method suspends a running instance, saving its state to persistent storage, and allows you to resume the instance at a later time. Suspended instances have no compute costs (cores or RAM), and incur only storage charges for the saved VM memory and localSSD data. Any charged resources the virtual machine was using, such as persistent disks and static IP addresses, will continue to be charged while the instance is suspended. For more information, see Suspending and resuming an instance. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
update |
Updates an instance only if the necessary resources are available. This method can update only a specific set of instance properties. See Updating a running instance for a list of updatable instance properties. |
updateAccessConfig |
Updates the specified access config from an instance's network interface with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
updateDisplayDevice |
Updates the Display config for a VM instance. You can only use this method on a stopped VM instance. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
updateNetworkInterface |
Updates an instance's network interface. This method can only update an interface's alias IP range and attached network. See Modifying alias IP ranges for an existing instance for instructions on changing alias IP ranges. See Migrating a VM between networks for instructions on migrating an interface. This method follows PATCH semantics. |
updateShieldedInstanceConfig |
Updates the Shielded Instance config for an instance. You can only use this method on a stopped instance. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
Module: googleapis.compute.v1.interconnectAttachments
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of interconnect attachments. |
delete |
Deletes the specified interconnect attachment. |
get |
Returns the specified interconnect attachment. |
insert |
Creates an InterconnectAttachment in the specified project using the data included in the request. |
list |
Retrieves the list of interconnect attachments contained within the specified region. |
patch |
Updates the specified interconnect attachment with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
setLabels |
Sets the labels on an InterconnectAttachment. To learn more about labels, read the Labeling Resources documentation. |
Module: googleapis.compute.v1.interconnectLocations
Functions | |
---|---|
get |
Returns the details for the specified interconnect location. Gets a list of available interconnect locations by making a list() request. |
list |
Retrieves the list of interconnect locations available to the specified project. |
Module: googleapis.compute.v1.interconnectRemoteLocations
Functions | |
---|---|
get |
Returns the details for the specified interconnect remote location. Gets a list of available interconnect remote locations by making a list() request. |
list |
Retrieves the list of interconnect remote locations available to the specified project. |
Module: googleapis.compute.v1.interconnects
Functions | |
---|---|
delete |
Deletes the specified Interconnect. |
get |
Returns the specified Interconnect. Get a list of available Interconnects by making a list() request. |
getDiagnostics |
Returns the interconnectDiagnostics for the specified Interconnect. |
insert |
Creates an Interconnect in the specified project using the data included in the request. |
list |
Retrieves the list of Interconnects available to the specified project. |
patch |
Updates the specified Interconnect with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
setLabels |
Sets the labels on an Interconnect. To learn more about labels, read the Labeling Resources documentation. |
Module: googleapis.compute.v1.licenseCodes
Functions | |
---|---|
get |
Return a specified license code. License codes are mirrored across all projects that have permissions to read the License Code. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. |
Module: googleapis.compute.v1.licenses
Functions | |
---|---|
delete |
Deletes the specified license. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. |
get |
Returns the specified License resource. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. |
insert |
Create a License resource in the specified project. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. |
list |
Retrieves the list of licenses available in the specified project. This method 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 this method to make a request to the respective image project, such as debian-cloud or windows-cloud. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. |
Module: googleapis.compute.v1.machineImages
Functions | |
---|---|
delete |
Deletes the specified machine image. Deleting a machine image is permanent and cannot be undone. |
get |
Returns the specified machine image. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
insert |
Creates a machine image in the specified project using the data that is included in the request. If you are creating a new machine image to update an existing instance, your new machine image should use the same network or, if applicable, the same subnetwork as the original instance. |
list |
Retrieves a list of machine images that are contained within the specified project. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.v1.machineTypes
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of machine types. |
get |
Returns the specified machine type. |
list |
Retrieves a list of machine types available to the specified project. |
Module: googleapis.compute.v1.networkAttachments
Functions | |
---|---|
aggregatedList |
Retrieves the list of all NetworkAttachment resources, regional and global, available to the specified project. |
delete |
Deletes the specified NetworkAttachment in the given scope |
get |
Returns the specified NetworkAttachment resource in the given scope. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
insert |
Creates a NetworkAttachment in the specified project in the given scope using the parameters that are included in the request. |
list |
Lists the NetworkAttachments for a project in the given scope. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.v1.networkEdgeSecurityServices
Functions | |
---|---|
aggregatedList |
Retrieves the list of all NetworkEdgeSecurityService resources available to the specified project. |
delete |
Deletes the specified service. |
get |
Gets a specified NetworkEdgeSecurityService. |
insert |
Creates a new service in the specified project using the data included in the request. |
patch |
Patches the specified policy with the data included in the request. |
Module: googleapis.compute.v1.networkEndpointGroups
Functions | |
---|---|
aggregatedList |
Retrieves the list of network endpoint groups and sorts them by zone. |
attachNetworkEndpoints |
Attach a list of network endpoints to the specified network endpoint group. |
delete |
Deletes the specified network endpoint group. The network endpoints in the NEG and the VM instances they belong to are not terminated when the NEG is deleted. Note that the NEG cannot be deleted if there are backend services referencing it. |
detachNetworkEndpoints |
Detach a list of network endpoints from the specified network endpoint group. |
get |
Returns the specified network endpoint group. |
insert |
Creates a network endpoint group in the specified project using the parameters that are included in the request. |
list |
Retrieves the list of network endpoint groups that are located in the specified project and zone. |
listNetworkEndpoints |
Lists the network endpoints in the specified network endpoint group. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.v1.networkFirewallPolicies
Functions | |
---|---|
addAssociation |
Inserts an association for the specified firewall policy. |
addRule |
Inserts a rule into a firewall policy. |
cloneRules |
Copies rules to the specified firewall policy. |
delete |
Deletes the specified policy. |
get |
Returns the specified network firewall policy. |
getAssociation |
Gets an association with the specified name. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
getRule |
Gets a rule of the specified priority. |
insert |
Creates a new policy in the specified project using the data included in the request. |
list |
Lists all the policies that have been configured for the specified project. |
patch |
Patches the specified policy with the data included in the request. |
patchRule |
Patches a rule of the specified priority. |
removeAssociation |
Removes an association for the specified firewall policy. |
removeRule |
Deletes a rule of the specified priority. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.v1.networks
Functions | |
---|---|
addPeering |
Adds a peering to the specified network. |
delete |
Deletes the specified network. |
get |
Returns the specified network. |
getEffectiveFirewalls |
Returns the effective firewalls on a given network. |
insert |
Creates a network in the specified project using the data included in the request. |
list |
Retrieves the list of networks available to the specified project. |
listPeeringRoutes |
Lists the peering routes exchanged over peering connection. |
patch |
Patches the specified network with the data included in the request. Only the following fields can be modified: routingConfig.routingMode. |
removePeering |
Removes a peering from the specified network. |
switchToCustomMode |
Switches the network mode from auto subnet mode to custom subnet mode. |
updatePeering |
Updates the specified network peering with the data included in the request. You can only modify the NetworkPeering.export_custom_routes field and the NetworkPeering.import_custom_routes field. |
Module: googleapis.compute.v1.nodeGroups
Functions | |
---|---|
addNodes |
Adds specified number of nodes to the node group. |
aggregatedList |
Retrieves an aggregated list of node groups. Note: use nodeGroups.listNodes for more details about each group. |
delete |
Deletes the specified NodeGroup resource. |
deleteNodes |
Deletes specified nodes from the node group. |
get |
Returns the specified NodeGroup. Get a list of available NodeGroups by making a list() request. Note: the "nodes" field should not be used. Use nodeGroups.listNodes instead. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
insert |
Creates a NodeGroup resource in the specified project using the data included in the request. |
list |
Retrieves a list of node groups available to the specified project. Note: use nodeGroups.listNodes for more details about each group. |
listNodes |
Lists nodes in the node group. |
patch |
Updates the specified node group. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
setNodeTemplate |
Updates the node template of the node group. |
simulateMaintenanceEvent |
Simulates maintenance event on specified nodes from the node group. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.v1.nodeTemplates
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of node templates. |
delete |
Deletes the specified NodeTemplate resource. |
get |
Returns the specified node template. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
insert |
Creates a NodeTemplate resource in the specified project using the data included in the request. |
list |
Retrieves a list of node templates available to the specified project. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.v1.nodeTypes
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of node types. |
get |
Returns the specified node type. |
list |
Retrieves a list of node types available to the specified project. |
Module: googleapis.compute.v1.packetMirrorings
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of packetMirrorings. |
delete |
Deletes the specified PacketMirroring resource. |
get |
Returns the specified PacketMirroring resource. |
insert |
Creates a PacketMirroring resource in the specified project and region using the data included in the request. |
list |
Retrieves a list of PacketMirroring resources available to the specified project and region. |
patch |
Patches the specified PacketMirroring resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.v1.projects
Functions | |
---|---|
disableXpnHost |
Disable this project as a shared VPC host project. |
disableXpnResource |
Disable a service resource (also known as service project) associated with this host project. |
enableXpnHost |
Enable this project as a shared VPC host project. |
enableXpnResource |
Enable service resource (a.k.a service project) for a host project, so that subnets in the host project can be used by instances in the service project. |
get |
Returns the specified Project resource. To decrease latency for this
method, you can optionally omit any unneeded information from the
response by using a field mask. This practice is especially recommended
for unused quota information (the quotas field). To exclude one or
more fields, set your request's fields query parameter to only include
the fields you need. For example, to only include the id and
selfLink fields, add the query parameter ?fields=id,selfLink to your
request. |
getXpnHost |
Gets the shared VPC host project that this project links to. May be empty if no link exists. |
getXpnResources |
Gets service resources (a.k.a service project) associated with this host project. |
listXpnHosts |
Lists all shared VPC host projects visible to the user in an organization. |
moveDisk |
Moves a persistent disk from one zone to another. |
moveInstance |
Moves an instance and its attached persistent disks from one zone to another. Note: Moving VMs or disks by using this method might cause unexpected behavior. For more information, see the known issue. [Deprecated] This method is deprecated. See moving instance across zones instead. |
setCommonInstanceMetadata |
Sets metadata common to all instances within the specified project using the data included in the request. |
setDefaultNetworkTier |
Sets the default network tier of the project. The default network tier is used when an address/forwardingRule/instance is created without specifying the network tier field. |
setUsageExportBucket |
Enables the usage export feature and sets the usage export bucket where reports are stored. If you provide an empty request body using this method, the usage export feature will be disabled. |
Module: googleapis.compute.v1.publicAdvertisedPrefixes
Functions | |
---|---|
delete |
Deletes the specified PublicAdvertisedPrefix |
get |
Returns the specified PublicAdvertisedPrefix resource. |
insert |
Creates a PublicAdvertisedPrefix in the specified project using the parameters that are included in the request. |
list |
Lists the PublicAdvertisedPrefixes for a project. |
patch |
Patches the specified Router resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. |
Module: googleapis.compute.v1.publicDelegatedPrefixes
Functions | |
---|---|
aggregatedList |
Lists all PublicDelegatedPrefix resources owned by the specific project across all scopes. |
delete |
Deletes the specified PublicDelegatedPrefix in the given region. |
get |
Returns the specified PublicDelegatedPrefix resource in the given region. |
insert |
Creates a PublicDelegatedPrefix in the specified project in the given region using the parameters that are included in the request. |
list |
Lists the PublicDelegatedPrefixes for a project in the given region. |
patch |
Patches the specified PublicDelegatedPrefix resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. |
Module: googleapis.compute.v1.regionAutoscalers
Functions | |
---|---|
delete |
Deletes the specified autoscaler. |
get |
Returns the specified autoscaler. |
insert |
Creates an autoscaler in the specified project using the data included in the request. |
list |
Retrieves a list of autoscalers contained within the specified region. |
patch |
Updates an autoscaler in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
update |
Updates an autoscaler in the specified project using the data included in the request. |
Module: googleapis.compute.v1.regionBackendServices
Functions | |
---|---|
delete |
Deletes the specified regional BackendService resource. |
get |
Returns the specified regional BackendService resource. |
getHealth |
Gets the most recent health check results for this regional BackendService. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
insert |
Creates a regional BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview. |
list |
Retrieves the list of regional BackendService resources available to the specified project in the given region. |
patch |
Updates the specified regional BackendService resource with the data included in the request. For more information, see Understanding backend services This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
update |
Updates the specified regional BackendService resource with the data included in the request. For more information, see Backend services overview . |
Module: googleapis.compute.v1.regionCommitments
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of commitments by region. |
get |
Returns the specified commitment resource. |
insert |
Creates a commitment in the specified project using the data included in the request. |
list |
Retrieves a list of commitments contained within the specified region. |
update |
Updates the specified commitment with the data included in the request. Update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: auto_renew. |
Module: googleapis.compute.v1.regionDiskTypes
Functions | |
---|---|
get |
Returns the specified regional disk type. |
list |
Retrieves a list of regional disk types available to the specified project. |
Module: googleapis.compute.v1.regionDisks
Functions | |
---|---|
addResourcePolicies |
Adds existing resource policies to a regional disk. You can only add one policy which will be applied to this disk for scheduling snapshot creation. |
bulkInsert |
Bulk create a set of disks. |
createSnapshot |
Creates a snapshot of a specified persistent disk. For regular snapshot creation, consider using snapshots.insert instead, as that method supports more features, such as creating snapshots in a project different from the source disk project. |
delete |
Deletes the specified regional persistent disk. Deleting a regional disk removes all the replicas of its data permanently and is irreversible. However, deleting a disk does not delete any snapshots previously made from the disk. You must separately delete snapshots. |
get |
Returns a specified regional persistent disk. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
insert |
Creates a persistent regional disk in the specified project using the data included in the request. |
list |
Retrieves the list of persistent disks contained within the specified region. |
removeResourcePolicies |
Removes resource policies from a regional disk. |
resize |
Resizes the specified regional persistent disk. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
setLabels |
Sets the labels on the target regional disk. |
startAsyncReplication |
Starts asynchronous replication. Must be invoked on the primary disk. |
stopAsyncReplication |
Stops asynchronous replication. Can be invoked either on the primary or on the secondary disk. |
stopGroupAsyncReplication |
Stops asynchronous replication for a consistency group of disks. Can be invoked either in the primary or secondary scope. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
update |
Update the specified disk with the data included in the request. Update is 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 | |
---|---|
delete |
Deletes the specified regional HealthCheckService. |
get |
Returns the specified regional HealthCheckService resource. |
insert |
Creates a regional HealthCheckService resource in the specified project and region using the data included in the request. |
list |
Lists all the HealthCheckService resources that have been configured for the specified project in the given region. |
patch |
Updates the specified regional HealthCheckService resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
Module: googleapis.compute.v1.regionHealthChecks
Functions | |
---|---|
delete |
Deletes the specified HealthCheck resource. |
get |
Returns the specified HealthCheck resource. |
insert |
Creates a HealthCheck resource in the specified project using the data included in the request. |
list |
Retrieves the list of HealthCheck resources available to the specified project. |
patch |
Updates a HealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
update |
Updates a HealthCheck resource in the specified project using the data included in the request. |
Module: googleapis.compute.v1.regionInstanceGroupManagers
Functions | |
---|---|
abandonInstances |
Flags the specified instances to be immediately removed from the managed instance group. Abandoning an instance does not delete the instance, but it does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request. |
applyUpdatesToInstances |
Apply updates to selected instances the managed instance group. |
createInstances |
Creates instances with per-instance configurations in this regional managed instance group. Instances are created using the current instance template. The create instances operation is marked DONE if the createInstances request is successful. The underlying actions take additional time. You must separately verify the status of the creating or actions with the listmanagedinstances method. |
delete |
Deletes the specified managed instance group and all of the instances in that group. |
deleteInstances |
Flags the specified instances in the managed instance group to be immediately deleted. The instances are also removed from any target pools of which they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. The deleteInstances operation is marked DONE if the deleteInstances request is successful. The underlying actions take additional time. You must separately verify the status of the deleting action with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request. |
deletePerInstanceConfigs |
Deletes selected per-instance configurations for the managed instance group. |
get |
Returns all of the details about the specified managed instance group. |
insert |
Creates a managed instance group using the information that you specify in the request. After the group is created, instances in the group are created using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method. A regional managed instance group can contain up to 2000 instances. |
list |
Retrieves the list of managed instance groups that are contained within the specified region. |
listErrors |
Lists all errors thrown by actions on instances for a given regional managed instance group. The filter and orderBy query parameters are not supported. |
listManagedInstances |
Lists the instances in the managed instance group and instances that are
scheduled to be created. The list includes any current actions that the
group has scheduled for its instances. The orderBy query parameter is
not supported. The pageToken query parameter is supported only in the
alpha and beta API and only if the group's listManagedInstancesResults
field is set to PAGINATED . |
listPerInstanceConfigs |
Lists all of the per-instance configurations defined for the managed instance group. The orderBy query parameter is not supported. |
patch |
Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is patched even if the instances in the group are still in the process of being patched. You must separately verify the status of the individual instances with the listmanagedinstances method. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. If you update your group to specify a new template or instance configuration, it's possible that your intended specification for each VM in the group is different from the current state of that VM. To learn how to apply an updated configuration to the VMs in a MIG, see Updating instances in a MIG. |
patchPerInstanceConfigs |
Inserts or patches per-instance configurations for the managed instance group. perInstanceConfig.name serves as a key used to distinguish whether to perform insert or patch. |
recreateInstances |
Flags the specified VM instances in the managed instance group to be immediately recreated. Each instance is recreated using the group's current configuration. This operation is marked as DONE when the flag is set even if the instances have not yet been recreated. You must separately verify the status of each instance by checking its currentAction field; for more information, see Checking the status of managed instances. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request. |
resize |
Changes the intended size of the managed instance group. If you increase the size, the group creates new instances using the current instance template. If you decrease the size, the group deletes one or more instances. The resize operation is marked DONE if the resize request is successful. The underlying actions take additional time. You must separately verify the status of the creating or deleting actions with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. |
setInstanceTemplate |
Sets the instance template to use when creating new instances or recreating instances in this group. Existing instances are not affected. |
setTargetPools |
Modifies the target pools to which all new instances in this group are assigned. Existing instances in the group are not affected. |
updatePerInstanceConfigs |
Inserts or updates per-instance configurations for the managed instance group. perInstanceConfig.name serves as a key used to distinguish whether to perform insert or patch. |
Module: googleapis.compute.v1.regionInstanceGroups
Functions | |
---|---|
get |
Returns the specified instance group resource. |
list |
Retrieves the list of instance group resources contained within the specified region. |
listInstances |
Lists the instances in the specified instance group and displays information about the named ports. Depending on the specified options, this method can list all instances or only the instances that are running. The orderBy query parameter is not supported. |
setNamedPorts |
Sets the named ports for the specified regional instance group. |
Module: googleapis.compute.v1.regionInstances
Functions | |
---|---|
bulkInsert |
Creates multiple instances in a given region. Count specifies the number of instances to create. |
Module: googleapis.compute.v1.regionNetworkEndpointGroups
Functions | |
---|---|
delete |
Deletes the specified network endpoint group. Note that the NEG cannot be deleted if it is configured as a backend of a backend service. |
get |
Returns the specified network endpoint group. |
insert |
Creates a network endpoint group in the specified project using the parameters that are included in the request. |
list |
Retrieves the list of regional network endpoint groups available to the specified project in the given region. |
Module: googleapis.compute.v1.regionNetworkFirewallPolicies
Functions | |
---|---|
addAssociation |
Inserts an association for the specified network firewall policy. |
addRule |
Inserts a rule into a network firewall policy. |
cloneRules |
Copies rules to the specified network firewall policy. |
delete |
Deletes the specified network firewall policy. |
get |
Returns the specified network firewall policy. |
getAssociation |
Gets an association with the specified name. |
getEffectiveFirewalls |
Returns the effective firewalls on a given network. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
getRule |
Gets a rule of the specified priority. |
insert |
Creates a new network firewall policy in the specified project and region. |
list |
Lists all the network firewall policies that have been configured for the specified project in the given region. |
patch |
Patches the specified network firewall policy. |
patchRule |
Patches a rule of the specified priority. |
removeAssociation |
Removes an association for the specified network firewall policy. |
removeRule |
Deletes a rule of the specified priority. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.v1.regionNotificationEndpoints
Functions | |
---|---|
delete |
Deletes the specified NotificationEndpoint in the given region |
get |
Returns the specified NotificationEndpoint resource in the given region. |
insert |
Create a NotificationEndpoint in the specified project in the given region using the parameters that are included in the request. |
list |
Lists the NotificationEndpoints for a project in the given region. |
Module: googleapis.compute.v1.regionOperations
Functions | |
---|---|
delete |
Deletes the specified region-specific Operations resource. |
get |
Retrieves the specified region-specific Operations resource. |
list |
Retrieves a list of Operation resources contained within the specified region. |
wait |
Waits for the specified Operation resource to return as DONE or for
the request to approach the 2 minute deadline, and retrieves the
specified Operation resource. This method differs from the GET method
in that it waits for no more than the default deadline (2 minutes) and
then returns the current state of the operation, which might be DONE
or still in progress. This method is called on a best-effort basis.
Specifically: - In uncommon cases, when the server is overloaded, the
request might return before the default deadline is reached, or might
return after zero seconds. - If the default deadline is reached, there
is no guarantee that the operation is actually done when the method
returns. Be prepared to retry if the operation is not DONE . |
Module: googleapis.compute.v1.regionSecurityPolicies
Functions | |
---|---|
delete |
Deletes the specified policy. |
get |
List all of the ordered rules present in a single specified policy. |
insert |
Creates a new policy in the specified project using the data included in the request. |
list |
List all the policies that have been configured for the specified project and region. |
patch |
Patches the specified policy with the data included in the request. To clear fields in the policy, leave the fields empty and specify them in the updateMask. This cannot be used to be update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead. |
Module: googleapis.compute.v1.regionSslCertificates
Functions | |
---|---|
delete |
Deletes the specified SslCertificate resource in the region. |
get |
Returns the specified SslCertificate resource in the specified region. Get a list of available SSL certificates by making a list() request. |
insert |
Creates a SslCertificate resource in the specified project and region using the data included in the request |
list |
Retrieves the list of SslCertificate resources available to the specified project in the specified region. |
Module: googleapis.compute.v1.regionSslPolicies
Functions | |
---|---|
delete |
Deletes the specified SSL policy. The SSL policy resource can be deleted only if it is not in use by any TargetHttpsProxy or TargetSslProxy resources. |
get |
Lists all of the ordered rules present in a single specified policy. |
insert |
Creates a new policy in the specified project and region using the data included in the request. |
list |
Lists all the SSL policies that have been configured for the specified project and region. |
listAvailableFeatures |
Lists all features that can be specified in the SSL policy when using custom profile. |
patch |
Patches the specified SSL policy with the data included in the request. |
Module: googleapis.compute.v1.regionTargetHttpProxies
Functions | |
---|---|
delete |
Deletes the specified TargetHttpProxy resource. |
get |
Returns the specified TargetHttpProxy resource in the specified region. |
insert |
Creates a TargetHttpProxy resource in the specified project and region using the data included in the request. |
list |
Retrieves the list of TargetHttpProxy resources available to the specified project in the specified region. |
setUrlMap |
Changes the URL map for TargetHttpProxy. |
Module: googleapis.compute.v1.regionTargetHttpsProxies
Functions | |
---|---|
delete |
Deletes the specified TargetHttpsProxy resource. |
get |
Returns the specified TargetHttpsProxy resource in the specified region. |
insert |
Creates a TargetHttpsProxy resource in the specified project and region using the data included in the request. |
list |
Retrieves the list of TargetHttpsProxy resources available to the specified project in the specified region. |
patch |
Patches the specified regional TargetHttpsProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. |
setSslCertificates |
Replaces SslCertificates for TargetHttpsProxy. |
setUrlMap |
Changes the URL map for TargetHttpsProxy. |
Module: googleapis.compute.v1.regionTargetTcpProxies
Functions | |
---|---|
delete |
Deletes the specified TargetTcpProxy resource. |
get |
Returns the specified TargetTcpProxy resource. |
insert |
Creates a TargetTcpProxy resource in the specified project and region using the data included in the request. |
list |
Retrieves a list of TargetTcpProxy resources available to the specified project in a given region. |
Module: googleapis.compute.v1.regionUrlMaps
Functions | |
---|---|
delete |
Deletes the specified UrlMap resource. |
get |
Returns the specified UrlMap resource. |
insert |
Creates a UrlMap resource in the specified project using the data included in the request. |
list |
Retrieves the list of UrlMap resources available to the specified project in the specified region. |
patch |
Patches the specified UrlMap resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. |
update |
Updates the specified UrlMap resource with the data included in the request. |
validate |
Runs static validation for the UrlMap. In particular, the tests of the provided UrlMap will be run. Calling this method does NOT create the UrlMap. |
Module: googleapis.compute.v1.regions
Functions | |
---|---|
get |
Returns the specified Region resource. To decrease latency for this
method, you can optionally omit any unneeded information from the
response by using a field mask. This practice is especially recommended
for unused quota information (the quotas field). To exclude one or
more fields, set your request's fields query parameter to only include
the fields you need. For example, to only include the id and
selfLink fields, add the query parameter ?fields=id,selfLink to your
request. |
list |
Retrieves the list of region resources available to the specified
project. To decrease latency for this method, you can optionally omit
any unneeded information from the response by using a field mask. This
practice is especially recommended for unused quota information (the
items.quotas field). To exclude one or more fields, set your request's
fields query parameter to only include the fields you need. For
example, to only include the id and selfLink fields, add the query
parameter ?fields=id,selfLink to your request. |
Module: googleapis.compute.v1.reservations
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of reservations. |
delete |
Deletes the specified reservation. |
get |
Retrieves information about the specified reservation. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
insert |
Creates a new reservation. For more information, read Reserving zonal resources. |
list |
A list of all the reservations that have been configured for the specified project in specified zone. |
resize |
Resizes the reservation (applicable to standalone reservations only). For more information, read Modifying reservations. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
update |
Update share settings of the reservation. |
Module: googleapis.compute.v1.resourcePolicies
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of resource policies. |
delete |
Deletes the specified resource policy. |
get |
Retrieves all information of the specified resource policy. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
insert |
Creates a new resource policy. |
list |
A list all the resource policies that have been configured for the specified project in specified region. |
patch |
Modify the specified resource policy. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.v1.routers
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of routers. |
delete |
Deletes the specified Router resource. |
get |
Returns the specified Router resource. |
getNatIpInfo |
Retrieves runtime NAT IP information. |
getNatMappingInfo |
Retrieves runtime Nat mapping information of VM endpoints. |
getRouterStatus |
Retrieves runtime information of the specified router. |
insert |
Creates a Router resource in the specified project and region using the data included in the request. |
list |
Retrieves a list of Router resources available to the specified project. |
patch |
Patches the specified Router resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. |
preview |
Preview fields auto-generated during router create and update operations. Calling this method does NOT create or update the router. |
update |
Updates the specified Router resource with the data included in the request. This method conforms to PUT semantics, which requests that the state of the target resource be created or replaced with the state defined by the representation enclosed in the request message payload. |
Module: googleapis.compute.v1.routes
Functions | |
---|---|
delete |
Deletes the specified Route resource. |
get |
Returns the specified Route resource. |
insert |
Creates a Route resource in the specified project using the data included in the request. |
list |
Retrieves the list of Route resources available to the specified project. |
Module: googleapis.compute.v1.securityPolicies
Functions | |
---|---|
addRule |
Inserts a rule into a security policy. |
aggregatedList |
Retrieves the list of all SecurityPolicy resources, regional and global, available to the specified project. |
delete |
Deletes the specified policy. |
get |
List all of the ordered rules present in a single specified policy. |
getRule |
Gets a rule at the specified priority. |
insert |
Creates a new policy in the specified project using the data included in the request. |
list |
List all the policies that have been configured for the specified project. |
listPreconfiguredExpressionSets |
Gets the current list of preconfigured Web Application Firewall (WAF) expressions. |
patch |
Patches the specified policy with the data included in the request. To clear fields in the policy, leave the fields empty and specify them in the updateMask. This cannot be used to be update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead. |
patchRule |
Patches a rule at the specified priority. To clear fields in the rule, leave the fields empty and specify them in the updateMask. |
removeRule |
Deletes a rule at the specified priority. |
setLabels |
Sets the labels on a security policy. To learn more about labels, read the Labeling Resources documentation. |
Module: googleapis.compute.v1.serviceAttachments
Functions | |
---|---|
aggregatedList |
Retrieves the list of all ServiceAttachment resources, regional and global, available to the specified project. |
delete |
Deletes the specified ServiceAttachment in the given scope |
get |
Returns the specified ServiceAttachment resource in the given scope. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
insert |
Creates a ServiceAttachment in the specified project in the given scope using the parameters that are included in the request. |
list |
Lists the ServiceAttachments for a project in the given scope. |
patch |
Patches the specified ServiceAttachment resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.v1.snapshots
Functions | |
---|---|
delete |
Deletes the specified Snapshot resource. Keep in mind that deleting a single snapshot might not necessarily delete all the data on that snapshot. If any data on the snapshot that is marked for deletion is needed for subsequent snapshots, the data will be moved to the next corresponding snapshot. For more information, see Deleting snapshots. |
get |
Returns the specified Snapshot resource. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
insert |
Creates a snapshot in the specified project using the data included in the request. For regular snapshot creation, consider using this method instead of disks.createSnapshot, as this method supports more features, such as creating snapshots in a project different from the source disk project. |
list |
Retrieves the list of Snapshot resources contained within the specified project. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
setLabels |
Sets the labels on a snapshot. To learn more about labels, read the Labeling Resources documentation. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.v1.sslCertificates
Functions | |
---|---|
aggregatedList |
Retrieves the list of all SslCertificate resources, regional and global, available to the specified project. |
delete |
Deletes the specified SslCertificate resource. |
get |
Returns the specified SslCertificate resource. |
insert |
Creates a SslCertificate resource in the specified project using the data included in the request. |
list |
Retrieves the list of SslCertificate resources available to the specified project. |
Module: googleapis.compute.v1.sslPolicies
Functions | |
---|---|
aggregatedList |
Retrieves the list of all SslPolicy resources, regional and global, available to the specified project. |
delete |
Deletes the specified SSL policy. The SSL policy resource can be deleted only if it is not in use by any TargetHttpsProxy or TargetSslProxy resources. |
get |
Lists all of the ordered rules present in a single specified policy. |
insert |
Returns the specified SSL policy resource. |
list |
Lists all the SSL policies that have been configured for the specified project. |
listAvailableFeatures |
Lists all features that can be specified in the SSL policy when using custom profile. |
patch |
Patches the specified SSL policy with the data included in the request. |
Module: googleapis.compute.v1.subnetworks
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of subnetworks. |
delete |
Deletes the specified subnetwork. |
expandIpCidrRange |
Expands the IP CIDR range of the subnetwork to a specified value. |
get |
Returns the specified subnetwork. |
getIamPolicy |
Gets the access control policy for a resource. May be empty if no such policy or resource exists. |
insert |
Creates a subnetwork in the specified project using the data included in the request. |
list |
Retrieves a list of subnetworks available to the specified project. |
listUsable |
Retrieves an aggregated list of all usable subnetworks in the project. |
patch |
Patches the specified subnetwork with the data included in the request. Only certain fields can be updated with a patch request as indicated in the field descriptions. You must specify the current fingerprint of the subnetwork resource being patched. |
setIamPolicy |
Sets the access control policy on the specified resource. Replaces any existing policy. |
setPrivateIpGoogleAccess |
Set whether VMs in this subnet can access Google services without assigning external IP addresses through Private Google Access. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.v1.targetGrpcProxies
Functions | |
---|---|
delete |
Deletes the specified TargetGrpcProxy in the given scope |
get |
Returns the specified TargetGrpcProxy resource in the given scope. |
insert |
Creates a TargetGrpcProxy in the specified project in the given scope using the parameters that are included in the request. |
list |
Lists the TargetGrpcProxies for a project in the given scope. |
patch |
Patches the specified TargetGrpcProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. |
Module: googleapis.compute.v1.targetHttpProxies
Functions | |
---|---|
aggregatedList |
Retrieves the list of all TargetHttpProxy resources, regional and global, available to the specified project. |
delete |
Deletes the specified TargetHttpProxy resource. |
get |
Returns the specified TargetHttpProxy resource. |
insert |
Creates a TargetHttpProxy resource in the specified project using the data included in the request. |
list |
Retrieves the list of TargetHttpProxy resources available to the specified project. |
patch |
Patches the specified TargetHttpProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. |
setUrlMap |
Changes the URL map for TargetHttpProxy. |
Module: googleapis.compute.v1.targetHttpsProxies
Functions | |
---|---|
aggregatedList |
Retrieves the list of all TargetHttpsProxy resources, regional and global, available to the specified project. |
delete |
Deletes the specified TargetHttpsProxy resource. |
get |
Returns the specified TargetHttpsProxy resource. |
insert |
Creates a TargetHttpsProxy resource in the specified project using the data included in the request. |
list |
Retrieves the list of TargetHttpsProxy resources available to the specified project. |
patch |
Patches the specified TargetHttpsProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. |
setCertificateMap |
Changes the Certificate Map for TargetHttpsProxy. |
setQuicOverride |
Sets the QUIC override policy for TargetHttpsProxy. |
setSslCertificates |
Replaces SslCertificates for TargetHttpsProxy. |
setSslPolicy |
Sets the SSL policy for TargetHttpsProxy. The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the HTTPS proxy load balancer. They do not affect the connection between the load balancer and the backends. |
setUrlMap |
Changes the URL map for TargetHttpsProxy. |
Module: googleapis.compute.v1.targetInstances
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of target instances. |
delete |
Deletes the specified TargetInstance resource. |
get |
Returns the specified TargetInstance resource. |
insert |
Creates a TargetInstance resource in the specified project and zone using the data included in the request. |
list |
Retrieves a list of TargetInstance resources available to the specified project and zone. |
Module: googleapis.compute.v1.targetPools
Functions | |
---|---|
addHealthCheck |
Adds health check URLs to a target pool. |
addInstance |
Adds an instance to a target pool. |
aggregatedList |
Retrieves an aggregated list of target pools. |
delete |
Deletes the specified target pool. |
get |
Returns the specified target pool. |
getHealth |
Gets the most recent health check results for each IP for the instance that is referenced by the given target pool. |
insert |
Creates a target pool in the specified project and region using the data included in the request. |
list |
Retrieves a list of target pools available to the specified project and region. |
removeHealthCheck |
Removes health check URL from a target pool. |
removeInstance |
Removes instance URL from a target pool. |
setBackup |
Changes a backup target pool's configurations. |
Module: googleapis.compute.v1.targetSslProxies
Functions | |
---|---|
delete |
Deletes the specified TargetSslProxy resource. |
get |
Returns the specified TargetSslProxy resource. |
insert |
Creates a TargetSslProxy resource in the specified project using the data included in the request. |
list |
Retrieves the list of TargetSslProxy resources available to the specified project. |
setBackendService |
Changes the BackendService for TargetSslProxy. |
setCertificateMap |
Changes the Certificate Map for TargetSslProxy. |
setProxyHeader |
Changes the ProxyHeaderType for TargetSslProxy. |
setSslCertificates |
Changes SslCertificates for TargetSslProxy. |
setSslPolicy |
Sets the SSL policy for TargetSslProxy. The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the SSL proxy load balancer. They do not affect the connection between the load balancer and the backends. |
Module: googleapis.compute.v1.targetTcpProxies
Functions | |
---|---|
aggregatedList |
Retrieves the list of all TargetTcpProxy resources, regional and global, available to the specified project. |
delete |
Deletes the specified TargetTcpProxy resource. |
get |
Returns the specified TargetTcpProxy resource. |
insert |
Creates a TargetTcpProxy resource in the specified project using the data included in the request. |
list |
Retrieves the list of TargetTcpProxy resources available to the specified project. |
setBackendService |
Changes the BackendService for TargetTcpProxy. |
setProxyHeader |
Changes the ProxyHeaderType for TargetTcpProxy. |
Module: googleapis.compute.v1.targetVpnGateways
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of target VPN gateways. |
delete |
Deletes the specified target VPN gateway. |
get |
Returns the specified target VPN gateway. |
insert |
Creates a target VPN gateway in the specified project and region using the data included in the request. |
list |
Retrieves a list of target VPN gateways available to the specified project and region. |
setLabels |
Sets the labels on a TargetVpnGateway. To learn more about labels, read the Labeling Resources documentation. |
Module: googleapis.compute.v1.urlMaps
Functions | |
---|---|
aggregatedList |
Retrieves the list of all UrlMap resources, regional and global, available to the specified project. |
delete |
Deletes the specified UrlMap resource. |
get |
Returns the specified UrlMap resource. |
insert |
Creates a UrlMap resource in the specified project using the data included in the request. |
invalidateCache |
Initiates a cache invalidation operation, invalidating the specified path, scoped to the specified UrlMap. For more information, see Invalidating cached content. |
list |
Retrieves the list of UrlMap resources available to the specified project. |
patch |
Patches the specified UrlMap resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. |
update |
Updates the specified UrlMap resource with the data included in the request. |
validate |
Runs static validation for the UrlMap. In particular, the tests of the provided UrlMap will be run. Calling this method does NOT create the UrlMap. |
Module: googleapis.compute.v1.vpnGateways
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of VPN gateways. |
delete |
Deletes the specified VPN gateway. |
get |
Returns the specified VPN gateway. |
getStatus |
Returns the status for the specified VPN gateway. |
insert |
Creates a VPN gateway in the specified project and region using the data included in the request. |
list |
Retrieves a list of VPN gateways available to the specified project and region. |
setLabels |
Sets the labels on a VpnGateway. To learn more about labels, read the Labeling Resources documentation. |
testIamPermissions |
Returns permissions that a caller has on the specified resource. |
Module: googleapis.compute.v1.vpnTunnels
Functions | |
---|---|
aggregatedList |
Retrieves an aggregated list of VPN tunnels. |
delete |
Deletes the specified VpnTunnel resource. |
get |
Returns the specified VpnTunnel resource. |
insert |
Creates a VpnTunnel resource in the specified project and region using the data included in the request. |
list |
Retrieves a list of VpnTunnel resources contained in the specified project and region. |
setLabels |
Sets the labels on a VpnTunnel. To learn more about labels, read the Labeling Resources documentation. |
Module: googleapis.compute.v1.zoneOperations
Functions | |
---|---|
delete |
Deletes the specified zone-specific Operations resource. |
get |
Retrieves the specified zone-specific Operations resource. |
list |
Retrieves a list of Operation resources contained within the specified zone. |
wait |
Waits for the specified Operation resource to return as DONE or for
the request to approach the 2 minute deadline, and retrieves the
specified Operation resource. This method waits for no more than the 2
minutes and then returns the current state of the operation, which might
be DONE or still in progress. This method is called on a best-effort
basis. Specifically: - In uncommon cases, when the server is overloaded,
the request might return before the default deadline is reached, or
might return after zero seconds. - If the default deadline is reached,
there is no guarantee that the operation is actually done when the
method returns. Be prepared to retry if the operation is not DONE . |
Module: googleapis.compute.v1.zones
Functions | |
---|---|
get |
Returns the specified Zone resource. |
list |
Retrieves the list of Zone resources available to the specified project. |