Clean and regen docs (#401)
diff --git a/docs/dyn/compute_beta.regionAutoscalers.html b/docs/dyn/compute_beta.regionAutoscalers.html
index 9580b37..54807fa 100644
--- a/docs/dyn/compute_beta.regionAutoscalers.html
+++ b/docs/dyn/compute_beta.regionAutoscalers.html
@@ -90,7 +90,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, region, autoscaler, body)</a></code></p>
+ <code><a href="#patch">patch(project, region, 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, region, resource, body)</a></code></p>
@@ -188,14 +188,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.
@@ -249,14 +248,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.
@@ -380,14 +378,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.
@@ -433,13 +430,12 @@
</div>
<div class="method">
- <code class="details" id="patch">patch(project, region, autoscaler, body)</code>
+ <code class="details" id="patch">patch(project, region, 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)
region: string, Name of the region scoping this request. (required)
- autoscaler: string, Name of the autoscaler to update. (required)
body: object, The request body. (required)
The object takes the form of:
@@ -461,14 +457,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.
@@ -493,6 +488,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:
@@ -600,14 +596,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.