Update docs
diff --git a/docs/dyn/compute_v1.instanceTemplates.html b/docs/dyn/compute_v1.instanceTemplates.html
index 6bb6777..c15f7b9 100644
--- a/docs/dyn/compute_v1.instanceTemplates.html
+++ b/docs/dyn/compute_v1.instanceTemplates.html
@@ -79,7 +79,7 @@
<p class="firstline">Deletes the specified instance template. If you delete an instance template that is being referenced from another instance group, the instance group will not be able to create or recreate virtual machine instances. Deleting an instance template is permanent and cannot be undone.</p>
<p class="toc_element">
<code><a href="#get">get(project, instanceTemplate)</a></code></p>
-<p class="firstline">Returns the specified instance template resource.</p>
+<p class="firstline">Returns the specified instance template. Get a list of available instance templates by making a list() request.</p>
<p class="toc_element">
<code><a href="#insert">insert(project, body)</a></code></p>
<p class="firstline">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.</p>
@@ -123,7 +123,7 @@
# "data": [ { "key": "scope", "value": "zones/us-east1-d" }
{
"value": "A String", # [Output Only] A warning data value corresponding to the key.
- "key": "A String", # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource, and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
+ "key": "A String", # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
},
],
},
@@ -138,7 +138,7 @@
{
"message": "A String", # [Output Only] An optional, human-readable error message.
"code": "A String", # [Output Only] The error type identifier for this error.
- "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+ "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
},
],
},
@@ -150,7 +150,7 @@
<div class="method">
<code class="details" id="get">get(project, instanceTemplate)</code>
- <pre>Returns the specified instance template resource.
+ <pre>Returns the specified instance template. Get a list of available instance templates by making a list() request.
Args:
project: string, Project ID for this request. (required)
@@ -188,15 +188,23 @@
# This property is mutually exclusive with the source property; you can only define one or the other, but not both.
"diskSizeGb": "A String", # Specifies the size of the disk in base-2 GB.
"diskName": "A String", # Specifies the disk name. If not specified, the default is to use the name of the instance.
- "sourceImage": "A String", # A source image used to create the disk. You can provide a private (custom) image, and Compute Engine will use the corresponding image from your project. For example:
+ "sourceImage": "A String", # The source image used to create this disk. If the source image is deleted, this field will not be set.
+ #
+ # To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-8 to use the latest Debian 8 image:
+ #
+ # projects/debian-cloud/global/images/family/debian-8
+ #
+ # Alternatively, use a specific version of a public operating system image:
+ #
+ # projects/debian-cloud/global/images/debian-8-jessie-vYYYYMMDD
+ #
+ # To create a disk with a private image that you created, specify the image name in the following format:
#
# global/images/my-private-image
#
- # Or you can provide an image from a publicly-available project. For example, to use a Debian image from the debian-cloud project, make sure to include the project in the URL:
+ # You can also specify a private image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name:
#
- # projects/debian-cloud/global/images/debian-7-wheezy-vYYYYMMDD
- #
- # where vYYYYMMDD is the image version. The fully-qualified URL will also work in both cases.
+ # global/images/family/my-private-family
"diskType": "A String", # Specifies the disk type to use to create the instance. If not specified, the default is pd-standard, specified using the full URL. For example:
#
# https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/pd-standard
@@ -252,11 +260,11 @@
"natIP": "A String", # An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance.
},
],
- "networkIP": "A String", # [Output Only] An optional IPV4 internal network address assigned to the instance for this network interface.
+ "networkIP": "A String", # An IPv4 internal network address to assign to the instance for this network interface. If not specified by the user, an unused internal IP is assigned by the system.
"name": "A String", # [Output Only] The name of the network interface, generated by the server. For network devices, these are eth0, eth1, etc.
"subnetwork": "A String", # The URL of the Subnetwork resource for this instance. If the network resource is in legacy mode, do not provide this property. If the network is in auto subnet mode, providing the subnetwork is optional. If the network is in custom subnet mode, then this field should be specified. If you specify this property, you can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs:
- # - https://www.googleapis.com/compute/v1/projects/project/zones/zone/subnetworks/subnetwork
- # - zones/zone/subnetworks/subnetwork
+ # - https://www.googleapis.com/compute/v1/projects/project/regions/region/subnetworks/subnetwork
+ # - regions/region/subnetworks/subnetwork
"network": "A String", # URL of the network resource for this instance. This is required for creating an instance but optional when creating a firewall rule. If not specified when creating a firewall rule, the default network is used:
#
# global/networks/default
@@ -311,15 +319,23 @@
# This property is mutually exclusive with the source property; you can only define one or the other, but not both.
"diskSizeGb": "A String", # Specifies the size of the disk in base-2 GB.
"diskName": "A String", # Specifies the disk name. If not specified, the default is to use the name of the instance.
- "sourceImage": "A String", # A source image used to create the disk. You can provide a private (custom) image, and Compute Engine will use the corresponding image from your project. For example:
+ "sourceImage": "A String", # The source image used to create this disk. If the source image is deleted, this field will not be set.
+ #
+ # To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-8 to use the latest Debian 8 image:
+ #
+ # projects/debian-cloud/global/images/family/debian-8
+ #
+ # Alternatively, use a specific version of a public operating system image:
+ #
+ # projects/debian-cloud/global/images/debian-8-jessie-vYYYYMMDD
+ #
+ # To create a disk with a private image that you created, specify the image name in the following format:
#
# global/images/my-private-image
#
- # Or you can provide an image from a publicly-available project. For example, to use a Debian image from the debian-cloud project, make sure to include the project in the URL:
+ # You can also specify a private image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name:
#
- # projects/debian-cloud/global/images/debian-7-wheezy-vYYYYMMDD
- #
- # where vYYYYMMDD is the image version. The fully-qualified URL will also work in both cases.
+ # global/images/family/my-private-family
"diskType": "A String", # Specifies the disk type to use to create the instance. If not specified, the default is pd-standard, specified using the full URL. For example:
#
# https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/pd-standard
@@ -375,11 +391,11 @@
"natIP": "A String", # An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance.
},
],
- "networkIP": "A String", # [Output Only] An optional IPV4 internal network address assigned to the instance for this network interface.
+ "networkIP": "A String", # An IPv4 internal network address to assign to the instance for this network interface. If not specified by the user, an unused internal IP is assigned by the system.
"name": "A String", # [Output Only] The name of the network interface, generated by the server. For network devices, these are eth0, eth1, etc.
"subnetwork": "A String", # The URL of the Subnetwork resource for this instance. If the network resource is in legacy mode, do not provide this property. If the network is in auto subnet mode, providing the subnetwork is optional. If the network is in custom subnet mode, then this field should be specified. If you specify this property, you can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs:
- # - https://www.googleapis.com/compute/v1/projects/project/zones/zone/subnetworks/subnetwork
- # - zones/zone/subnetworks/subnetwork
+ # - https://www.googleapis.com/compute/v1/projects/project/regions/region/subnetworks/subnetwork
+ # - regions/region/subnetworks/subnetwork
"network": "A String", # URL of the network resource for this instance. This is required for creating an instance but optional when creating a firewall rule. If not specified when creating a firewall rule, the default network is used:
#
# global/networks/default
@@ -421,7 +437,7 @@
# "data": [ { "key": "scope", "value": "zones/us-east1-d" }
{
"value": "A String", # [Output Only] A warning data value corresponding to the key.
- "key": "A String", # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource, and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
+ "key": "A String", # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
},
],
},
@@ -436,7 +452,7 @@
{
"message": "A String", # [Output Only] An optional, human-readable error message.
"code": "A String", # [Output Only] The error type identifier for this error.
- "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+ "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
},
],
},
@@ -458,11 +474,11 @@
The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.
-For example, to filter for instances whose name is not equal to example-instance, you would use filter=name ne example-instance.
+For example, to filter for instances that do not have a name of example-instance, you would use filter=name ne example-instance.
-Compute Engine Beta API Only: If you use filtering in the Beta API, you can also filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. In particular, use filtering on nested fields to take advantage of instance labels to organize and filter results based on label values.
+Compute Engine Beta API Only: When filtering in the Beta API, you can also filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering on nested fields to take advantage of labels to organize and search for results based on label values.
-The Beta API also supports filtering on multiple expressions by providing each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions meaning that resources must match all expressions to pass the filters.
+The Beta API also supports filtering on multiple expressions by providing each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters.
Returns:
An object of the form:
@@ -499,15 +515,23 @@
# This property is mutually exclusive with the source property; you can only define one or the other, but not both.
"diskSizeGb": "A String", # Specifies the size of the disk in base-2 GB.
"diskName": "A String", # Specifies the disk name. If not specified, the default is to use the name of the instance.
- "sourceImage": "A String", # A source image used to create the disk. You can provide a private (custom) image, and Compute Engine will use the corresponding image from your project. For example:
+ "sourceImage": "A String", # The source image used to create this disk. If the source image is deleted, this field will not be set.
+ #
+ # To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-8 to use the latest Debian 8 image:
+ #
+ # projects/debian-cloud/global/images/family/debian-8
+ #
+ # Alternatively, use a specific version of a public operating system image:
+ #
+ # projects/debian-cloud/global/images/debian-8-jessie-vYYYYMMDD
+ #
+ # To create a disk with a private image that you created, specify the image name in the following format:
#
# global/images/my-private-image
#
- # Or you can provide an image from a publicly-available project. For example, to use a Debian image from the debian-cloud project, make sure to include the project in the URL:
+ # You can also specify a private image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name:
#
- # projects/debian-cloud/global/images/debian-7-wheezy-vYYYYMMDD
- #
- # where vYYYYMMDD is the image version. The fully-qualified URL will also work in both cases.
+ # global/images/family/my-private-family
"diskType": "A String", # Specifies the disk type to use to create the instance. If not specified, the default is pd-standard, specified using the full URL. For example:
#
# https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/pd-standard
@@ -563,11 +587,11 @@
"natIP": "A String", # An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance.
},
],
- "networkIP": "A String", # [Output Only] An optional IPV4 internal network address assigned to the instance for this network interface.
+ "networkIP": "A String", # An IPv4 internal network address to assign to the instance for this network interface. If not specified by the user, an unused internal IP is assigned by the system.
"name": "A String", # [Output Only] The name of the network interface, generated by the server. For network devices, these are eth0, eth1, etc.
"subnetwork": "A String", # The URL of the Subnetwork resource for this instance. If the network resource is in legacy mode, do not provide this property. If the network is in auto subnet mode, providing the subnetwork is optional. If the network is in custom subnet mode, then this field should be specified. If you specify this property, you can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs:
- # - https://www.googleapis.com/compute/v1/projects/project/zones/zone/subnetworks/subnetwork
- # - zones/zone/subnetworks/subnetwork
+ # - https://www.googleapis.com/compute/v1/projects/project/regions/region/subnetworks/subnetwork
+ # - regions/region/subnetworks/subnetwork
"network": "A String", # URL of the network resource for this instance. This is required for creating an instance but optional when creating a firewall rule. If not specified when creating a firewall rule, the default network is used:
#
# global/networks/default