Clean and regen docs (#401)
diff --git a/docs/dyn/compute_beta.autoscalers.html b/docs/dyn/compute_beta.autoscalers.html
index f3d190f..dd4c55c 100644
--- a/docs/dyn/compute_beta.autoscalers.html
+++ b/docs/dyn/compute_beta.autoscalers.html
@@ -96,7 +96,7 @@
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
- <code><a href="#patch">patch(project, zone, autoscaler, body)</a></code></p>
+ <code><a href="#patch">patch(project, zone, body, autoscaler=None)</a></code></p>
<p class="firstline">Updates an autoscaler in the specified project using the data included in the request. This method supports patch semantics.</p>
<p class="toc_element">
<code><a href="#testIamPermissions">testIamPermissions(project, zone, resource, body)</a></code></p>
@@ -165,14 +165,13 @@
},
"customMetricUtilizations": [ # Configuration parameters of autoscaling based on a custom metric.
{ # Custom utilization metric policy.
- "metric": "A String", # The identifier of the Stackdriver Monitoring metric. The metric cannot have negative values and should be a utilization metric, which means that the number of virtual machines handling requests should increase or decrease proportionally to the metric. The metric must also have a label of compute.googleapis.com/resource_id with the value of the instance's unique ID, although this alone does not guarantee that the metric is valid.
+ "metric": "A String", # The identifier (type) of the Stackdriver Monitoring metric. The metric cannot have negative values and should be a utilization metric, which means that the number of virtual machines handling requests should increase or decrease proportionally to the metric.
#
- # For example, the following is a valid metric:
- # compute.googleapis.com/instance/network/received_bytes_count
- # The following is not a valid metric because it does not increase or decrease based on usage:
- # compute.googleapis.com/instance/cpu/reserved_cores
+ # The metric must have a value type of INT64 or DOUBLE.
"utilizationTargetType": "A String", # Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE. If not specified, the default is GAUGE.
- "utilizationTarget": 3.14, # Target value of the metric which autoscaler should maintain. Must be a positive value.
+ "utilizationTarget": 3.14, # The target value of the metric that autoscaler should maintain. This must be a positive value.
+ #
+ # For example, a good metric to use as a utilization_target is compute.googleapis.com/instance/network/received_bytes_count. The autoscaler will work to keep this value constant for each of the instances.
},
],
"cpuUtilization": { # CPU utilization policy. # Defines the CPU utilization policy that allows the autoscaler to scale based on the average CPU utilization of a managed instance group.
@@ -308,14 +307,13 @@
},
"customMetricUtilizations": [ # Configuration parameters of autoscaling based on a custom metric.
{ # Custom utilization metric policy.
- "metric": "A String", # The identifier of the Stackdriver Monitoring metric. The metric cannot have negative values and should be a utilization metric, which means that the number of virtual machines handling requests should increase or decrease proportionally to the metric. The metric must also have a label of compute.googleapis.com/resource_id with the value of the instance's unique ID, although this alone does not guarantee that the metric is valid.
+ "metric": "A String", # The identifier (type) of the Stackdriver Monitoring metric. The metric cannot have negative values and should be a utilization metric, which means that the number of virtual machines handling requests should increase or decrease proportionally to the metric.
#
- # For example, the following is a valid metric:
- # compute.googleapis.com/instance/network/received_bytes_count
- # The following is not a valid metric because it does not increase or decrease based on usage:
- # compute.googleapis.com/instance/cpu/reserved_cores
+ # The metric must have a value type of INT64 or DOUBLE.
"utilizationTargetType": "A String", # Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE. If not specified, the default is GAUGE.
- "utilizationTarget": 3.14, # Target value of the metric which autoscaler should maintain. Must be a positive value.
+ "utilizationTarget": 3.14, # The target value of the metric that autoscaler should maintain. This must be a positive value.
+ #
+ # For example, a good metric to use as a utilization_target is compute.googleapis.com/instance/network/received_bytes_count. The autoscaler will work to keep this value constant for each of the instances.
},
],
"cpuUtilization": { # CPU utilization policy. # Defines the CPU utilization policy that allows the autoscaler to scale based on the average CPU utilization of a managed instance group.
@@ -369,14 +367,13 @@
},
"customMetricUtilizations": [ # Configuration parameters of autoscaling based on a custom metric.
{ # Custom utilization metric policy.
- "metric": "A String", # The identifier of the Stackdriver Monitoring metric. The metric cannot have negative values and should be a utilization metric, which means that the number of virtual machines handling requests should increase or decrease proportionally to the metric. The metric must also have a label of compute.googleapis.com/resource_id with the value of the instance's unique ID, although this alone does not guarantee that the metric is valid.
+ "metric": "A String", # The identifier (type) of the Stackdriver Monitoring metric. The metric cannot have negative values and should be a utilization metric, which means that the number of virtual machines handling requests should increase or decrease proportionally to the metric.
#
- # For example, the following is a valid metric:
- # compute.googleapis.com/instance/network/received_bytes_count
- # The following is not a valid metric because it does not increase or decrease based on usage:
- # compute.googleapis.com/instance/cpu/reserved_cores
+ # The metric must have a value type of INT64 or DOUBLE.
"utilizationTargetType": "A String", # Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE. If not specified, the default is GAUGE.
- "utilizationTarget": 3.14, # Target value of the metric which autoscaler should maintain. Must be a positive value.
+ "utilizationTarget": 3.14, # The target value of the metric that autoscaler should maintain. This must be a positive value.
+ #
+ # For example, a good metric to use as a utilization_target is compute.googleapis.com/instance/network/received_bytes_count. The autoscaler will work to keep this value constant for each of the instances.
},
],
"cpuUtilization": { # CPU utilization policy. # Defines the CPU utilization policy that allows the autoscaler to scale based on the average CPU utilization of a managed instance group.
@@ -500,14 +497,13 @@
},
"customMetricUtilizations": [ # Configuration parameters of autoscaling based on a custom metric.
{ # Custom utilization metric policy.
- "metric": "A String", # The identifier of the Stackdriver Monitoring metric. The metric cannot have negative values and should be a utilization metric, which means that the number of virtual machines handling requests should increase or decrease proportionally to the metric. The metric must also have a label of compute.googleapis.com/resource_id with the value of the instance's unique ID, although this alone does not guarantee that the metric is valid.
+ "metric": "A String", # The identifier (type) of the Stackdriver Monitoring metric. The metric cannot have negative values and should be a utilization metric, which means that the number of virtual machines handling requests should increase or decrease proportionally to the metric.
#
- # For example, the following is a valid metric:
- # compute.googleapis.com/instance/network/received_bytes_count
- # The following is not a valid metric because it does not increase or decrease based on usage:
- # compute.googleapis.com/instance/cpu/reserved_cores
+ # The metric must have a value type of INT64 or DOUBLE.
"utilizationTargetType": "A String", # Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE. If not specified, the default is GAUGE.
- "utilizationTarget": 3.14, # Target value of the metric which autoscaler should maintain. Must be a positive value.
+ "utilizationTarget": 3.14, # The target value of the metric that autoscaler should maintain. This must be a positive value.
+ #
+ # For example, a good metric to use as a utilization_target is compute.googleapis.com/instance/network/received_bytes_count. The autoscaler will work to keep this value constant for each of the instances.
},
],
"cpuUtilization": { # CPU utilization policy. # Defines the CPU utilization policy that allows the autoscaler to scale based on the average CPU utilization of a managed instance group.
@@ -553,13 +549,12 @@
</div>
<div class="method">
- <code class="details" id="patch">patch(project, zone, autoscaler, body)</code>
+ <code class="details" id="patch">patch(project, zone, body, autoscaler=None)</code>
<pre>Updates an autoscaler in the specified project using the data included in the request. This method supports patch semantics.
Args:
project: string, Project ID for this request. (required)
zone: string, Name of the zone for this request. (required)
- autoscaler: string, Name of the autoscaler to update. (required)
body: object, The request body. (required)
The object takes the form of:
@@ -581,14 +576,13 @@
},
"customMetricUtilizations": [ # Configuration parameters of autoscaling based on a custom metric.
{ # Custom utilization metric policy.
- "metric": "A String", # The identifier of the Stackdriver Monitoring metric. The metric cannot have negative values and should be a utilization metric, which means that the number of virtual machines handling requests should increase or decrease proportionally to the metric. The metric must also have a label of compute.googleapis.com/resource_id with the value of the instance's unique ID, although this alone does not guarantee that the metric is valid.
+ "metric": "A String", # The identifier (type) of the Stackdriver Monitoring metric. The metric cannot have negative values and should be a utilization metric, which means that the number of virtual machines handling requests should increase or decrease proportionally to the metric.
#
- # For example, the following is a valid metric:
- # compute.googleapis.com/instance/network/received_bytes_count
- # The following is not a valid metric because it does not increase or decrease based on usage:
- # compute.googleapis.com/instance/cpu/reserved_cores
+ # The metric must have a value type of INT64 or DOUBLE.
"utilizationTargetType": "A String", # Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE. If not specified, the default is GAUGE.
- "utilizationTarget": 3.14, # Target value of the metric which autoscaler should maintain. Must be a positive value.
+ "utilizationTarget": 3.14, # The target value of the metric that autoscaler should maintain. This must be a positive value.
+ #
+ # For example, a good metric to use as a utilization_target is compute.googleapis.com/instance/network/received_bytes_count. The autoscaler will work to keep this value constant for each of the instances.
},
],
"cpuUtilization": { # CPU utilization policy. # Defines the CPU utilization policy that allows the autoscaler to scale based on the average CPU utilization of a managed instance group.
@@ -613,6 +607,7 @@
"name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
}
+ autoscaler: string, Name of the autoscaler to patch.
Returns:
An object of the form:
@@ -720,14 +715,13 @@
},
"customMetricUtilizations": [ # Configuration parameters of autoscaling based on a custom metric.
{ # Custom utilization metric policy.
- "metric": "A String", # The identifier of the Stackdriver Monitoring metric. The metric cannot have negative values and should be a utilization metric, which means that the number of virtual machines handling requests should increase or decrease proportionally to the metric. The metric must also have a label of compute.googleapis.com/resource_id with the value of the instance's unique ID, although this alone does not guarantee that the metric is valid.
+ "metric": "A String", # The identifier (type) of the Stackdriver Monitoring metric. The metric cannot have negative values and should be a utilization metric, which means that the number of virtual machines handling requests should increase or decrease proportionally to the metric.
#
- # For example, the following is a valid metric:
- # compute.googleapis.com/instance/network/received_bytes_count
- # The following is not a valid metric because it does not increase or decrease based on usage:
- # compute.googleapis.com/instance/cpu/reserved_cores
+ # The metric must have a value type of INT64 or DOUBLE.
"utilizationTargetType": "A String", # Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE. If not specified, the default is GAUGE.
- "utilizationTarget": 3.14, # Target value of the metric which autoscaler should maintain. Must be a positive value.
+ "utilizationTarget": 3.14, # The target value of the metric that autoscaler should maintain. This must be a positive value.
+ #
+ # For example, a good metric to use as a utilization_target is compute.googleapis.com/instance/network/received_bytes_count. The autoscaler will work to keep this value constant for each of the instances.
},
],
"cpuUtilization": { # CPU utilization policy. # Defines the CPU utilization policy that allows the autoscaler to scale based on the average CPU utilization of a managed instance group.