chore: update docs/dyn (#1162)
This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/b5e48daa-1759-436b-9fe7-ffce1482b520/targets
- [ ] To automatically regenerate this PR, check this box.
diff --git a/docs/dyn/drive_v2.permissions.html b/docs/dyn/drive_v2.permissions.html
index 755157a..ffd1e65 100644
--- a/docs/dyn/drive_v2.permissions.html
+++ b/docs/dyn/drive_v2.permissions.html
@@ -135,68 +135,68 @@
An object of the form:
{ # A permission for a file.
- "additionalRoles": [ # Additional roles for this user. Only commenter is currently allowed, though more may be supported in the future.
- "A String",
- ],
- "authKey": "A String", # Deprecated.
- "deleted": True or False, # Whether the account associated with this permission has been deleted. This field only pertains to user and group permissions.
- "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
- "emailAddress": "A String", # The email address of the user or group this permission refers to. This is an output-only field which is present when the permission type is user or group.
- "etag": "A String", # The ETag of the permission.
- "expirationDate": "A String", # The time at which this permission will expire (RFC 3339 date-time). Expiration dates have the following restrictions:
- # - They cannot be set on shared drive items
- # - They can only be set on user and group permissions
- # - The date must be in the future
- # - The date cannot be more than a year in the future
- # - The date can only be set on drive.permissions.update or drive.permissions.patch requests
- "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
- "kind": "drive#permission", # This is always drive#permission.
- "name": "A String", # The name for this permission.
- "permissionDetails": [ # Details of whether the permissions on this shared drive item are inherited or directly on this item. This is an output-only field which is present only for shared drive items.
- {
- "additionalRoles": [ # Additional roles for this user. Only commenter is currently possible, though more may be supported in the future.
- "A String",
- ],
- "inherited": True or False, # Whether this permission is inherited. This field is always populated. This is an output-only field.
- "inheritedFrom": "A String", # The ID of the item from which this permission is inherited. This is an output-only field.
- "permissionType": "A String", # The permission type for this user. While new values may be added in future, the following are currently possible:
- # - file
- # - member
- "role": "A String", # The primary role for this user. While new values may be added in the future, the following are currently possible:
- # - organizer
- # - fileOrganizer
- # - writer
- # - reader
- },
- ],
- "photoLink": "A String", # A link to the profile photo, if available.
- "role": "A String", # The primary role for this user. While new values may be supported in the future, the following are currently allowed:
- # - owner
- # - organizer
- # - fileOrganizer
- # - writer
- # - reader
- "selfLink": "A String", # A link back to this permission.
- "teamDrivePermissionDetails": [ # Deprecated - use permissionDetails instead.
- {
- "additionalRoles": [ # Deprecated - use permissionDetails/additionalRoles instead.
- "A String",
- ],
- "inherited": True or False, # Deprecated - use permissionDetails/inherited instead.
- "inheritedFrom": "A String", # Deprecated - use permissionDetails/inheritedFrom instead.
- "role": "A String", # Deprecated - use permissionDetails/role instead.
- "teamDrivePermissionType": "A String", # Deprecated - use permissionDetails/permissionType instead.
- },
- ],
- "type": "A String", # The account type. Allowed values are:
- # - user
- # - group
- # - domain
- # - anyone
- "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
- "view": "A String", # Indicates the view for this permission. Only populated for permissions that belong to a view. published is the only supported value.
- "withLink": True or False, # Whether the link is required for this permission.
- }</pre>
+ "additionalRoles": [ # Additional roles for this user. Only commenter is currently allowed, though more may be supported in the future.
+ "A String",
+ ],
+ "authKey": "A String", # Deprecated.
+ "deleted": True or False, # Whether the account associated with this permission has been deleted. This field only pertains to user and group permissions.
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
+ "emailAddress": "A String", # The email address of the user or group this permission refers to. This is an output-only field which is present when the permission type is user or group.
+ "etag": "A String", # The ETag of the permission.
+ "expirationDate": "A String", # The time at which this permission will expire (RFC 3339 date-time). Expiration dates have the following restrictions:
+ # - They cannot be set on shared drive items
+ # - They can only be set on user and group permissions
+ # - The date must be in the future
+ # - The date cannot be more than a year in the future
+ # - The date can only be set on drive.permissions.update or drive.permissions.patch requests
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
+ "kind": "drive#permission", # This is always drive#permission.
+ "name": "A String", # The name for this permission.
+ "permissionDetails": [ # Details of whether the permissions on this shared drive item are inherited or directly on this item. This is an output-only field which is present only for shared drive items.
+ {
+ "additionalRoles": [ # Additional roles for this user. Only commenter is currently possible, though more may be supported in the future.
+ "A String",
+ ],
+ "inherited": True or False, # Whether this permission is inherited. This field is always populated. This is an output-only field.
+ "inheritedFrom": "A String", # The ID of the item from which this permission is inherited. This is an output-only field.
+ "permissionType": "A String", # The permission type for this user. While new values may be added in future, the following are currently possible:
+ # - file
+ # - member
+ "role": "A String", # The primary role for this user. While new values may be added in the future, the following are currently possible:
+ # - organizer
+ # - fileOrganizer
+ # - writer
+ # - reader
+ },
+ ],
+ "photoLink": "A String", # A link to the profile photo, if available.
+ "role": "A String", # The primary role for this user. While new values may be supported in the future, the following are currently allowed:
+ # - owner
+ # - organizer
+ # - fileOrganizer
+ # - writer
+ # - reader
+ "selfLink": "A String", # A link back to this permission.
+ "teamDrivePermissionDetails": [ # Deprecated - use permissionDetails instead.
+ {
+ "additionalRoles": [ # Deprecated - use permissionDetails/additionalRoles instead.
+ "A String",
+ ],
+ "inherited": True or False, # Deprecated - use permissionDetails/inherited instead.
+ "inheritedFrom": "A String", # Deprecated - use permissionDetails/inheritedFrom instead.
+ "role": "A String", # Deprecated - use permissionDetails/role instead.
+ "teamDrivePermissionType": "A String", # Deprecated - use permissionDetails/permissionType instead.
+ },
+ ],
+ "type": "A String", # The account type. Allowed values are:
+ # - user
+ # - group
+ # - domain
+ # - anyone
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
+ "view": "A String", # Indicates the view for this permission. Only populated for permissions that belong to a view. published is the only supported value.
+ "withLink": True or False, # Whether the link is required for this permission.
+}</pre>
</div>
<div class="method">
@@ -210,9 +210,9 @@
An object of the form:
{ # An ID for a user or group as seen in Permission items.
- "id": "A String", # The permission ID.
- "kind": "drive#permissionId", # This is always drive#permissionId.
- }</pre>
+ "id": "A String", # The permission ID.
+ "kind": "drive#permissionId", # This is always drive#permissionId.
+}</pre>
</div>
<div class="method">
@@ -300,68 +300,68 @@
An object of the form:
{ # A permission for a file.
- "additionalRoles": [ # Additional roles for this user. Only commenter is currently allowed, though more may be supported in the future.
- "A String",
- ],
- "authKey": "A String", # Deprecated.
- "deleted": True or False, # Whether the account associated with this permission has been deleted. This field only pertains to user and group permissions.
- "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
- "emailAddress": "A String", # The email address of the user or group this permission refers to. This is an output-only field which is present when the permission type is user or group.
- "etag": "A String", # The ETag of the permission.
- "expirationDate": "A String", # The time at which this permission will expire (RFC 3339 date-time). Expiration dates have the following restrictions:
- # - They cannot be set on shared drive items
- # - They can only be set on user and group permissions
- # - The date must be in the future
- # - The date cannot be more than a year in the future
- # - The date can only be set on drive.permissions.update or drive.permissions.patch requests
- "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
- "kind": "drive#permission", # This is always drive#permission.
- "name": "A String", # The name for this permission.
- "permissionDetails": [ # Details of whether the permissions on this shared drive item are inherited or directly on this item. This is an output-only field which is present only for shared drive items.
- {
- "additionalRoles": [ # Additional roles for this user. Only commenter is currently possible, though more may be supported in the future.
- "A String",
- ],
- "inherited": True or False, # Whether this permission is inherited. This field is always populated. This is an output-only field.
- "inheritedFrom": "A String", # The ID of the item from which this permission is inherited. This is an output-only field.
- "permissionType": "A String", # The permission type for this user. While new values may be added in future, the following are currently possible:
- # - file
- # - member
- "role": "A String", # The primary role for this user. While new values may be added in the future, the following are currently possible:
- # - organizer
- # - fileOrganizer
- # - writer
- # - reader
- },
- ],
- "photoLink": "A String", # A link to the profile photo, if available.
- "role": "A String", # The primary role for this user. While new values may be supported in the future, the following are currently allowed:
- # - owner
- # - organizer
- # - fileOrganizer
- # - writer
- # - reader
- "selfLink": "A String", # A link back to this permission.
- "teamDrivePermissionDetails": [ # Deprecated - use permissionDetails instead.
- {
- "additionalRoles": [ # Deprecated - use permissionDetails/additionalRoles instead.
- "A String",
- ],
- "inherited": True or False, # Deprecated - use permissionDetails/inherited instead.
- "inheritedFrom": "A String", # Deprecated - use permissionDetails/inheritedFrom instead.
- "role": "A String", # Deprecated - use permissionDetails/role instead.
- "teamDrivePermissionType": "A String", # Deprecated - use permissionDetails/permissionType instead.
- },
- ],
- "type": "A String", # The account type. Allowed values are:
- # - user
- # - group
- # - domain
- # - anyone
- "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
- "view": "A String", # Indicates the view for this permission. Only populated for permissions that belong to a view. published is the only supported value.
- "withLink": True or False, # Whether the link is required for this permission.
- }</pre>
+ "additionalRoles": [ # Additional roles for this user. Only commenter is currently allowed, though more may be supported in the future.
+ "A String",
+ ],
+ "authKey": "A String", # Deprecated.
+ "deleted": True or False, # Whether the account associated with this permission has been deleted. This field only pertains to user and group permissions.
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
+ "emailAddress": "A String", # The email address of the user or group this permission refers to. This is an output-only field which is present when the permission type is user or group.
+ "etag": "A String", # The ETag of the permission.
+ "expirationDate": "A String", # The time at which this permission will expire (RFC 3339 date-time). Expiration dates have the following restrictions:
+ # - They cannot be set on shared drive items
+ # - They can only be set on user and group permissions
+ # - The date must be in the future
+ # - The date cannot be more than a year in the future
+ # - The date can only be set on drive.permissions.update or drive.permissions.patch requests
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
+ "kind": "drive#permission", # This is always drive#permission.
+ "name": "A String", # The name for this permission.
+ "permissionDetails": [ # Details of whether the permissions on this shared drive item are inherited or directly on this item. This is an output-only field which is present only for shared drive items.
+ {
+ "additionalRoles": [ # Additional roles for this user. Only commenter is currently possible, though more may be supported in the future.
+ "A String",
+ ],
+ "inherited": True or False, # Whether this permission is inherited. This field is always populated. This is an output-only field.
+ "inheritedFrom": "A String", # The ID of the item from which this permission is inherited. This is an output-only field.
+ "permissionType": "A String", # The permission type for this user. While new values may be added in future, the following are currently possible:
+ # - file
+ # - member
+ "role": "A String", # The primary role for this user. While new values may be added in the future, the following are currently possible:
+ # - organizer
+ # - fileOrganizer
+ # - writer
+ # - reader
+ },
+ ],
+ "photoLink": "A String", # A link to the profile photo, if available.
+ "role": "A String", # The primary role for this user. While new values may be supported in the future, the following are currently allowed:
+ # - owner
+ # - organizer
+ # - fileOrganizer
+ # - writer
+ # - reader
+ "selfLink": "A String", # A link back to this permission.
+ "teamDrivePermissionDetails": [ # Deprecated - use permissionDetails instead.
+ {
+ "additionalRoles": [ # Deprecated - use permissionDetails/additionalRoles instead.
+ "A String",
+ ],
+ "inherited": True or False, # Deprecated - use permissionDetails/inherited instead.
+ "inheritedFrom": "A String", # Deprecated - use permissionDetails/inheritedFrom instead.
+ "role": "A String", # Deprecated - use permissionDetails/role instead.
+ "teamDrivePermissionType": "A String", # Deprecated - use permissionDetails/permissionType instead.
+ },
+ ],
+ "type": "A String", # The account type. Allowed values are:
+ # - user
+ # - group
+ # - domain
+ # - anyone
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
+ "view": "A String", # Indicates the view for this permission. Only populated for permissions that belong to a view. published is the only supported value.
+ "withLink": True or False, # Whether the link is required for this permission.
+}</pre>
</div>
<div class="method">
@@ -381,76 +381,76 @@
An object of the form:
{ # A list of permissions associated with a file.
- "etag": "A String", # The ETag of the list.
- "items": [ # The list of permissions.
- { # A permission for a file.
- "additionalRoles": [ # Additional roles for this user. Only commenter is currently allowed, though more may be supported in the future.
- "A String",
- ],
- "authKey": "A String", # Deprecated.
- "deleted": True or False, # Whether the account associated with this permission has been deleted. This field only pertains to user and group permissions.
- "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
- "emailAddress": "A String", # The email address of the user or group this permission refers to. This is an output-only field which is present when the permission type is user or group.
- "etag": "A String", # The ETag of the permission.
- "expirationDate": "A String", # The time at which this permission will expire (RFC 3339 date-time). Expiration dates have the following restrictions:
- # - They cannot be set on shared drive items
- # - They can only be set on user and group permissions
- # - The date must be in the future
- # - The date cannot be more than a year in the future
- # - The date can only be set on drive.permissions.update or drive.permissions.patch requests
- "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
- "kind": "drive#permission", # This is always drive#permission.
- "name": "A String", # The name for this permission.
- "permissionDetails": [ # Details of whether the permissions on this shared drive item are inherited or directly on this item. This is an output-only field which is present only for shared drive items.
- {
- "additionalRoles": [ # Additional roles for this user. Only commenter is currently possible, though more may be supported in the future.
- "A String",
- ],
- "inherited": True or False, # Whether this permission is inherited. This field is always populated. This is an output-only field.
- "inheritedFrom": "A String", # The ID of the item from which this permission is inherited. This is an output-only field.
- "permissionType": "A String", # The permission type for this user. While new values may be added in future, the following are currently possible:
- # - file
- # - member
- "role": "A String", # The primary role for this user. While new values may be added in the future, the following are currently possible:
- # - organizer
- # - fileOrganizer
- # - writer
- # - reader
- },
- ],
- "photoLink": "A String", # A link to the profile photo, if available.
- "role": "A String", # The primary role for this user. While new values may be supported in the future, the following are currently allowed:
- # - owner
- # - organizer
- # - fileOrganizer
- # - writer
- # - reader
- "selfLink": "A String", # A link back to this permission.
- "teamDrivePermissionDetails": [ # Deprecated - use permissionDetails instead.
- {
- "additionalRoles": [ # Deprecated - use permissionDetails/additionalRoles instead.
- "A String",
- ],
- "inherited": True or False, # Deprecated - use permissionDetails/inherited instead.
- "inheritedFrom": "A String", # Deprecated - use permissionDetails/inheritedFrom instead.
- "role": "A String", # Deprecated - use permissionDetails/role instead.
- "teamDrivePermissionType": "A String", # Deprecated - use permissionDetails/permissionType instead.
- },
- ],
- "type": "A String", # The account type. Allowed values are:
- # - user
- # - group
- # - domain
- # - anyone
- "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
- "view": "A String", # Indicates the view for this permission. Only populated for permissions that belong to a view. published is the only supported value.
- "withLink": True or False, # Whether the link is required for this permission.
- },
- ],
- "kind": "drive#permissionList", # This is always drive#permissionList.
- "nextPageToken": "A String", # The page token for the next page of permissions. This field will be absent if the end of the permissions list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results.
- "selfLink": "A String", # A link back to this list.
- }</pre>
+ "etag": "A String", # The ETag of the list.
+ "items": [ # The list of permissions.
+ { # A permission for a file.
+ "additionalRoles": [ # Additional roles for this user. Only commenter is currently allowed, though more may be supported in the future.
+ "A String",
+ ],
+ "authKey": "A String", # Deprecated.
+ "deleted": True or False, # Whether the account associated with this permission has been deleted. This field only pertains to user and group permissions.
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
+ "emailAddress": "A String", # The email address of the user or group this permission refers to. This is an output-only field which is present when the permission type is user or group.
+ "etag": "A String", # The ETag of the permission.
+ "expirationDate": "A String", # The time at which this permission will expire (RFC 3339 date-time). Expiration dates have the following restrictions:
+ # - They cannot be set on shared drive items
+ # - They can only be set on user and group permissions
+ # - The date must be in the future
+ # - The date cannot be more than a year in the future
+ # - The date can only be set on drive.permissions.update or drive.permissions.patch requests
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
+ "kind": "drive#permission", # This is always drive#permission.
+ "name": "A String", # The name for this permission.
+ "permissionDetails": [ # Details of whether the permissions on this shared drive item are inherited or directly on this item. This is an output-only field which is present only for shared drive items.
+ {
+ "additionalRoles": [ # Additional roles for this user. Only commenter is currently possible, though more may be supported in the future.
+ "A String",
+ ],
+ "inherited": True or False, # Whether this permission is inherited. This field is always populated. This is an output-only field.
+ "inheritedFrom": "A String", # The ID of the item from which this permission is inherited. This is an output-only field.
+ "permissionType": "A String", # The permission type for this user. While new values may be added in future, the following are currently possible:
+ # - file
+ # - member
+ "role": "A String", # The primary role for this user. While new values may be added in the future, the following are currently possible:
+ # - organizer
+ # - fileOrganizer
+ # - writer
+ # - reader
+ },
+ ],
+ "photoLink": "A String", # A link to the profile photo, if available.
+ "role": "A String", # The primary role for this user. While new values may be supported in the future, the following are currently allowed:
+ # - owner
+ # - organizer
+ # - fileOrganizer
+ # - writer
+ # - reader
+ "selfLink": "A String", # A link back to this permission.
+ "teamDrivePermissionDetails": [ # Deprecated - use permissionDetails instead.
+ {
+ "additionalRoles": [ # Deprecated - use permissionDetails/additionalRoles instead.
+ "A String",
+ ],
+ "inherited": True or False, # Deprecated - use permissionDetails/inherited instead.
+ "inheritedFrom": "A String", # Deprecated - use permissionDetails/inheritedFrom instead.
+ "role": "A String", # Deprecated - use permissionDetails/role instead.
+ "teamDrivePermissionType": "A String", # Deprecated - use permissionDetails/permissionType instead.
+ },
+ ],
+ "type": "A String", # The account type. Allowed values are:
+ # - user
+ # - group
+ # - domain
+ # - anyone
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
+ "view": "A String", # Indicates the view for this permission. Only populated for permissions that belong to a view. published is the only supported value.
+ "withLink": True or False, # Whether the link is required for this permission.
+ },
+ ],
+ "kind": "drive#permissionList", # This is always drive#permissionList.
+ "nextPageToken": "A String", # The page token for the next page of permissions. This field will be absent if the end of the permissions list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results.
+ "selfLink": "A String", # A link back to this list.
+}</pre>
</div>
<div class="method">
@@ -551,68 +551,68 @@
An object of the form:
{ # A permission for a file.
- "additionalRoles": [ # Additional roles for this user. Only commenter is currently allowed, though more may be supported in the future.
- "A String",
- ],
- "authKey": "A String", # Deprecated.
- "deleted": True or False, # Whether the account associated with this permission has been deleted. This field only pertains to user and group permissions.
- "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
- "emailAddress": "A String", # The email address of the user or group this permission refers to. This is an output-only field which is present when the permission type is user or group.
- "etag": "A String", # The ETag of the permission.
- "expirationDate": "A String", # The time at which this permission will expire (RFC 3339 date-time). Expiration dates have the following restrictions:
- # - They cannot be set on shared drive items
- # - They can only be set on user and group permissions
- # - The date must be in the future
- # - The date cannot be more than a year in the future
- # - The date can only be set on drive.permissions.update or drive.permissions.patch requests
- "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
- "kind": "drive#permission", # This is always drive#permission.
- "name": "A String", # The name for this permission.
- "permissionDetails": [ # Details of whether the permissions on this shared drive item are inherited or directly on this item. This is an output-only field which is present only for shared drive items.
- {
- "additionalRoles": [ # Additional roles for this user. Only commenter is currently possible, though more may be supported in the future.
- "A String",
- ],
- "inherited": True or False, # Whether this permission is inherited. This field is always populated. This is an output-only field.
- "inheritedFrom": "A String", # The ID of the item from which this permission is inherited. This is an output-only field.
- "permissionType": "A String", # The permission type for this user. While new values may be added in future, the following are currently possible:
- # - file
- # - member
- "role": "A String", # The primary role for this user. While new values may be added in the future, the following are currently possible:
- # - organizer
- # - fileOrganizer
- # - writer
- # - reader
- },
- ],
- "photoLink": "A String", # A link to the profile photo, if available.
- "role": "A String", # The primary role for this user. While new values may be supported in the future, the following are currently allowed:
- # - owner
- # - organizer
- # - fileOrganizer
- # - writer
- # - reader
- "selfLink": "A String", # A link back to this permission.
- "teamDrivePermissionDetails": [ # Deprecated - use permissionDetails instead.
- {
- "additionalRoles": [ # Deprecated - use permissionDetails/additionalRoles instead.
- "A String",
- ],
- "inherited": True or False, # Deprecated - use permissionDetails/inherited instead.
- "inheritedFrom": "A String", # Deprecated - use permissionDetails/inheritedFrom instead.
- "role": "A String", # Deprecated - use permissionDetails/role instead.
- "teamDrivePermissionType": "A String", # Deprecated - use permissionDetails/permissionType instead.
- },
- ],
- "type": "A String", # The account type. Allowed values are:
- # - user
- # - group
- # - domain
- # - anyone
- "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
- "view": "A String", # Indicates the view for this permission. Only populated for permissions that belong to a view. published is the only supported value.
- "withLink": True or False, # Whether the link is required for this permission.
- }</pre>
+ "additionalRoles": [ # Additional roles for this user. Only commenter is currently allowed, though more may be supported in the future.
+ "A String",
+ ],
+ "authKey": "A String", # Deprecated.
+ "deleted": True or False, # Whether the account associated with this permission has been deleted. This field only pertains to user and group permissions.
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
+ "emailAddress": "A String", # The email address of the user or group this permission refers to. This is an output-only field which is present when the permission type is user or group.
+ "etag": "A String", # The ETag of the permission.
+ "expirationDate": "A String", # The time at which this permission will expire (RFC 3339 date-time). Expiration dates have the following restrictions:
+ # - They cannot be set on shared drive items
+ # - They can only be set on user and group permissions
+ # - The date must be in the future
+ # - The date cannot be more than a year in the future
+ # - The date can only be set on drive.permissions.update or drive.permissions.patch requests
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
+ "kind": "drive#permission", # This is always drive#permission.
+ "name": "A String", # The name for this permission.
+ "permissionDetails": [ # Details of whether the permissions on this shared drive item are inherited or directly on this item. This is an output-only field which is present only for shared drive items.
+ {
+ "additionalRoles": [ # Additional roles for this user. Only commenter is currently possible, though more may be supported in the future.
+ "A String",
+ ],
+ "inherited": True or False, # Whether this permission is inherited. This field is always populated. This is an output-only field.
+ "inheritedFrom": "A String", # The ID of the item from which this permission is inherited. This is an output-only field.
+ "permissionType": "A String", # The permission type for this user. While new values may be added in future, the following are currently possible:
+ # - file
+ # - member
+ "role": "A String", # The primary role for this user. While new values may be added in the future, the following are currently possible:
+ # - organizer
+ # - fileOrganizer
+ # - writer
+ # - reader
+ },
+ ],
+ "photoLink": "A String", # A link to the profile photo, if available.
+ "role": "A String", # The primary role for this user. While new values may be supported in the future, the following are currently allowed:
+ # - owner
+ # - organizer
+ # - fileOrganizer
+ # - writer
+ # - reader
+ "selfLink": "A String", # A link back to this permission.
+ "teamDrivePermissionDetails": [ # Deprecated - use permissionDetails instead.
+ {
+ "additionalRoles": [ # Deprecated - use permissionDetails/additionalRoles instead.
+ "A String",
+ ],
+ "inherited": True or False, # Deprecated - use permissionDetails/inherited instead.
+ "inheritedFrom": "A String", # Deprecated - use permissionDetails/inheritedFrom instead.
+ "role": "A String", # Deprecated - use permissionDetails/role instead.
+ "teamDrivePermissionType": "A String", # Deprecated - use permissionDetails/permissionType instead.
+ },
+ ],
+ "type": "A String", # The account type. Allowed values are:
+ # - user
+ # - group
+ # - domain
+ # - anyone
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
+ "view": "A String", # Indicates the view for this permission. Only populated for permissions that belong to a view. published is the only supported value.
+ "withLink": True or False, # Whether the link is required for this permission.
+}</pre>
</div>
<div class="method">
@@ -699,68 +699,68 @@
An object of the form:
{ # A permission for a file.
- "additionalRoles": [ # Additional roles for this user. Only commenter is currently allowed, though more may be supported in the future.
- "A String",
- ],
- "authKey": "A String", # Deprecated.
- "deleted": True or False, # Whether the account associated with this permission has been deleted. This field only pertains to user and group permissions.
- "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
- "emailAddress": "A String", # The email address of the user or group this permission refers to. This is an output-only field which is present when the permission type is user or group.
- "etag": "A String", # The ETag of the permission.
- "expirationDate": "A String", # The time at which this permission will expire (RFC 3339 date-time). Expiration dates have the following restrictions:
- # - They cannot be set on shared drive items
- # - They can only be set on user and group permissions
- # - The date must be in the future
- # - The date cannot be more than a year in the future
- # - The date can only be set on drive.permissions.update or drive.permissions.patch requests
- "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
- "kind": "drive#permission", # This is always drive#permission.
- "name": "A String", # The name for this permission.
- "permissionDetails": [ # Details of whether the permissions on this shared drive item are inherited or directly on this item. This is an output-only field which is present only for shared drive items.
- {
- "additionalRoles": [ # Additional roles for this user. Only commenter is currently possible, though more may be supported in the future.
- "A String",
- ],
- "inherited": True or False, # Whether this permission is inherited. This field is always populated. This is an output-only field.
- "inheritedFrom": "A String", # The ID of the item from which this permission is inherited. This is an output-only field.
- "permissionType": "A String", # The permission type for this user. While new values may be added in future, the following are currently possible:
- # - file
- # - member
- "role": "A String", # The primary role for this user. While new values may be added in the future, the following are currently possible:
- # - organizer
- # - fileOrganizer
- # - writer
- # - reader
- },
- ],
- "photoLink": "A String", # A link to the profile photo, if available.
- "role": "A String", # The primary role for this user. While new values may be supported in the future, the following are currently allowed:
- # - owner
- # - organizer
- # - fileOrganizer
- # - writer
- # - reader
- "selfLink": "A String", # A link back to this permission.
- "teamDrivePermissionDetails": [ # Deprecated - use permissionDetails instead.
- {
- "additionalRoles": [ # Deprecated - use permissionDetails/additionalRoles instead.
- "A String",
- ],
- "inherited": True or False, # Deprecated - use permissionDetails/inherited instead.
- "inheritedFrom": "A String", # Deprecated - use permissionDetails/inheritedFrom instead.
- "role": "A String", # Deprecated - use permissionDetails/role instead.
- "teamDrivePermissionType": "A String", # Deprecated - use permissionDetails/permissionType instead.
- },
- ],
- "type": "A String", # The account type. Allowed values are:
- # - user
- # - group
- # - domain
- # - anyone
- "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
- "view": "A String", # Indicates the view for this permission. Only populated for permissions that belong to a view. published is the only supported value.
- "withLink": True or False, # Whether the link is required for this permission.
- }</pre>
+ "additionalRoles": [ # Additional roles for this user. Only commenter is currently allowed, though more may be supported in the future.
+ "A String",
+ ],
+ "authKey": "A String", # Deprecated.
+ "deleted": True or False, # Whether the account associated with this permission has been deleted. This field only pertains to user and group permissions.
+ "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
+ "emailAddress": "A String", # The email address of the user or group this permission refers to. This is an output-only field which is present when the permission type is user or group.
+ "etag": "A String", # The ETag of the permission.
+ "expirationDate": "A String", # The time at which this permission will expire (RFC 3339 date-time). Expiration dates have the following restrictions:
+ # - They cannot be set on shared drive items
+ # - They can only be set on user and group permissions
+ # - The date must be in the future
+ # - The date cannot be more than a year in the future
+ # - The date can only be set on drive.permissions.update or drive.permissions.patch requests
+ "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
+ "kind": "drive#permission", # This is always drive#permission.
+ "name": "A String", # The name for this permission.
+ "permissionDetails": [ # Details of whether the permissions on this shared drive item are inherited or directly on this item. This is an output-only field which is present only for shared drive items.
+ {
+ "additionalRoles": [ # Additional roles for this user. Only commenter is currently possible, though more may be supported in the future.
+ "A String",
+ ],
+ "inherited": True or False, # Whether this permission is inherited. This field is always populated. This is an output-only field.
+ "inheritedFrom": "A String", # The ID of the item from which this permission is inherited. This is an output-only field.
+ "permissionType": "A String", # The permission type for this user. While new values may be added in future, the following are currently possible:
+ # - file
+ # - member
+ "role": "A String", # The primary role for this user. While new values may be added in the future, the following are currently possible:
+ # - organizer
+ # - fileOrganizer
+ # - writer
+ # - reader
+ },
+ ],
+ "photoLink": "A String", # A link to the profile photo, if available.
+ "role": "A String", # The primary role for this user. While new values may be supported in the future, the following are currently allowed:
+ # - owner
+ # - organizer
+ # - fileOrganizer
+ # - writer
+ # - reader
+ "selfLink": "A String", # A link back to this permission.
+ "teamDrivePermissionDetails": [ # Deprecated - use permissionDetails instead.
+ {
+ "additionalRoles": [ # Deprecated - use permissionDetails/additionalRoles instead.
+ "A String",
+ ],
+ "inherited": True or False, # Deprecated - use permissionDetails/inherited instead.
+ "inheritedFrom": "A String", # Deprecated - use permissionDetails/inheritedFrom instead.
+ "role": "A String", # Deprecated - use permissionDetails/role instead.
+ "teamDrivePermissionType": "A String", # Deprecated - use permissionDetails/permissionType instead.
+ },
+ ],
+ "type": "A String", # The account type. Allowed values are:
+ # - user
+ # - group
+ # - domain
+ # - anyone
+ "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
+ "view": "A String", # Indicates the view for this permission. Only populated for permissions that belong to a view. published is the only supported value.
+ "withLink": True or False, # Whether the link is required for this permission.
+}</pre>
</div>
</body></html>
\ No newline at end of file