Refresh docs
diff --git a/docs/dyn/drive_v2.permissions.html b/docs/dyn/drive_v2.permissions.html
index 4f3048a..dddaf83 100644
--- a/docs/dyn/drive_v2.permissions.html
+++ b/docs/dyn/drive_v2.permissions.html
@@ -87,10 +87,10 @@
<code><a href="#list">list(fileId)</a></code></p>
<p class="firstline">Lists a file's permissions.</p>
<p class="toc_element">
- <code><a href="#patch">patch(fileId, permissionId, body)</a></code></p>
+ <code><a href="#patch">patch(fileId, permissionId, body, transferOwnership=None)</a></code></p>
<p class="firstline">Updates a permission. This method supports patch semantics.</p>
<p class="toc_element">
- <code><a href="#update">update(fileId, permissionId, body)</a></code></p>
+ <code><a href="#update">update(fileId, permissionId, body, transferOwnership=None)</a></code></p>
<p class="firstline">Updates a permission.</p>
<h3>Method Details</h3>
<div class="method">
@@ -116,17 +116,19 @@
{ # A permission for a file.
"withLink": True or False, # Whether the link is required for this permission.
- "kind": "drive#permission", # This is always drive#permission.
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is populated when the permission type is "user", "group" or "domain".
"name": "A String", # The name for this permission.
- "value": "A String", # The email address or domain name for the entity. This is not populated in responses.
+ "kind": "drive#permission", # This is always drive#permission.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses.
"id": "A String", # The ID of the permission.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is populated when the permission type is "user" and the given user's Google+ profile privacy settings allow exposing their email address.
+ "photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
# - reader
# - writer
- "photoLink": "A String", # A link to the profile photo, if available.
"type": "A String", # The account type. Allowed values are:
# - user
# - group
@@ -150,17 +152,19 @@
{ # A permission for a file.
"withLink": True or False, # Whether the link is required for this permission.
- "kind": "drive#permission", # This is always drive#permission.
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is populated when the permission type is "user", "group" or "domain".
"name": "A String", # The name for this permission.
- "value": "A String", # The email address or domain name for the entity. This is not populated in responses.
+ "kind": "drive#permission", # This is always drive#permission.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses.
"id": "A String", # The ID of the permission.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is populated when the permission type is "user" and the given user's Google+ profile privacy settings allow exposing their email address.
+ "photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
# - reader
# - writer
- "photoLink": "A String", # A link to the profile photo, if available.
"type": "A String", # The account type. Allowed values are:
# - user
# - group
@@ -180,17 +184,19 @@
{ # A permission for a file.
"withLink": True or False, # Whether the link is required for this permission.
- "kind": "drive#permission", # This is always drive#permission.
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is populated when the permission type is "user", "group" or "domain".
"name": "A String", # The name for this permission.
- "value": "A String", # The email address or domain name for the entity. This is not populated in responses.
+ "kind": "drive#permission", # This is always drive#permission.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses.
"id": "A String", # The ID of the permission.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is populated when the permission type is "user" and the given user's Google+ profile privacy settings allow exposing their email address.
+ "photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
# - reader
# - writer
- "photoLink": "A String", # A link to the profile photo, if available.
"type": "A String", # The account type. Allowed values are:
# - user
# - group
@@ -217,17 +223,19 @@
"items": [ # The actual list of permissions.
{ # A permission for a file.
"withLink": True or False, # Whether the link is required for this permission.
- "kind": "drive#permission", # This is always drive#permission.
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is populated when the permission type is "user", "group" or "domain".
"name": "A String", # The name for this permission.
- "value": "A String", # The email address or domain name for the entity. This is not populated in responses.
+ "kind": "drive#permission", # This is always drive#permission.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses.
"id": "A String", # The ID of the permission.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is populated when the permission type is "user" and the given user's Google+ profile privacy settings allow exposing their email address.
+ "photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
# - reader
# - writer
- "photoLink": "A String", # A link to the profile photo, if available.
"type": "A String", # The account type. Allowed values are:
# - user
# - group
@@ -246,7 +254,7 @@
</div>
<div class="method">
- <code class="details" id="patch">patch(fileId, permissionId, body)</code>
+ <code class="details" id="patch">patch(fileId, permissionId, body, transferOwnership=None)</code>
<pre>Updates a permission. This method supports patch semantics.
Args:
@@ -257,17 +265,19 @@
{ # A permission for a file.
"withLink": True or False, # Whether the link is required for this permission.
- "kind": "drive#permission", # This is always drive#permission.
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is populated when the permission type is "user", "group" or "domain".
"name": "A String", # The name for this permission.
- "value": "A String", # The email address or domain name for the entity. This is not populated in responses.
+ "kind": "drive#permission", # This is always drive#permission.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses.
"id": "A String", # The ID of the permission.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is populated when the permission type is "user" and the given user's Google+ profile privacy settings allow exposing their email address.
+ "photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
# - reader
# - writer
- "photoLink": "A String", # A link to the profile photo, if available.
"type": "A String", # The account type. Allowed values are:
# - user
# - group
@@ -279,23 +289,26 @@
"selfLink": "A String", # A link back to this permission.
}
+ transferOwnership: boolean, Whether changing a role to 'owner' should also downgrade the current owners to writers.
Returns:
An object of the form:
{ # A permission for a file.
"withLink": True or False, # Whether the link is required for this permission.
- "kind": "drive#permission", # This is always drive#permission.
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is populated when the permission type is "user", "group" or "domain".
"name": "A String", # The name for this permission.
- "value": "A String", # The email address or domain name for the entity. This is not populated in responses.
+ "kind": "drive#permission", # This is always drive#permission.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses.
"id": "A String", # The ID of the permission.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is populated when the permission type is "user" and the given user's Google+ profile privacy settings allow exposing their email address.
+ "photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
# - reader
# - writer
- "photoLink": "A String", # A link to the profile photo, if available.
"type": "A String", # The account type. Allowed values are:
# - user
# - group
@@ -309,7 +322,7 @@
</div>
<div class="method">
- <code class="details" id="update">update(fileId, permissionId, body)</code>
+ <code class="details" id="update">update(fileId, permissionId, body, transferOwnership=None)</code>
<pre>Updates a permission.
Args:
@@ -320,17 +333,19 @@
{ # A permission for a file.
"withLink": True or False, # Whether the link is required for this permission.
- "kind": "drive#permission", # This is always drive#permission.
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is populated when the permission type is "user", "group" or "domain".
"name": "A String", # The name for this permission.
- "value": "A String", # The email address or domain name for the entity. This is not populated in responses.
+ "kind": "drive#permission", # This is always drive#permission.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses.
"id": "A String", # The ID of the permission.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is populated when the permission type is "user" and the given user's Google+ profile privacy settings allow exposing their email address.
+ "photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
# - reader
# - writer
- "photoLink": "A String", # A link to the profile photo, if available.
"type": "A String", # The account type. Allowed values are:
# - user
# - group
@@ -342,23 +357,26 @@
"selfLink": "A String", # A link back to this permission.
}
+ transferOwnership: boolean, Whether changing a role to 'owner' should also downgrade the current owners to writers.
Returns:
An object of the form:
{ # A permission for a file.
"withLink": True or False, # Whether the link is required for this permission.
- "kind": "drive#permission", # This is always drive#permission.
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is populated when the permission type is "user", "group" or "domain".
"name": "A String", # The name for this permission.
- "value": "A String", # The email address or domain name for the entity. This is not populated in responses.
+ "kind": "drive#permission", # This is always drive#permission.
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses.
"id": "A String", # The ID of the permission.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is populated when the permission type is "user" and the given user's Google+ profile privacy settings allow exposing their email address.
+ "photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
# - reader
# - writer
- "photoLink": "A String", # A link to the profile photo, if available.
"type": "A String", # The account type. Allowed values are:
# - user
# - group