refresh docs
diff --git a/docs/dyn/analytics_v3.data.ga.html b/docs/dyn/analytics_v3.data.ga.html
index b59555e..3c74b87 100644
--- a/docs/dyn/analytics_v3.data.ga.html
+++ b/docs/dyn/analytics_v3.data.ga.html
@@ -97,7 +97,7 @@
Returns:
An object of the form:
- {
+ { # Analytics data for a given profile.
"kind": "analytics#gaData", # Resource type.
"rows": [ # Analytics data rows, where each row contains a list of dimension values followed by the metric values. The order of dimensions and metrics is same as specified in the request.
[
diff --git a/docs/dyn/analytics_v3.data.html b/docs/dyn/analytics_v3.data.html
index f5ea488..909faec 100644
--- a/docs/dyn/analytics_v3.data.html
+++ b/docs/dyn/analytics_v3.data.html
@@ -79,4 +79,9 @@
</p>
<p class="firstline">Returns the ga Resource.</p>
+<p class="toc_element">
+ <code><a href="analytics_v3.data.mcf.html">mcf()</a></code>
+</p>
+<p class="firstline">Returns the mcf Resource.</p>
+
</body></html>
\ No newline at end of file
diff --git a/docs/dyn/analytics_v3.data.mcf.html b/docs/dyn/analytics_v3.data.mcf.html
new file mode 100644
index 0000000..df1a01d
--- /dev/null
+++ b/docs/dyn/analytics_v3.data.mcf.html
@@ -0,0 +1,158 @@
+<html><body>
+<style>
+
+body, h1, h2, h3, div, span, p, pre, a {
+ margin: 0;
+ padding: 0;
+ border: 0;
+ font-weight: inherit;
+ font-style: inherit;
+ font-size: 100%;
+ font-family: inherit;
+ vertical-align: baseline;
+}
+
+body {
+ font-size: 13px;
+ padding: 1em;
+}
+
+h1 {
+ font-size: 26px;
+ margin-bottom: 1em;
+}
+
+h2 {
+ font-size: 24px;
+ margin-bottom: 1em;
+}
+
+h3 {
+ font-size: 20px;
+ margin-bottom: 1em;
+ margin-top: 1em;
+}
+
+pre, code {
+ line-height: 1.5;
+ font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
+}
+
+pre {
+ margin-top: 0.5em;
+}
+
+h1, h2, h3, p {
+ font-family: Arial, sans serif;
+}
+
+h1, h2, h3 {
+ border-bottom: solid #CCC 1px;
+}
+
+.toc_element {
+ margin-top: 0.5em;
+}
+
+.firstline {
+ margin-left: 2 em;
+}
+
+.method {
+ margin-top: 1em;
+ border: solid 1px #CCC;
+ padding: 1em;
+ background: #EEE;
+}
+
+.details {
+ font-weight: bold;
+ font-size: 14px;
+}
+
+</style>
+
+<h1><a href="analytics_v3.html">Google Analytics API</a> . <a href="analytics_v3.data.html">data</a> . <a href="analytics_v3.data.mcf.html">mcf</a></h1>
+<h2>Instance Methods</h2>
+<p class="toc_element">
+ <code><a href="#get">get(ids, start_date, end_date, metrics, sort=None, dimensions=None, filters=None, max_results=None, start_index=None)</a></code></p>
+<p class="firstline">Returns Analytics Multi-Channel Funnels data for a profile.</p>
+<h3>Method Details</h3>
+<div class="method">
+ <code class="details" id="get">get(ids, start_date, end_date, metrics, sort=None, dimensions=None, filters=None, max_results=None, start_index=None)</code>
+ <pre>Returns Analytics Multi-Channel Funnels data for a profile.
+
+Args:
+ ids: string, Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is the Analytics profile ID. (required)
+ start_date: string, Start date for fetching Analytics data. All requests should specify a start date formatted as YYYY-MM-DD. (required)
+ end_date: string, End date for fetching Analytics data. All requests should specify an end date formatted as YYYY-MM-DD. (required)
+ metrics: string, A comma-separated list of Multi-Channel Funnels metrics. E.g., 'mcf:totalConversions,mcf:totalConversionValue'. At least one metric must be specified. (required)
+ sort: string, A comma-separated list of dimensions or metrics that determine the sort order for the Analytics data.
+ dimensions: string, A comma-separated list of Multi-Channel Funnels dimensions. E.g., 'mcf:source,mcf:medium'.
+ filters: string, A comma-separated list of dimension or metric filters to be applied to the Analytics data.
+ max_results: integer, The maximum number of entries to include in this feed.
+ start_index: integer, An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
+
+Returns:
+ An object of the form:
+
+ { # Multi-Channel Funnels data for a given profile.
+ "kind": "analytics#mcfData", # Resource type.
+ "rows": [ # Analytics data rows, where each row contains a list of dimension values followed by the metric values. The order of dimensions and metrics is same as specified in the request.
+ [
+ { # A union object representing a dimension or metric value. Only one of "primitiveValue" or "conversionPathValue" attribute will be populated.
+ "primitiveValue": "A String", # A primitive metric value. A primitive dimension value.
+ "conversionPathValue": [ # A conversion path dimension value, containing a list of interactions with their attributes.
+ {
+ "nodeValue": "A String", # Node value of an interaction on conversion path. Such as source, medium etc.
+ "interactionType": "A String", # Type of an interaction on conversion path. Such as CLICK, IMPRESSION etc.
+ },
+ ],
+ },
+ ],
+ ],
+ "containsSampledData": True or False, # Determines if the Analytics data contains sampled data.
+ "totalResults": 42, # The total number of rows for the query, regardless of the number of rows in the response.
+ "itemsPerPage": 42, # The maximum number of rows the response can contain, regardless of the actual number of rows returned. Its value ranges from 1 to 10,000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.
+ "totalsForAllResults": { # Total values for the requested metrics over all the results, not just the results returned in this response. The order of the metric totals is same as the metric order specified in the request.
+ "a_key": "A String", # Key-value pair for the total value of a metric. Key is the metric name and the value is the total value for that metric.
+ },
+ "nextLink": "A String", # Link to next page for this Analytics data query.
+ "id": "A String", # Unique ID for this data response.
+ "query": { # Analytics data request query parameters.
+ "max-results": 42, # Maximum results per page.
+ "sort": [ # List of dimensions or metrics based on which Analytics data is sorted.
+ "A String",
+ ],
+ "dimensions": "A String", # List of analytics dimensions.
+ "start-date": "A String", # Start date.
+ "start-index": 42, # Start index.
+ "segment": "A String", # Analytics advanced segment.
+ "ids": "A String", # Unique table ID.
+ "metrics": [ # List of analytics metrics.
+ "A String",
+ ],
+ "filters": "A String", # Comma-separated list of dimension or metric filters.
+ "end-date": "A String", # End date.
+ },
+ "previousLink": "A String", # Link to previous page for this Analytics data query.
+ "profileInfo": { # Information for the profile, for which the Analytics data was requested.
+ "webPropertyId": "A String", # Web Property ID to which this profile belongs.
+ "internalWebPropertyId": "A String", # Internal ID for the web property to which this profile belongs.
+ "tableId": "A String", # Table ID for profile.
+ "profileId": "A String", # Profile ID.
+ "profileName": "A String", # Profile name.
+ "accountId": "A String", # Account ID to which this profile belongs.
+ },
+ "columnHeaders": [ # Column headers that list dimension names followed by the metric names. The order of dimensions and metrics is same as specified in the request.
+ {
+ "dataType": "A String", # Data type. Dimension and metric values data types such as INTEGER, DOUBLE, CURRENCY, MCF_SEQUENCE etc.
+ "columnType": "A String", # Column Type. Either DIMENSION or METRIC.
+ "name": "A String", # Column name.
+ },
+ ],
+ "selfLink": "A String", # Link to this page.
+ }</pre>
+</div>
+
+</body></html>
\ No newline at end of file
diff --git a/docs/dyn/analytics_v3.management.accounts.html b/docs/dyn/analytics_v3.management.accounts.html
index cf34e63..01d0cab 100644
--- a/docs/dyn/analytics_v3.management.accounts.html
+++ b/docs/dyn/analytics_v3.management.accounts.html
@@ -89,11 +89,11 @@
Returns:
An object of the form:
- {
+ { # An account collection provides a list of Analytics accounts to which a user has access. The account collection is the entry point to all management information. Each resource in the collection corresponds to a single Analytics account.
"username": "A String", # Email ID of the authenticated user
"kind": "analytics#accounts", # Collection type.
"items": [ # A list of accounts.
- {
+ { # JSON template for Analytics account entry.
"kind": "analytics#account", # Resource type for Analytics account.
"name": "A String", # Account name.
"created": "A String", # Time the account was created.
diff --git a/docs/dyn/analytics_v3.management.goals.html b/docs/dyn/analytics_v3.management.goals.html
index 0a7b8ab..8dae66c 100644
--- a/docs/dyn/analytics_v3.management.goals.html
+++ b/docs/dyn/analytics_v3.management.goals.html
@@ -92,11 +92,11 @@
Returns:
An object of the form:
- {
+ { # A goal collection lists Analytics goals to which the user has access. Each profile can have a set of goals. Each resource in the Goal collection corresponds to a single Analytics goal.
"username": "A String", # Email ID of the authenticated user
"kind": "analytics#goals", # Collection type.
"items": [ # A list of goals.
- {
+ { # JSON template for Analytics goal resource.
"kind": "analytics#goal", # Resource type for an Analytics goal.
"visitTimeOnSiteDetails": { # Details for the goal of the type VISIT_TIME_ON_SITE.
"comparisonType": "A String", # Type of comparison. Possible values are LESS_THAN or GREATER_THAN.
diff --git a/docs/dyn/analytics_v3.management.profiles.html b/docs/dyn/analytics_v3.management.profiles.html
index 29ab916..1cf750f 100644
--- a/docs/dyn/analytics_v3.management.profiles.html
+++ b/docs/dyn/analytics_v3.management.profiles.html
@@ -91,11 +91,11 @@
Returns:
An object of the form:
- {
+ { # A profile collection lists Analytics profiles to which the user has access. Each resource in the collection corresponds to a single Analytics profile.
"username": "A String", # Email ID of the authenticated user
"kind": "analytics#profiles", # Collection type.
"items": [ # A list of profiles.
- {
+ { # JSON template for an Analytics profile.
"defaultPage": "A String", # Default page for this profile.
"kind": "analytics#profile", # Resource type for Analytics profile.
"excludeQueryParameters": "A String", # The query parameters that are excluded from this profile.
diff --git a/docs/dyn/analytics_v3.management.segments.html b/docs/dyn/analytics_v3.management.segments.html
index 8e402f0..672be48 100644
--- a/docs/dyn/analytics_v3.management.segments.html
+++ b/docs/dyn/analytics_v3.management.segments.html
@@ -89,11 +89,11 @@
Returns:
An object of the form:
- {
+ { # An advanced segment collection lists Analytics advanced segments that the user has access to. Each resource in the collection corresponds to a single Analytics advanced segment.
"username": "A String", # Email ID of the authenticated user
"kind": "analytics#segments", # Collection type for advanced segments.
"items": [ # A list of advanced segments.
- {
+ { # JSON template for an Analytics advanced segment.
"definition": "A String", # Advanced segment definition.
"kind": "analytics#segment", # Resource type for Analytics advanced segment.
"segmentId": "A String", # Segment ID. Can be used with the 'segment' parameter in Data Feed.
diff --git a/docs/dyn/analytics_v3.management.webproperties.html b/docs/dyn/analytics_v3.management.webproperties.html
index 6a44e63..91d6e5d 100644
--- a/docs/dyn/analytics_v3.management.webproperties.html
+++ b/docs/dyn/analytics_v3.management.webproperties.html
@@ -90,11 +90,11 @@
Returns:
An object of the form:
- {
+ { # A web property collection lists Analytics web properties to which the user has access. Each resource in the collection corresponds to a single Analytics web property.
"username": "A String", # Email ID of the authenticated user
"kind": "analytics#webproperties", # Collection type.
"items": [ # A list of web properties.
- {
+ { # JSON template for an Analytics web property.
"kind": "analytics#webproperty", # Resource type for Analytics WebProperty.
"name": "A String", # Name of this web property.
"created": "A String", # Time this web property was created.
diff --git a/docs/dyn/bigquery_v2.jobs.html b/docs/dyn/bigquery_v2.jobs.html
index 29631bc..6ba9877 100644
--- a/docs/dyn/bigquery_v2.jobs.html
+++ b/docs/dyn/bigquery_v2.jobs.html
@@ -136,18 +136,19 @@
"configuration": { # [Required] Describes the job configuration.
"load": { # [Pick one] Configures a load job.
"encoding": "A String", # [Optional] Character encoding of the input data. May be UTF-8 or ISO-8859-1. Default is UTF-8.
- "fieldDelimiter": "A String", # [Optional] Delimiter to use between fields in the import data. Default is ','
+ "fieldDelimiter": "A String", # [Optional] Delimiter to use between fields in the import data. Default is ','. Note that delimiters are applied to the raw, binary data before the encoding is applied.
"destinationTable": { # [Required] Table being written to.
"projectId": "A String", # [Required] ID of the project billed for storage of the table.
"tableId": "A String", # [Required] ID of the table.
"datasetId": "A String", # [Required] ID of the dataset containing the table.
},
- "maxBadRecords": 42, # [Optional] Maximum number of bad records that should be ignored before the entire job is aborted and no updates are performed.
"writeDisposition": "A String", # [Optional] Whether to overwrite an existing table (WRITE_TRUNCATE), append to an existing table (WRITE_APPEND), or require that the the table is empty (WRITE_EMPTY). Default is WRITE_APPEND.
+ "maxBadRecords": 42, # [Optional] Maximum number of bad records that should be ignored before the entire job is aborted and no updates are performed.
+ "skipLeadingRows": 42, # [Optional] Number of rows of initial data to skip in the data being imported.
"sourceUris": [ # [Required] Source URIs describing Google Cloud Storage locations of data to load.
"A String",
],
- "skipLeadingRows": 42, # [Optional] Number of rows of initial data to skip in the data being imported.
+ "quote": "A String", # [Optional] Quote character to use. Default is '"'. Note that quoting is done on the raw, binary data before the encoding is applied.
"createDisposition": "A String", # [Optional] Whether to create the table if it doesn't already exist (CREATE_IF_NEEDED) or to require the table already exist (CREATE_NEVER). Default is CREATE_IF_NEEDED.
"schemaInlineFormat": "A String", # [Experimental] Format of inlineSchema field.
"schemaInline": "A String", # [Experimental] Inline schema. For CSV schemas, specify as "Field1:Type1[,Field2:Type2]*". For example, "foo:STRING, bar:INTEGER, baz:FLOAT"
@@ -312,18 +313,19 @@
"configuration": { # [Required] Describes the job configuration.
"load": { # [Pick one] Configures a load job.
"encoding": "A String", # [Optional] Character encoding of the input data. May be UTF-8 or ISO-8859-1. Default is UTF-8.
- "fieldDelimiter": "A String", # [Optional] Delimiter to use between fields in the import data. Default is ','
+ "fieldDelimiter": "A String", # [Optional] Delimiter to use between fields in the import data. Default is ','. Note that delimiters are applied to the raw, binary data before the encoding is applied.
"destinationTable": { # [Required] Table being written to.
"projectId": "A String", # [Required] ID of the project billed for storage of the table.
"tableId": "A String", # [Required] ID of the table.
"datasetId": "A String", # [Required] ID of the dataset containing the table.
},
- "maxBadRecords": 42, # [Optional] Maximum number of bad records that should be ignored before the entire job is aborted and no updates are performed.
"writeDisposition": "A String", # [Optional] Whether to overwrite an existing table (WRITE_TRUNCATE), append to an existing table (WRITE_APPEND), or require that the the table is empty (WRITE_EMPTY). Default is WRITE_APPEND.
+ "maxBadRecords": 42, # [Optional] Maximum number of bad records that should be ignored before the entire job is aborted and no updates are performed.
+ "skipLeadingRows": 42, # [Optional] Number of rows of initial data to skip in the data being imported.
"sourceUris": [ # [Required] Source URIs describing Google Cloud Storage locations of data to load.
"A String",
],
- "skipLeadingRows": 42, # [Optional] Number of rows of initial data to skip in the data being imported.
+ "quote": "A String", # [Optional] Quote character to use. Default is '"'. Note that quoting is done on the raw, binary data before the encoding is applied.
"createDisposition": "A String", # [Optional] Whether to create the table if it doesn't already exist (CREATE_IF_NEEDED) or to require the table already exist (CREATE_NEVER). Default is CREATE_IF_NEEDED.
"schemaInlineFormat": "A String", # [Experimental] Format of inlineSchema field.
"schemaInline": "A String", # [Experimental] Inline schema. For CSV schemas, specify as "Field1:Type1[,Field2:Type2]*". For example, "foo:STRING, bar:INTEGER, baz:FLOAT"
@@ -436,18 +438,19 @@
"configuration": { # [Required] Describes the job configuration.
"load": { # [Pick one] Configures a load job.
"encoding": "A String", # [Optional] Character encoding of the input data. May be UTF-8 or ISO-8859-1. Default is UTF-8.
- "fieldDelimiter": "A String", # [Optional] Delimiter to use between fields in the import data. Default is ','
+ "fieldDelimiter": "A String", # [Optional] Delimiter to use between fields in the import data. Default is ','. Note that delimiters are applied to the raw, binary data before the encoding is applied.
"destinationTable": { # [Required] Table being written to.
"projectId": "A String", # [Required] ID of the project billed for storage of the table.
"tableId": "A String", # [Required] ID of the table.
"datasetId": "A String", # [Required] ID of the dataset containing the table.
},
- "maxBadRecords": 42, # [Optional] Maximum number of bad records that should be ignored before the entire job is aborted and no updates are performed.
"writeDisposition": "A String", # [Optional] Whether to overwrite an existing table (WRITE_TRUNCATE), append to an existing table (WRITE_APPEND), or require that the the table is empty (WRITE_EMPTY). Default is WRITE_APPEND.
+ "maxBadRecords": 42, # [Optional] Maximum number of bad records that should be ignored before the entire job is aborted and no updates are performed.
+ "skipLeadingRows": 42, # [Optional] Number of rows of initial data to skip in the data being imported.
"sourceUris": [ # [Required] Source URIs describing Google Cloud Storage locations of data to load.
"A String",
],
- "skipLeadingRows": 42, # [Optional] Number of rows of initial data to skip in the data being imported.
+ "quote": "A String", # [Optional] Quote character to use. Default is '"'. Note that quoting is done on the raw, binary data before the encoding is applied.
"createDisposition": "A String", # [Optional] Whether to create the table if it doesn't already exist (CREATE_IF_NEEDED) or to require the table already exist (CREATE_NEVER). Default is CREATE_IF_NEEDED.
"schemaInlineFormat": "A String", # [Experimental] Format of inlineSchema field.
"schemaInline": "A String", # [Experimental] Inline schema. For CSV schemas, specify as "Field1:Type1[,Field2:Type2]*". For example, "foo:STRING, bar:INTEGER, baz:FLOAT"
@@ -584,18 +587,19 @@
"configuration": { # [Full-projection-only] Specifies the job configuration.
"load": { # [Pick one] Configures a load job.
"encoding": "A String", # [Optional] Character encoding of the input data. May be UTF-8 or ISO-8859-1. Default is UTF-8.
- "fieldDelimiter": "A String", # [Optional] Delimiter to use between fields in the import data. Default is ','
+ "fieldDelimiter": "A String", # [Optional] Delimiter to use between fields in the import data. Default is ','. Note that delimiters are applied to the raw, binary data before the encoding is applied.
"destinationTable": { # [Required] Table being written to.
"projectId": "A String", # [Required] ID of the project billed for storage of the table.
"tableId": "A String", # [Required] ID of the table.
"datasetId": "A String", # [Required] ID of the dataset containing the table.
},
- "maxBadRecords": 42, # [Optional] Maximum number of bad records that should be ignored before the entire job is aborted and no updates are performed.
"writeDisposition": "A String", # [Optional] Whether to overwrite an existing table (WRITE_TRUNCATE), append to an existing table (WRITE_APPEND), or require that the the table is empty (WRITE_EMPTY). Default is WRITE_APPEND.
+ "maxBadRecords": 42, # [Optional] Maximum number of bad records that should be ignored before the entire job is aborted and no updates are performed.
+ "skipLeadingRows": 42, # [Optional] Number of rows of initial data to skip in the data being imported.
"sourceUris": [ # [Required] Source URIs describing Google Cloud Storage locations of data to load.
"A String",
],
- "skipLeadingRows": 42, # [Optional] Number of rows of initial data to skip in the data being imported.
+ "quote": "A String", # [Optional] Quote character to use. Default is '"'. Note that quoting is done on the raw, binary data before the encoding is applied.
"createDisposition": "A String", # [Optional] Whether to create the table if it doesn't already exist (CREATE_IF_NEEDED) or to require the table already exist (CREATE_NEVER). Default is CREATE_IF_NEEDED.
"schemaInlineFormat": "A String", # [Experimental] Format of inlineSchema field.
"schemaInline": "A String", # [Experimental] Inline schema. For CSV schemas, specify as "Field1:Type1[,Field2:Type2]*". For example, "foo:STRING, bar:INTEGER, baz:FLOAT"
diff --git a/docs/dyn/calendar_v3.calendarList.html b/docs/dyn/calendar_v3.calendarList.html
index 0a4cc68..77edf1d 100644
--- a/docs/dyn/calendar_v3.calendarList.html
+++ b/docs/dyn/calendar_v3.calendarList.html
@@ -81,7 +81,7 @@
<code><a href="#get">get(calendarId)</a></code></p>
<p class="firstline">Returns an entry on the user's calendar list.</p>
<p class="toc_element">
- <code><a href="#insert">insert(body)</a></code></p>
+ <code><a href="#insert">insert(body, colorRgbFormat=None)</a></code></p>
<p class="firstline">Adds an entry to the user's calendar list.</p>
<p class="toc_element">
<code><a href="#list">list(minAccessRole=None, maxResults=None, pageToken=None, showHidden=None)</a></code></p>
@@ -90,10 +90,10 @@
<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(calendarId, body)</a></code></p>
+ <code><a href="#patch">patch(calendarId, body, colorRgbFormat=None)</a></code></p>
<p class="firstline">Updates an entry on the user's calendar list. This method supports patch semantics.</p>
<p class="toc_element">
- <code><a href="#update">update(calendarId, body)</a></code></p>
+ <code><a href="#update">update(calendarId, body, colorRgbFormat=None)</a></code></p>
<p class="firstline">Updates an entry on the user's calendar list.</p>
<h3>Method Details</h3>
<div class="method">
@@ -117,6 +117,7 @@
{
"kind": "calendar#calendarListEntry", # Type of the resource ("calendar#calendarListEntry").
+ "foregroundColor": "A String", # The foreground color of the calendar in the format '#ffffff'. This property supersedes the index-based colorId property. Optional.
"defaultReminders": [ # The default reminders that the authenticated user has for this calendar.
{
"minutes": 42, # Number of minutes before the start of the event when the reminder should trigger.
@@ -132,6 +133,7 @@
"summary": "A String", # Title of the calendar. Read-only.
"etag": "A String", # ETag of the resource.
"location": "A String", # Geographic location of the calendar as free-form text. Optional. Read-only.
+ "backgroundColor": "A String", # The main color of the calendar in the format '#0088aa'. This property supersedes the index-based colorId property. Optional.
"summaryOverride": "A String", # The summary that the authenticated user has set for this calendar. Optional.
"timeZone": "A String", # The time zone of the calendar. Optional. Read-only.
"hidden": True or False, # Whether the calendar has been hidden from the list. Optional. The default is False.
@@ -145,7 +147,7 @@
</div>
<div class="method">
- <code class="details" id="insert">insert(body)</code>
+ <code class="details" id="insert">insert(body, colorRgbFormat=None)</code>
<pre>Adds an entry to the user's calendar list.
Args:
@@ -154,6 +156,7 @@
{
"kind": "calendar#calendarListEntry", # Type of the resource ("calendar#calendarListEntry").
+ "foregroundColor": "A String", # The foreground color of the calendar in the format '#ffffff'. This property supersedes the index-based colorId property. Optional.
"defaultReminders": [ # The default reminders that the authenticated user has for this calendar.
{
"minutes": 42, # Number of minutes before the start of the event when the reminder should trigger.
@@ -169,6 +172,7 @@
"summary": "A String", # Title of the calendar. Read-only.
"etag": "A String", # ETag of the resource.
"location": "A String", # Geographic location of the calendar as free-form text. Optional. Read-only.
+ "backgroundColor": "A String", # The main color of the calendar in the format '#0088aa'. This property supersedes the index-based colorId property. Optional.
"summaryOverride": "A String", # The summary that the authenticated user has set for this calendar. Optional.
"timeZone": "A String", # The time zone of the calendar. Optional. Read-only.
"hidden": True or False, # Whether the calendar has been hidden from the list. Optional. The default is False.
@@ -180,12 +184,14 @@
"id": "A String", # Identifier of the calendar.
}
+ colorRgbFormat: boolean, Whether to use the 'frontendColor' and 'backgroundColor' fields to write the calendar colors (RGB). If this feature is used, the index-based 'color' field will be set to the best matching option automatically. Optional. The default is False.
Returns:
An object of the form:
{
"kind": "calendar#calendarListEntry", # Type of the resource ("calendar#calendarListEntry").
+ "foregroundColor": "A String", # The foreground color of the calendar in the format '#ffffff'. This property supersedes the index-based colorId property. Optional.
"defaultReminders": [ # The default reminders that the authenticated user has for this calendar.
{
"minutes": 42, # Number of minutes before the start of the event when the reminder should trigger.
@@ -201,6 +207,7 @@
"summary": "A String", # Title of the calendar. Read-only.
"etag": "A String", # ETag of the resource.
"location": "A String", # Geographic location of the calendar as free-form text. Optional. Read-only.
+ "backgroundColor": "A String", # The main color of the calendar in the format '#0088aa'. This property supersedes the index-based colorId property. Optional.
"summaryOverride": "A String", # The summary that the authenticated user has set for this calendar. Optional.
"timeZone": "A String", # The time zone of the calendar. Optional. Read-only.
"hidden": True or False, # Whether the calendar has been hidden from the list. Optional. The default is False.
@@ -236,6 +243,7 @@
"items": [ # Calendars that are present on the user's calendar list.
{
"kind": "calendar#calendarListEntry", # Type of the resource ("calendar#calendarListEntry").
+ "foregroundColor": "A String", # The foreground color of the calendar in the format '#ffffff'. This property supersedes the index-based colorId property. Optional.
"defaultReminders": [ # The default reminders that the authenticated user has for this calendar.
{
"minutes": 42, # Number of minutes before the start of the event when the reminder should trigger.
@@ -251,6 +259,7 @@
"summary": "A String", # Title of the calendar. Read-only.
"etag": "A String", # ETag of the resource.
"location": "A String", # Geographic location of the calendar as free-form text. Optional. Read-only.
+ "backgroundColor": "A String", # The main color of the calendar in the format '#0088aa'. This property supersedes the index-based colorId property. Optional.
"summaryOverride": "A String", # The summary that the authenticated user has set for this calendar. Optional.
"timeZone": "A String", # The time zone of the calendar. Optional. Read-only.
"hidden": True or False, # Whether the calendar has been hidden from the list. Optional. The default is False.
@@ -282,7 +291,7 @@
</div>
<div class="method">
- <code class="details" id="patch">patch(calendarId, body)</code>
+ <code class="details" id="patch">patch(calendarId, body, colorRgbFormat=None)</code>
<pre>Updates an entry on the user's calendar list. This method supports patch semantics.
Args:
@@ -292,6 +301,7 @@
{
"kind": "calendar#calendarListEntry", # Type of the resource ("calendar#calendarListEntry").
+ "foregroundColor": "A String", # The foreground color of the calendar in the format '#ffffff'. This property supersedes the index-based colorId property. Optional.
"defaultReminders": [ # The default reminders that the authenticated user has for this calendar.
{
"minutes": 42, # Number of minutes before the start of the event when the reminder should trigger.
@@ -307,6 +317,7 @@
"summary": "A String", # Title of the calendar. Read-only.
"etag": "A String", # ETag of the resource.
"location": "A String", # Geographic location of the calendar as free-form text. Optional. Read-only.
+ "backgroundColor": "A String", # The main color of the calendar in the format '#0088aa'. This property supersedes the index-based colorId property. Optional.
"summaryOverride": "A String", # The summary that the authenticated user has set for this calendar. Optional.
"timeZone": "A String", # The time zone of the calendar. Optional. Read-only.
"hidden": True or False, # Whether the calendar has been hidden from the list. Optional. The default is False.
@@ -318,12 +329,14 @@
"id": "A String", # Identifier of the calendar.
}
+ colorRgbFormat: boolean, Whether to use the 'frontendColor' and 'backgroundColor' fields to write the calendar colors (RGB). If this feature is used, the index-based 'color' field will be set to the best matching option automatically. Optional. The default is False.
Returns:
An object of the form:
{
"kind": "calendar#calendarListEntry", # Type of the resource ("calendar#calendarListEntry").
+ "foregroundColor": "A String", # The foreground color of the calendar in the format '#ffffff'. This property supersedes the index-based colorId property. Optional.
"defaultReminders": [ # The default reminders that the authenticated user has for this calendar.
{
"minutes": 42, # Number of minutes before the start of the event when the reminder should trigger.
@@ -339,6 +352,7 @@
"summary": "A String", # Title of the calendar. Read-only.
"etag": "A String", # ETag of the resource.
"location": "A String", # Geographic location of the calendar as free-form text. Optional. Read-only.
+ "backgroundColor": "A String", # The main color of the calendar in the format '#0088aa'. This property supersedes the index-based colorId property. Optional.
"summaryOverride": "A String", # The summary that the authenticated user has set for this calendar. Optional.
"timeZone": "A String", # The time zone of the calendar. Optional. Read-only.
"hidden": True or False, # Whether the calendar has been hidden from the list. Optional. The default is False.
@@ -352,7 +366,7 @@
</div>
<div class="method">
- <code class="details" id="update">update(calendarId, body)</code>
+ <code class="details" id="update">update(calendarId, body, colorRgbFormat=None)</code>
<pre>Updates an entry on the user's calendar list.
Args:
@@ -362,6 +376,7 @@
{
"kind": "calendar#calendarListEntry", # Type of the resource ("calendar#calendarListEntry").
+ "foregroundColor": "A String", # The foreground color of the calendar in the format '#ffffff'. This property supersedes the index-based colorId property. Optional.
"defaultReminders": [ # The default reminders that the authenticated user has for this calendar.
{
"minutes": 42, # Number of minutes before the start of the event when the reminder should trigger.
@@ -377,6 +392,7 @@
"summary": "A String", # Title of the calendar. Read-only.
"etag": "A String", # ETag of the resource.
"location": "A String", # Geographic location of the calendar as free-form text. Optional. Read-only.
+ "backgroundColor": "A String", # The main color of the calendar in the format '#0088aa'. This property supersedes the index-based colorId property. Optional.
"summaryOverride": "A String", # The summary that the authenticated user has set for this calendar. Optional.
"timeZone": "A String", # The time zone of the calendar. Optional. Read-only.
"hidden": True or False, # Whether the calendar has been hidden from the list. Optional. The default is False.
@@ -388,12 +404,14 @@
"id": "A String", # Identifier of the calendar.
}
+ colorRgbFormat: boolean, Whether to use the 'frontendColor' and 'backgroundColor' fields to write the calendar colors (RGB). If this feature is used, the index-based 'color' field will be set to the best matching option automatically. Optional. The default is False.
Returns:
An object of the form:
{
"kind": "calendar#calendarListEntry", # Type of the resource ("calendar#calendarListEntry").
+ "foregroundColor": "A String", # The foreground color of the calendar in the format '#ffffff'. This property supersedes the index-based colorId property. Optional.
"defaultReminders": [ # The default reminders that the authenticated user has for this calendar.
{
"minutes": 42, # Number of minutes before the start of the event when the reminder should trigger.
@@ -409,6 +427,7 @@
"summary": "A String", # Title of the calendar. Read-only.
"etag": "A String", # ETag of the resource.
"location": "A String", # Geographic location of the calendar as free-form text. Optional. Read-only.
+ "backgroundColor": "A String", # The main color of the calendar in the format '#0088aa'. This property supersedes the index-based colorId property. Optional.
"summaryOverride": "A String", # The summary that the authenticated user has set for this calendar. Optional.
"timeZone": "A String", # The time zone of the calendar. Optional. Read-only.
"hidden": True or False, # Whether the calendar has been hidden from the list. Optional. The default is False.
diff --git a/docs/dyn/calendar_v3.events.html b/docs/dyn/calendar_v3.events.html
index 135e3df..0230c26 100644
--- a/docs/dyn/calendar_v3.events.html
+++ b/docs/dyn/calendar_v3.events.html
@@ -210,7 +210,7 @@
"a_key": "A String", # The name of the private property and the corresponding value.
},
},
- "endTimeUnspecified": True or False,
+ "endTimeUnspecified": True or False, # Whether the end time is actually unspecified. An end time is still provided for compatibility reasons, even if this attribute is set to True. The default is False.
"sequence": 42, # Sequence number as per iCalendar.
"visibility": "A String", # Visibility of the event. Optional. Possible values are:
# - "default" - Uses the default visibility for events on the calendar. This is the default value.
@@ -223,7 +223,7 @@
"timeZone": "A String", # The name of the time zone in which the time is specified (e.g. "Europe/Zurich"). Optional. The default is the time zone of the calendar.
"dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in 'timeZone'.
},
- "attendeesOmitted": True or False, # Whether attendees have been omitted from the event's representation. When retrieving an event, this is due to a restriction specified by the 'maxAttendee' query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False.
+ "attendeesOmitted": True or False, # Whether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the 'maxAttendee' query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False.
"kind": "calendar#event", # Type of the resource ("calendar#event").
"locked": True or False, # Whether this is a locked event copy where no changes can be made to the main event fields "summary", "description", "location", "start", "end" or "recurrence". The default is False. Read-Only.
"created": "A String", # Creation time of the event (as a RFC 3339 timestamp). Read-only.
@@ -338,7 +338,7 @@
"a_key": "A String", # The name of the private property and the corresponding value.
},
},
- "endTimeUnspecified": True or False,
+ "endTimeUnspecified": True or False, # Whether the end time is actually unspecified. An end time is still provided for compatibility reasons, even if this attribute is set to True. The default is False.
"sequence": 42, # Sequence number as per iCalendar.
"visibility": "A String", # Visibility of the event. Optional. Possible values are:
# - "default" - Uses the default visibility for events on the calendar. This is the default value.
@@ -351,7 +351,7 @@
"timeZone": "A String", # The name of the time zone in which the time is specified (e.g. "Europe/Zurich"). Optional. The default is the time zone of the calendar.
"dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in 'timeZone'.
},
- "attendeesOmitted": True or False, # Whether attendees have been omitted from the event's representation. When retrieving an event, this is due to a restriction specified by the 'maxAttendee' query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False.
+ "attendeesOmitted": True or False, # Whether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the 'maxAttendee' query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False.
"kind": "calendar#event", # Type of the resource ("calendar#event").
"locked": True or False, # Whether this is a locked event copy where no changes can be made to the main event fields "summary", "description", "location", "start", "end" or "recurrence". The default is False. Read-Only.
"created": "A String", # Creation time of the event (as a RFC 3339 timestamp). Read-only.
@@ -460,7 +460,7 @@
"a_key": "A String", # The name of the private property and the corresponding value.
},
},
- "endTimeUnspecified": True or False,
+ "endTimeUnspecified": True or False, # Whether the end time is actually unspecified. An end time is still provided for compatibility reasons, even if this attribute is set to True. The default is False.
"sequence": 42, # Sequence number as per iCalendar.
"visibility": "A String", # Visibility of the event. Optional. Possible values are:
# - "default" - Uses the default visibility for events on the calendar. This is the default value.
@@ -473,7 +473,7 @@
"timeZone": "A String", # The name of the time zone in which the time is specified (e.g. "Europe/Zurich"). Optional. The default is the time zone of the calendar.
"dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in 'timeZone'.
},
- "attendeesOmitted": True or False, # Whether attendees have been omitted from the event's representation. When retrieving an event, this is due to a restriction specified by the 'maxAttendee' query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False.
+ "attendeesOmitted": True or False, # Whether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the 'maxAttendee' query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False.
"kind": "calendar#event", # Type of the resource ("calendar#event").
"locked": True or False, # Whether this is a locked event copy where no changes can be made to the main event fields "summary", "description", "location", "start", "end" or "recurrence". The default is False. Read-Only.
"created": "A String", # Creation time of the event (as a RFC 3339 timestamp). Read-only.
@@ -588,7 +588,7 @@
"a_key": "A String", # The name of the private property and the corresponding value.
},
},
- "endTimeUnspecified": True or False,
+ "endTimeUnspecified": True or False, # Whether the end time is actually unspecified. An end time is still provided for compatibility reasons, even if this attribute is set to True. The default is False.
"sequence": 42, # Sequence number as per iCalendar.
"visibility": "A String", # Visibility of the event. Optional. Possible values are:
# - "default" - Uses the default visibility for events on the calendar. This is the default value.
@@ -601,7 +601,7 @@
"timeZone": "A String", # The name of the time zone in which the time is specified (e.g. "Europe/Zurich"). Optional. The default is the time zone of the calendar.
"dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in 'timeZone'.
},
- "attendeesOmitted": True or False, # Whether attendees have been omitted from the event's representation. When retrieving an event, this is due to a restriction specified by the 'maxAttendee' query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False.
+ "attendeesOmitted": True or False, # Whether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the 'maxAttendee' query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False.
"kind": "calendar#event", # Type of the resource ("calendar#event").
"locked": True or False, # Whether this is a locked event copy where no changes can be made to the main event fields "summary", "description", "location", "start", "end" or "recurrence". The default is False. Read-Only.
"created": "A String", # Creation time of the event (as a RFC 3339 timestamp). Read-only.
@@ -711,7 +711,7 @@
"a_key": "A String", # The name of the private property and the corresponding value.
},
},
- "endTimeUnspecified": True or False,
+ "endTimeUnspecified": True or False, # Whether the end time is actually unspecified. An end time is still provided for compatibility reasons, even if this attribute is set to True. The default is False.
"sequence": 42, # Sequence number as per iCalendar.
"visibility": "A String", # Visibility of the event. Optional. Possible values are:
# - "default" - Uses the default visibility for events on the calendar. This is the default value.
@@ -724,7 +724,7 @@
"timeZone": "A String", # The name of the time zone in which the time is specified (e.g. "Europe/Zurich"). Optional. The default is the time zone of the calendar.
"dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in 'timeZone'.
},
- "attendeesOmitted": True or False, # Whether attendees have been omitted from the event's representation. When retrieving an event, this is due to a restriction specified by the 'maxAttendee' query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False.
+ "attendeesOmitted": True or False, # Whether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the 'maxAttendee' query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False.
"kind": "calendar#event", # Type of the resource ("calendar#event").
"locked": True or False, # Whether this is a locked event copy where no changes can be made to the main event fields "summary", "description", "location", "start", "end" or "recurrence". The default is False. Read-Only.
"created": "A String", # Creation time of the event (as a RFC 3339 timestamp). Read-only.
@@ -862,7 +862,7 @@
"a_key": "A String", # The name of the private property and the corresponding value.
},
},
- "endTimeUnspecified": True or False,
+ "endTimeUnspecified": True or False, # Whether the end time is actually unspecified. An end time is still provided for compatibility reasons, even if this attribute is set to True. The default is False.
"sequence": 42, # Sequence number as per iCalendar.
"visibility": "A String", # Visibility of the event. Optional. Possible values are:
# - "default" - Uses the default visibility for events on the calendar. This is the default value.
@@ -875,7 +875,7 @@
"timeZone": "A String", # The name of the time zone in which the time is specified (e.g. "Europe/Zurich"). Optional. The default is the time zone of the calendar.
"dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in 'timeZone'.
},
- "attendeesOmitted": True or False, # Whether attendees have been omitted from the event's representation. When retrieving an event, this is due to a restriction specified by the 'maxAttendee' query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False.
+ "attendeesOmitted": True or False, # Whether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the 'maxAttendee' query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False.
"kind": "calendar#event", # Type of the resource ("calendar#event").
"locked": True or False, # Whether this is a locked event copy where no changes can be made to the main event fields "summary", "description", "location", "start", "end" or "recurrence". The default is False. Read-Only.
"created": "A String", # Creation time of the event (as a RFC 3339 timestamp). Read-only.
@@ -1048,7 +1048,7 @@
"a_key": "A String", # The name of the private property and the corresponding value.
},
},
- "endTimeUnspecified": True or False,
+ "endTimeUnspecified": True or False, # Whether the end time is actually unspecified. An end time is still provided for compatibility reasons, even if this attribute is set to True. The default is False.
"sequence": 42, # Sequence number as per iCalendar.
"visibility": "A String", # Visibility of the event. Optional. Possible values are:
# - "default" - Uses the default visibility for events on the calendar. This is the default value.
@@ -1061,7 +1061,7 @@
"timeZone": "A String", # The name of the time zone in which the time is specified (e.g. "Europe/Zurich"). Optional. The default is the time zone of the calendar.
"dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in 'timeZone'.
},
- "attendeesOmitted": True or False, # Whether attendees have been omitted from the event's representation. When retrieving an event, this is due to a restriction specified by the 'maxAttendee' query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False.
+ "attendeesOmitted": True or False, # Whether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the 'maxAttendee' query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False.
"kind": "calendar#event", # Type of the resource ("calendar#event").
"locked": True or False, # Whether this is a locked event copy where no changes can be made to the main event fields "summary", "description", "location", "start", "end" or "recurrence". The default is False. Read-Only.
"created": "A String", # Creation time of the event (as a RFC 3339 timestamp). Read-only.
@@ -1206,7 +1206,7 @@
"a_key": "A String", # The name of the private property and the corresponding value.
},
},
- "endTimeUnspecified": True or False,
+ "endTimeUnspecified": True or False, # Whether the end time is actually unspecified. An end time is still provided for compatibility reasons, even if this attribute is set to True. The default is False.
"sequence": 42, # Sequence number as per iCalendar.
"visibility": "A String", # Visibility of the event. Optional. Possible values are:
# - "default" - Uses the default visibility for events on the calendar. This is the default value.
@@ -1219,7 +1219,7 @@
"timeZone": "A String", # The name of the time zone in which the time is specified (e.g. "Europe/Zurich"). Optional. The default is the time zone of the calendar.
"dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in 'timeZone'.
},
- "attendeesOmitted": True or False, # Whether attendees have been omitted from the event's representation. When retrieving an event, this is due to a restriction specified by the 'maxAttendee' query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False.
+ "attendeesOmitted": True or False, # Whether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the 'maxAttendee' query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False.
"kind": "calendar#event", # Type of the resource ("calendar#event").
"locked": True or False, # Whether this is a locked event copy where no changes can be made to the main event fields "summary", "description", "location", "start", "end" or "recurrence". The default is False. Read-Only.
"created": "A String", # Creation time of the event (as a RFC 3339 timestamp). Read-only.
@@ -1335,7 +1335,7 @@
"a_key": "A String", # The name of the private property and the corresponding value.
},
},
- "endTimeUnspecified": True or False,
+ "endTimeUnspecified": True or False, # Whether the end time is actually unspecified. An end time is still provided for compatibility reasons, even if this attribute is set to True. The default is False.
"sequence": 42, # Sequence number as per iCalendar.
"visibility": "A String", # Visibility of the event. Optional. Possible values are:
# - "default" - Uses the default visibility for events on the calendar. This is the default value.
@@ -1348,7 +1348,7 @@
"timeZone": "A String", # The name of the time zone in which the time is specified (e.g. "Europe/Zurich"). Optional. The default is the time zone of the calendar.
"dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in 'timeZone'.
},
- "attendeesOmitted": True or False, # Whether attendees have been omitted from the event's representation. When retrieving an event, this is due to a restriction specified by the 'maxAttendee' query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False.
+ "attendeesOmitted": True or False, # Whether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the 'maxAttendee' query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False.
"kind": "calendar#event", # Type of the resource ("calendar#event").
"locked": True or False, # Whether this is a locked event copy where no changes can be made to the main event fields "summary", "description", "location", "start", "end" or "recurrence". The default is False. Read-Only.
"created": "A String", # Creation time of the event (as a RFC 3339 timestamp). Read-only.
@@ -1459,7 +1459,7 @@
"a_key": "A String", # The name of the private property and the corresponding value.
},
},
- "endTimeUnspecified": True or False,
+ "endTimeUnspecified": True or False, # Whether the end time is actually unspecified. An end time is still provided for compatibility reasons, even if this attribute is set to True. The default is False.
"sequence": 42, # Sequence number as per iCalendar.
"visibility": "A String", # Visibility of the event. Optional. Possible values are:
# - "default" - Uses the default visibility for events on the calendar. This is the default value.
@@ -1472,7 +1472,7 @@
"timeZone": "A String", # The name of the time zone in which the time is specified (e.g. "Europe/Zurich"). Optional. The default is the time zone of the calendar.
"dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in 'timeZone'.
},
- "attendeesOmitted": True or False, # Whether attendees have been omitted from the event's representation. When retrieving an event, this is due to a restriction specified by the 'maxAttendee' query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False.
+ "attendeesOmitted": True or False, # Whether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the 'maxAttendee' query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False.
"kind": "calendar#event", # Type of the resource ("calendar#event").
"locked": True or False, # Whether this is a locked event copy where no changes can be made to the main event fields "summary", "description", "location", "start", "end" or "recurrence". The default is False. Read-Only.
"created": "A String", # Creation time of the event (as a RFC 3339 timestamp). Read-only.
@@ -1590,7 +1590,7 @@
"a_key": "A String", # The name of the private property and the corresponding value.
},
},
- "endTimeUnspecified": True or False,
+ "endTimeUnspecified": True or False, # Whether the end time is actually unspecified. An end time is still provided for compatibility reasons, even if this attribute is set to True. The default is False.
"sequence": 42, # Sequence number as per iCalendar.
"visibility": "A String", # Visibility of the event. Optional. Possible values are:
# - "default" - Uses the default visibility for events on the calendar. This is the default value.
@@ -1603,7 +1603,7 @@
"timeZone": "A String", # The name of the time zone in which the time is specified (e.g. "Europe/Zurich"). Optional. The default is the time zone of the calendar.
"dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in 'timeZone'.
},
- "attendeesOmitted": True or False, # Whether attendees have been omitted from the event's representation. When retrieving an event, this is due to a restriction specified by the 'maxAttendee' query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False.
+ "attendeesOmitted": True or False, # Whether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the 'maxAttendee' query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False.
"kind": "calendar#event", # Type of the resource ("calendar#event").
"locked": True or False, # Whether this is a locked event copy where no changes can be made to the main event fields "summary", "description", "location", "start", "end" or "recurrence". The default is False. Read-Only.
"created": "A String", # Creation time of the event (as a RFC 3339 timestamp). Read-only.
@@ -1719,7 +1719,7 @@
"a_key": "A String", # The name of the private property and the corresponding value.
},
},
- "endTimeUnspecified": True or False,
+ "endTimeUnspecified": True or False, # Whether the end time is actually unspecified. An end time is still provided for compatibility reasons, even if this attribute is set to True. The default is False.
"sequence": 42, # Sequence number as per iCalendar.
"visibility": "A String", # Visibility of the event. Optional. Possible values are:
# - "default" - Uses the default visibility for events on the calendar. This is the default value.
@@ -1732,7 +1732,7 @@
"timeZone": "A String", # The name of the time zone in which the time is specified (e.g. "Europe/Zurich"). Optional. The default is the time zone of the calendar.
"dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in 'timeZone'.
},
- "attendeesOmitted": True or False, # Whether attendees have been omitted from the event's representation. When retrieving an event, this is due to a restriction specified by the 'maxAttendee' query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False.
+ "attendeesOmitted": True or False, # Whether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the 'maxAttendee' query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False.
"kind": "calendar#event", # Type of the resource ("calendar#event").
"locked": True or False, # Whether this is a locked event copy where no changes can be made to the main event fields "summary", "description", "location", "start", "end" or "recurrence". The default is False. Read-Only.
"created": "A String", # Creation time of the event (as a RFC 3339 timestamp). Read-only.
@@ -1843,7 +1843,7 @@
"a_key": "A String", # The name of the private property and the corresponding value.
},
},
- "endTimeUnspecified": True or False,
+ "endTimeUnspecified": True or False, # Whether the end time is actually unspecified. An end time is still provided for compatibility reasons, even if this attribute is set to True. The default is False.
"sequence": 42, # Sequence number as per iCalendar.
"visibility": "A String", # Visibility of the event. Optional. Possible values are:
# - "default" - Uses the default visibility for events on the calendar. This is the default value.
@@ -1856,7 +1856,7 @@
"timeZone": "A String", # The name of the time zone in which the time is specified (e.g. "Europe/Zurich"). Optional. The default is the time zone of the calendar.
"dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in 'timeZone'.
},
- "attendeesOmitted": True or False, # Whether attendees have been omitted from the event's representation. When retrieving an event, this is due to a restriction specified by the 'maxAttendee' query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False.
+ "attendeesOmitted": True or False, # Whether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the 'maxAttendee' query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False.
"kind": "calendar#event", # Type of the resource ("calendar#event").
"locked": True or False, # Whether this is a locked event copy where no changes can be made to the main event fields "summary", "description", "location", "start", "end" or "recurrence". The default is False. Read-Only.
"created": "A String", # Creation time of the event (as a RFC 3339 timestamp). Read-only.
diff --git a/docs/dyn/drive_v2.about.html b/docs/dyn/drive_v2.about.html
index 753a5ee..168fad3 100644
--- a/docs/dyn/drive_v2.about.html
+++ b/docs/dyn/drive_v2.about.html
@@ -100,7 +100,7 @@
],
"quotaBytesUsed": "A String", # The number of quota bytes used.
"permissionId": "A String", # The current user's ID as visible in the permissions collection.
- "maxUploadSizes": [ # List of max upload sizes for each file type.
+ "maxUploadSizes": [ # List of max upload sizes for each file type. The most specific type takes precedence.
{
"type": "A String", # The file type.
"size": "A String", # The max upload size for this type.
@@ -108,17 +108,17 @@
],
"name": "A String", # The name of the current user.
"remainingChangeIds": "A String", # The number of remaining change ids.
- "additionalRoleInfo": [ # Additional ACL role info.
+ "additionalRoleInfo": [ # Information about supported additional roles per file type. The most specific type takes precedence.
{
- "roleSets": [ # The role sets for this role info item.
+ "roleSets": [ # The supported additional roles per primary role.
{
- "primaryRole": "A String", # The primary role for this role set.
- "additionalRoles": [ # The list of additional roles for this role set.
+ "primaryRole": "A String", # A primary permission role.
+ "additionalRoles": [ # The supported additional roles with the primary role.
"A String",
],
},
],
- "type": "A String", # The content type for this ACL role info item.
+ "type": "A String", # The content type that this additional role info applies to.
},
],
"etag": "A String", # The ETag of the item.
diff --git a/docs/dyn/drive_v2.apps.html b/docs/dyn/drive_v2.apps.html
index bc64535..7dd4afe 100644
--- a/docs/dyn/drive_v2.apps.html
+++ b/docs/dyn/drive_v2.apps.html
@@ -75,10 +75,59 @@
<h1><a href="drive_v2.html">Drive API</a> . <a href="drive_v2.apps.html">apps</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
+ <code><a href="#get">get(appId)</a></code></p>
+<p class="firstline">Gets a specific app.</p>
+<p class="toc_element">
<code><a href="#list">list()</a></code></p>
<p class="firstline">Lists a user's apps.</p>
<h3>Method Details</h3>
<div class="method">
+ <code class="details" id="get">get(appId)</code>
+ <pre>Gets a specific app.
+
+Args:
+ appId: string, The ID of the app. (required)
+
+Returns:
+ An object of the form:
+
+ { # Information about a third-party application which the user has installed or given access to Google Drive.
+ "kind": "drive#app", # This is always drive#app.
+ "primaryFileExtensions": [ # The list of primary file extensions.
+ "A String",
+ ],
+ "useByDefault": True or False, # Whether the app is selected as the default handler for the types it supports.
+ "name": "A String", # The name of the app.
+ "icons": [ # The various icons for the app.
+ {
+ "category": "A String", # Category of the icon. Allowed values are:
+ # - application - icon for the application
+ # - document - icon for a file associated with the app
+ # - documentShared - icon for a shared file associated with the app
+ "iconUrl": "A String", # URL for the icon.
+ "size": 42, # Size of the icon. Represented as the maximum of the width and height.
+ },
+ ],
+ "secondaryFileExtensions": [ # The list of secondary file extensions.
+ "A String",
+ ],
+ "installed": True or False, # Whether the app is installed.
+ "productUrl": "A String", # The product URL.
+ "secondaryMimeTypes": [ # The list of secondary mime types.
+ "A String",
+ ],
+ "authorized": True or False, # Whether the app is authorized to access data on the user's Drive.
+ "supportsCreate": True or False, # Whether this app supports creating new objects.
+ "supportsImport": True or False, # Whether this app supports importing Google Docs.
+ "primaryMimeTypes": [ # The list of primary mime types.
+ "A String",
+ ],
+ "id": "A String", # The ID of the app.
+ "objectType": "A String", # The name of the type of object this app creates.
+ }</pre>
+</div>
+
+<div class="method">
<code class="details" id="list">list()</code>
<pre>Lists a user's apps.
@@ -94,6 +143,7 @@
"primaryFileExtensions": [ # The list of primary file extensions.
"A String",
],
+ "useByDefault": True or False, # Whether the app is selected as the default handler for the types it supports.
"name": "A String", # The name of the app.
"icons": [ # The various icons for the app.
{
diff --git a/docs/dyn/drive_v2.changes.html b/docs/dyn/drive_v2.changes.html
index c470345..609d385 100644
--- a/docs/dyn/drive_v2.changes.html
+++ b/docs/dyn/drive_v2.changes.html
@@ -98,7 +98,7 @@
"kind": "drive#change", # This is always drive#change.
"deleted": True or False, # Whether the file has been deleted.
"file": { # The metadata for a file. # The updated state of the file. Present if the file has not been deleted.
- "mimeType": "A String", # The MIME type of the file.
+ "mimeType": "A String", # The MIME type of the file. This is only mutable on update when uploading new content. This field can be left blank, and the mimetype will be determined from the uploaded content's MIME type.
"thumbnailLink": "A String", # A link to the file's thumbnail.
"labels": { # A group of labels for the file.
"restricted": True or False, # Whether viewers are prevented from downloading this file.
@@ -110,6 +110,7 @@
"indexableText": { # Indexable text attributes for the file (can only be written)
"text": "A String", # The text to be indexed for this file
},
+ "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed.
"etag": "A String", # ETag of the file.
"lastModifyingUserName": "A String", # Name of the last user to modify this file. This will only be populated if a user has edited this file.
"writersCanShare": True or False, # Whether writers can share the document with other users.
@@ -133,18 +134,28 @@
"exportLinks": { # Links for exporting Google Docs to specific formats.
"a_key": "A String", # A mapping from export format to URL
},
- "originalFilename": "A String", # The filename when uploading this file. This will only be populated on files with content stored in Drive.
+ "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive.
"description": "A String", # A short description of the file.
+ "webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials.
"editable": True or False, # Whether the file can be edited by the current user.
"kind": "drive#file", # The type of file. This is always drive#file.
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
"fileSize": "A String", # The size of the file in bytes. This will only be populated on files with content stored in Drive.
"createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
"md5Checksum": "A String", # An MD5 checksum for the content of this file. This will only be populated on files with content stored in Drive.
+ "imageMediaMetadata": { # Metadata about image media. This will only be present for image types, and its contents will depend on what can be parsed from the image content.
+ "width": 42, # The width of the image in pixels.
+ "rotation": 42, # The rotation in clockwise degrees from the image's original orientation.
+ "location": { # Geographic location information stored in the image.
+ "latitude": 3.14, # The latitude stored in the image.
+ "altitude": 3.14, # The altitude stored in the image.
+ "longitude": 3.14, # The longitude stored in the image.
+ },
+ "height": 42, # The height of the image in pixels.
+ },
"embedLink": "A String", # A link for embedding the file.
- "alternateLink": "A String", # A link for opening the file in a browser.
- "permissionsLink": "A String", # A link to the permissions collection.
- "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp).
+ "alternateLink": "A String", # A link for opening the file in using a relevant Google editor or viewer.
+ "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.
"downloadUrl": "A String", # Short term download URL for the file. This will only be populated on files with content stored in Drive.
"userPermission": { # A single permission for a file. # The permissions for the authenticated user on this file.
"withLink": True or False, # Whether the link is required for this permission.
@@ -169,9 +180,9 @@
],
"selfLink": "A String", # A link back to this permission.
},
- "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it on title when creating the file. This will only be populated on files with content stored in Drive.
+ "fileExtension": "A String", # The file extension used when downloading this file. This field is set from the title when inserting or uploading new content. This will only be populated on files with content stored in Drive.
"selfLink": "A String", # A link back to this file.
- "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp).
+ "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set.
},
"id": "A String", # The ID of the change.
"selfLink": "A String", # A link back to this change.
@@ -201,7 +212,7 @@
"kind": "drive#change", # This is always drive#change.
"deleted": True or False, # Whether the file has been deleted.
"file": { # The metadata for a file. # The updated state of the file. Present if the file has not been deleted.
- "mimeType": "A String", # The MIME type of the file.
+ "mimeType": "A String", # The MIME type of the file. This is only mutable on update when uploading new content. This field can be left blank, and the mimetype will be determined from the uploaded content's MIME type.
"thumbnailLink": "A String", # A link to the file's thumbnail.
"labels": { # A group of labels for the file.
"restricted": True or False, # Whether viewers are prevented from downloading this file.
@@ -213,6 +224,7 @@
"indexableText": { # Indexable text attributes for the file (can only be written)
"text": "A String", # The text to be indexed for this file
},
+ "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed.
"etag": "A String", # ETag of the file.
"lastModifyingUserName": "A String", # Name of the last user to modify this file. This will only be populated if a user has edited this file.
"writersCanShare": True or False, # Whether writers can share the document with other users.
@@ -236,18 +248,28 @@
"exportLinks": { # Links for exporting Google Docs to specific formats.
"a_key": "A String", # A mapping from export format to URL
},
- "originalFilename": "A String", # The filename when uploading this file. This will only be populated on files with content stored in Drive.
+ "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive.
"description": "A String", # A short description of the file.
+ "webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials.
"editable": True or False, # Whether the file can be edited by the current user.
"kind": "drive#file", # The type of file. This is always drive#file.
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
"fileSize": "A String", # The size of the file in bytes. This will only be populated on files with content stored in Drive.
"createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
"md5Checksum": "A String", # An MD5 checksum for the content of this file. This will only be populated on files with content stored in Drive.
+ "imageMediaMetadata": { # Metadata about image media. This will only be present for image types, and its contents will depend on what can be parsed from the image content.
+ "width": 42, # The width of the image in pixels.
+ "rotation": 42, # The rotation in clockwise degrees from the image's original orientation.
+ "location": { # Geographic location information stored in the image.
+ "latitude": 3.14, # The latitude stored in the image.
+ "altitude": 3.14, # The altitude stored in the image.
+ "longitude": 3.14, # The longitude stored in the image.
+ },
+ "height": 42, # The height of the image in pixels.
+ },
"embedLink": "A String", # A link for embedding the file.
- "alternateLink": "A String", # A link for opening the file in a browser.
- "permissionsLink": "A String", # A link to the permissions collection.
- "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp).
+ "alternateLink": "A String", # A link for opening the file in using a relevant Google editor or viewer.
+ "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.
"downloadUrl": "A String", # Short term download URL for the file. This will only be populated on files with content stored in Drive.
"userPermission": { # A single permission for a file. # The permissions for the authenticated user on this file.
"withLink": True or False, # Whether the link is required for this permission.
@@ -272,9 +294,9 @@
],
"selfLink": "A String", # A link back to this permission.
},
- "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it on title when creating the file. This will only be populated on files with content stored in Drive.
+ "fileExtension": "A String", # The file extension used when downloading this file. This field is set from the title when inserting or uploading new content. This will only be populated on files with content stored in Drive.
"selfLink": "A String", # A link back to this file.
- "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp).
+ "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set.
},
"id": "A String", # The ID of the change.
"selfLink": "A String", # A link back to this change.
diff --git a/docs/dyn/drive_v2.files.html b/docs/dyn/drive_v2.files.html
index da611fd..c234e1a 100644
--- a/docs/dyn/drive_v2.files.html
+++ b/docs/dyn/drive_v2.files.html
@@ -118,7 +118,7 @@
The object takes the form of:
{ # The metadata for a file.
- "mimeType": "A String", # The MIME type of the file.
+ "mimeType": "A String", # The MIME type of the file. This is only mutable on update when uploading new content. This field can be left blank, and the mimetype will be determined from the uploaded content's MIME type.
"thumbnailLink": "A String", # A link to the file's thumbnail.
"labels": { # A group of labels for the file.
"restricted": True or False, # Whether viewers are prevented from downloading this file.
@@ -130,6 +130,7 @@
"indexableText": { # Indexable text attributes for the file (can only be written)
"text": "A String", # The text to be indexed for this file
},
+ "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed.
"etag": "A String", # ETag of the file.
"lastModifyingUserName": "A String", # Name of the last user to modify this file. This will only be populated if a user has edited this file.
"writersCanShare": True or False, # Whether writers can share the document with other users.
@@ -153,18 +154,28 @@
"exportLinks": { # Links for exporting Google Docs to specific formats.
"a_key": "A String", # A mapping from export format to URL
},
- "originalFilename": "A String", # The filename when uploading this file. This will only be populated on files with content stored in Drive.
+ "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive.
"description": "A String", # A short description of the file.
+ "webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials.
"editable": True or False, # Whether the file can be edited by the current user.
"kind": "drive#file", # The type of file. This is always drive#file.
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
"fileSize": "A String", # The size of the file in bytes. This will only be populated on files with content stored in Drive.
"createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
"md5Checksum": "A String", # An MD5 checksum for the content of this file. This will only be populated on files with content stored in Drive.
+ "imageMediaMetadata": { # Metadata about image media. This will only be present for image types, and its contents will depend on what can be parsed from the image content.
+ "width": 42, # The width of the image in pixels.
+ "rotation": 42, # The rotation in clockwise degrees from the image's original orientation.
+ "location": { # Geographic location information stored in the image.
+ "latitude": 3.14, # The latitude stored in the image.
+ "altitude": 3.14, # The altitude stored in the image.
+ "longitude": 3.14, # The longitude stored in the image.
+ },
+ "height": 42, # The height of the image in pixels.
+ },
"embedLink": "A String", # A link for embedding the file.
- "alternateLink": "A String", # A link for opening the file in a browser.
- "permissionsLink": "A String", # A link to the permissions collection.
- "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp).
+ "alternateLink": "A String", # A link for opening the file in using a relevant Google editor or viewer.
+ "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.
"downloadUrl": "A String", # Short term download URL for the file. This will only be populated on files with content stored in Drive.
"userPermission": { # A single permission for a file. # The permissions for the authenticated user on this file.
"withLink": True or False, # Whether the link is required for this permission.
@@ -189,9 +200,9 @@
],
"selfLink": "A String", # A link back to this permission.
},
- "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it on title when creating the file. This will only be populated on files with content stored in Drive.
+ "fileExtension": "A String", # The file extension used when downloading this file. This field is set from the title when inserting or uploading new content. This will only be populated on files with content stored in Drive.
"selfLink": "A String", # A link back to this file.
- "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp).
+ "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set.
}
pinned: boolean, Whether to pin the head revision of the new copy.
@@ -207,7 +218,7 @@
An object of the form:
{ # The metadata for a file.
- "mimeType": "A String", # The MIME type of the file.
+ "mimeType": "A String", # The MIME type of the file. This is only mutable on update when uploading new content. This field can be left blank, and the mimetype will be determined from the uploaded content's MIME type.
"thumbnailLink": "A String", # A link to the file's thumbnail.
"labels": { # A group of labels for the file.
"restricted": True or False, # Whether viewers are prevented from downloading this file.
@@ -219,6 +230,7 @@
"indexableText": { # Indexable text attributes for the file (can only be written)
"text": "A String", # The text to be indexed for this file
},
+ "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed.
"etag": "A String", # ETag of the file.
"lastModifyingUserName": "A String", # Name of the last user to modify this file. This will only be populated if a user has edited this file.
"writersCanShare": True or False, # Whether writers can share the document with other users.
@@ -242,18 +254,28 @@
"exportLinks": { # Links for exporting Google Docs to specific formats.
"a_key": "A String", # A mapping from export format to URL
},
- "originalFilename": "A String", # The filename when uploading this file. This will only be populated on files with content stored in Drive.
+ "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive.
"description": "A String", # A short description of the file.
+ "webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials.
"editable": True or False, # Whether the file can be edited by the current user.
"kind": "drive#file", # The type of file. This is always drive#file.
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
"fileSize": "A String", # The size of the file in bytes. This will only be populated on files with content stored in Drive.
"createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
"md5Checksum": "A String", # An MD5 checksum for the content of this file. This will only be populated on files with content stored in Drive.
+ "imageMediaMetadata": { # Metadata about image media. This will only be present for image types, and its contents will depend on what can be parsed from the image content.
+ "width": 42, # The width of the image in pixels.
+ "rotation": 42, # The rotation in clockwise degrees from the image's original orientation.
+ "location": { # Geographic location information stored in the image.
+ "latitude": 3.14, # The latitude stored in the image.
+ "altitude": 3.14, # The altitude stored in the image.
+ "longitude": 3.14, # The longitude stored in the image.
+ },
+ "height": 42, # The height of the image in pixels.
+ },
"embedLink": "A String", # A link for embedding the file.
- "alternateLink": "A String", # A link for opening the file in a browser.
- "permissionsLink": "A String", # A link to the permissions collection.
- "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp).
+ "alternateLink": "A String", # A link for opening the file in using a relevant Google editor or viewer.
+ "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.
"downloadUrl": "A String", # Short term download URL for the file. This will only be populated on files with content stored in Drive.
"userPermission": { # A single permission for a file. # The permissions for the authenticated user on this file.
"withLink": True or False, # Whether the link is required for this permission.
@@ -278,9 +300,9 @@
],
"selfLink": "A String", # A link back to this permission.
},
- "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it on title when creating the file. This will only be populated on files with content stored in Drive.
+ "fileExtension": "A String", # The file extension used when downloading this file. This field is set from the title when inserting or uploading new content. This will only be populated on files with content stored in Drive.
"selfLink": "A String", # A link back to this file.
- "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp).
+ "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set.
}</pre>
</div>
@@ -299,17 +321,17 @@
Args:
fileId: string, The ID for the file in question. (required)
- projection: string, Restrict information returned for simplicity and optimization.
+ projection: string, This parameter is deprecated and has no function.
Allowed values
- BASIC - Includes only the basic metadata fields
- FULL - Includes all metadata fields
+ BASIC - Deprecated
+ FULL - Deprecated
updateViewedDate: boolean, Whether to update the view date after successfully retrieving the file.
Returns:
An object of the form:
{ # The metadata for a file.
- "mimeType": "A String", # The MIME type of the file.
+ "mimeType": "A String", # The MIME type of the file. This is only mutable on update when uploading new content. This field can be left blank, and the mimetype will be determined from the uploaded content's MIME type.
"thumbnailLink": "A String", # A link to the file's thumbnail.
"labels": { # A group of labels for the file.
"restricted": True or False, # Whether viewers are prevented from downloading this file.
@@ -321,6 +343,7 @@
"indexableText": { # Indexable text attributes for the file (can only be written)
"text": "A String", # The text to be indexed for this file
},
+ "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed.
"etag": "A String", # ETag of the file.
"lastModifyingUserName": "A String", # Name of the last user to modify this file. This will only be populated if a user has edited this file.
"writersCanShare": True or False, # Whether writers can share the document with other users.
@@ -344,18 +367,28 @@
"exportLinks": { # Links for exporting Google Docs to specific formats.
"a_key": "A String", # A mapping from export format to URL
},
- "originalFilename": "A String", # The filename when uploading this file. This will only be populated on files with content stored in Drive.
+ "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive.
"description": "A String", # A short description of the file.
+ "webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials.
"editable": True or False, # Whether the file can be edited by the current user.
"kind": "drive#file", # The type of file. This is always drive#file.
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
"fileSize": "A String", # The size of the file in bytes. This will only be populated on files with content stored in Drive.
"createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
"md5Checksum": "A String", # An MD5 checksum for the content of this file. This will only be populated on files with content stored in Drive.
+ "imageMediaMetadata": { # Metadata about image media. This will only be present for image types, and its contents will depend on what can be parsed from the image content.
+ "width": 42, # The width of the image in pixels.
+ "rotation": 42, # The rotation in clockwise degrees from the image's original orientation.
+ "location": { # Geographic location information stored in the image.
+ "latitude": 3.14, # The latitude stored in the image.
+ "altitude": 3.14, # The altitude stored in the image.
+ "longitude": 3.14, # The longitude stored in the image.
+ },
+ "height": 42, # The height of the image in pixels.
+ },
"embedLink": "A String", # A link for embedding the file.
- "alternateLink": "A String", # A link for opening the file in a browser.
- "permissionsLink": "A String", # A link to the permissions collection.
- "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp).
+ "alternateLink": "A String", # A link for opening the file in using a relevant Google editor or viewer.
+ "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.
"downloadUrl": "A String", # Short term download URL for the file. This will only be populated on files with content stored in Drive.
"userPermission": { # A single permission for a file. # The permissions for the authenticated user on this file.
"withLink": True or False, # Whether the link is required for this permission.
@@ -380,9 +413,9 @@
],
"selfLink": "A String", # A link back to this permission.
},
- "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it on title when creating the file. This will only be populated on files with content stored in Drive.
+ "fileExtension": "A String", # The file extension used when downloading this file. This field is set from the title when inserting or uploading new content. This will only be populated on files with content stored in Drive.
"selfLink": "A String", # A link back to this file.
- "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp).
+ "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set.
}</pre>
</div>
@@ -395,7 +428,7 @@
The object takes the form of:
{ # The metadata for a file.
- "mimeType": "A String", # The MIME type of the file.
+ "mimeType": "A String", # The MIME type of the file. This is only mutable on update when uploading new content. This field can be left blank, and the mimetype will be determined from the uploaded content's MIME type.
"thumbnailLink": "A String", # A link to the file's thumbnail.
"labels": { # A group of labels for the file.
"restricted": True or False, # Whether viewers are prevented from downloading this file.
@@ -407,6 +440,7 @@
"indexableText": { # Indexable text attributes for the file (can only be written)
"text": "A String", # The text to be indexed for this file
},
+ "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed.
"etag": "A String", # ETag of the file.
"lastModifyingUserName": "A String", # Name of the last user to modify this file. This will only be populated if a user has edited this file.
"writersCanShare": True or False, # Whether writers can share the document with other users.
@@ -430,18 +464,28 @@
"exportLinks": { # Links for exporting Google Docs to specific formats.
"a_key": "A String", # A mapping from export format to URL
},
- "originalFilename": "A String", # The filename when uploading this file. This will only be populated on files with content stored in Drive.
+ "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive.
"description": "A String", # A short description of the file.
+ "webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials.
"editable": True or False, # Whether the file can be edited by the current user.
"kind": "drive#file", # The type of file. This is always drive#file.
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
"fileSize": "A String", # The size of the file in bytes. This will only be populated on files with content stored in Drive.
"createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
"md5Checksum": "A String", # An MD5 checksum for the content of this file. This will only be populated on files with content stored in Drive.
+ "imageMediaMetadata": { # Metadata about image media. This will only be present for image types, and its contents will depend on what can be parsed from the image content.
+ "width": 42, # The width of the image in pixels.
+ "rotation": 42, # The rotation in clockwise degrees from the image's original orientation.
+ "location": { # Geographic location information stored in the image.
+ "latitude": 3.14, # The latitude stored in the image.
+ "altitude": 3.14, # The altitude stored in the image.
+ "longitude": 3.14, # The longitude stored in the image.
+ },
+ "height": 42, # The height of the image in pixels.
+ },
"embedLink": "A String", # A link for embedding the file.
- "alternateLink": "A String", # A link for opening the file in a browser.
- "permissionsLink": "A String", # A link to the permissions collection.
- "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp).
+ "alternateLink": "A String", # A link for opening the file in using a relevant Google editor or viewer.
+ "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.
"downloadUrl": "A String", # Short term download URL for the file. This will only be populated on files with content stored in Drive.
"userPermission": { # A single permission for a file. # The permissions for the authenticated user on this file.
"withLink": True or False, # Whether the link is required for this permission.
@@ -466,9 +510,9 @@
],
"selfLink": "A String", # A link back to this permission.
},
- "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it on title when creating the file. This will only be populated on files with content stored in Drive.
+ "fileExtension": "A String", # The file extension used when downloading this file. This field is set from the title when inserting or uploading new content. This will only be populated on files with content stored in Drive.
"selfLink": "A String", # A link back to this file.
- "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp).
+ "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set.
}
media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
@@ -485,7 +529,7 @@
An object of the form:
{ # The metadata for a file.
- "mimeType": "A String", # The MIME type of the file.
+ "mimeType": "A String", # The MIME type of the file. This is only mutable on update when uploading new content. This field can be left blank, and the mimetype will be determined from the uploaded content's MIME type.
"thumbnailLink": "A String", # A link to the file's thumbnail.
"labels": { # A group of labels for the file.
"restricted": True or False, # Whether viewers are prevented from downloading this file.
@@ -497,6 +541,7 @@
"indexableText": { # Indexable text attributes for the file (can only be written)
"text": "A String", # The text to be indexed for this file
},
+ "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed.
"etag": "A String", # ETag of the file.
"lastModifyingUserName": "A String", # Name of the last user to modify this file. This will only be populated if a user has edited this file.
"writersCanShare": True or False, # Whether writers can share the document with other users.
@@ -520,18 +565,28 @@
"exportLinks": { # Links for exporting Google Docs to specific formats.
"a_key": "A String", # A mapping from export format to URL
},
- "originalFilename": "A String", # The filename when uploading this file. This will only be populated on files with content stored in Drive.
+ "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive.
"description": "A String", # A short description of the file.
+ "webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials.
"editable": True or False, # Whether the file can be edited by the current user.
"kind": "drive#file", # The type of file. This is always drive#file.
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
"fileSize": "A String", # The size of the file in bytes. This will only be populated on files with content stored in Drive.
"createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
"md5Checksum": "A String", # An MD5 checksum for the content of this file. This will only be populated on files with content stored in Drive.
+ "imageMediaMetadata": { # Metadata about image media. This will only be present for image types, and its contents will depend on what can be parsed from the image content.
+ "width": 42, # The width of the image in pixels.
+ "rotation": 42, # The rotation in clockwise degrees from the image's original orientation.
+ "location": { # Geographic location information stored in the image.
+ "latitude": 3.14, # The latitude stored in the image.
+ "altitude": 3.14, # The altitude stored in the image.
+ "longitude": 3.14, # The longitude stored in the image.
+ },
+ "height": 42, # The height of the image in pixels.
+ },
"embedLink": "A String", # A link for embedding the file.
- "alternateLink": "A String", # A link for opening the file in a browser.
- "permissionsLink": "A String", # A link to the permissions collection.
- "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp).
+ "alternateLink": "A String", # A link for opening the file in using a relevant Google editor or viewer.
+ "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.
"downloadUrl": "A String", # Short term download URL for the file. This will only be populated on files with content stored in Drive.
"userPermission": { # A single permission for a file. # The permissions for the authenticated user on this file.
"withLink": True or False, # Whether the link is required for this permission.
@@ -556,9 +611,9 @@
],
"selfLink": "A String", # A link back to this permission.
},
- "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it on title when creating the file. This will only be populated on files with content stored in Drive.
+ "fileExtension": "A String", # The file extension used when downloading this file. This field is set from the title when inserting or uploading new content. This will only be populated on files with content stored in Drive.
"selfLink": "A String", # A link back to this file.
- "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp).
+ "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set.
}</pre>
</div>
@@ -568,10 +623,10 @@
Args:
q: string, Query string for searching files.
- projection: string, Restrict information returned for simplicity and optimization.
+ projection: string, This parameter is deprecated and has no function.
Allowed values
- BASIC - Includes only the basic metadata fields
- FULL - Includes all metadata fields
+ BASIC - Deprecated
+ FULL - Deprecated
pageToken: string, Page token for files.
maxResults: integer, Maximum number of files to return.
@@ -583,7 +638,7 @@
"kind": "drive#fileList", # This is always drive#fileList.
"items": [ # The actual list of files.
{ # The metadata for a file.
- "mimeType": "A String", # The MIME type of the file.
+ "mimeType": "A String", # The MIME type of the file. This is only mutable on update when uploading new content. This field can be left blank, and the mimetype will be determined from the uploaded content's MIME type.
"thumbnailLink": "A String", # A link to the file's thumbnail.
"labels": { # A group of labels for the file.
"restricted": True or False, # Whether viewers are prevented from downloading this file.
@@ -595,6 +650,7 @@
"indexableText": { # Indexable text attributes for the file (can only be written)
"text": "A String", # The text to be indexed for this file
},
+ "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed.
"etag": "A String", # ETag of the file.
"lastModifyingUserName": "A String", # Name of the last user to modify this file. This will only be populated if a user has edited this file.
"writersCanShare": True or False, # Whether writers can share the document with other users.
@@ -618,18 +674,28 @@
"exportLinks": { # Links for exporting Google Docs to specific formats.
"a_key": "A String", # A mapping from export format to URL
},
- "originalFilename": "A String", # The filename when uploading this file. This will only be populated on files with content stored in Drive.
+ "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive.
"description": "A String", # A short description of the file.
+ "webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials.
"editable": True or False, # Whether the file can be edited by the current user.
"kind": "drive#file", # The type of file. This is always drive#file.
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
"fileSize": "A String", # The size of the file in bytes. This will only be populated on files with content stored in Drive.
"createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
"md5Checksum": "A String", # An MD5 checksum for the content of this file. This will only be populated on files with content stored in Drive.
+ "imageMediaMetadata": { # Metadata about image media. This will only be present for image types, and its contents will depend on what can be parsed from the image content.
+ "width": 42, # The width of the image in pixels.
+ "rotation": 42, # The rotation in clockwise degrees from the image's original orientation.
+ "location": { # Geographic location information stored in the image.
+ "latitude": 3.14, # The latitude stored in the image.
+ "altitude": 3.14, # The altitude stored in the image.
+ "longitude": 3.14, # The longitude stored in the image.
+ },
+ "height": 42, # The height of the image in pixels.
+ },
"embedLink": "A String", # A link for embedding the file.
- "alternateLink": "A String", # A link for opening the file in a browser.
- "permissionsLink": "A String", # A link to the permissions collection.
- "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp).
+ "alternateLink": "A String", # A link for opening the file in using a relevant Google editor or viewer.
+ "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.
"downloadUrl": "A String", # Short term download URL for the file. This will only be populated on files with content stored in Drive.
"userPermission": { # A single permission for a file. # The permissions for the authenticated user on this file.
"withLink": True or False, # Whether the link is required for this permission.
@@ -654,9 +720,9 @@
],
"selfLink": "A String", # A link back to this permission.
},
- "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it on title when creating the file. This will only be populated on files with content stored in Drive.
+ "fileExtension": "A String", # The file extension used when downloading this file. This field is set from the title when inserting or uploading new content. This will only be populated on files with content stored in Drive.
"selfLink": "A String", # A link back to this file.
- "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp).
+ "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set.
},
],
"nextLink": "A String", # A link to the next page of files.
@@ -689,7 +755,7 @@
The object takes the form of:
{ # The metadata for a file.
- "mimeType": "A String", # The MIME type of the file.
+ "mimeType": "A String", # The MIME type of the file. This is only mutable on update when uploading new content. This field can be left blank, and the mimetype will be determined from the uploaded content's MIME type.
"thumbnailLink": "A String", # A link to the file's thumbnail.
"labels": { # A group of labels for the file.
"restricted": True or False, # Whether viewers are prevented from downloading this file.
@@ -701,6 +767,7 @@
"indexableText": { # Indexable text attributes for the file (can only be written)
"text": "A String", # The text to be indexed for this file
},
+ "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed.
"etag": "A String", # ETag of the file.
"lastModifyingUserName": "A String", # Name of the last user to modify this file. This will only be populated if a user has edited this file.
"writersCanShare": True or False, # Whether writers can share the document with other users.
@@ -724,18 +791,28 @@
"exportLinks": { # Links for exporting Google Docs to specific formats.
"a_key": "A String", # A mapping from export format to URL
},
- "originalFilename": "A String", # The filename when uploading this file. This will only be populated on files with content stored in Drive.
+ "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive.
"description": "A String", # A short description of the file.
+ "webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials.
"editable": True or False, # Whether the file can be edited by the current user.
"kind": "drive#file", # The type of file. This is always drive#file.
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
"fileSize": "A String", # The size of the file in bytes. This will only be populated on files with content stored in Drive.
"createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
"md5Checksum": "A String", # An MD5 checksum for the content of this file. This will only be populated on files with content stored in Drive.
+ "imageMediaMetadata": { # Metadata about image media. This will only be present for image types, and its contents will depend on what can be parsed from the image content.
+ "width": 42, # The width of the image in pixels.
+ "rotation": 42, # The rotation in clockwise degrees from the image's original orientation.
+ "location": { # Geographic location information stored in the image.
+ "latitude": 3.14, # The latitude stored in the image.
+ "altitude": 3.14, # The altitude stored in the image.
+ "longitude": 3.14, # The longitude stored in the image.
+ },
+ "height": 42, # The height of the image in pixels.
+ },
"embedLink": "A String", # A link for embedding the file.
- "alternateLink": "A String", # A link for opening the file in a browser.
- "permissionsLink": "A String", # A link to the permissions collection.
- "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp).
+ "alternateLink": "A String", # A link for opening the file in using a relevant Google editor or viewer.
+ "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.
"downloadUrl": "A String", # Short term download URL for the file. This will only be populated on files with content stored in Drive.
"userPermission": { # A single permission for a file. # The permissions for the authenticated user on this file.
"withLink": True or False, # Whether the link is required for this permission.
@@ -760,9 +837,9 @@
],
"selfLink": "A String", # A link back to this permission.
},
- "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it on title when creating the file. This will only be populated on files with content stored in Drive.
+ "fileExtension": "A String", # The file extension used when downloading this file. This field is set from the title when inserting or uploading new content. This will only be populated on files with content stored in Drive.
"selfLink": "A String", # A link back to this file.
- "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp).
+ "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set.
}
newRevision: boolean, Whether a blob upload should create a new revision. If false, the blob data in the current head revision will be replaced.
@@ -781,7 +858,7 @@
An object of the form:
{ # The metadata for a file.
- "mimeType": "A String", # The MIME type of the file.
+ "mimeType": "A String", # The MIME type of the file. This is only mutable on update when uploading new content. This field can be left blank, and the mimetype will be determined from the uploaded content's MIME type.
"thumbnailLink": "A String", # A link to the file's thumbnail.
"labels": { # A group of labels for the file.
"restricted": True or False, # Whether viewers are prevented from downloading this file.
@@ -793,6 +870,7 @@
"indexableText": { # Indexable text attributes for the file (can only be written)
"text": "A String", # The text to be indexed for this file
},
+ "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed.
"etag": "A String", # ETag of the file.
"lastModifyingUserName": "A String", # Name of the last user to modify this file. This will only be populated if a user has edited this file.
"writersCanShare": True or False, # Whether writers can share the document with other users.
@@ -816,18 +894,28 @@
"exportLinks": { # Links for exporting Google Docs to specific formats.
"a_key": "A String", # A mapping from export format to URL
},
- "originalFilename": "A String", # The filename when uploading this file. This will only be populated on files with content stored in Drive.
+ "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive.
"description": "A String", # A short description of the file.
+ "webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials.
"editable": True or False, # Whether the file can be edited by the current user.
"kind": "drive#file", # The type of file. This is always drive#file.
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
"fileSize": "A String", # The size of the file in bytes. This will only be populated on files with content stored in Drive.
"createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
"md5Checksum": "A String", # An MD5 checksum for the content of this file. This will only be populated on files with content stored in Drive.
+ "imageMediaMetadata": { # Metadata about image media. This will only be present for image types, and its contents will depend on what can be parsed from the image content.
+ "width": 42, # The width of the image in pixels.
+ "rotation": 42, # The rotation in clockwise degrees from the image's original orientation.
+ "location": { # Geographic location information stored in the image.
+ "latitude": 3.14, # The latitude stored in the image.
+ "altitude": 3.14, # The altitude stored in the image.
+ "longitude": 3.14, # The longitude stored in the image.
+ },
+ "height": 42, # The height of the image in pixels.
+ },
"embedLink": "A String", # A link for embedding the file.
- "alternateLink": "A String", # A link for opening the file in a browser.
- "permissionsLink": "A String", # A link to the permissions collection.
- "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp).
+ "alternateLink": "A String", # A link for opening the file in using a relevant Google editor or viewer.
+ "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.
"downloadUrl": "A String", # Short term download URL for the file. This will only be populated on files with content stored in Drive.
"userPermission": { # A single permission for a file. # The permissions for the authenticated user on this file.
"withLink": True or False, # Whether the link is required for this permission.
@@ -852,9 +940,9 @@
],
"selfLink": "A String", # A link back to this permission.
},
- "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it on title when creating the file. This will only be populated on files with content stored in Drive.
+ "fileExtension": "A String", # The file extension used when downloading this file. This field is set from the title when inserting or uploading new content. This will only be populated on files with content stored in Drive.
"selfLink": "A String", # A link back to this file.
- "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp).
+ "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set.
}</pre>
</div>
@@ -869,7 +957,7 @@
An object of the form:
{ # The metadata for a file.
- "mimeType": "A String", # The MIME type of the file.
+ "mimeType": "A String", # The MIME type of the file. This is only mutable on update when uploading new content. This field can be left blank, and the mimetype will be determined from the uploaded content's MIME type.
"thumbnailLink": "A String", # A link to the file's thumbnail.
"labels": { # A group of labels for the file.
"restricted": True or False, # Whether viewers are prevented from downloading this file.
@@ -881,6 +969,7 @@
"indexableText": { # Indexable text attributes for the file (can only be written)
"text": "A String", # The text to be indexed for this file
},
+ "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed.
"etag": "A String", # ETag of the file.
"lastModifyingUserName": "A String", # Name of the last user to modify this file. This will only be populated if a user has edited this file.
"writersCanShare": True or False, # Whether writers can share the document with other users.
@@ -904,18 +993,28 @@
"exportLinks": { # Links for exporting Google Docs to specific formats.
"a_key": "A String", # A mapping from export format to URL
},
- "originalFilename": "A String", # The filename when uploading this file. This will only be populated on files with content stored in Drive.
+ "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive.
"description": "A String", # A short description of the file.
+ "webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials.
"editable": True or False, # Whether the file can be edited by the current user.
"kind": "drive#file", # The type of file. This is always drive#file.
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
"fileSize": "A String", # The size of the file in bytes. This will only be populated on files with content stored in Drive.
"createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
"md5Checksum": "A String", # An MD5 checksum for the content of this file. This will only be populated on files with content stored in Drive.
+ "imageMediaMetadata": { # Metadata about image media. This will only be present for image types, and its contents will depend on what can be parsed from the image content.
+ "width": 42, # The width of the image in pixels.
+ "rotation": 42, # The rotation in clockwise degrees from the image's original orientation.
+ "location": { # Geographic location information stored in the image.
+ "latitude": 3.14, # The latitude stored in the image.
+ "altitude": 3.14, # The altitude stored in the image.
+ "longitude": 3.14, # The longitude stored in the image.
+ },
+ "height": 42, # The height of the image in pixels.
+ },
"embedLink": "A String", # A link for embedding the file.
- "alternateLink": "A String", # A link for opening the file in a browser.
- "permissionsLink": "A String", # A link to the permissions collection.
- "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp).
+ "alternateLink": "A String", # A link for opening the file in using a relevant Google editor or viewer.
+ "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.
"downloadUrl": "A String", # Short term download URL for the file. This will only be populated on files with content stored in Drive.
"userPermission": { # A single permission for a file. # The permissions for the authenticated user on this file.
"withLink": True or False, # Whether the link is required for this permission.
@@ -940,9 +1039,9 @@
],
"selfLink": "A String", # A link back to this permission.
},
- "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it on title when creating the file. This will only be populated on files with content stored in Drive.
+ "fileExtension": "A String", # The file extension used when downloading this file. This field is set from the title when inserting or uploading new content. This will only be populated on files with content stored in Drive.
"selfLink": "A String", # A link back to this file.
- "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp).
+ "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set.
}</pre>
</div>
@@ -957,7 +1056,7 @@
An object of the form:
{ # The metadata for a file.
- "mimeType": "A String", # The MIME type of the file.
+ "mimeType": "A String", # The MIME type of the file. This is only mutable on update when uploading new content. This field can be left blank, and the mimetype will be determined from the uploaded content's MIME type.
"thumbnailLink": "A String", # A link to the file's thumbnail.
"labels": { # A group of labels for the file.
"restricted": True or False, # Whether viewers are prevented from downloading this file.
@@ -969,6 +1068,7 @@
"indexableText": { # Indexable text attributes for the file (can only be written)
"text": "A String", # The text to be indexed for this file
},
+ "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed.
"etag": "A String", # ETag of the file.
"lastModifyingUserName": "A String", # Name of the last user to modify this file. This will only be populated if a user has edited this file.
"writersCanShare": True or False, # Whether writers can share the document with other users.
@@ -992,18 +1092,28 @@
"exportLinks": { # Links for exporting Google Docs to specific formats.
"a_key": "A String", # A mapping from export format to URL
},
- "originalFilename": "A String", # The filename when uploading this file. This will only be populated on files with content stored in Drive.
+ "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive.
"description": "A String", # A short description of the file.
+ "webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials.
"editable": True or False, # Whether the file can be edited by the current user.
"kind": "drive#file", # The type of file. This is always drive#file.
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
"fileSize": "A String", # The size of the file in bytes. This will only be populated on files with content stored in Drive.
"createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
"md5Checksum": "A String", # An MD5 checksum for the content of this file. This will only be populated on files with content stored in Drive.
+ "imageMediaMetadata": { # Metadata about image media. This will only be present for image types, and its contents will depend on what can be parsed from the image content.
+ "width": 42, # The width of the image in pixels.
+ "rotation": 42, # The rotation in clockwise degrees from the image's original orientation.
+ "location": { # Geographic location information stored in the image.
+ "latitude": 3.14, # The latitude stored in the image.
+ "altitude": 3.14, # The altitude stored in the image.
+ "longitude": 3.14, # The longitude stored in the image.
+ },
+ "height": 42, # The height of the image in pixels.
+ },
"embedLink": "A String", # A link for embedding the file.
- "alternateLink": "A String", # A link for opening the file in a browser.
- "permissionsLink": "A String", # A link to the permissions collection.
- "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp).
+ "alternateLink": "A String", # A link for opening the file in using a relevant Google editor or viewer.
+ "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.
"downloadUrl": "A String", # Short term download URL for the file. This will only be populated on files with content stored in Drive.
"userPermission": { # A single permission for a file. # The permissions for the authenticated user on this file.
"withLink": True or False, # Whether the link is required for this permission.
@@ -1028,9 +1138,9 @@
],
"selfLink": "A String", # A link back to this permission.
},
- "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it on title when creating the file. This will only be populated on files with content stored in Drive.
+ "fileExtension": "A String", # The file extension used when downloading this file. This field is set from the title when inserting or uploading new content. This will only be populated on files with content stored in Drive.
"selfLink": "A String", # A link back to this file.
- "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp).
+ "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set.
}</pre>
</div>
@@ -1045,7 +1155,7 @@
An object of the form:
{ # The metadata for a file.
- "mimeType": "A String", # The MIME type of the file.
+ "mimeType": "A String", # The MIME type of the file. This is only mutable on update when uploading new content. This field can be left blank, and the mimetype will be determined from the uploaded content's MIME type.
"thumbnailLink": "A String", # A link to the file's thumbnail.
"labels": { # A group of labels for the file.
"restricted": True or False, # Whether viewers are prevented from downloading this file.
@@ -1057,6 +1167,7 @@
"indexableText": { # Indexable text attributes for the file (can only be written)
"text": "A String", # The text to be indexed for this file
},
+ "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed.
"etag": "A String", # ETag of the file.
"lastModifyingUserName": "A String", # Name of the last user to modify this file. This will only be populated if a user has edited this file.
"writersCanShare": True or False, # Whether writers can share the document with other users.
@@ -1080,18 +1191,28 @@
"exportLinks": { # Links for exporting Google Docs to specific formats.
"a_key": "A String", # A mapping from export format to URL
},
- "originalFilename": "A String", # The filename when uploading this file. This will only be populated on files with content stored in Drive.
+ "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive.
"description": "A String", # A short description of the file.
+ "webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials.
"editable": True or False, # Whether the file can be edited by the current user.
"kind": "drive#file", # The type of file. This is always drive#file.
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
"fileSize": "A String", # The size of the file in bytes. This will only be populated on files with content stored in Drive.
"createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
"md5Checksum": "A String", # An MD5 checksum for the content of this file. This will only be populated on files with content stored in Drive.
+ "imageMediaMetadata": { # Metadata about image media. This will only be present for image types, and its contents will depend on what can be parsed from the image content.
+ "width": 42, # The width of the image in pixels.
+ "rotation": 42, # The rotation in clockwise degrees from the image's original orientation.
+ "location": { # Geographic location information stored in the image.
+ "latitude": 3.14, # The latitude stored in the image.
+ "altitude": 3.14, # The altitude stored in the image.
+ "longitude": 3.14, # The longitude stored in the image.
+ },
+ "height": 42, # The height of the image in pixels.
+ },
"embedLink": "A String", # A link for embedding the file.
- "alternateLink": "A String", # A link for opening the file in a browser.
- "permissionsLink": "A String", # A link to the permissions collection.
- "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp).
+ "alternateLink": "A String", # A link for opening the file in using a relevant Google editor or viewer.
+ "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.
"downloadUrl": "A String", # Short term download URL for the file. This will only be populated on files with content stored in Drive.
"userPermission": { # A single permission for a file. # The permissions for the authenticated user on this file.
"withLink": True or False, # Whether the link is required for this permission.
@@ -1116,9 +1237,9 @@
],
"selfLink": "A String", # A link back to this permission.
},
- "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it on title when creating the file. This will only be populated on files with content stored in Drive.
+ "fileExtension": "A String", # The file extension used when downloading this file. This field is set from the title when inserting or uploading new content. This will only be populated on files with content stored in Drive.
"selfLink": "A String", # A link back to this file.
- "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp).
+ "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set.
}</pre>
</div>
@@ -1132,7 +1253,7 @@
The object takes the form of:
{ # The metadata for a file.
- "mimeType": "A String", # The MIME type of the file.
+ "mimeType": "A String", # The MIME type of the file. This is only mutable on update when uploading new content. This field can be left blank, and the mimetype will be determined from the uploaded content's MIME type.
"thumbnailLink": "A String", # A link to the file's thumbnail.
"labels": { # A group of labels for the file.
"restricted": True or False, # Whether viewers are prevented from downloading this file.
@@ -1144,6 +1265,7 @@
"indexableText": { # Indexable text attributes for the file (can only be written)
"text": "A String", # The text to be indexed for this file
},
+ "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed.
"etag": "A String", # ETag of the file.
"lastModifyingUserName": "A String", # Name of the last user to modify this file. This will only be populated if a user has edited this file.
"writersCanShare": True or False, # Whether writers can share the document with other users.
@@ -1167,18 +1289,28 @@
"exportLinks": { # Links for exporting Google Docs to specific formats.
"a_key": "A String", # A mapping from export format to URL
},
- "originalFilename": "A String", # The filename when uploading this file. This will only be populated on files with content stored in Drive.
+ "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive.
"description": "A String", # A short description of the file.
+ "webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials.
"editable": True or False, # Whether the file can be edited by the current user.
"kind": "drive#file", # The type of file. This is always drive#file.
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
"fileSize": "A String", # The size of the file in bytes. This will only be populated on files with content stored in Drive.
"createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
"md5Checksum": "A String", # An MD5 checksum for the content of this file. This will only be populated on files with content stored in Drive.
+ "imageMediaMetadata": { # Metadata about image media. This will only be present for image types, and its contents will depend on what can be parsed from the image content.
+ "width": 42, # The width of the image in pixels.
+ "rotation": 42, # The rotation in clockwise degrees from the image's original orientation.
+ "location": { # Geographic location information stored in the image.
+ "latitude": 3.14, # The latitude stored in the image.
+ "altitude": 3.14, # The altitude stored in the image.
+ "longitude": 3.14, # The longitude stored in the image.
+ },
+ "height": 42, # The height of the image in pixels.
+ },
"embedLink": "A String", # A link for embedding the file.
- "alternateLink": "A String", # A link for opening the file in a browser.
- "permissionsLink": "A String", # A link to the permissions collection.
- "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp).
+ "alternateLink": "A String", # A link for opening the file in using a relevant Google editor or viewer.
+ "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.
"downloadUrl": "A String", # Short term download URL for the file. This will only be populated on files with content stored in Drive.
"userPermission": { # A single permission for a file. # The permissions for the authenticated user on this file.
"withLink": True or False, # Whether the link is required for this permission.
@@ -1203,9 +1335,9 @@
],
"selfLink": "A String", # A link back to this permission.
},
- "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it on title when creating the file. This will only be populated on files with content stored in Drive.
+ "fileExtension": "A String", # The file extension used when downloading this file. This field is set from the title when inserting or uploading new content. This will only be populated on files with content stored in Drive.
"selfLink": "A String", # A link back to this file.
- "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp).
+ "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set.
}
newRevision: boolean, Whether a blob upload should create a new revision. If false, the blob data in the current head revision will be replaced.
@@ -1225,7 +1357,7 @@
An object of the form:
{ # The metadata for a file.
- "mimeType": "A String", # The MIME type of the file.
+ "mimeType": "A String", # The MIME type of the file. This is only mutable on update when uploading new content. This field can be left blank, and the mimetype will be determined from the uploaded content's MIME type.
"thumbnailLink": "A String", # A link to the file's thumbnail.
"labels": { # A group of labels for the file.
"restricted": True or False, # Whether viewers are prevented from downloading this file.
@@ -1237,6 +1369,7 @@
"indexableText": { # Indexable text attributes for the file (can only be written)
"text": "A String", # The text to be indexed for this file
},
+ "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed.
"etag": "A String", # ETag of the file.
"lastModifyingUserName": "A String", # Name of the last user to modify this file. This will only be populated if a user has edited this file.
"writersCanShare": True or False, # Whether writers can share the document with other users.
@@ -1260,18 +1393,28 @@
"exportLinks": { # Links for exporting Google Docs to specific formats.
"a_key": "A String", # A mapping from export format to URL
},
- "originalFilename": "A String", # The filename when uploading this file. This will only be populated on files with content stored in Drive.
+ "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive.
"description": "A String", # A short description of the file.
+ "webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials.
"editable": True or False, # Whether the file can be edited by the current user.
"kind": "drive#file", # The type of file. This is always drive#file.
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
"fileSize": "A String", # The size of the file in bytes. This will only be populated on files with content stored in Drive.
"createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
"md5Checksum": "A String", # An MD5 checksum for the content of this file. This will only be populated on files with content stored in Drive.
+ "imageMediaMetadata": { # Metadata about image media. This will only be present for image types, and its contents will depend on what can be parsed from the image content.
+ "width": 42, # The width of the image in pixels.
+ "rotation": 42, # The rotation in clockwise degrees from the image's original orientation.
+ "location": { # Geographic location information stored in the image.
+ "latitude": 3.14, # The latitude stored in the image.
+ "altitude": 3.14, # The altitude stored in the image.
+ "longitude": 3.14, # The longitude stored in the image.
+ },
+ "height": 42, # The height of the image in pixels.
+ },
"embedLink": "A String", # A link for embedding the file.
- "alternateLink": "A String", # A link for opening the file in a browser.
- "permissionsLink": "A String", # A link to the permissions collection.
- "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp).
+ "alternateLink": "A String", # A link for opening the file in using a relevant Google editor or viewer.
+ "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.
"downloadUrl": "A String", # Short term download URL for the file. This will only be populated on files with content stored in Drive.
"userPermission": { # A single permission for a file. # The permissions for the authenticated user on this file.
"withLink": True or False, # Whether the link is required for this permission.
@@ -1296,9 +1439,9 @@
],
"selfLink": "A String", # A link back to this permission.
},
- "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it on title when creating the file. This will only be populated on files with content stored in Drive.
+ "fileExtension": "A String", # The file extension used when downloading this file. This field is set from the title when inserting or uploading new content. This will only be populated on files with content stored in Drive.
"selfLink": "A String", # A link back to this file.
- "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp).
+ "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set.
}</pre>
</div>
diff --git a/docs/dyn/drive_v2.revisions.html b/docs/dyn/drive_v2.revisions.html
index 686988e..e7b12a9 100644
--- a/docs/dyn/drive_v2.revisions.html
+++ b/docs/dyn/drive_v2.revisions.html
@@ -113,12 +113,12 @@
{ # A single revision of a file.
"mimeType": "A String", # The MIME type of the revision.
- "pinned": True or False, # Whether this revision is pinned to prevent automatic purging. This will only be populated on files with content stored in Drive.
+ "pinned": True or False, # Whether this revision is pinned to prevent automatic purging. This will only be populated and can only be modified on files with content stored in Drive which are not Google Docs. Revisions can also be pinned when they are created through the drive.files.insert/update/copy by using the pinned query parameter.
"kind": "drive#revision", # This is always drive#revision.
"publishedLink": "A String", # A link to the published revision.
- "publishedOutsideDomain": True or False, # Whether this revision is published outside the domain.
- "publishAuto": True or False, # Whether subsequent revisions will be automatically republished.
- "published": True or False, # Whether this revision is published. This is only populated for Google Docs.
+ "publishedOutsideDomain": True or False, # Whether this revision is published outside the domain. This is only populated and can only be modified for Google Docs.
+ "publishAuto": True or False, # Whether subsequent revisions will be automatically republished. This is only populated and can only be modified for Google Docs.
+ "published": True or False, # Whether this revision is published. This is only populated and can only be modified for Google Docs.
"downloadUrl": "A String", # Short term download URL for the file. This will only be populated on files with content stored in Drive.
"selfLink": "A String", # A link back to this revision.
"etag": "A String", # The ETag of the revision.
@@ -148,12 +148,12 @@
"items": [ # The actual list of revisions.
{ # A single revision of a file.
"mimeType": "A String", # The MIME type of the revision.
- "pinned": True or False, # Whether this revision is pinned to prevent automatic purging. This will only be populated on files with content stored in Drive.
+ "pinned": True or False, # Whether this revision is pinned to prevent automatic purging. This will only be populated and can only be modified on files with content stored in Drive which are not Google Docs. Revisions can also be pinned when they are created through the drive.files.insert/update/copy by using the pinned query parameter.
"kind": "drive#revision", # This is always drive#revision.
"publishedLink": "A String", # A link to the published revision.
- "publishedOutsideDomain": True or False, # Whether this revision is published outside the domain.
- "publishAuto": True or False, # Whether subsequent revisions will be automatically republished.
- "published": True or False, # Whether this revision is published. This is only populated for Google Docs.
+ "publishedOutsideDomain": True or False, # Whether this revision is published outside the domain. This is only populated and can only be modified for Google Docs.
+ "publishAuto": True or False, # Whether subsequent revisions will be automatically republished. This is only populated and can only be modified for Google Docs.
+ "published": True or False, # Whether this revision is published. This is only populated and can only be modified for Google Docs.
"downloadUrl": "A String", # Short term download URL for the file. This will only be populated on files with content stored in Drive.
"selfLink": "A String", # A link back to this revision.
"etag": "A String", # The ETag of the revision.
@@ -186,12 +186,12 @@
{ # A single revision of a file.
"mimeType": "A String", # The MIME type of the revision.
- "pinned": True or False, # Whether this revision is pinned to prevent automatic purging. This will only be populated on files with content stored in Drive.
+ "pinned": True or False, # Whether this revision is pinned to prevent automatic purging. This will only be populated and can only be modified on files with content stored in Drive which are not Google Docs. Revisions can also be pinned when they are created through the drive.files.insert/update/copy by using the pinned query parameter.
"kind": "drive#revision", # This is always drive#revision.
"publishedLink": "A String", # A link to the published revision.
- "publishedOutsideDomain": True or False, # Whether this revision is published outside the domain.
- "publishAuto": True or False, # Whether subsequent revisions will be automatically republished.
- "published": True or False, # Whether this revision is published. This is only populated for Google Docs.
+ "publishedOutsideDomain": True or False, # Whether this revision is published outside the domain. This is only populated and can only be modified for Google Docs.
+ "publishAuto": True or False, # Whether subsequent revisions will be automatically republished. This is only populated and can only be modified for Google Docs.
+ "published": True or False, # Whether this revision is published. This is only populated and can only be modified for Google Docs.
"downloadUrl": "A String", # Short term download URL for the file. This will only be populated on files with content stored in Drive.
"selfLink": "A String", # A link back to this revision.
"etag": "A String", # The ETag of the revision.
@@ -212,12 +212,12 @@
{ # A single revision of a file.
"mimeType": "A String", # The MIME type of the revision.
- "pinned": True or False, # Whether this revision is pinned to prevent automatic purging. This will only be populated on files with content stored in Drive.
+ "pinned": True or False, # Whether this revision is pinned to prevent automatic purging. This will only be populated and can only be modified on files with content stored in Drive which are not Google Docs. Revisions can also be pinned when they are created through the drive.files.insert/update/copy by using the pinned query parameter.
"kind": "drive#revision", # This is always drive#revision.
"publishedLink": "A String", # A link to the published revision.
- "publishedOutsideDomain": True or False, # Whether this revision is published outside the domain.
- "publishAuto": True or False, # Whether subsequent revisions will be automatically republished.
- "published": True or False, # Whether this revision is published. This is only populated for Google Docs.
+ "publishedOutsideDomain": True or False, # Whether this revision is published outside the domain. This is only populated and can only be modified for Google Docs.
+ "publishAuto": True or False, # Whether subsequent revisions will be automatically republished. This is only populated and can only be modified for Google Docs.
+ "published": True or False, # Whether this revision is published. This is only populated and can only be modified for Google Docs.
"downloadUrl": "A String", # Short term download URL for the file. This will only be populated on files with content stored in Drive.
"selfLink": "A String", # A link back to this revision.
"etag": "A String", # The ETag of the revision.
@@ -245,12 +245,12 @@
{ # A single revision of a file.
"mimeType": "A String", # The MIME type of the revision.
- "pinned": True or False, # Whether this revision is pinned to prevent automatic purging. This will only be populated on files with content stored in Drive.
+ "pinned": True or False, # Whether this revision is pinned to prevent automatic purging. This will only be populated and can only be modified on files with content stored in Drive which are not Google Docs. Revisions can also be pinned when they are created through the drive.files.insert/update/copy by using the pinned query parameter.
"kind": "drive#revision", # This is always drive#revision.
"publishedLink": "A String", # A link to the published revision.
- "publishedOutsideDomain": True or False, # Whether this revision is published outside the domain.
- "publishAuto": True or False, # Whether subsequent revisions will be automatically republished.
- "published": True or False, # Whether this revision is published. This is only populated for Google Docs.
+ "publishedOutsideDomain": True or False, # Whether this revision is published outside the domain. This is only populated and can only be modified for Google Docs.
+ "publishAuto": True or False, # Whether subsequent revisions will be automatically republished. This is only populated and can only be modified for Google Docs.
+ "published": True or False, # Whether this revision is published. This is only populated and can only be modified for Google Docs.
"downloadUrl": "A String", # Short term download URL for the file. This will only be populated on files with content stored in Drive.
"selfLink": "A String", # A link back to this revision.
"etag": "A String", # The ETag of the revision.
@@ -271,12 +271,12 @@
{ # A single revision of a file.
"mimeType": "A String", # The MIME type of the revision.
- "pinned": True or False, # Whether this revision is pinned to prevent automatic purging. This will only be populated on files with content stored in Drive.
+ "pinned": True or False, # Whether this revision is pinned to prevent automatic purging. This will only be populated and can only be modified on files with content stored in Drive which are not Google Docs. Revisions can also be pinned when they are created through the drive.files.insert/update/copy by using the pinned query parameter.
"kind": "drive#revision", # This is always drive#revision.
"publishedLink": "A String", # A link to the published revision.
- "publishedOutsideDomain": True or False, # Whether this revision is published outside the domain.
- "publishAuto": True or False, # Whether subsequent revisions will be automatically republished.
- "published": True or False, # Whether this revision is published. This is only populated for Google Docs.
+ "publishedOutsideDomain": True or False, # Whether this revision is published outside the domain. This is only populated and can only be modified for Google Docs.
+ "publishAuto": True or False, # Whether subsequent revisions will be automatically republished. This is only populated and can only be modified for Google Docs.
+ "published": True or False, # Whether this revision is published. This is only populated and can only be modified for Google Docs.
"downloadUrl": "A String", # Short term download URL for the file. This will only be populated on files with content stored in Drive.
"selfLink": "A String", # A link back to this revision.
"etag": "A String", # The ETag of the revision.
diff --git a/docs/dyn/fusiontables_v1.table.html b/docs/dyn/fusiontables_v1.table.html
index 6bfdddc..2709f64 100644
--- a/docs/dyn/fusiontables_v1.table.html
+++ b/docs/dyn/fusiontables_v1.table.html
@@ -124,6 +124,7 @@
"A String",
],
"attributionLink": "A String", # Optional link for attribution.
+ "sql": "A String", # Optional sql that encodes the table definition for derived tables.
"tableId": "A String", # Encrypted unique alphanumeric identifier for the table.
"columns": [ # Columns in the table.
{ # Specifies the id, name and type of a column in a table.
@@ -158,6 +159,7 @@
"A String",
],
"attributionLink": "A String", # Optional link for attribution.
+ "sql": "A String", # Optional sql that encodes the table definition for derived tables.
"tableId": "A String", # Encrypted unique alphanumeric identifier for the table.
"columns": [ # Columns in the table.
{ # Specifies the id, name and type of a column in a table.
@@ -187,6 +189,7 @@
"A String",
],
"attributionLink": "A String", # Optional link for attribution.
+ "sql": "A String", # Optional sql that encodes the table definition for derived tables.
"tableId": "A String", # Encrypted unique alphanumeric identifier for the table.
"columns": [ # Columns in the table.
{ # Specifies the id, name and type of a column in a table.
@@ -227,6 +230,7 @@
"A String",
],
"attributionLink": "A String", # Optional link for attribution.
+ "sql": "A String", # Optional sql that encodes the table definition for derived tables.
"tableId": "A String", # Encrypted unique alphanumeric identifier for the table.
"columns": [ # Columns in the table.
{ # Specifies the id, name and type of a column in a table.
@@ -279,6 +283,7 @@
"A String",
],
"attributionLink": "A String", # Optional link for attribution.
+ "sql": "A String", # Optional sql that encodes the table definition for derived tables.
"tableId": "A String", # Encrypted unique alphanumeric identifier for the table.
"columns": [ # Columns in the table.
{ # Specifies the id, name and type of a column in a table.
@@ -309,6 +314,7 @@
"A String",
],
"attributionLink": "A String", # Optional link for attribution.
+ "sql": "A String", # Optional sql that encodes the table definition for derived tables.
"tableId": "A String", # Encrypted unique alphanumeric identifier for the table.
"columns": [ # Columns in the table.
{ # Specifies the id, name and type of a column in a table.
@@ -344,6 +350,7 @@
"A String",
],
"attributionLink": "A String", # Optional link for attribution.
+ "sql": "A String", # Optional sql that encodes the table definition for derived tables.
"tableId": "A String", # Encrypted unique alphanumeric identifier for the table.
"columns": [ # Columns in the table.
{ # Specifies the id, name and type of a column in a table.
@@ -374,6 +381,7 @@
"A String",
],
"attributionLink": "A String", # Optional link for attribution.
+ "sql": "A String", # Optional sql that encodes the table definition for derived tables.
"tableId": "A String", # Encrypted unique alphanumeric identifier for the table.
"columns": [ # Columns in the table.
{ # Specifies the id, name and type of a column in a table.
diff --git a/docs/dyn/gan_v1beta1.advertisers.html b/docs/dyn/gan_v1beta1.advertisers.html
index a5ac756..e88b477 100644
--- a/docs/dyn/gan_v1beta1.advertisers.html
+++ b/docs/dyn/gan_v1beta1.advertisers.html
@@ -107,6 +107,7 @@
"contactPhone": "A String", # Phone that this advertiser would like publishers to contact them with.
"description": "A String", # Description of the website the advertiser advertises from.
"payoutRank": "A String", # A rank based on commissions paid to publishers over the past 90 days. A number between 1 and 4 where 4 means the top quartile (most money paid) and 1 means the bottom quartile (least money paid).
+ "defaultLinkId": "A String", # The default link id for this advertiser.
"epcSevenDayAverage": { # An ApiMoneyProto. # The sum of fees paid to publishers divided by the total number of clicks over the past seven days. Values are multiplied by 100 for display purposes.
"amount": 3.14, # The amount of money.
"currencyCode": "A String", # The 3-letter code of the currency in question.
@@ -165,6 +166,7 @@
"contactPhone": "A String", # Phone that this advertiser would like publishers to contact them with.
"description": "A String", # Description of the website the advertiser advertises from.
"payoutRank": "A String", # A rank based on commissions paid to publishers over the past 90 days. A number between 1 and 4 where 4 means the top quartile (most money paid) and 1 means the bottom quartile (least money paid).
+ "defaultLinkId": "A String", # The default link id for this advertiser.
"epcSevenDayAverage": { # An ApiMoneyProto. # The sum of fees paid to publishers divided by the total number of clicks over the past seven days. Values are multiplied by 100 for display purposes.
"amount": 3.14, # The amount of money.
"currencyCode": "A String", # The 3-letter code of the currency in question.
diff --git a/docs/dyn/gan_v1beta1.links.html b/docs/dyn/gan_v1beta1.links.html
index ad2106a..ae6a889 100644
--- a/docs/dyn/gan_v1beta1.links.html
+++ b/docs/dyn/gan_v1beta1.links.html
@@ -103,21 +103,23 @@
An object of the form:
{ # A LinkResource.
- "startDate": "A String", # Date that this link becomes active.
+ "isActive": True or False, # Flag for if this link is active.
+ "linkType": "A String", # The link type.
"kind": "gan#link", # The kind for one entity.
"endDate": "A String", # Date that this link becomes inactive.
"description": "A String", # Description.
"name": "A String", # The logical name for this link.
+ "startDate": "A String", # Date that this link becomes active.
"createDate": "A String", # Date that this link was created.
"imageAltText": "A String", # image alt text.
"id": "A String", # The ID of this link.
"advertiserId": "A String", # The advertiser id for the advertiser who owns this link.
- "creativeType": "A String", # Creative Type.
+ "impressionTrackingUrl": "A String", # Tracking url for impressions.
"promotionType": "A String", # Promotion Type
"duration": "A String", # Duration
"authorship": "A String", # Authorship
"availability": "A String", # Availability.
- "isActive": True or False, # Flag for if this link is active.
+ "clickTrackingUrl": "A String", # Tracking url for clicks.
"destinationUrl": "A String", # The destination URL for the link.
}</pre>
</div>
@@ -136,21 +138,23 @@
The object takes the form of:
{ # A LinkResource.
- "startDate": "A String", # Date that this link becomes active.
+ "isActive": True or False, # Flag for if this link is active.
+ "linkType": "A String", # The link type.
"kind": "gan#link", # The kind for one entity.
"endDate": "A String", # Date that this link becomes inactive.
"description": "A String", # Description.
"name": "A String", # The logical name for this link.
+ "startDate": "A String", # Date that this link becomes active.
"createDate": "A String", # Date that this link was created.
"imageAltText": "A String", # image alt text.
"id": "A String", # The ID of this link.
"advertiserId": "A String", # The advertiser id for the advertiser who owns this link.
- "creativeType": "A String", # Creative Type.
+ "impressionTrackingUrl": "A String", # Tracking url for impressions.
"promotionType": "A String", # Promotion Type
"duration": "A String", # Duration
"authorship": "A String", # Authorship
"availability": "A String", # Availability.
- "isActive": True or False, # Flag for if this link is active.
+ "clickTrackingUrl": "A String", # Tracking url for clicks.
"destinationUrl": "A String", # The destination URL for the link.
}
@@ -159,21 +163,23 @@
An object of the form:
{ # A LinkResource.
- "startDate": "A String", # Date that this link becomes active.
+ "isActive": True or False, # Flag for if this link is active.
+ "linkType": "A String", # The link type.
"kind": "gan#link", # The kind for one entity.
"endDate": "A String", # Date that this link becomes inactive.
"description": "A String", # Description.
"name": "A String", # The logical name for this link.
+ "startDate": "A String", # Date that this link becomes active.
"createDate": "A String", # Date that this link was created.
"imageAltText": "A String", # image alt text.
"id": "A String", # The ID of this link.
"advertiserId": "A String", # The advertiser id for the advertiser who owns this link.
- "creativeType": "A String", # Creative Type.
+ "impressionTrackingUrl": "A String", # Tracking url for impressions.
"promotionType": "A String", # Promotion Type
"duration": "A String", # Duration
"authorship": "A String", # Authorship
"availability": "A String", # Availability.
- "isActive": True or False, # Flag for if this link is active.
+ "clickTrackingUrl": "A String", # Tracking url for clicks.
"destinationUrl": "A String", # The destination URL for the link.
}</pre>
</div>
@@ -270,21 +276,23 @@
"nextPageToken": "A String", # The next page token.
"items": [ # The links.
{ # A LinkResource.
- "startDate": "A String", # Date that this link becomes active.
+ "isActive": True or False, # Flag for if this link is active.
+ "linkType": "A String", # The link type.
"kind": "gan#link", # The kind for one entity.
"endDate": "A String", # Date that this link becomes inactive.
"description": "A String", # Description.
"name": "A String", # The logical name for this link.
+ "startDate": "A String", # Date that this link becomes active.
"createDate": "A String", # Date that this link was created.
"imageAltText": "A String", # image alt text.
"id": "A String", # The ID of this link.
"advertiserId": "A String", # The advertiser id for the advertiser who owns this link.
- "creativeType": "A String", # Creative Type.
+ "impressionTrackingUrl": "A String", # Tracking url for impressions.
"promotionType": "A String", # Promotion Type
"duration": "A String", # Duration
"authorship": "A String", # Authorship
"availability": "A String", # Availability.
- "isActive": True or False, # Flag for if this link is active.
+ "clickTrackingUrl": "A String", # Tracking url for clicks.
"destinationUrl": "A String", # The destination URL for the link.
},
],
diff --git a/docs/dyn/groupssettings_v1.groups.html b/docs/dyn/groupssettings_v1.groups.html
index de04471..483d217 100644
--- a/docs/dyn/groupssettings_v1.groups.html
+++ b/docs/dyn/groupssettings_v1.groups.html
@@ -94,7 +94,7 @@
Returns:
An object of the form:
- { # Groups resource
+ { # JSON template for Group resource
"allowExternalMembers": "A String", # Are external members allowed to join the group.
"whoCanJoin": "A String", # Permissions to join the group. Possible values are: ANYONE_CAN_JOIN ALL_IN_DOMAIN_CAN_JOIN INVITED_CAN_JOIN CAN_REQUEST_TO_JOIN
"primaryLanguage": "A String", # Primary language for the group.
@@ -131,7 +131,7 @@
body: object, The request body. (required)
The object takes the form of:
-{ # Groups resource
+{ # JSON template for Group resource
"allowExternalMembers": "A String", # Are external members allowed to join the group.
"whoCanJoin": "A String", # Permissions to join the group. Possible values are: ANYONE_CAN_JOIN ALL_IN_DOMAIN_CAN_JOIN INVITED_CAN_JOIN CAN_REQUEST_TO_JOIN
"primaryLanguage": "A String", # Primary language for the group.
@@ -162,7 +162,7 @@
Returns:
An object of the form:
- { # Groups resource
+ { # JSON template for Group resource
"allowExternalMembers": "A String", # Are external members allowed to join the group.
"whoCanJoin": "A String", # Permissions to join the group. Possible values are: ANYONE_CAN_JOIN ALL_IN_DOMAIN_CAN_JOIN INVITED_CAN_JOIN CAN_REQUEST_TO_JOIN
"primaryLanguage": "A String", # Primary language for the group.
@@ -199,7 +199,7 @@
body: object, The request body. (required)
The object takes the form of:
-{ # Groups resource
+{ # JSON template for Group resource
"allowExternalMembers": "A String", # Are external members allowed to join the group.
"whoCanJoin": "A String", # Permissions to join the group. Possible values are: ANYONE_CAN_JOIN ALL_IN_DOMAIN_CAN_JOIN INVITED_CAN_JOIN CAN_REQUEST_TO_JOIN
"primaryLanguage": "A String", # Primary language for the group.
@@ -230,7 +230,7 @@
Returns:
An object of the form:
- { # Groups resource
+ { # JSON template for Group resource
"allowExternalMembers": "A String", # Are external members allowed to join the group.
"whoCanJoin": "A String", # Permissions to join the group. Possible values are: ANYONE_CAN_JOIN ALL_IN_DOMAIN_CAN_JOIN INVITED_CAN_JOIN CAN_REQUEST_TO_JOIN
"primaryLanguage": "A String", # Primary language for the group.