Google Compute Engine API

Creates and runs virtual machines on Google Cloud Platform.

Service: compute.googleapis.com

All URIs below are relative to https://compute.googleapis.com

REST Resource: v1.acceleratorTypes

Methods
aggregatedList GET /compute/v1/projects/{project}/aggregated/acceleratorTypes
Retrieves an aggregated list of accelerator types.
get GET /compute/v1/projects/{project}/zones/{zone}/acceleratorTypes/{resourceId}
Returns the specified accelerator type.
list GET /compute/v1/projects/{project}/zones/{zone}/acceleratorTypes
Retrieves a list of accelerator types available to the specified project.

REST Resource: v1.addresses

Methods
aggregatedList GET /compute/v1/projects/{project}/aggregated/addresses
Retrieves an aggregated list of addresses.
delete DELETE /compute/v1/projects/{project}/regions/{region}/addresses/{resourceId}
Deletes the specified address resource.
get GET /compute/v1/projects/{project}/regions/{region}/addresses/{resourceId}
Returns the specified address resource.
insert POST /compute/v1/projects/{project}/regions/{region}/addresses
Creates an address resource in the specified project using the data included in the request.
list GET /compute/v1/projects/{project}/regions/{region}/addresses
Retrieves a list of addresses contained within the specified region.

REST Resource: v1.autoscalers

Methods
aggregatedList GET /compute/v1/projects/{project}/aggregated/autoscalers
Retrieves an aggregated list of autoscalers.
delete DELETE /compute/v1/projects/{project}/zones/{zone}/autoscalers/{resourceId}
Deletes the specified autoscaler.
get GET /compute/v1/projects/{project}/zones/{zone}/autoscalers/{resourceId}
Returns the specified autoscaler resource.
insert POST /compute/v1/projects/{project}/zones/{zone}/autoscalers
Creates an autoscaler in the specified project using the data included in the request.
list GET /compute/v1/projects/{project}/zones/{zone}/autoscalers
Retrieves a list of autoscalers contained within the specified zone.
patch PATCH /compute/v1/projects/{project}/zones/{zone}/autoscalers
Updates an autoscaler in the specified project using the data included in the request.
update PUT /compute/v1/projects/{project}/zones/{zone}/autoscalers
Updates an autoscaler in the specified project using the data included in the request.

REST Resource: v1.backendBuckets

Methods
delete DELETE /compute/v1/projects/{project}/global/backendBuckets/{resourceId}
Deletes the specified BackendBucket resource.
get GET /compute/v1/projects/{project}/global/backendBuckets/{resourceId}
Returns the specified BackendBucket resource.
insert POST /compute/v1/projects/{project}/global/backendBuckets
Creates a BackendBucket resource in the specified project using the data included in the request.
list GET /compute/v1/projects/{project}/global/backendBuckets
Retrieves the list of BackendBucket resources available to the specified project.
patch PATCH /compute/v1/projects/{project}/global/backendBuckets/{resourceId}
Updates the specified BackendBucket resource with the data included in the request.
update PUT /compute/v1/projects/{project}/global/backendBuckets/{resourceId}
Updates the specified BackendBucket resource with the data included in the request.

REST Resource: v1.backendServices

Methods
aggregatedList GET /compute/v1/projects/{project}/aggregated/backendServices
Retrieves the list of all BackendService resources, regional and global, available to the specified project.
delete DELETE /compute/v1/projects/{project}/global/backendServices/{resourceId}
Deletes the specified BackendService resource.
get GET /compute/v1/projects/{project}/global/backendServices/{resourceId}
Returns the specified BackendService resource.
getHealth POST /compute/v1/projects/{project}/global/backendServices/{resourceId}/getHealth
Gets the most recent health check results for this BackendService.
insert POST /compute/v1/projects/{project}/global/backendServices
Creates a BackendService resource in the specified project using the data included in the request.
list GET /compute/v1/projects/{project}/global/backendServices
Retrieves the list of BackendService resources available to the specified project.
patch PATCH /compute/v1/projects/{project}/global/backendServices/{resourceId}
Patches the specified BackendService resource with the data included in the request.
update PUT /compute/v1/projects/{project}/global/backendServices/{resourceId}
Updates the specified BackendService resource with the data included in the request.

REST Resource: v1.diskTypes

Methods
aggregatedList GET /compute/v1/projects/{project}/aggregated/diskTypes
Retrieves an aggregated list of disk types.
get GET /compute/v1/projects/{project}/zones/{zone}/diskTypes/{resourceId}
Returns the specified disk type.
list GET /compute/v1/projects/{project}/zones/{zone}/diskTypes
Retrieves a list of disk types available to the specified project.

REST Resource: v1.disks

Methods
aggregatedList GET /compute/v1/projects/{project}/aggregated/disks
Retrieves an aggregated list of persistent disks.
createSnapshot POST /compute/v1/projects/{project}/zones/{zone}/disks/{resourceId}/createSnapshot
Creates a snapshot of a specified persistent disk.
delete DELETE /compute/v1/projects/{project}/zones/{zone}/disks/{resourceId}
Deletes the specified persistent disk.
get GET /compute/v1/projects/{project}/zones/{zone}/disks/{resourceId}
Returns a specified persistent disk.
insert POST /compute/v1/projects/{project}/zones/{zone}/disks
Creates a persistent disk in the specified project using the data in the request.
list GET /compute/v1/projects/{project}/zones/{zone}/disks
Retrieves a list of persistent disks contained within the specified zone.
resize POST /compute/v1/projects/{project}/zones/{zone}/disks/{resourceId}/resize
Resizes the specified persistent disk.
setLabels POST /compute/v1/projects/{project}/zones/{zone}/disks/{resourceId}/setLabels
Sets the labels on a disk.

REST Resource: v1.firewalls

Methods
delete DELETE /compute/v1/projects/{project}/global/firewalls/{resourceId}
Deletes the specified firewall.
get GET /compute/v1/projects/{project}/global/firewalls/{resourceId}
Returns the specified firewall.
insert POST /compute/v1/projects/{project}/global/firewalls
Creates a firewall rule in the specified project using the data included in the request.
list GET /compute/v1/projects/{project}/global/firewalls
Retrieves the list of firewall rules available to the specified project.
patch PATCH /compute/v1/projects/{project}/global/firewalls/{resourceId}
Updates the specified firewall rule with the data included in the request.
update PUT /compute/v1/projects/{project}/global/firewalls/{resourceId}
Updates the specified firewall rule with the data included in the request.

REST Resource: v1.forwardingRules

Methods
aggregatedList GET /compute/v1/projects/{project}/aggregated/forwardingRules
Retrieves an aggregated list of forwarding rules.
delete DELETE /compute/v1/projects/{project}/regions/{region}/forwardingRules/{resourceId}
Deletes the specified ForwardingRule resource.
get GET /compute/v1/projects/{project}/regions/{region}/forwardingRules/{resourceId}
Returns the specified ForwardingRule resource.
insert POST /compute/v1/projects/{project}/regions/{region}/forwardingRules
Creates a ForwardingRule resource in the specified project and region using the data included in the request.
list GET /compute/v1/projects/{project}/regions/{region}/forwardingRules
Retrieves a list of ForwardingRule resources available to the specified project and region.
setTarget POST /compute/v1/projects/{project}/regions/{region}/forwardingRules/{resourceId}/setTarget
Changes target URL for forwarding rule.

REST Resource: v1.globalAddresses

Methods
delete DELETE /compute/v1/projects/{project}/global/addresses/{resourceId}
Deletes the specified address resource.
get GET /compute/v1/projects/{project}/global/addresses/{resourceId}
Returns the specified address resource.
insert POST /compute/v1/projects/{project}/global/addresses
Creates an address resource in the specified project using the data included in the request.
list GET /compute/v1/projects/{project}/global/addresses
Retrieves a list of global addresses.

REST Resource: v1.globalForwardingRules

Methods
delete DELETE /compute/v1/projects/{project}/global/forwardingRules/{resourceId}
Deletes the specified GlobalForwardingRule resource.
get GET /compute/v1/projects/{project}/global/forwardingRules/{resourceId}
Returns the specified GlobalForwardingRule resource.
insert POST /compute/v1/projects/{project}/global/forwardingRules
Creates a GlobalForwardingRule resource in the specified project using the data included in the request.
list GET /compute/v1/projects/{project}/global/forwardingRules
Retrieves a list of GlobalForwardingRule resources available to the specified project.
setTarget POST /compute/v1/projects/{project}/global/forwardingRules/{resourceId}/setTarget
Changes target URL for the GlobalForwardingRule resource.

REST Resource: v1.globalOperations

Methods
aggregatedList GET /compute/v1/projects/{project}/aggregated/operations
Retrieves an aggregated list of all operations.
delete DELETE /compute/v1/projects/{project}/global/operations/{resourceId}
Deletes the specified Operations resource.
get GET /compute/v1/projects/{project}/global/operations/{resourceId}
Retrieves the specified Operations resource.
list GET /compute/v1/projects/{project}/global/operations
Retrieves a list of Operation resources contained within the specified project.

REST Resource: v1.healthChecks

Methods
delete DELETE /compute/v1/projects/{project}/global/healthChecks/{resourceId}
Deletes the specified HealthCheck resource.
get GET /compute/v1/projects/{project}/global/healthChecks/{resourceId}
Returns the specified HealthCheck resource.
insert POST /compute/v1/projects/{project}/global/healthChecks
Creates a HealthCheck resource in the specified project using the data included in the request.
list GET /compute/v1/projects/{project}/global/healthChecks
Retrieves the list of HealthCheck resources available to the specified project.
patch PATCH /compute/v1/projects/{project}/global/healthChecks/{resourceId}
Updates a HealthCheck resource in the specified project using the data included in the request.
update PUT /compute/v1/projects/{project}/global/healthChecks/{resourceId}
Updates a HealthCheck resource in the specified project using the data included in the request.

REST Resource: v1.httpHealthChecks

Methods
delete DELETE /compute/v1/projects/{project}/global/httpHealthChecks/{resourceId}
Deletes the specified HttpHealthCheck resource.
get GET /compute/v1/projects/{project}/global/httpHealthChecks/{resourceId}
Returns the specified HttpHealthCheck resource.
insert POST /compute/v1/projects/{project}/global/httpHealthChecks
Creates a HttpHealthCheck resource in the specified project using the data included in the request.
list GET /compute/v1/projects/{project}/global/httpHealthChecks
Retrieves the list of HttpHealthCheck resources available to the specified project.
patch PATCH /compute/v1/projects/{project}/global/httpHealthChecks/{resourceId}
Updates a HttpHealthCheck resource in the specified project using the data included in the request.
update PUT /compute/v1/projects/{project}/global/httpHealthChecks/{resourceId}
Updates a HttpHealthCheck resource in the specified project using the data included in the request.

REST Resource: v1.httpsHealthChecks

Methods
delete DELETE /compute/v1/projects/{project}/global/httpsHealthChecks/{resourceId}
Deletes the specified HttpsHealthCheck resource.
get GET /compute/v1/projects/{project}/global/httpsHealthChecks/{resourceId}
Returns the specified HttpsHealthCheck resource.
insert POST /compute/v1/projects/{project}/global/httpsHealthChecks
Creates a HttpsHealthCheck resource in the specified project using the data included in the request.
list GET /compute/v1/projects/{project}/global/httpsHealthChecks
Retrieves the list of HttpsHealthCheck resources available to the specified project.
patch PATCH /compute/v1/projects/{project}/global/httpsHealthChecks/{resourceId}
Updates a HttpsHealthCheck resource in the specified project using the data included in the request.
update PUT /compute/v1/projects/{project}/global/httpsHealthChecks/{resourceId}
Updates a HttpsHealthCheck resource in the specified project using the data included in the request.

REST Resource: v1.images

Methods
delete DELETE /compute/v1/projects/{project}/global/images/{resourceId}
Deletes the specified image.
deprecate POST /compute/v1/projects/{project}/global/images/{resourceId}/deprecate
Sets the deprecation status of an image.
get GET /compute/v1/projects/{project}/global/images/{resourceId}
Returns the specified image.
getFromFamily GET /compute/v1/projects/{project}/global/images/family/{resourceId}
Returns the latest image that is part of an image family and is not deprecated.
insert POST /compute/v1/projects/{project}/global/images
Creates an image in the specified project using the data included in the request.
list GET /compute/v1/projects/{project}/global/images
Retrieves the list of custom images available to the specified project.
setLabels POST /compute/v1/projects/{project}/global/images/{resourceId}/setLabels
Sets the labels on an image.

REST Resource: v1.instanceGroupManagers

Methods
abandonInstances POST /compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{resourceId}/abandonInstances
Schedules a group action to remove the specified instances from the managed instance group.
aggregatedList GET /compute/v1/projects/{project}/aggregated/instanceGroupManagers
Retrieves the list of managed instance groups and groups them by zone.
delete DELETE /compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{resourceId}
Deletes the specified managed instance group and all of the instances in that group.
deleteInstances POST /compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{resourceId}/deleteInstances
Schedules a group action to delete the specified instances in the managed instance group.
get GET /compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{resourceId}
Returns all of the details about the specified managed instance group.
insert POST /compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers
Creates a managed instance group using the information that you specify in the request.
list GET /compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers
Retrieves a list of managed instance groups that are contained within the specified project and zone.
listManagedInstances POST /compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{resourceId}/listManagedInstances
Lists all of the instances in the managed instance group.
recreateInstances POST /compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{resourceId}/recreateInstances
Schedules a group action to recreate the specified instances in the managed instance group.
resize POST /compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{resourceId}/resize
Resizes the managed instance group.
setInstanceTemplate POST /compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{resourceId}/setInstanceTemplate
Specifies the instance template to use when creating new instances in this group.
setTargetPools POST /compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{resourceId}/setTargetPools
Modifies the target pools to which all instances in this managed instance group are assigned.

REST Resource: v1.instanceGroups

Methods
addInstances POST /compute/v1/projects/{project}/zones/{zone}/instanceGroups/{resourceId}/addInstances
Adds a list of instances to the specified instance group.
aggregatedList GET /compute/v1/projects/{project}/aggregated/instanceGroups
Retrieves the list of instance groups and sorts them by zone.
delete DELETE /compute/v1/projects/{project}/zones/{zone}/instanceGroups/{resourceId}
Deletes the specified instance group.
get GET /compute/v1/projects/{project}/zones/{zone}/instanceGroups/{resourceId}
Returns the specified instance group.
insert POST /compute/v1/projects/{project}/zones/{zone}/instanceGroups
Creates an instance group in the specified project using the parameters that are included in the request.
list GET /compute/v1/projects/{project}/zones/{zone}/instanceGroups
Retrieves the list of instance groups that are located in the specified project and zone.
listInstances POST /compute/v1/projects/{project}/zones/{zone}/instanceGroups/{resourceId}/listInstances
Lists the instances in the specified instance group.
removeInstances POST /compute/v1/projects/{project}/zones/{zone}/instanceGroups/{resourceId}/removeInstances
Removes one or more instances from the specified instance group, but does not delete those instances.
setNamedPorts POST /compute/v1/projects/{project}/zones/{zone}/instanceGroups/{resourceId}/setNamedPorts
Sets the named ports for the specified instance group.

REST Resource: v1.instanceTemplates

Methods
delete DELETE /compute/v1/projects/{project}/global/instanceTemplates/{resourceId}
Deletes the specified instance template.
get GET /compute/v1/projects/{project}/global/instanceTemplates/{resourceId}
Returns the specified instance template.
insert POST /compute/v1/projects/{project}/global/instanceTemplates
Creates an instance template in the specified project using the data that is included in the request.
list GET /compute/v1/projects/{project}/global/instanceTemplates
Retrieves a list of instance templates that are contained within the specified project and zone.

REST Resource: v1.instances

Methods
addAccessConfig POST /compute/v1/projects/{project}/zones/{zone}/instances/{resourceId}/addAccessConfig
Adds an access config to an instance's network interface.
aggregatedList GET /compute/v1/projects/{project}/aggregated/instances
Retrieves aggregated list of instances.
attachDisk POST /compute/v1/projects/{project}/zones/{zone}/instances/{resourceId}/attachDisk
Attaches an existing Disk resource to an instance.
delete DELETE /compute/v1/projects/{project}/zones/{zone}/instances/{resourceId}
Deletes the specified Instance resource.
deleteAccessConfig POST /compute/v1/projects/{project}/zones/{zone}/instances/{resourceId}/deleteAccessConfig
Deletes an access config from an instance's network interface.
detachDisk POST /compute/v1/projects/{project}/zones/{zone}/instances/{resourceId}/detachDisk
Detaches a disk from an instance.
get GET /compute/v1/projects/{project}/zones/{zone}/instances/{resourceId}
Returns the specified Instance resource.
getSerialPortOutput GET /compute/v1/projects/{project}/zones/{zone}/instances/{resourceId}/serialPort
Returns the specified instance's serial port output.
insert POST /compute/v1/projects/{project}/zones/{zone}/instances
Creates an instance resource in the specified project using the data included in the request.
list GET /compute/v1/projects/{project}/zones/{zone}/instances
Retrieves the list of instances contained within the specified zone.
listReferrers GET /compute/v1/projects/{project}/zones/{zone}/instances/{resourceId}/referrers
Retrieves the list of referrers to instances contained within the specified zone.
reset POST /compute/v1/projects/{project}/zones/{zone}/instances/{resourceId}/reset
Performs a reset on the instance.
setDeletionProtection POST /compute/v1/projects/{project}/zones/{zone}/instances/{resourceId}/setDeletionProtection
Sets deletion protection on the instance.
setDiskAutoDelete POST /compute/v1/projects/{project}/zones/{zone}/instances/{resourceId}/setDiskAutoDelete
Sets the auto-delete flag for a disk attached to an instance.
setLabels POST /compute/v1/projects/{project}/zones/{zone}/instances/{resourceId}/setLabels
Sets labels on an instance.
setMachineResources POST /compute/v1/projects/{project}/zones/{zone}/instances/{resourceId}/setMachineResources
Changes the number and/or type of accelerator for a stopped instance to the values specified in the request.
setMachineType POST /compute/v1/projects/{project}/zones/{zone}/instances/{resourceId}/setMachineType
Changes the machine type for a stopped instance to the machine type specified in the request.
setMetadata POST /compute/v1/projects/{project}/zones/{zone}/instances/{resourceId}/setMetadata
Sets metadata for the specified instance to the data included in the request.
setMinCpuPlatform POST /compute/v1/projects/{project}/zones/{zone}/instances/{resourceId}/setMinCpuPlatform
Changes the minimum CPU platform that this instance should use.
setScheduling POST /compute/v1/projects/{project}/zones/{zone}/instances/{resourceId}/setScheduling
Sets an instance's scheduling options.
setServiceAccount POST /compute/v1/projects/{project}/zones/{zone}/instances/{resourceId}/setServiceAccount
Sets the service account on the instance.
setTags POST /compute/v1/projects/{project}/zones/{zone}/instances/{resourceId}/setTags
Sets tags for the specified instance to the data included in the request.
start POST /compute/v1/projects/{project}/zones/{zone}/instances/{resourceId}/start
Starts an instance that was stopped using the using the instances().stop method.
startWithEncryptionKey POST /compute/v1/projects/{project}/zones/{zone}/instances/{resourceId}/startWithEncryptionKey
Starts an instance that was stopped using the using the instances().stop method.
stop POST /compute/v1/projects/{project}/zones/{zone}/instances/{resourceId}/stop
Stops a running instance, shutting it down cleanly, and allows you to restart the instance at a later time.
updateAccessConfig POST /compute/v1/projects/{project}/zones/{zone}/instances/{resourceId}/updateAccessConfig
Updates the specified access config from an instance's network interface with the data included in the request.

REST Resource: v1.interconnectAttachments

Methods
aggregatedList GET /compute/v1/projects/{project}/aggregated/interconnectAttachments
Retrieves an aggregated list of interconnect attachments.
delete DELETE /compute/v1/projects/{project}/regions/{region}/interconnectAttachments/{resourceId}
Deletes the specified interconnect attachment.
get GET /compute/v1/projects/{project}/regions/{region}/interconnectAttachments/{resourceId}
Returns the specified interconnect attachment.
insert POST /compute/v1/projects/{project}/regions/{region}/interconnectAttachments
Creates an InterconnectAttachment in the specified project using the data included in the request.
list GET /compute/v1/projects/{project}/regions/{region}/interconnectAttachments
Retrieves the list of interconnect attachments contained within the specified region.

REST Resource: v1.interconnectLocations

Methods
get GET /compute/v1/projects/{project}/global/interconnectLocations/{resourceId}
Returns the details for the specified interconnect location.
list GET /compute/v1/projects/{project}/global/interconnectLocations
Retrieves the list of interconnect locations available to the specified project.

REST Resource: v1.interconnects

Methods
delete DELETE /compute/v1/projects/{project}/global/interconnects/{resourceId}
Deletes the specified interconnect.
get GET /compute/v1/projects/{project}/global/interconnects/{resourceId}
Returns the specified interconnect.
insert POST /compute/v1/projects/{project}/global/interconnects
Creates a Interconnect in the specified project using the data included in the request.
list GET /compute/v1/projects/{project}/global/interconnects
Retrieves the list of interconnect available to the specified project.
patch PATCH /compute/v1/projects/{project}/global/interconnects/{resourceId}
Updates the specified interconnect with the data included in the request.

REST Resource: v1.licenses

Methods
get GET /compute/v1/projects/{project}/global/licenses/{resourceId}
Returns the specified License resource.

REST Resource: v1.machineTypes

Methods
aggregatedList GET /compute/v1/projects/{project}/aggregated/machineTypes
Retrieves an aggregated list of machine types.
get GET /compute/v1/projects/{project}/zones/{zone}/machineTypes/{resourceId}
Returns the specified machine type.
list GET /compute/v1/projects/{project}/zones/{zone}/machineTypes
Retrieves a list of machine types available to the specified project.

REST Resource: v1.networks

Methods
addPeering POST /compute/v1/projects/{project}/global/networks/{resourceId}/addPeering
Adds a peering to the specified network.
delete DELETE /compute/v1/projects/{project}/global/networks/{resourceId}
Deletes the specified network.
get GET /compute/v1/projects/{project}/global/networks/{resourceId}
Returns the specified network.
insert POST /compute/v1/projects/{project}/global/networks
Creates a network in the specified project using the data included in the request.
list GET /compute/v1/projects/{project}/global/networks
Retrieves the list of networks available to the specified project.
patch PATCH /compute/v1/projects/{project}/global/networks/{resourceId}
Patches the specified network with the data included in the request.
removePeering POST /compute/v1/projects/{project}/global/networks/{resourceId}/removePeering
Removes a peering from the specified network.
switchToCustomMode POST /compute/v1/projects/{project}/global/networks/{resourceId}/switchToCustomMode
Switches the network mode from auto subnet mode to custom subnet mode.

REST Resource: v1.projects

Methods
disableXpnHost POST /compute/v1/projects/{project}/disableXpnHost
Disable this project as a shared VPC host project.
disableXpnResource POST /compute/v1/projects/{project}/disableXpnResource
Disable a serivce resource (a.k.a service project) associated with this host project.
enableXpnHost POST /compute/v1/projects/{project}/enableXpnHost
Enable this project as a shared VPC host project.
enableXpnResource POST /compute/v1/projects/{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 GET /compute/v1/projects/{project}
Returns the specified Project resource.
getXpnHost GET /compute/v1/projects/{project}/getXpnHost
Get the shared VPC host project that this project links to.
getXpnResources GET /compute/v1/projects/{project}/getXpnResources
Get service resources (a.k.a service project) associated with this host project.
listXpnHosts POST /compute/v1/projects/{project}/listXpnHosts
List all shared VPC host projects visible to the user in an organization.
moveDisk POST /compute/v1/projects/{project}/moveDisk
Moves a persistent disk from one zone to another.
moveInstance POST /compute/v1/projects/{project}/moveInstance
Moves an instance and its attached persistent disks from one zone to another.
setCommonInstanceMetadata POST /compute/v1/projects/{project}/setCommonInstanceMetadata