Fix method doc signatures for multiline required parameters (#374)
* Fix method doc signatures for multiline required parameters.
Existing doc generator failed to recognize parameters as required when parameter descriptions
extended over more than one line. Besides presenting incorrect information, resulting
inconsistencies broke checks for automated sample generation.
* Regen docs
diff --git a/docs/dyn/servicemanagement_v1.services.rollouts.html b/docs/dyn/servicemanagement_v1.services.rollouts.html
index 7bf92d0..a95912d 100644
--- a/docs/dyn/servicemanagement_v1.services.rollouts.html
+++ b/docs/dyn/servicemanagement_v1.services.rollouts.html
@@ -75,20 +75,20 @@
<h1><a href="servicemanagement_v1.html">Google Service Management API</a> . <a href="servicemanagement_v1.services.html">services</a> . <a href="servicemanagement_v1.services.rollouts.html">rollouts</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
- <code><a href="#create">create(serviceName=None, body, x__xgafv=None)</a></code></p>
+ <code><a href="#create">create(serviceName, body, x__xgafv=None)</a></code></p>
<p class="firstline">Creates a new service configuration rollout. Based on rollout, the</p>
<p class="toc_element">
- <code><a href="#get">get(serviceName=None, rolloutId, x__xgafv=None)</a></code></p>
+ <code><a href="#get">get(serviceName, rolloutId, x__xgafv=None)</a></code></p>
<p class="firstline">Gets a service configuration rollout.</p>
<p class="toc_element">
- <code><a href="#list">list(serviceName=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
+ <code><a href="#list">list(serviceName, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
<p class="firstline">Lists the history of the service configuration rollouts for a managed</p>
<p class="toc_element">
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<h3>Method Details</h3>
<div class="method">
- <code class="details" id="create">create(serviceName=None, body, x__xgafv=None)</code>
+ <code class="details" id="create">create(serviceName, body, x__xgafv=None)</code>
<pre>Creates a new service configuration rollout. Based on rollout, the
Google Service Management will roll out the service configurations to
different backend services. For example, the logging configuration will be
@@ -112,14 +112,6 @@
"status": "A String", # The status of this rollout. Readonly. In case of a failed rollout,
# the system will automatically rollback to the current Rollout
# version. Readonly.
- "rolloutId": "A String", # Optional unique identifier of this Rollout. Only lower case letters, digits
- # and '-' are allowed.
- #
- # If not specified by client, the server will generate one. The generated id
- # will have the form of <date><revision number>, where "date" is the create
- # date in ISO 8601 format. "revision number" is a monotonically increasing
- # positive number that is reset every day for each service.
- # An example of the generated rollout_id is '2016-02-16r1'
"trafficPercentStrategy": { # Strategy that specifies how Google Service Control should select # Google Service Control selects service configurations based on
# traffic percentage.
# different
@@ -156,12 +148,20 @@
"a_key": 3.14,
},
},
+ "rolloutId": "A String", # Optional unique identifier of this Rollout. Only lower case letters, digits
+ # and '-' are allowed.
+ #
+ # If not specified by client, the server will generate one. The generated id
+ # will have the form of <date><revision number>, where "date" is the create
+ # date in ISO 8601 format. "revision number" is a monotonically increasing
+ # positive number that is reset every day for each service.
+ # An example of the generated rollout_id is '2016-02-16r1'
+ "serviceName": "A String", # The name of the service associated with this Rollout.
"createdBy": "A String", # The user who created the Rollout. Readonly.
"deleteServiceStrategy": { # Strategy used to delete a service. This strategy is a placeholder only # The strategy associated with a rollout to delete a `ManagedService`.
# Readonly.
# used by the system generated rollout to delete a service.
},
- "serviceName": "A String", # The name of the service associated with this Rollout.
"createTime": "A String", # Creation time of the rollout. Readonly.
}
@@ -264,7 +264,7 @@
</div>
<div class="method">
- <code class="details" id="get">get(serviceName=None, rolloutId, x__xgafv=None)</code>
+ <code class="details" id="get">get(serviceName, rolloutId, x__xgafv=None)</code>
<pre>Gets a service configuration rollout.
Args:
@@ -285,14 +285,6 @@
"status": "A String", # The status of this rollout. Readonly. In case of a failed rollout,
# the system will automatically rollback to the current Rollout
# version. Readonly.
- "rolloutId": "A String", # Optional unique identifier of this Rollout. Only lower case letters, digits
- # and '-' are allowed.
- #
- # If not specified by client, the server will generate one. The generated id
- # will have the form of <date><revision number>, where "date" is the create
- # date in ISO 8601 format. "revision number" is a monotonically increasing
- # positive number that is reset every day for each service.
- # An example of the generated rollout_id is '2016-02-16r1'
"trafficPercentStrategy": { # Strategy that specifies how Google Service Control should select # Google Service Control selects service configurations based on
# traffic percentage.
# different
@@ -329,18 +321,26 @@
"a_key": 3.14,
},
},
+ "rolloutId": "A String", # Optional unique identifier of this Rollout. Only lower case letters, digits
+ # and '-' are allowed.
+ #
+ # If not specified by client, the server will generate one. The generated id
+ # will have the form of <date><revision number>, where "date" is the create
+ # date in ISO 8601 format. "revision number" is a monotonically increasing
+ # positive number that is reset every day for each service.
+ # An example of the generated rollout_id is '2016-02-16r1'
+ "serviceName": "A String", # The name of the service associated with this Rollout.
"createdBy": "A String", # The user who created the Rollout. Readonly.
"deleteServiceStrategy": { # Strategy used to delete a service. This strategy is a placeholder only # The strategy associated with a rollout to delete a `ManagedService`.
# Readonly.
# used by the system generated rollout to delete a service.
},
- "serviceName": "A String", # The name of the service associated with this Rollout.
"createTime": "A String", # Creation time of the rollout. Readonly.
}</pre>
</div>
<div class="method">
- <code class="details" id="list">list(serviceName=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
+ <code class="details" id="list">list(serviceName, pageSize=None, pageToken=None, x__xgafv=None)</code>
<pre>Lists the history of the service configuration rollouts for a managed
service, from the newest to the oldest.
@@ -366,14 +366,6 @@
"status": "A String", # The status of this rollout. Readonly. In case of a failed rollout,
# the system will automatically rollback to the current Rollout
# version. Readonly.
- "rolloutId": "A String", # Optional unique identifier of this Rollout. Only lower case letters, digits
- # and '-' are allowed.
- #
- # If not specified by client, the server will generate one. The generated id
- # will have the form of <date><revision number>, where "date" is the create
- # date in ISO 8601 format. "revision number" is a monotonically increasing
- # positive number that is reset every day for each service.
- # An example of the generated rollout_id is '2016-02-16r1'
"trafficPercentStrategy": { # Strategy that specifies how Google Service Control should select # Google Service Control selects service configurations based on
# traffic percentage.
# different
@@ -410,12 +402,20 @@
"a_key": 3.14,
},
},
+ "rolloutId": "A String", # Optional unique identifier of this Rollout. Only lower case letters, digits
+ # and '-' are allowed.
+ #
+ # If not specified by client, the server will generate one. The generated id
+ # will have the form of <date><revision number>, where "date" is the create
+ # date in ISO 8601 format. "revision number" is a monotonically increasing
+ # positive number that is reset every day for each service.
+ # An example of the generated rollout_id is '2016-02-16r1'
+ "serviceName": "A String", # The name of the service associated with this Rollout.
"createdBy": "A String", # The user who created the Rollout. Readonly.
"deleteServiceStrategy": { # Strategy used to delete a service. This strategy is a placeholder only # The strategy associated with a rollout to delete a `ManagedService`.
# Readonly.
# used by the system generated rollout to delete a service.
},
- "serviceName": "A String", # The name of the service associated with this Rollout.
"createTime": "A String", # Creation time of the rollout. Readonly.
},
],